/* ===========================
   CSS VARIABLES & RESET
=========================== */

:root {
    --primary: #8B0042;
    --primary-dark: #5a0028;
    --primary-light: #b5005a;
    --accent: #e91e8c;
    --accent-light: #ff4eb8;
    --bg-deep: #1a0010;
    --bg-dark: #250015;
    --bg-card: #2e0018;
    --bg-card-light: #3a0020;
    --text-white: #ffffff;
    --text-light: #f0d0e0;
    --text-muted: #c090b0;
    --border-color: rgba(180, 0, 80, 0.3);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --radius: 12px;
    --radius-sm: 8px;
    --color-bg: #5a0028;
    --color-bg-deep: #8B0042;
    --color-primary: #c0006e;
    --color-primary-l: #d4007e;
    --color-accent: #e8007f;
    --color-white: #ffffff;
    --color-white-dim: rgba(255, 255, 255, 0.75);
    --color-white-faint: rgba(255, 255, 255, 0.12);
    --color-border: rgba(255, 255, 255, 0.18);
    --color-search-bg: rgba(255, 255, 255, 0.92);
    --color-tab-bg: rgba(255, 255, 255, 0.12);
    --font-main: 'Tajawal', sans-serif;
    --nav-h: 68px;
    --radius-md: 14px;
    --radius-lg: 28px;
    --radius-full: 999px;
    --transition: 0.25s ease;
}


/* ---- Reset & Base ---- */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--color-bg);
    color: var(--color-white);
    direction: rtl;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-main);
}

.section-pad {
    padding-top: 1rem;
    padding-bottom: 1rem;
}


/* ==========================================
   NAVBAR
========================================== */

.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: var(--nav-h);
    background: rgba(26, 0, 32, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 50px;
    gap: 20px;
}


/* ======================
   LOGO (RIGHT)
====================== */

.nav-logo {
    margin-left: auto;
}

.logo-img {
    height: 42px;
    display: block;
}


/* ======================
   CENTER LINKS
====================== */

.nav-links {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--color-white-dim);
    text-decoration: none;
    font-size: 15px;
    position: relative;
    transition: .3s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}


/* ======================
   AUTH (LEFT)
====================== */

.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
}


/* buttons */

.btn-outline,
.btn-ghost {
    text-decoration: none;
    white-space: nowrap;
}

.btn-outline {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    color: #fff;
}

.btn-ghost {
    padding: 10px 18px;
    border-radius: 999px;
    color: #fff;
}


/* ======================
   HAMBURGER
====================== */

.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
}


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

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    opacity: 0;
    visibility: hidden;
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    right: -320px;
    top: 0;
    width: 320px;
    height: 100vh;
    background: var(--bg-dark);
    transition: .3s;
    padding: 90px 20px;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    right: 0;
}


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

@media (max-width: 991px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-container {
        padding-inline: 15px;
    }

    .logo-img {
        height: 36px;
    }
}

@media (max-width: 576px) {

    .btn-outline,
    .btn-ghost {
        padding: 8px 10px;
        font-size: 12px;
    }
}


/* =========================
   MOBILE MENU - LINKS STYLE
========================= */

.mobile-menu {
    position: fixed;
    right: -320px;
    top: 0;
    width: 320px;
    height: 100vh;
    background: var(--bg-dark);
    transition: .3s ease;
    padding: 90px 18px 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.open {
    right: 0;
}


/* LINKS CONTAINER */

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}


/* TAB STYLE */

.mobile-nav-links a {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.25s;
}

.mobile-nav-links a:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateX(-4px);
    border-color: var(--accent);
}


/* ACTIVE TAB (اختياري) */

.mobile-nav-links a.active {
    background: var(--accent);
    border-color: var(--accent);
}


/* =========================
   AUTH SECTION (BUTTONS)
========================= */

.mobile-auth {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-auth a {
    display: flex;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
}


/* PRIMARY BUTTON */

.mobile-auth .btn-outline {
    border: 1px solid var(--accent);
    color: #fff;
}


/* SECONDARY BUTTON */

.mobile-auth .btn-ghost {
    background: rgba(255, 255, 255, 0.06);
}

.close-menu {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.15);
}


/* ==========================================
   HERO SECTION
========================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-h);
}


/* Background Image */

.hero-bg {
    position: absolute;
    inset: 0;
    background: center center / cover no-repeat;
    z-index: 0;
}


/* Dark gradient overlay */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(18, 0, 24, 0.80) 0%, rgba(26, 0, 32, 0.55) 50%, rgba(18, 0, 24, 0.35) 100%);
    z-index: 1;
}


/* Radial ambient light */

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(192, 0, 110, 0.18) 0%, transparent 70%), radial-gradient(ellipse 50% 70% at 20% 80%, rgba(100, 0, 60, 0.22) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}


/* Calligraphy Logo (large watermark-style) */

.hero-calligraphy {
    position: absolute;
    left: -2%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    width: clamp(200px, 38vw, 500px);
    opacity: 0.95;
    animation: floatCalligraphy 6s ease-in-out infinite;
}

.calligraphy-img {
    width: 80%;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 40px rgba(192, 0, 110, 0.3));
}

@keyframes floatCalligraphy {

    0%,
    100% {
        transform: translateY(-50%) translateX(0px);
    }

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


/* Hero Content */

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 32px 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    margin-right: 150px;
}

.hero-title {
    font-size: clamp(26px, 3.2vw, 46px);
    font-weight: 800;
    line-height: 1.45;
    color: var(--color-white);
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.7s ease both;
}

.hero-title .highlight {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: clamp(14px, 1.4vw, 17px);
    font-weight: 400;
    color: var(--color-white-dim);
    line-height: 1.8;
    margin-bottom: 32px;
    margin-right: 150px;
    animation: fadeInUp 0.7s 0.12s ease both;
}


/* ---- Tabs ---- */

.hero-tabs {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    padding: 4px;
    margin-bottom: 20px;
    animation: fadeInUp 0.7s 0.22s ease both;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 26px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-white-dim);
    border-radius: var(--radius-full);
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
    font-family: var(--font-main);
}

.tab-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-btn);
}

.tab-btn:hover:not(.active) {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}


/* ---- Search Bar ---- */

.hero-search {
    display: flex;
    align-items: center;
    background: var(--color-search-bg);
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-search);
    width: 100%;
    max-width: 700px;
    height: 56px;
    animation: fadeInUp 0.7s 0.32s ease both;
}

.search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    height: 100%;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-main);
    flex-shrink: 0;
    transition: background var(--transition);
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
}

.search-btn:hover {
    background: var(--color-primary-l);
}

.search-divider {
    width: 1px;
    height: 60%;
    background: rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.city-select {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    cursor: pointer;
    color: #5a3060;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
    white-space: nowrap;
    transition: color var(--transition);
}

.city-select:hover {
    color: var(--color-primary);
}

.city-select .fa-location-dot {
    color: var(--color-primary);
    font-size: 15px;
}

.city-select .chevron {
    font-size: 11px;
    opacity: 0.6;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-main);
    font-size: 14px;
    color: #3a1a40;
    direction: rtl;
    text-align: right;
    padding: 0 16px 0 8px;
    min-width: 0;
}

.search-input::placeholder {
    color: #9b7aaa;
}

.search-icon-inside {
    color: #9b7aaa;
    font-size: 15px;
    padding-left: 16px;
    flex-shrink: 0;
}


/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

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


/* ===========================
   FEATURES
=========================== */

.features {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
    padding: 28px 0;
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(233, 30, 140, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
    border: 1.5px solid rgba(233, 30, 140, 0.3);
}

.feature-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}


/* ===========================
   CATEGORIES
=========================== */

.categories {
    background: var(--bg-dark);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.section-more {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.cat-item:hover {
    border-color: var(--accent);
    background: var(--bg-card-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(233, 30, 140, 0.2);
}

.cat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(139, 0, 66, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent);
    border: 1.5px solid rgba(233, 30, 140, 0.25);
    transition: var(--transition);
}

.cat-item:hover .cat-icon {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.cat-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
}


/* ===========================
   FEATURED STORES
=========================== */

.featured-stores {
    background: var(--bg-deep);
}

.stores-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    flex: 1;
    overflow: hidden;
}

.store-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e8e0e4;
    color: #333;
}

.store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.store-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8e8f0, #f0c8d8);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    border: 2px solid #e0b0c8;
}

.store-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a0010;
    margin-bottom: 4px;
}

.store-card p {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.store-card p i {
    color: var(--accent);
    font-size: 0.75rem;
}

.store-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 14px;
}

.store-rating i {
    color: #f5a623;
    font-size: 0.85rem;
}

.store-rating span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
}

.btn-store {
    display: block;
    padding: 8px 0;
    background: var(--primary);
    color: #fff;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-store:hover {
    background: var(--accent);
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    color: var(--text-white);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 2;
}

.slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
}


/* ===========================
   LATEST PRODUCTS
=========================== */

.latest-products {
    background: var(--bg-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(233, 30, 140, 0.2);
}

.product-img {
    position: relative;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.wishlist-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.product-info {
    padding: 14px;
}

.product-info h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
    line-height: 1.4;
}

.product-store {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent);
}

.add-cart {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--accent);
    border: none;
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.add-cart:hover {
    background: var(--accent-light);
    transform: scale(1.1);
}


/* ===========================
   HOW IT WORKS
=========================== */

.how-it-works {
    background: var(--bg-deep);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.step-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    max-width: 320px;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(233, 30, 140, 0.15);
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(233, 30, 140, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    border: 2px solid rgba(233, 30, 140, 0.3);
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-num {
    display: inline-flex;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.step-arrow {
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}


/* ===========================
   STATS
=========================== */

.stats-section {
    background: linear-gradient(135deg, #2a0018 0%, #1a0010 50%, #2e0020 100%);
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-icon {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}


/* ===========================
   PAYMENT & SHIPPING
=========================== */

.payment-shipping {
    background: var(--bg-dark);
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.ps-box {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border-color);
}

.ps-box h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-white);
    text-align: center;
}

.ps-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ps-logo-item {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    cursor: default;
}

.ps-logo-item:hover {
    background: rgba(233, 30, 140, 0.15);
    border-color: var(--accent);
}

.ps-logo-item i {
    font-size: 1.1rem;
}

.fab.fa-apple-pay {
    font-size: 1.3rem;
}


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

.footer {
    background: linear-gradient(180deg, #1a0010 0%, #0d0008 100%);
    padding: 60px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand .footer-logo {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 12px;
}

.footer-brand p,
.footer-col p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 14px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-col p i {
    color: var(--accent);
    margin-left: 6px;
    width: 16px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(233, 30, 140, 0.15);
    border: 1.5px solid rgba(233, 30, 140, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.social-links.sm {
    margin-top: 0;
}

.social-links.sm a {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}


/* ===========================
   BACK TO TOP
=========================== */

.back-to-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 44px;
    height: 44px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(233, 30, 140, 0.4);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
}


/* ===========================
   ANIMATIONS
=========================== */

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

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

.hero-text {
    animation: fadeInUp 0.7s ease both;
}

.hero-logo-big {
    animation: fadeInUp 0.7s 0.2s ease both;
}


/* ===========================
   RESPONSIVE: 1024px
=========================== */

@media (max-width: 1024px) {
    .nav-links {
        gap: 4px;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 5px 8px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .big-logo-text {
        font-size: 5rem;
    }

    .hero-logo-big {
        width: 220px;
        height: 220px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .stores-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ===========================
   RESPONSIVE: 768px
=========================== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        right: 0;
        left: 0;
        background: var(--bg-deep);
        flex-direction: column;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
        gap: 4px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 10px 14px;
        border-radius: 8px;
        font-size: 0.95rem;
    }

    .nav-actions {
        display: none;
    }

    .hero {
        padding: 40px 0 60px;
        min-height: auto;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .hero-logo-big {
        display: none;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-search {
        flex-wrap: wrap;
    }

    .hero-search input {
        order: 2;
        width: 100%;
        padding: 12px 16px;
    }

    .search-location {
        order: 1;
        flex: 1;
    }

    .search-btn {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ps-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .step-card {
        max-width: 100%;
    }

    .step-arrow {
        transform: rotate(90deg);
        justify-content: center;
        padding: 8px 0;
    }
}


/* ===========================
   RESPONSIVE: 480px
=========================== */

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.35rem;
    }

    .hero-subtitle {
        font-size: 0.88rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stores-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 1.2rem;
        padding-top: 1rem;
    }

    .section-title .line {
        max-width: 50px;
    }

    .hero-tabs {
        width: 100%;
    }

    .tab-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 12px;
    }

    .stat-item h3 {
        font-size: 1.7rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}


/* ===========================
   RESPONSIVE: 1440px+
=========================== */

@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .big-logo-text {
        font-size: 9rem;
    }
}


/* ميديا كويري للهيرو سكشن */

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding-top: var(--nav-h);
        padding-bottom: 60px;
    }

    .hero-content {
        width: 100%;
        margin: 0;
        padding: 40px 20px;
        align-items: center;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.5;
        width: 100%;
    }

    .hero-subtitle {
        width: 100%;
        margin-right: 0;
        margin-bottom: 24px;
    }

    .hero-tabs {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .tab-btn {
        flex: 1;
        justify-content: center;
        padding: 12px;
    }

    .hero-search {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .city-select {
        padding: 0 10px;
        font-size: 13px;
    }

    .search-btn {
        padding: 0 16px;
    }

    .search-input {
        font-size: 13px;
    }

    .hero-calligraphy {
        width: 180px;
        opacity: 0.2;
        left: 20%;
        transform: translateX(-50%);
    }
}


/* ------------------------------------------- LOGIN PAGE -------------------------------------- */

.auth-page {
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at top right, rgba(233, 30, 140, .18), transparent 35%), radial-gradient(circle at bottom left, rgba(139, 0, 66, .30), transparent 35%), var(--bg-deep);
}

.floating-bg span {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.floating-bg span:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 5%;
    right: 5%;
    animation: float 8s infinite;
}

.floating-bg span:nth-child(2) {
    width: 250px;
    height: 250px;
    background: var(--primary);
    bottom: 10%;
    left: 5%;
    animation: float 10s infinite;
}

.floating-bg span:nth-child(3) {
    width: 180px;
    height: 180px;
    background: #ff4eb8;
    top: 50%;
    left: 40%;
    animation: float 12s infinite;
}

@keyframes float {
    50% {
        transform: translateY(-40px);
    }
}

.stat-card {
    width: 180px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .08);
    position: absolute;
}

.card-1 {
    top: 40px;
    right: 100px;
    animation: float 6s infinite;
}

.card-2 {
    top: 180px;
    right: 280px;
    animation: float 8s infinite;
}

.card-3 {
    top: 330px;
    right: 120px;
    animation: float 10s infinite;
}

.auth-card {
    max-width: 450px;
    margin: auto;
    padding: 35px;
    border-radius: 32px;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
    animation: cardIn .8s ease;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media(max-width:991px) {
    .hero-side {
        display: none;
    }

    .auth-card {
        max-width: 100%;
        margin-top: 50px;
    }
}


/* =========================
   HERO SIDE (IMPORTANT FIX)
========================= */

.hero-side {
    position: relative;
    color: #fff;
}

.hero-logo {
    width: 140px;
    margin-bottom: 20px;
    animation: fadeDown .8s ease;
}

.hero-side h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    animation: fadeUp .8s ease;
}

.hero-side h1 span {
    color: var(--accent);
}

.hero-side p {
    color: var(--text-light);
    margin-top: 15px;
    max-width: 420px;
    animation: fadeUp 1s ease;
}


/* =========================
   ROLE SWITCH (WOW PART)
========================= */

.role-switch {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    padding: 5px;
    margin-bottom: 25px;
    overflow: hidden;
}

.role-switch button {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    padding: 10px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: .3s;
}

.role-switch button i {
    margin-left: 6px;
}


/* sliding background */

.switch-bg {
    position: absolute;
    top: 5px;
    right: 5px;
    width: calc(50% - 5px);
    height: calc(100% - 10px);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transition: .35s cubic-bezier(.22, 1, .36, 1);
    z-index: 1;
}

.role-switch.admin .switch-bg {
    right: 50%;
}


/* =========================
   AUTH CARD FIX (make it alive)
========================= */

.auth-card {
    transform: translateY(0);
    transition: .4s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
}


/* =========================
   INPUTS (premium feel)
========================= */

.input-box {
    position: relative;
    margin-bottom: 18px;
}

.input-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
}

.input-box input {
    width: 100%;
    height: 55px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    padding-right: 45px;
    outline: none;
    transition: .3s;
}

.input-box input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(233, 30, 140, .15);
    transform: translateY(-2px);
}


/* =========================
   BUTTON
========================= */

.login-btn {
    width: 100%;
    height: 55px;
    border: none;
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transition: .3s;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 30, 140, .25);
}


/* =========================
   ANIMATIONS
========================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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


/* =========================
   MOBILE FIX (IMPORTANT)
========================= */

@media (max-width: 991px) {
    .hero-side {
        display: none;
    }

    .auth-card {
        margin-top: 20px;
        animation: none;
    }
}


/* =========================
   FORGOT PASSWORD LINK
========================= */

.form-footer {
    margin-top: 12px;
    text-align: left;
}

.forgot-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    transition: .3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


/* underline animation */

.forgot-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 0%;
    height: 1px;
    background: var(--accent);
    transition: .3s ease;
    opacity: .8;
}


/* hover */

.forgot-link:hover {
    color: var(--accent-light);
    transform: translateY(-1px);
}

.forgot-link:hover::after {
    width: 100%;
}


/* small icon vibe (optional upgrade) */

.forgot-link::before {
    content: "\f059";
    /* Font Awesome question-circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: var(--accent);
    opacity: .8;
}


/* ------------------------------------------- REGISTER PAGE ------------------------------------ */


/* =========================
   REGISTER FIX (CLEAN UI)
========================= */

.phone-group {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}


/* COUNTRY CODE (LEFT FIX) */

.country-code {
    width: 130px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .05);
    color: #fff;
}

.country-code select {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    appearance: none;
}


/* PHONE INPUT */

.phone-input {
    flex: 1;
    margin-bottom: 0;
}


/* SELECT FIX (MOST IMPORTANT FIX) */

.form-select-custom {
    width: 100%;
    height: 55px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    padding-right: 45px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}


/* fix option visibility (important) */

.form-select-custom option {
    background: #1a0010;
    color: #fff;
}


/* focus like login */

.form-select-custom:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(233, 30, 140, .15);
}


/* MOBILE FIX */

@media(max-width:991px) {
    .phone-group {
        flex-direction: column-reverse;
    }

    .country-code {
        width: 100%;
        height: 55px;
    }
}


/* =========================
   PLACEHOLDER FIX (ALL INPUTS)
========================= */

.input-box input::placeholder {
    color: rgba(255, 255, 255, .75);
    opacity: 1;
}


/* Firefox */

.input-box input::-moz-placeholder {
    color: rgba(255, 255, 255, .75);
}


/* Chrome / Edge */

.input-box input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, .75);
}


/* select placeholder fix */

.form-select-custom {
    color: #fff;
}

.form-select-custom option {
    color: #fff;
    background: #1a0010;
}


/* =========================
   PHONE GROUP FIX (PRO UI)
========================= */

.phone-group {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    direction: ltr;
    /* مهم جدًا */
}


/* COUNTRY CODE LEFT BOX */

.country-code {
    width: 40%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .05);
    color: #fff;
}


/* make select clean */

.country-code select {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
}


/* PHONE INPUT */

.phone-input {
    flex: 1;
    margin-bottom: 0;
}


/* IMPORTANT: force LTR input for numbers */

.phone-input input {
    direction: ltr;
    text-align: left;
}

.input-box input:focus::placeholder {
    opacity: .4;
    transform: translateX(5px);
    transition: .3s;
}

@media (max-width: 991px) {
    .phone-group {
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }

    /* country code smaller */
    .country-code {
        width: 45%;
        height: 55px;
        flex-shrink: 0;
        font-size: 13px;
    }

    /* phone takes remaining space */
    .phone-input {
        flex: 1;
    }

    /* make input text smaller a bit */
    .phone-input input {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .country-code {
        width: 45%;
        padding: 0 6px;
    }

    .phone-input input {
        font-size: 13px;
    }
}


/* =============================================================================================
   SEARCH PAGE ONLY
============================================================================================= */

.search-page {
    background: #fff;
    /* هنا الحل بتاعك */
    min-height: 100vh;
    padding: 100px 20px 40px;
    color: #111;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
}


/* TITLE */

.search-page .page-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    /* من الرووت بتاعك */
    margin: 0;
    text-align: center;
    flex: 1;
}


/* BACK BUTTON */

.search-page .back-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(139, 0, 66, 0.1);
    color: var(--primary);
    text-decoration: none;
    transition: 0.25s ease;
}

.search-page .back-btn i {
    font-size: 16px;
}


/* hover */

.search-page .back-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateX(-2px);
}


/* ==========================
   TABS
========================== */

.search-page .tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.search-page .tab-link {
    min-width: 150px;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    background: #f8eef4;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    border: 1px solid rgba(139, 0, 66, 0.12);
}

.search-page .tab-link i {
    font-size: 1.1rem;
}

.search-page .tab-link:hover {
    background: #f2dbe8;
    transform: translateY(-2px);
}

.search-page .tab-link.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(139, 0, 66, 0.25);
}

.search-page .tab-link i {
    font-size: 1rem;
}

.search-page .tab-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.search-page .tab-link.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-l));
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(192, 0, 110, 0.35);
}

.search-page .search-result-box {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    min-height: 74px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .04);
    margin-top: 24px;
}

.search-page .search-result-text {
    color: #444;
    font-size: 1rem;
    font-weight: 600;
}

.search-page .search-result-text span {
    color: var(--primary);
    font-weight: 800;
}

.search-page .search-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fdf0f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-page .search-icon i {
    color: var(--primary);
    font-size: 1.25rem;
}

@media (max-width: 576px) {
    .search-page .search-result-box {
        padding: 14px;
        min-height: 65px;
    }

    .search-page .search-result-text {
        font-size: .9rem;
    }

    .search-page .search-icon {
        width: 42px;
        height: 42px;
    }

    .search-page .search-icon i {
        font-size: 1rem;
    }
}

.store-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 20px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
}

.store-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    border: 2px solid var(--primary);
    border-radius: 50%;
    overflow: hidden;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-content {
    flex: 1;
}

.store-name {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.store-bio {
    color: #666;
    font-size: .95rem;
    margin-bottom: 10px;
}

.store-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.store-contact a {
    color: #444;
    font-size: .95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-contact .fa-whatsapp {
    color: #25D366;
    font-size: 1.1rem;
}

.store-contact .fa-instagram {
    color: #C13584;
    font-size: 1.1rem;
}

.contact-divider {
    color: #bbb;
    font-weight: 700;
}

.store-card hr {
    margin: 10px 0;
    border-color: #efefef;
}

.shipping-title {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.shipping-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.shipping-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 999px;
    font-size: .85rem;
    color: #444;
}

.shipping-item img {
    width: 35px;
    height: 14px;
    object-fit: contain;
}

.store-btn {
    margin-top: 14px;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: .95rem;
    transition: .3s;
}

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

.store-btn i {
    font-size: .9rem;
}


/* ==========================
   TABLET
========================== */

@media (max-width: 992px) {
    .store-image {
        width: 115px;
        height: 115px;
    }

    .store-name {
        font-size: 1.4rem;
    }
}


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

@media (max-width: 576px) {
    .store-card {
        gap: 12px;
        padding: 14px;
        align-items: flex-start;
    }

    .store-image {
        width: 90px;
        height: 90px;
        margin-top: 5rem;
    }

    .store-name {
        font-size: 1.2rem;
    }

    .store-bio {
        font-size: .8rem;
        margin-bottom: 8px;
    }

    .store-contact {
        gap: 6px;
    }

    .store-contact a {
        font-size: .8rem;
    }

    .shipping-title {
        font-size: .85rem;
    }

    .shipping-item {
        font-size: .72rem;
        padding: 5px 8px;
    }

    .store-btn {
        width: 100%;
        justify-content: center;
        font-size: .85rem;
        padding: 10px;
    }
}

.search-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}


/* CARD */

.product-card {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: right;
    position: relative;
    overflow: hidden;
}


/* IMAGE */

.product-image {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* LOGO */

.product-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.product-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* TITLE */

.product-title {
    font-size: 1.5rem;
    margin-top: 10px;
    color: var(--primary-light);
    font-weight: bolder;
}


/* DESC */

.product-desc {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
    line-height: 1.5;
}


/* dotted line */

.dots-line {
    border-bottom: 2px dotted #ddd;
    margin: 10px 0;
}


/* STORE */

.store-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #e91e63;
    font-size: 14px;
}

.store-info span {
    font-weight: bold;
}


/* BUTTON */

.product-footer {
    margin-top: 12px;
}

.add-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: #c2185b;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}


/* RESPONSIVE */

@media (max-width: 992px) {
    .search-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .search-products {
        grid-template-columns: repeat(2, 1fr);
        /* زي ما طلبت */
        gap: 12px;
    }

    .product-image {
        height: 140px;
    }

    .product-title {
        font-size: 14px;
    }

    .product-desc {
        font-size: 12px;
    }

    .add-btn {
        font-size: 12px;
        padding: 8px;
    }
}


/* =============================================================================================
Shop Profile
============================================================================================= */

.store-profile {
    width: 100%;
    padding: 2rem;
    padding: 0 15px;
    background: #fff;
}

.store-header {
    text-align: center;
    margin-bottom: 30px;
}

.store-avatar {
    width: 120px;
    height: 120px;
    margin: auto;
    padding: 6px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #eee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
}

.store-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.store-header h2 {
    color: var(--primary);
    font-weight: 800;
    font-size: 40px;
    margin: 15px 0 5px;
}

.store-header p {
    color: #666;
    font-size: 18px;
}

.title-line {
    width: 70px;
    height: 4px;
    background: var(--primary);
    display: block;
    margin: 15px auto 0;
    border-radius: 20px;
}

.contact-card {
    background: #fff;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .06);
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.contact-row:last-child {
    border-bottom: none;
}

.contact-col {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-col i {
    color: var(--primary);
    width: 22px;
    font-size: 18px;
}

@media(max-width:768px) {
    .contact-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .contact-col {
        font-size: 13px;
    }
}

.contact-card span {
    color: black;
}

.card-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.contact-item i {
    color: var(--primary);
    width: 22px;
}

.products-head {
    margin: 40px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.products-head h3 {
    color: var(--primary);
    margin: 0;
    font-weight: 800;
}

.show-all {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
}

.shipping-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.shipping-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
}

.shipping-card i {
    color: var(--primary);
    font-size: 38px;
    margin-bottom: 15px;
}

.search-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #eee;
    padding: 12px;
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 14px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 50%;
    padding: 5px;
}

.product-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-title {
    color: var(--primary);
    font-weight: 800;
    text-align: center;
    margin: 15px 0 10px;
}

.product-desc {
    text-align: center;
    color: #666;
    min-height: 50px;
}

.dots-line {
    border-bottom: 2px solid #e9c4d5;
    position: relative;
    margin: 15px 0;
}

.dots-line::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.store-info {
    display: flex;
    justify-content: center;
    gap: 8px;
    color: #666;
    margin-bottom: 12px;
}

.price-btn {
    width: 100%;
    border: none;
    background: linear-gradient(90deg, var(--primary), #c70073);
    color: #fff;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.features-box {
    margin-top: 40px;
    border: 1px solid #eee;
    border-radius: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}

.feature {
    padding: 25px;
    text-align: center;
}

.feature:not(:last-child) {
    border-left: 1px solid #eee;
}

.feature i {
    color: var(--primary);
    font-size: 30px;
    margin-bottom: 10px;
}

.feature h6 {
    color: var(--primary);
    font-weight: 700;
}

.feature p {
    color: #777;
    margin: 0;
}

@media(max-width:768px) {
    .store-avatar {
        width: 95px;
        height: 95px;
    }

    .store-header h2 {
        font-size: 28px;
    }

    .shipping-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-image {
        height: 130px;
    }

    .product-title {
        font-size: 14px;
    }

    .product-desc {
        font-size: 12px;
        min-height: auto;
    }

    .features-box {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =============================================================================================
 about us
============================================================================================= */

.about-us {
    max-width: 1200px;
    margin: auto;
    padding: 120px 20px 80px;
}


/* ==========================================
HERO
========================================== */

.about-hero {
    text-align: center;
    margin-bottom: 60px;
}

.about-hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 20px 0;
    line-height: 1.3;
    background: linear-gradient(135deg, #fff, var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero p {
    max-width: 800px;
    margin: auto;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 2;
}

.hero-badge {
    display: inline-block;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    background: rgba(192, 0, 110, .15);
    color: var(--text-light);
    border: 1px solid rgba(192, 0, 110, .35);
    backdrop-filter: blur(10px);
}


/* ==========================================
MAIN CARDS
========================================== */

.about-card {
    background: linear-gradient(145deg, rgba(46, 0, 24, .95), rgba(58, 0, 32, .85));
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 35px;
    margin-bottom: 25px;
    backdrop-filter: blur(20px);
    transition: .35s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px rgba(139, 0, 66, .25);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.section-title i {
    color: var(--color-primary-l);
    font-size: 1.3rem;
}

.section-title h2 {
    color: var(--text-white);
    margin: 0;
}

.about-card p {
    color: var(--text-light);
    line-height: 2;
}


/* ==========================================
VISION
========================================== */

.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.vision-card {
    background: linear-gradient(135deg, rgba(91, 0, 40, .95), rgba(139, 0, 66, .65));
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 35px;
    text-align: center;
    transition: .35s ease;
}

.vision-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px rgba(139, 0, 66, .25);
}

.vision-card i {
    font-size: 42px;
    color: var(--color-primary-l);
    margin-bottom: 15px;
}

.vision-card h3 {
    color: var(--text-white);
    margin-bottom: 15px;
}

.vision-card p {
    color: var(--text-light);
}


/* ==========================================
POLICY
========================================== */

.policy-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.policy-list h4 {
    color: var(--text-white);
    margin-bottom: 15px;
}

.policy-list li {
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.8;
}


/* ==========================================
PRIVACY
========================================== */

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.privacy-item {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 20px;
    padding: 20px;
    transition: .3s ease;
}

.privacy-item:hover {
    border-color: rgba(192, 0, 110, .25);
    transform: translateY(-3px);
}

.privacy-item h4 {
    color: var(--text-white);
    margin-bottom: 10px;
}

.privacy-item p,
.privacy-item li {
    color: var(--text-light);
}


/* ==========================================
PARTNERS
========================================== */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.partner-box {
    background: linear-gradient(145deg, rgba(46, 0, 24, .8), rgba(58, 0, 32, .6));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: .35s ease;
}

.partner-box:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(139, 0, 66, .25);
}

.partner-box i {
    font-size: 30px;
    color: var(--color-primary-l);
    margin-bottom: 12px;
}

.partner-box span {
    display: block;
    color: var(--text-white);
    font-weight: 500;
}


/* ==========================================
ANIMATION
========================================== */

.reveal {
    animation: fadeUp .8s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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


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

@media(max-width:768px) {

    .vision-grid,
    .policy-list,
    .privacy-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-card,
    .vision-card {
        padding: 25px;
    }
}

@media(max-width:480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 2rem;
    }
}


/* =============================================================================================
CONTACT US
============================================================================================= */

.contact-us {
    position: relative;
    overflow: hidden;
    padding: 120px 20px 80px;
    max-width: 1350px;
    margin: auto;
}


/* ==========================================
BACKGROUND GLOWS
========================================== */

.contact-us::before,
.contact-us::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
}

.contact-us::before {
    width: 350px;
    height: 350px;
    background: rgba(139, 0, 66, .30);
    top: 50px;
    left: -120px;
}

.contact-us::after {
    width: 300px;
    height: 300px;
    background: rgba(192, 0, 110, .22);
    bottom: -50px;
    right: -100px;
}


/* ==========================================
HERO
========================================== */

.contact-hero {
    text-align: center;
    margin-bottom: 60px;
}

.contact-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    background: rgba(192, 0, 110, .15);
    color: var(--text-light);
    border: 1px solid rgba(192, 0, 110, .35);
    margin-bottom: 20px;
    backdrop-filter: blur(12px);
}

.contact-hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff, var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-hero p {
    max-width: 720px;
    margin: auto;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}


/* ==========================================
LAYOUT
========================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 25px;
}


/* ==========================================
INFO SIDE
========================================== */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: linear-gradient(135deg, rgba(46, 0, 24, .95), rgba(58, 0, 32, .85));
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 25px;
    display: flex;
    gap: 18px;
    align-items: center;
    transition: .35s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px rgba(139, 0, 66, .35);
}

.info-card .icon {
    min-width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--color-primary));
    border: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 22px;
}

.info-card h4 {
    color: var(--text-white);
    margin-bottom: 5px;
}

.info-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}


/* ==========================================
FORM CARD
========================================== */

.contact-form-card {
    background: linear-gradient(145deg, rgba(46, 0, 24, .95), rgba(58, 0, 32, .85));
    border: 1px solid var(--border-color);
    backdrop-filter: blur(25px);
    border-radius: 30px;
    padding: 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.contact-form-card h2 {
    color: var(--text-white);
    margin-bottom: 30px;
}


/* ==========================================
FIELDS
========================================== */

.field {
    position: relative;
}

.field i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 18px;
    color: var(--color-primary-l);
}

.field input,
.field textarea {
    width: 100%;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    color: var(--text-white);
    padding: 0 50px 0 18px;
    transition: .3s ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--text-muted);
}

.field input {
    height: 58px;
}

.field textarea {
    padding-top: 18px;
    resize: none;
}

.field textarea+i {
    top: 25px;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 0 0 4px rgba(192, 0, 110, .12), 0 0 25px rgba(192, 0, 110, .18);
}


/* ==========================================
BUTTON
========================================== */

.send-btn {
    margin-top: 25px;
    border: none;
    background: linear-gradient(135deg, var(--primary-dark), var(--color-primary), var(--accent));
    color: #fff;
    height: 58px;
    border-radius: 18px;
    width: 100%;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: .35s ease;
}

.send-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(192, 0, 110, .35);
    filter: brightness(1.05);
}


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

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: 2;
    }

    .contact-form-card {
        order: 1;
    }
}

@media (max-width: 576px) {
    .contact-us {
        padding: 100px 15px 60px;
    }

    .contact-form-card {
        padding: 25px;
    }

    .info-card {
        padding: 18px;
    }

    .info-card .icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }
}


/* =====================================================
PREMIUM PAGINATION
===================================================== */

.pagination-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 60px;
}

.pagination-modern a,
.pagination-modern span {
    position: relative;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 18px;
    overflow: hidden;
    transition: .35s ease;
}


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

.page-number,
.page-btn {
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .08);
    color: var(--text-muted);
    backdrop-filter: blur(20px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 20px rgba(0, 0, 0, .18);
}

.page-number::before,
.page-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 50%);
    opacity: 0;
    transition: .3s;
}

.page-number:hover,
.page-btn:hover {
    transform: translateY(-5px);
    color: var(--text-light);
    border-color: rgba(233, 30, 140, .35);
    box-shadow: 0 12px 30px rgba(139, 0, 66, .35);
}

.page-number:hover::before,
.page-btn:hover::before {
    opacity: 1;
}


/* ==========================
ACTIVE PAGE
========================== */

.page-number.active {
    color: #fff !important;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 25px rgba(232, 0, 127, .45), 0 15px 35px rgba(139, 0, 66, .4);
    animation: activeFloat 3s ease-in-out infinite;
}

.page-number.active::before {
    content: "";
    position: absolute;
    width: 180%;
    height: 180%;
    background: conic-gradient(from 0deg, rgba(255, 255, 255, .4), transparent, rgba(255, 255, 255, .4));
    animation: rotateGlow 5s linear infinite;
}

.page-number.active::after {
    position: absolute;
    inset: 2px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    z-index: 0;
}

.page-number.active span,
.page-number.active {
    z-index: 2;
}


/* ==========================
DOTS
========================== */

.page-dots {
    width: auto !important;
    color: var(--text-muted);
    padding: 0 8px;
    font-size: 20px;
}


/* ==========================
DISABLED
========================== */

.page-disabled {
    opacity: .4;
    pointer-events: none;
}


/* ==========================
ANIMATION
========================== */

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes activeFloat {

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

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


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

@media(max-width:576px) {
    .pagination-modern {
        gap: 8px;
    }

    .pagination-modern a,
    .pagination-modern span {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: .9rem;
    }

    .page-dots {
        font-size: 16px;
    }
}


/*  cat */


/* ==========================
CATEGORIES
========================== */

.categories-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 45px;
}

.category-card {
    min-width: 140px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    color: var(--text-light);
    transition: .3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.category-card i {
    font-size: 18px;
    color: var(--accent);
    transition: .3s;
}

.category-card span {
    font-weight: 600;
    font-size: .95rem;
}

.category-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-light);
    border-color: var(--primary-light);
    box-shadow: 0 15px 30px rgba(139, 0, 66, .25);
}

.category-card:hover i {
    transform: scale(1.15);
}

.category-card.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 15px 35px rgba(139, 0, 66, .35);
}

.category-card.active i {
    color: #fff;
}


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

@media(max-width:768px) {
    .categories-wrapper {
        gap: 10px;
    }

    .category-card {
        min-width: calc(50% - 5px);
        padding: 12px 15px;
    }
}

@media(max-width:480px) {
    .category-card {
        min-width: 100%;
    }
}


/* ==============================
   STORE CARD - AVATAR STYLE
   SAFE FOR SLIDER
============================== */

.featured-stores .store-card {
    flex: 0 0 290px !important;
    background: linear-gradient(145deg, var(--bg-card), var(--bg-card-light)) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-lg) !important;
    overflow: visible !important;
    /* مهم عشان الصورة تطلع فوق */
    box-shadow: var(--shadow) !important;
    transition: var(--transition) !important;
    position: relative !important;
    scroll-snap-align: start !important;
    padding-top: 50px !important;
    /* مساحة للصورة */
}

.featured-stores .store-card:hover {
    transform: translateY(-8px) !important;
}


/* =========================
   CIRCULAR IMAGE (AVATAR)
========================= */

.featured-stores .store-img {
    width: 90px !important;
    height: 90px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    position: absolute !important;
    top: 10px !important;
    right: 15px !important;
    border: 3px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
    z-index: 2 !important;
}

.featured-stores .store-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}


/* =========================
   BODY
========================= */

.featured-stores .store-body {
    padding-top: 0px;
    margin-top: 0px;
    margin-right: 110px;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}


/* =========================
   TOP (NAME + RATING OVER IMAGE)
========================= */

.featured-stores .store-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-top: 10px !important;
}

.featured-stores .store-name {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--text-white) !important;
    margin: 0 !important;
}


/* rating */

.featured-stores .store-rating {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 13px !important;
    color: var(--accent-light) !important;
}

.featured-stores .store-rating i {
    color: #f5b301 !important;
}


/* =========================
   BUTTON
========================= */

.featured-stores .store-btn {
    margin-top: 10px !important;
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
    color: #fff !important;
    text-align: center !important;
    padding: 10px !important;
    border-radius: var(--radius-md) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: var(--transition) !important;
}

.featured-stores .store-btn:hover {
    transform: scale(1.03) !important;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light)) !important;
}


/* =========================
   SLIDER SAFE (NO CHANGE)
========================= */

.featured-stores .slider-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.featured-stores .slider-track {
    display: flex !important;
    gap: 18px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    padding: 10px 0 !important;
}

.featured-stores .slider-track::-webkit-scrollbar {
    display: none !important;
}

.featured-stores .slider-btn {
    width: 42px !important;
    height: 42px !important;
    border: none !important;
    background: var(--bg-card) !important;
    color: #fff !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
}

.featured-stores .slider-btn:hover {
    background: var(--primary) !important;
}


/* =========================
LATEST PRODUCTS SLIDER
========================= */

.latest-products-slider {
    width: 100% !important;
}


/* WRAPPER */

.latest-products-slider .lp-slider-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}


/* TRACK */

.latest-products-slider .lp-slider-track {
    display: flex !important;
    gap: 16px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    padding: 10px 0 !important;
    width: 100% !important;
}

.latest-products-slider .lp-slider-track::-webkit-scrollbar {
    display: none !important;
}


/* CARD */

.latest-products-slider .lp-card {
    flex: 0 0 240px !important;
    background: linear-gradient(145deg, var(--bg-card), var(--bg-card-light)) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    scroll-snap-align: start !important;
    box-shadow: var(--shadow) !important;
    transition: 0.3s !important;
}

.latest-products-slider .lp-card:hover {
    transform: translateY(-6px) !important;
}


/* IMAGE */

.latest-products-slider .lp-img {
    position: relative !important;
    height: 160px !important;
    overflow: hidden !important;
}

.latest-products-slider .lp-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: 0.4s ease !important;
}

.latest-products-slider .lp-card:hover .lp-img img {
    transform: scale(1.05) !important;
}


/* HEART */

.latest-products-slider .lp-wish {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(0, 0, 0, .4) !important;
    color: #fff !important;
    backdrop-filter: blur(10px) !important;
}


/* BODY */

.latest-products-slider .lp-body {
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.latest-products-slider .lp-body h4 {
    font-size: 15px !important;
    color: #fff !important;
    margin: 0 !important;
}

.latest-products-slider .lp-store {
    font-size: 12px !important;
    color: var(--text-muted) !important;
}


/* PRICE BUTTON */

.latest-products-slider .lp-price {
    margin-top: 6px !important;
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
}


/* ARROWS */

.latest-products-slider .lp-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: none !important;
    background: var(--bg-card) !important;
    color: #fff !important;
    cursor: pointer !important;
}

.latest-products-slider .lp-btn:hover {
    background: var(--primary) !important;
}


/* RESPONSIVE */

@media (max-width: 768px) {
    .latest-products-slider .lp-card {
        flex: 0 0 80% !important;
    }
}

/* ===========================
   MOBILE STORE PROFILE
=========================== */

.mobile-store-profile {
    background: #fff !important;
    border-radius: 24px !important;
    padding: 22px !important;
    border: 1px solid #eee !important;
}

.mobile-store-header {
    padding-bottom: 15px !important;
}

/* LOGO */

.mobile-store-logo {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 4px solid #8f0e4d !important;
    margin: auto !important;
}

.mobile-store-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* INFO */

.mobile-store-name {
    color: #8f0e4d !important;
    font-size: 32px !important;
    font-weight: bold !important;
    margin-bottom: 8px !important;
}

.mobile-store-desc {
    color: #666 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    margin: 0 !important;
    font-weight: bold;
}

/* SOCIAL */

.mobile-store-social {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 20px 0 !important;
}

.mobile-store-social a {
    width: 48px !important;
    height: 48px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    background: #fafafa !important;
    border: 1px solid #eee !important;

    color: #8f0e4d !important;
    text-decoration: none !important;

    font-size: 20px !important;

    transition: .3s !important;
}

.mobile-store-social a:hover {
    background: #8f0e4d !important;
    color: #fff !important;
}

/* HR */

.mobile-store-header hr {
    margin: 20px 0 !important;
    opacity: .15 !important;
}

/* BUTTON */

.mobile-store-btn {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    background: linear-gradient(90deg, #8f0e4d, #c51771) !important;

    color: #fff !important;
    text-decoration: none !important;

    padding: 15px !important;

    border-radius: 50px !important;

    font-weight: 700 !important;
    font-size: 18px !important;
}

.mobile-store-btn:hover {
    color: #fff !important;
}


@media (max-width: 768px) {

    .mobile-store-name {
        font-size: 28px !important;
    }

    .mobile-store-desc {
        font-size: 15px !important;
    }

    .mobile-store-logo {
        width: 110px !important;
        height: 110px !important;
    }

}

/* BOX */

.mobile-store-box {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 22px !important;
    padding: 20px !important;
    margin-bottom: 16px !important;
}

.mobile-store-box-title {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;

    color: #8f0e4d !important;
    font-weight: 800 !important;
    font-size: 22px !important;

    margin-bottom: 16px !important;
}

.mobile-store-box p {
    text-align: center !important;
    line-height: 2 !important;
    color: #444 !important;
}

/* SHIPPING */

.mobile-shipping-card {
    background: #faf7f8 !important;
    border: 1px solid #eee !important;
    border-radius: 16px !important;

    text-align: center !important;
    padding: 16px 10px !important;

    height: 100% !important;
}

.mobile-shipping-card i {
    color: #8f0e4d !important;
    font-size: 28px !important;
    margin-bottom: 12px !important;
}

.mobile-shipping-card h6 {
    color: #8f0e4d !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.mobile-shipping-card small {
    display: block !important;
    color: #666 !important;
}

.mobile-shipping-card span {
    display: block !important;
    margin-top: 6px !important;
    font-weight: 700 !important;
}

/* DELIVERY */

.mobile-delivery-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mobile-delivery-list li {
    margin-bottom: 14px !important;
    position: relative !important;
    padding-right: 32px !important;
}

.mobile-delivery-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    top: 0;

    width: 22px;
    height: 22px;

    border-radius: 50%;

    border: 1px solid #8f0e4d;
    color: #8f0e4d;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* MOBILE EXACT LOOK */

@media (max-width:576px) {

    .mobile-store-profile {
        padding: 16px !important;
    }

    .mobile-store-logo {
        width: 110px !important;
        height: 110px !important;
    }

    .mobile-store-box-title {
        font-size: 18px !important;
    }

    .mobile-shipping-card h6 {
        font-size: 13px !important;
    }

    .mobile-shipping-card small,
    .mobile-shipping-card span {
        font-size: 12px !important;
    }
}















































/* ===========================================
   MARKET SEARCH
=========================================== */

.market-search {
    display: flex;
    align-items: center;
    gap: 14px;

    width: 100%;
    max-width: 760px;

    background: #fff;

    border-radius: 22px;

    padding: 12px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, .08);

    border: 1px solid rgba(0, 0, 0, .06);
}

/*==========================
INPUT
===========================*/

.market-search__input {

    flex: 1;

    display: flex;

    align-items: center;

    gap: 12px;

    background: #f7f7fb;

    border: 1px solid #ececf3;

    border-radius: 16px;

    height: 58px;

    padding: 0 18px;

    transition: .3s;
}

.market-search__input:focus-within {

    border-color: var(--color-primary);

    box-shadow: 0 0 0 4px rgba(165, 21, 100, .12);

    background: #fff;
}

.market-search__input i {

    color: #9d9d9d;

    font-size: 17px;

    flex-shrink: 0;
}

.market-search__input input {

    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    font-family: var(--font-main);

    font-size: 15px;

    color: #222;

    direction: rtl;

    text-align: right;
}

.market-search__input input::placeholder {

    color: #9f9f9f;
}

/*==========================
CITY
===========================*/

.market-search__city {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-width: 170px;

    height: 58px;

    padding: 0 18px;

    background: #fafafa;

    border: 1px solid #ececf3;

    border-radius: 16px;

    cursor: pointer;

    transition: .3s;

    user-select: none;

    color: var(--color-primary);
}

.market-search__city:hover {

    border-color: var(--color-primary);

    color: var(--color-primary);
}

.market-search__city .fa-location-dot {

    color: var(--color-primary);
}

.market-search__city .fa-chevron-down {

    font-size: 12px;

    opacity: .6;
}

/*==========================
BUTTON
===========================*/

.market-search__btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-width: 150px;

    height: 58px;

    border: none;

    border-radius: 16px;

    background: linear-gradient(135deg,
            var(--color-primary),
            var(--color-primary-l));

    color: #fff;

    font-size: 15px;

    font-weight: 700;

    font-family: var(--font-main);

    cursor: pointer;

    transition: .3s;
}

.market-search__btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 12px 25px rgba(165, 21, 100, .25);
}

.market-search__btn:active {

    transform: scale(.98);
}

/*==========================
TABLET
===========================*/

@media(max-width:768px) {

    .market-search {

        flex-direction: column;

        align-items: stretch;

        padding: 16px;

        border-radius: 24px;

        gap: 12px;
    }

    .market-search__input {

        width: 100%;
    }

    .market-search__city {

        width: 100%;

        justify-content: space-between;
    }

    .market-search__btn {

        width: 100%;
    }

}

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

@media(max-width:480px) {

    .market-search {

        padding: 14px;

        border-radius: 20px;
    }

    .market-search__input {

        height: 54px;

        padding: 0 15px;
    }

    .market-search__city {

        height: 54px;

        padding: 0 15px;

        font-size: 14px;
    }

    .market-search__btn {

        height: 54px;

        font-size: 15px;
    }

}
