/* ============================================================
   seller.css — SouqLocal Seller Panel Theme
   Place in assets/css/seller.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --sp-ink:        #0F1C2E;
    --sp-cream:      #F4F7FC;
    --sp-surface:    #EAF0FB;
    --sp-white:      #FFFFFF;
    --sp-gray:       #64748B;
    --sp-border:     #D1DCF0;
    --sp-blue:       #2563EB;
    --sp-blue-light: #DBEAFE;
    --sp-gold:       #F59E0B;
    --sp-accent:     #F97316;
    --sp-error:      #DC2626;
    --sp-success:    #16A34A;
    --sp-radius-sm:  4px;
    --sp-radius-md:  8px;
    --sp-radius-lg:  14px;
    --sp-shadow-sm:  0 1px 4px rgba(15,28,46,0.08);
    --sp-shadow-md:  0 4px 16px rgba(15,28,46,0.12);
    --sp-shadow-lg:  0 12px 40px rgba(15,28,46,0.16);
    --sp-font-d:     'Poppins', system-ui, sans-serif;
    --sp-font-b:     'Inter', system-ui, sans-serif;
    --sp-max:        1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sp-font-b);
    background: var(--sp-white);
    color: var(--sp-ink);
    font-size: 15px;
    line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ── Announcement bar ── */
.sp-ann-bar {
    background: var(--sp-blue);
    color: rgba(255,255,255,0.9);
    text-align: center;
    padding: 9px 16px;
    font-size: 12px;
    font-family: var(--sp-font-b);
    letter-spacing: 0.04em;
}

/* ── Header ── */
.sp-header {
    background: var(--sp-white);
    border-bottom: 1px solid var(--sp-border);
    position: sticky; top: 0; z-index: 1000;
    transition: box-shadow 0.2s;
}
.sp-header.scrolled { box-shadow: var(--sp-shadow-md); }
.sp-header-inner {
    max-width: var(--sp-max); margin: 0 auto;
    padding: 0 24px; height: 68px;
    display: flex; align-items: center; gap: 32px;
}

/* Logo */
.sp-logo {
    font-family: var(--sp-font-d);
    font-size: 20px; font-weight: 700;
    color: var(--sp-ink) !important;
    letter-spacing: -0.03em; white-space: nowrap; flex-shrink: 0;
}
.sp-logo span { color: var(--sp-blue); }
.sp-logo em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--sp-gray); margin-left: 4px; vertical-align: middle; }

/* Nav */
.sp-nav {
    display: flex; align-items: center; gap: 4px; margin-left: auto;
}
.sp-nav a {
    padding: 8px 14px; border-radius: var(--sp-radius-md);
    font-size: 14px; font-weight: 500; color: var(--sp-ink) !important;
    transition: background 0.15s; white-space: nowrap;
}
.sp-nav a:hover { background: var(--sp-surface); }

/* Buttons */
.sp-btn-primary {
    background: var(--sp-blue) !important; color: #fff !important;
    border-radius: var(--sp-radius-md) !important;
    padding: 9px 20px !important; font-weight: 600 !important;
    transition: background 0.2s, transform 0.15s !important;
    display: inline-flex; align-items: center;
}
.sp-btn-primary:hover { background: #1D4ED8 !important; transform: translateY(-1px); }
.sp-btn-outline {
    background: transparent !important; color: var(--sp-ink) !important;
    border: 1.5px solid var(--sp-border) !important;
    border-radius: var(--sp-radius-md) !important; padding: 8px 18px !important;
    font-weight: 500 !important;
}
.sp-btn-outline:hover { border-color: var(--sp-blue) !important; color: var(--sp-blue) !important; }
.sp-btn-outline-white {
    background: transparent; color: #fff !important;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: var(--sp-radius-md); padding: 12px 28px;
    font-weight: 600; font-size: 15px; display: inline-flex; align-items: center;
    transition: all 0.2s;
}
.sp-btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.sp-btn-ghost {
    background: rgba(255,255,255,0.1) !important; color: #fff !important;
    border-radius: var(--sp-radius-md); padding: 12px 24px;
    font-weight: 500; font-size: 15px; display: inline-flex; align-items: center;
}
.sp-btn-ghost:hover { background: rgba(255,255,255,0.2) !important; }
.sp-btn-lg { font-size: 15px !important; padding: 13px 28px !important; }

/* Mobile toggle */
.sp-mob-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto;
}
.sp-mob-toggle span { display: block; width: 22px; height: 2px; background: var(--sp-ink); border-radius: 2px; }

/* Mobile drawer */
.sp-mob-menu {
    position: fixed; top: 0; left: -100%; width: 280px; height: 100vh;
    background: var(--sp-white); z-index: 2000;
    box-shadow: 4px 0 24px rgba(15,28,46,0.15);
    transition: left 0.3s cubic-bezier(.4,0,.2,1); overflow-y: auto;
}
.sp-mob-menu.open { left: 0; }
.sp-mob-inner { padding: 20px; }
.sp-mob-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.sp-mob-close { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--sp-gray); }
.sp-mob-nav { display: flex; flex-direction: column; }
.sp-mob-nav a { padding: 12px 4px; font-size: 14px; font-weight: 500; color: var(--sp-ink) !important; border-bottom: 1px solid var(--sp-surface); }
.sp-mob-overlay { display: none; position: fixed; inset: 0; background: rgba(15,28,46,0.45); z-index: 1999; }
.sp-mob-overlay.open { display: block; }

/* ── Layout ── */
.sp-container { max-width: var(--sp-max); margin: 0 auto; padding: 0 24px; }
.sp-section { padding: 80px 0; }
.sp-section-alt { background: var(--sp-cream); }

.sp-sec-head { text-align: center; margin-bottom: 48px; }
.sp-sec-title { font-family: var(--sp-font-d); font-size: 36px; font-weight: 500; letter-spacing: -0.02em; color: var(--sp-ink); line-height: 1.2; }
.sp-sec-title em { font-style: italic; color: var(--sp-blue); }
.sp-sec-sub { font-size: 15px; color: var(--sp-gray); margin-top: 10px; }
.sp-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sp-blue); margin-bottom: 12px; font-weight: 600; }
.sp-body-text { font-size: 15px; color: var(--sp-gray); line-height: 1.8; }

/* ── Hero ── */
.sp-hero {
    background: var(--sp-ink);
    padding: 100px 24px 80px;
    position: relative; overflow: hidden;
}
.sp-hero-pattern {
    position: absolute; inset: 0; opacity: 0.04;
    background-image: radial-gradient(circle, var(--sp-gold) 1px, transparent 1px);
    background-size: 28px 28px; pointer-events: none;
}
.sp-hero-inner {
    max-width: var(--sp-max); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center; position: relative; z-index: 1;
}
.sp-hero-eyebrow {
    font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--sp-gold); margin-bottom: 16px;
    display: flex; align-items: center; gap: 10px;
}
.sp-hero-eyebrow::before { content:''; width:24px; height:1px; background:var(--sp-gold); }
.sp-hero-text h1 {
    font-family: var(--sp-font-d); font-size: clamp(36px, 4vw, 56px);
    font-weight: 500; color: #fff; letter-spacing: -0.02em;
    line-height: 1.1; margin-bottom: 20px;
}
.sp-hero-text h1 em { font-style: italic; color: var(--sp-gold); }
.sp-hero-sub { font-size: 16px; color: rgba(255,255,255,0.65); max-width: 460px; line-height: 1.7; margin-bottom: 32px; }
.sp-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.sp-hero-stats {
    display: flex; gap: 32px; margin-top: 40px;
    padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}
.sp-stat strong { display: block; font-family: var(--sp-font-d); font-size: 28px; font-weight: 600; color: #fff; }
.sp-stat span { font-size: 12px; color: rgba(255,255,255,0.5); }
.sp-hero-img img { border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-lg); }

/* ── Stats strip ── */
.sp-stats-strip { background: var(--sp-blue); padding: 0; }
.sp-stats-inner {
    max-width: var(--sp-max); margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
}
.sp-stats-item {
    padding: 32px 24px; text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.sp-stats-item:last-child { border-right: none; }
.sp-stats-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.sp-stats-item strong { display: block; font-family: var(--sp-font-d); font-size: 26px; font-weight: 700; color: #fff; }
.sp-stats-item p { font-size: 12px; color: rgba(255,255,255,0.7); margin: 4px 0 0; }

/* ── About ── */
.sp-about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
}
.sp-about-img img { border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-lg); }

/* ── Features grid ── */
.sp-features-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.sp-feature-card {
    background: var(--sp-white); border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg); padding: 28px 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.sp-feature-card:hover { transform: translateY(-4px); box-shadow: var(--sp-shadow-lg); }
.sp-feature-icon { font-size: 32px; margin-bottom: 16px; display: block; }
.sp-feature-card h4 { font-family: var(--sp-font-d); font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.sp-feature-card p { font-size: 14px; color: var(--sp-gray); line-height: 1.7; }

/* ── Video ── */
.sp-video-wrap { border-radius: var(--sp-radius-lg); overflow: hidden; box-shadow: var(--sp-shadow-lg); }
.sp-video-wrap iframe { display: block; }

/* ── Steps ── */
.sp-steps { display: flex; flex-direction: column; gap: 48px; }
.sp-step {
    display: grid; grid-template-columns: 48px 260px 1fr;
    gap: 32px; align-items: center;
    padding: 32px; background: var(--sp-white);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    transition: box-shadow 0.2s;
}
.sp-step:hover { box-shadow: var(--sp-shadow-md); }
.sp-step-num {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--sp-blue); color: #fff;
    font-family: var(--sp-font-d); font-size: 20px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.sp-step-img img { border-radius: var(--sp-radius-md); max-height: 160px; width: 100%; object-fit: cover; }
.sp-step-body h3 { font-family: var(--sp-font-d); font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.sp-step-body p { font-size: 14px; color: var(--sp-gray); line-height: 1.8; }

/* ── FAQ ── */
.sp-faq { max-width: 760px; margin: 0 auto; }
.sp-faq-item { border-bottom: 1px solid var(--sp-border); }
.sp-faq-q {
    width: 100%; background: none; border: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 0; font-family: var(--sp-font-d);
    font-size: 15px; font-weight: 500; color: var(--sp-ink);
    text-align: left; gap: 16px;
}
.sp-faq-q span { font-size: 22px; color: var(--sp-blue); flex-shrink: 0; transition: transform 0.2s; }
.sp-faq-a {
    max-height: 0; overflow: hidden;
    font-size: 14px; color: var(--sp-gray); line-height: 1.8;
    transition: max-height 0.3s ease, padding 0.3s;
    padding: 0;
}
.sp-faq-item.open .sp-faq-a { max-height: 300px; padding-bottom: 18px; }

/* ── CTA ── */
.sp-cta {
    background: var(--sp-ink); padding: 80px 24px; text-align: center;
    position: relative; overflow: hidden;
}
.sp-cta::before {
    content:''; position: absolute; inset: 0; opacity: 0.04;
    background-image: radial-gradient(circle, var(--sp-gold) 1px, transparent 1px);
    background-size: 28px 28px;
}
.sp-cta-inner { max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.sp-cta h2 { font-family: var(--sp-font-d); font-size: 40px; font-weight: 500; color: #fff; margin-bottom: 12px; }
.sp-cta p { font-size: 16px; color: rgba(255,255,255,0.65); margin-bottom: 32px; }
.sp-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.sp-footer { background: var(--sp-ink); }
.sp-footer-top { padding: 56px 24px 40px; }
.sp-footer-grid {
    max-width: var(--sp-max); margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sp-footer-logo { font-size: 22px; margin-bottom: 14px; }
.sp-footer-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.8; max-width: 300px; margin-bottom: 20px; }
.sp-social { display: flex; gap: 10px; }
.sp-social a {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6) !important; font-size: 14px;
    transition: all 0.2s;
}
.sp-social a:hover { background: var(--sp-blue); border-color: var(--sp-blue); color: #fff !important; }
.sp-footer-col h5 {
    font-family: var(--sp-font-d); font-size: 11px; font-weight: 600;
    color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em;
}
.sp-footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.5) !important; margin-bottom: 10px; transition: color 0.15s; }
.sp-footer-col a:hover { color: #fff !important; }
.sp-footer-bottom {
    max-width: var(--sp-max); margin: 0 auto; padding: 20px 24px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 8px;
}
.sp-footer-bottom a { color: rgba(255,255,255,0.5) !important; }
.sp-footer-bottom a:hover { color: #fff !important; }

/* ── Back to top ── */
.sp-back-top {
    display: none; position: fixed; bottom: 28px; right: 28px;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--sp-ink); color: #fff !important;
    align-items: center; justify-content: center;
    font-size: 18px; z-index: 999;
    box-shadow: var(--sp-shadow-md); transition: background 0.2s;
}
.sp-back-top:hover { background: var(--sp-blue); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .sp-features-grid { grid-template-columns: repeat(2, 1fr); }
    .sp-stats-inner   { grid-template-columns: repeat(2, 1fr); }
    .sp-stats-item    { border-bottom: 1px solid rgba(255,255,255,0.15); }
}
@media (max-width: 900px) {
    .sp-hero-inner   { grid-template-columns: 1fr; }
    .sp-hero-img     { display: none; }
    .sp-about-grid   { grid-template-columns: 1fr; }
    .sp-about-img    { display: none; }
    .sp-nav          { display: none; }
    .sp-mob-toggle   { display: flex; }
    .sp-step         { grid-template-columns: 48px 1fr; }
    .sp-step-img     { display: none; }
    .sp-footer-grid  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .sp-features-grid { grid-template-columns: 1fr; }
    .sp-stats-inner   { grid-template-columns: repeat(2,1fr); }
    .sp-footer-grid   { grid-template-columns: 1fr; }
    .sp-step          { grid-template-columns: 1fr; }
    .sp-step-num      { margin-bottom: 8px; }
    .sp-sec-title     { font-size: 28px; }
    .sp-hero-text h1  { font-size: 32px; }
    .sp-cta h2        { font-size: 28px; }
}
