/* ===========================
   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: var(--font-main);
    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;
}

/* ==========================================
   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: 52px;
    }

    .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;
    }
}









