/* ═════════════════════════════════════════════════════════════════
   LUXVOO WEB SELLER PLATFORM & STORE DISCOVERY STYLES
   Aesthetics: Royal Navy #0B0F19 • Gold #C9A84C • Sky #0284C7 • Ice
   ═════════════════════════════════════════════════════════════════ */

/* ─── STORES DIRECTORY SECTION (الكتالوج الميداني للمتاجر المعتمدة) ─── */
.stores-section {
    padding: 80px 0 100px;
    background: radial-gradient(ellipse at 50% 15%, rgba(14, 165, 233, 0.08) 0%, transparent 65%), linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 50%, #FFFFFF 100%) !important;
    position: relative;
    border-top: 1px solid rgba(14, 165, 233, 0.22);
    border-bottom: 1px solid rgba(14, 165, 233, 0.22);
}

.stores-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.stores-header-wrap {
    text-align: center;
    margin-bottom: 40px;
}

.stores-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.35);
    color: #0284C7;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 14px;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.12);
}

.stores-main-title {
    font-family: 'Cinzel', 'Tajawal', sans-serif;
    font-size: 2.3rem;
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 12px;
}

.stores-main-title em {
    font-style: normal;
    background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 40%, #B45309 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.stores-subtitle {
    color: #475569;
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Category Filters Bar */
.stores-filters-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.store-filter-btn {
    background: #FFFFFF;
    border: 1.5px solid rgba(14, 165, 233, 0.25);
    color: #334155;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s ease;
}

.store-filter-btn:hover {
    background: #F0F9FF;
    border-color: #0284C7;
    color: #0284C7;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.2);
}

.store-filter-btn.active {
    background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 50%, #38BDF8 100%);
    border-color: #0284C7;
    color: #FFFFFF;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

/* Stores Grid */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 26px;
}

.store-card {
    background: #FFFFFF;
    border: 1.5px solid rgba(14, 165, 233, 0.22);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    position: relative;
}

.store-card:hover {
    transform: translateY(-6px);
    border-color: #0284C7;
    box-shadow: 0 18px 40px rgba(14, 165, 233, 0.22);
}

.store-card-cover {
    width: 100%;
    height: 140px;
    position: relative;
    background: #F0F9FF;
    overflow: hidden;
}

.store-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.store-card:hover .store-card-cover img {
    transform: scale(1.05);
}

.store-card-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(15, 23, 42, 0.65) 100%);
}

.store-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

.store-card-logo-wrap {
    position: absolute;
    top: -35px;
    right: 20px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid #C9A84C;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-card-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-card-header {
    margin-top: 15px;
    margin-bottom: 8px;
}

.store-name-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-badge-verified {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.35);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-block;
}

.store-meta-location {
    color: #0284C7;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.store-desc-snippet {
    color: #475569;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.store-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(14, 165, 233, 0.15);
}

.store-stats-item {
    font-size: 0.8rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 4px;
}

.store-stats-item strong {
    color: #B45309;
}

.store-visit-btn {
    background: rgba(2, 132, 199, 0.08);
    color: #0284C7;
    border: 1px solid rgba(2, 132, 199, 0.35);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.store-card:hover .store-visit-btn {
    background: #0284C7;
    color: #FFFFFF;
    border-color: #0284C7;
}

/* ─── MODAL BACKDROP & BASE ─── */
.lux-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lux-modal-backdrop.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.lux-modal-window {
    background: #FFFFFF;
    border: 1.5px solid rgba(14, 165, 233, 0.3);
    border-radius: 20px;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2), 0 0 30px rgba(14, 165, 233, 0.1);
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    color: #0F172A;
}

.lux-modal-backdrop.active .lux-modal-window {
    transform: scale(1) translateY(0);
}

.lux-modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8FAFC;
    position: sticky;
    top: 0;
    z-index: 10;
}

.lux-modal-title {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 900;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.lux-modal-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #CBD5E1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.lux-modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #EF4444;
    color: #EF4444;
}

.lux-modal-body {
    padding: 24px;
}

/* ─── SELLER HUB ONBOARDING WIZARD ─── */
.wizard-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    position: relative;
}

.wizard-steps-indicator::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.wizard-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0F172A;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.wizard-step-node.active .step-circle {
    border-color: #C9A84C;
    background: #C9A84C;
    color: #000;
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.5);
}

.wizard-step-node.done .step-circle {
    border-color: #10B981;
    background: #10B981;
    color: #FFF;
}

.step-title-text {
    font-size: 0.8rem;
    color: #94A3B8;
    font-weight: 600;
}

.wizard-step-node.active .step-title-text {
    color: #FCD34D;
    font-weight: 700;
}

/* Form Groups */
.seller-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.seller-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.seller-form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0F172A;
}

.seller-form-input, .seller-form-select, .seller-form-textarea {
    background: #FFFFFF;
    border: 1.5px solid rgba(14, 165, 233, 0.25);
    border-radius: 10px;
    padding: 10px 14px;
    color: #0F172A;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.seller-form-input:focus, .seller-form-select:focus, .seller-form-textarea:focus {
    outline: none;
    border-color: #0284C7;
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.25);
    background: #FFFFFF;
}

/* ─── SELLER DASHBOARD (لوحة التاجر) ─── */
.seller-dashboard-header {
    background: #F8FAFC;
    border: 1.5px solid rgba(14, 165, 233, 0.25);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.seller-store-profile-flex {
    display: flex;
    align-items: center;
    gap: 16px;
}

.seller-profile-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #C9A84C;
    object-fit: cover;
}

/* Rejection Warning Banner */
.rejection-alert-banner {
    background: rgba(239, 68, 68, 0.08);
    border: 1.5px solid rgba(239, 68, 68, 0.35);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 22px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #DC2626;
}

.rejection-alert-banner strong {
    color: #B91C1C;
}

.pending-alert-banner {
    background: rgba(245, 158, 11, 0.08);
    border: 1.5px solid rgba(245, 158, 11, 0.35);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #B45309;
}

/* Dashboard KPIs */
.seller-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.seller-kpi-card {
    background: #FFFFFF;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: all 0.2s;
}

.seller-kpi-card:hover {
    border-color: #0284C7;
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.15);
}

.seller-kpi-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 2px;
}

.seller-kpi-card.published .seller-kpi-num { color: #059669; }
.seller-kpi-card.pending .seller-kpi-num { color: #D97706; }
.seller-kpi-card.rejected .seller-kpi-num { color: #DC2626; }
.seller-kpi-card.draft .seller-kpi-num { color: #64748B; }

.seller-kpi-label {
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 600;
}

/* Navigation Tabs inside Seller Hub */
.seller-tabs-nav {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
    margin-bottom: 20px;
    padding-bottom: 8px;
}

.seller-tab-btn {
    background: none;
    border: none;
    color: #64748B;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.seller-tab-btn:hover {
    color: #0284C7;
}

.seller-tab-btn.active {
    background: rgba(14, 165, 233, 0.12);
    color: #0284C7;
}

/* Products Table */
.seller-products-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.seller-products-table th {
    text-align: right;
    padding: 10px 14px;
    font-size: 0.8rem;
    color: #94A3B8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 700;
}

.seller-products-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.88rem;
    vertical-align: middle;
}

.seller-prod-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-status-approved { background: rgba(16, 185, 129, 0.15); color: #10B981; padding: 4px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; }
.badge-status-pending { background: rgba(245, 158, 11, 0.15); color: #F59E0B; padding: 4px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; }
.badge-status-rejected { background: rgba(239, 68, 68, 0.15); color: #EF4444; padding: 4px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; }
.badge-status-draft { background: rgba(148, 163, 184, 0.15); color: #94A3B8; padding: 4px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .stores-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .store-card {
        border-radius: 12px !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
    }
    .store-card-cover {
        height: 95px !important;
    }
    .store-card-body {
        padding: 8px 10px 10px !important;
    }
    .store-card-logo-wrap {
        width: 34px !important;
        height: 34px !important;
        top: -17px !important;
        right: 10px !important;
        border-width: 1.5px !important;
    }
    .store-card-header {
        margin-top: 10px !important;
        margin-bottom: 4px !important;
    }
    .store-name-title {
        font-size: 0.82rem !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
    }
    .store-badge-verified {
        font-size: 0.62rem !important;
        padding: 1px 4px !important;
        margin-right: 4px !important;
    }
    .store-meta-location {
        font-size: 0.7rem !important;
        margin-bottom: 4px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .store-desc-snippet {
        font-size: 0.68rem !important;
        line-height: 1.35 !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        height: 2.7em !important;
        margin-bottom: 6px !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .store-card-footer {
        padding-top: 6px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
    }
    .store-stats-item {
        font-size: 0.66rem !important;
    }
    .store-visit-btn {
        width: 100% !important;
        text-align: center !important;
        padding: 5px 0 !important;
        font-size: 0.72rem !important;
        border-radius: 6px !important;
    }
    .seller-form-row { grid-template-columns: 1fr; }
    .seller-dashboard-header { flex-direction: column; align-items: flex-start; gap: 14px; }
    .seller-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Views & Orders Counter Badges in Seller Hub */
.seller-metric-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 800;
}
.seller-metric-views {
    background: rgba(56, 189, 248, 0.12);
    color: #38BDF8;
    border: 1px solid rgba(56, 189, 248, 0.25);
}
.seller-metric-orders {
    background: rgba(201, 168, 76, 0.14);
    color: #FCD34D;
    border: 1px solid rgba(201, 168, 76, 0.3);
}

/* ─── FLOATING ACTION BUTTON (زر النشر العائم الملكي) ─── */
.seller-floating-publish-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9998;
    background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 50%, #38BDF8 100%);
    color: #FFFFFF !important;
    font-weight: 900;
    font-size: 0.92rem;
    padding: 12px 22px;
    border-radius: 35px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 30px rgba(2, 132, 199, 0.45);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    letter-spacing: 0.5px;
}
.seller-floating-publish-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 36px rgba(2, 132, 199, 0.6);
    color: #FFFFFF !important;
}
@media (max-width: 768px) {
    .seller-floating-publish-btn {
        bottom: 84px;
        left: 16px;
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* ─── SELLER REVIEWS & REPLIES STYLES ─── */
.seller-review-item {
    background: #FFFFFF;
    border: 1.5px solid rgba(14, 165, 233, 0.22);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.seller-reply-container {
    background: #F0F9FF;
    border: 1px solid #BAE6FD;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 12px;
}

/* ─── WHOLESALE B2B SOURCING STYLES ─── */
.wholesale-b2b-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.wholesale-card {
    background: #FFFFFF;
    border: 1.5px solid rgba(124, 58, 237, 0.25);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.06);
    display: flex;
    flex-direction: column;
}

/* ─── SELLER CV & CREDENTIALS SHOWCASE ─── */
.seller-cv-preview-card {
    background: #FFFFFF;
    border: 2px solid #C9A84C;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.12);
}
.seller-chip-tag {
    display: inline-flex;
    align-items: center;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    color: #0F172A;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
}

