/* ═══════════════════════════════════════════════════════════════════════════
   Multivendor Marketplace — Vendor Panel CSS
   ═══════════════════════════════════════════════════════════════════════════ */

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

/* ── Auth Sayfaları ──────────────────────────────────────────────────────── */
.mv-auth-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 16px 80px;
    min-height: 70vh;
    background: #f8fafc;
}

.mv-auth-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px 44px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 4px 32px rgba(0,0,0,.08);
}

.mv-auth-box--wide { max-width: 700px; }

.mv-auth-box h2 {
    margin: 0 0 28px;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -.3px;
}

/* Alert */
.mv-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.55;
}
.mv-alert-error   { background: #fff2f2; border: 1px solid #fecdd3; color: #be123c; }
.mv-alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.mv-alert-info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; }
.mv-alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #b45309; }

/* Form */
.mv-form { display: flex; flex-direction: column; gap: 18px; }

.mv-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mv-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mv-field label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    letter-spacing: .01em;
}

.mv-field label small { font-weight: 400; color: #9ca3af; }

.mv-field input[type="text"],
.mv-field input[type="email"],
.mv-field input[type="password"],
.mv-field input[type="tel"],
.mv-field input[type="number"],
.mv-field select,
.mv-field textarea {
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    width: 100%;
    font-family: inherit;
}

.mv-field textarea { resize: vertical; line-height: 1.6; }

.mv-field input:focus,
.mv-field select:focus,
.mv-field textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}

.mv-field--submit { margin-top: 4px; }

.mv-field-desc { font-size: 12px; color: #9ca3af; margin: 3px 0 0; }

/* Telefon prefix */
.mv-phone-wrap { display: flex; align-items: stretch; }
.mv-phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    color: #475569;
    white-space: nowrap;
    user-select: none;
}
.mv-phone-wrap input[type="tel"] { border-radius: 0 8px 8px 0 !important; }

/* Buttons */
.mv-btn {
    display: inline-block;
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background .15s, box-shadow .15s, transform .1s;
    width: 100%;
}
.mv-btn-primary {
    background: #6366f1;
    color: #fff;
    box-shadow: 0 1px 3px rgba(99,102,241,.3);
}
.mv-btn-primary:hover  { background: #4f46e5; color: #fff; }
.mv-btn-primary:active { transform: scale(.98); }

.mv-btn-secondary {
    background: #f1f5f9;
    color: #374151;
    border: 1.5px solid #e2e8f0;
}
.mv-btn-secondary:hover { background: #e2e8f0; color: #111827; }

.mv-btn-sm    { padding: 8px 16px; font-size: 13px; width: auto; }
.mv-btn-full  { width: 100%; display: block; }

.mv-auth-link { margin: 0; text-align: center; font-size: 13px; color: #6b7280; }
.mv-auth-link a { color: #6366f1; text-decoration: none; font-weight: 600; }

/* Checkbox */
.mv-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}
.mv-checkbox-label input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: #6366f1; }

/* Required */
.mv-required { color: #ef4444; }

/* ── Standalone Panel — Tam Ekran ────────────────────────────────────────── */
.mv-standalone-panel .mv-panel {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.mv-standalone-panel .mv-sidebar {
    height: 100vh;
}

.mv-standalone-panel .mv-panel-body {
    height: 100vh;
    overflow-y: auto;
}

/* ── Panel Layout (Sidebar + Content) ───────────────────────────────────── */
.mv-panel {
    display: flex;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    background: #f8fafc;
    color: #1e293b;
}

/* Sidebar */
.mv-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 50;
}

.mv-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.mv-sidebar__brand-icon {
    width: 40px;
    height: 40px;
    background: #6366f1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.mv-sidebar__store-name {
    font-size: 14px;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv-sidebar__tagline {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

/* Nav links */
.mv-sidebar__nav {
    flex: 1;
    padding: 12px 0;
}

.mv-sidebar__link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: color .15s, background .15s, border-color .15s;
    white-space: nowrap;
}

.mv-sidebar__link:hover {
    color: #f1f5f9;
    background: rgba(255,255,255,.05);
}

.mv-sidebar__link--active {
    color: #fff;
    background: rgba(99,102,241,.15);
    border-left-color: #6366f1;
    font-weight: 600;
}

/* User area */
.mv-sidebar__user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.mv-sidebar__avatar {
    width: 34px;
    height: 34px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8;
    flex-shrink: 0;
}

.mv-sidebar__user-name {
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv-sidebar__logout-link {
    display: block;
    font-size: 12px;
    color: #64748b;
    text-decoration: none;
    margin-top: 2px;
    transition: color .15s;
}
.mv-sidebar__logout-link:hover { color: #ef4444; }

/* Panel body (right of sidebar) */
.mv-panel-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Content area */
.mv-panel__content {
    flex: 1;
    padding: 32px 36px;
    max-width: 1100px;
}

/* ── Page Header ─────────────────────────────────────────────────────────── */
.mv-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}

.mv-page-title {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -.3px;
}

.mv-page-subtitle {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.mv-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    margin: 24px 0 12px;
}

/* ── Summary Cards ───────────────────────────────────────────────────────── */
.mv-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.mv-summary-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.mv-summary-card--green { border-left: 3px solid #22c55e; }

.mv-summary-card__label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.mv-summary-card__value {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.mv-summary-card__value a {
    color: inherit;
    text-decoration: none;
}

.mv-summary-card__value small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #94a3b8;
    margin-top: 3px;
}

.mv-muted { color: #94a3b8; font-size: 16px; }

/* ── Quick Actions ───────────────────────────────────────────────────────── */
.mv-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.mv-quick-card {
    display: block;
    padding: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #0f172a;
    transition: border-color .15s, box-shadow .15s, transform .1s;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.mv-quick-card:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99,102,241,.12);
    transform: translateY(-1px);
    color: #0f172a;
}

.mv-quick-card--accent {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

.mv-quick-card--accent:hover {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
    box-shadow: 0 4px 12px rgba(99,102,241,.3);
}

.mv-quick-card__title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.mv-quick-card__desc { font-size: 12px; opacity: .7; }

/* ── Status Cards ────────────────────────────────────────────────────────── */
.mv-status-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}
.mv-status-card--warning { background: #fffbeb; border: 1px solid #fde68a; }
.mv-status-card--error   { background: #fef2f2; border: 1px solid #fecaca; }
.mv-status-card__icon    { font-size: 30px; flex-shrink: 0; }
.mv-status-card strong   { display: block; font-size: 15px; margin-bottom: 4px; }
.mv-status-card p        { margin: 0; font-size: 13px; color: #6b7280; }

/* ── Table ───────────────────────────────────────────────────────────────── */
.mv-table-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.mv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.mv-table thead { background: #f8fafc; border-bottom: 1px solid #e2e8f0; }

.mv-table th {
    padding: 11px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
}

.mv-table td {
    padding: 12px 14px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    color: #374151;
}

.mv-table tbody tr:last-child td { border-bottom: none; }
.mv-table tbody tr:hover td { background: #fafafa; }

.mv-col-img     { width: 60px; }
.mv-col-actions { width: 180px; white-space: nowrap; }
.mv-date-col    { white-space: nowrap; color: #94a3b8; font-size: 13px; }

.mv-product-thumb {
    width: 48px; height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: block;
}

.mv-product-thumb--placeholder {
    width: 48px; height: 48px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #94a3b8;
}

.mv-product-name { font-weight: 600; color: #0f172a; text-decoration: none; }
.mv-product-name:hover { color: #6366f1; }
.mv-product-meta { font-size: 12px; color: #94a3b8; margin-top: 2px; }
.mv-price-old    { color: #94a3b8; font-size: 12px; font-weight: 400; }
.mv-instock      { color: #16a34a; font-size: 13px; font-weight: 500; }
.mv-outofstock   { color: #dc2626; font-size: 13px; font-weight: 500; }

/* Action links */
.mv-action-link {
    color: #6366f1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin-right: 10px;
}
.mv-action-link:hover { text-decoration: underline; }
.mv-action-link--danger { color: #ef4444; }

/* Status pills */
.mv-status-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.mv-status-publish   { background: #dcfce7; color: #15803d; }
.mv-status-draft     { background: #f1f5f9; color: #64748b; }
.mv-status-pending   { background: #fef9c3; color: #854d0e; }
.mv-os-processing    { background: #dbeafe; color: #1e40af; }
.mv-os-onhold        { background: #fef9c3; color: #854d0e; }
.mv-os-completed     { background: #dcfce7; color: #15803d; }
.mv-os-cancelled     { background: #fee2e2; color: #991b1b; }
.mv-os-pending       { background: #fef9c3; color: #854d0e; }
.mv-os-default       { background: #f1f5f9; color: #374151; }
.mv-vs-pending       { background: #ffedd5; color: #9a3412; }
.mv-vs-confirmed     { background: #dbeafe; color: #1e40af; }
.mv-vs-shipped       { background: #dcfce7; color: #15803d; }
.mv-order-actions    { margin-bottom: 16px; }

/* Onay penceresi */
.mv-modal[hidden] { display: none; }
.mv-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mv-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
}
.mv-modal__box {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    animation: mv-modal-in .15s ease-out;
}
@keyframes mv-modal-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mv-modal__title { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: #111827; }
.mv-modal__text  { margin: 0 0 20px; font-size: 14px; line-height: 1.5; color: #4b5563; }
.mv-modal__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.mv-modal__actions .mv-btn { width: auto; }
.mv-status-active    { background: #dcfce7; color: #15803d; }
.mv-status-expired   { background: #f1f5f9; color: #64748b; }
.mv-status-cancelled { background: #fee2e2; color: #991b1b; }

/* Empty state */
.mv-empty-state {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 56px 24px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.mv-empty-state__icon { font-size: 48px; margin-bottom: 12px; }
.mv-empty-state p     { color: #64748b; margin: 0 0 16px; }

/* ── Form Cards ──────────────────────────────────────────────────────────── */
.mv-form-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    align-items: start;
}

.mv-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.mv-form-card:last-child { margin-bottom: 0; }

.mv-form-card__title {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

/* Publish */
.mv-publish-actions { display: flex; flex-direction: column; gap: 8px; }

/* Image upload */
.mv-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    transition: border-color .15s, color .15s;
    width: 100%;
}
.mv-upload-label:hover { border-color: #6366f1; color: #6366f1; }
.mv-upload-icon { font-size: 18px; }
.mv-file-input  { display: none; }

.mv-main-image-preview { margin-bottom: 8px; }
.mv-main-image-preview img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: block;
    margin-bottom: 8px;
}

.mv-remove-image-label { font-size: 12px; color: #ef4444; }

/* Gallery grid */
.mv-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.mv-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    aspect-ratio: 1;
}

.mv-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mv-gallery-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    background: rgba(0,0,0,.55);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background .15s;
}
.mv-gallery-remove:hover { background: #ef4444; }

/* Category list */
.mv-cat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
}

/* ── Orders ──────────────────────────────────────────────────────────────── */
.mv-filter-tabs {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.mv-filter-tab {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color .15s, border-color .15s;
}
.mv-filter-tab:hover { color: #374151; }
.mv-filter-tab--active { color: #6366f1; border-bottom-color: #6366f1; font-weight: 600; }

.mv-orders-wrap { display: flex; flex-direction: column; gap: 10px; }

.mv-order-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    transition: border-color .15s;
}
.mv-order-card--open { border-color: #6366f1; }

.mv-order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    cursor: pointer;
    gap: 12px;
    user-select: none;
}
.mv-order-header:hover { background: #fafafa; }

.mv-order-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mv-order-number { font-weight: 700; font-size: 15px; color: #0f172a; }
.mv-order-date   { font-size: 13px; color: #64748b; }
.mv-order-customer { font-size: 13px; color: #374151; }
.mv-order-summary { display: flex; align-items: center; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.mv-order-items-count { font-size: 12px; color: #94a3b8; }
.mv-order-total { font-size: 15px; font-weight: 700; color: #0f172a; }
.mv-order-toggle { color: #94a3b8; font-size: 11px; transition: transform .2s; display: inline-block; }

.mv-order-detail {
    border-top: 1px solid #f1f5f9;
    padding: 20px;
    background: #fafafa;
}

.mv-order-items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid #e2e8f0;
}
.mv-order-items-table thead { background: #f8fafc; }
.mv-order-items-table th, .mv-order-items-table td { padding: 10px 14px; text-align: left; }
.mv-order-items-table th { font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .06em; }
.mv-order-items-table tbody tr { border-top: 1px solid #f1f5f9; }
.mv-order-items-table tfoot { border-top: 2px solid #e2e8f0; }
.mv-order-items-table tfoot td { padding: 11px 14px; }
.mv-col-center { text-align: center; }
.mv-col-right  { text-align: right; }
.mv-order-grand-total { font-size: 14px; font-weight: 700; color: #0f172a; }

.mv-product-link { color: #6366f1; text-decoration: none; }
.mv-product-link:hover { text-decoration: underline; }

.mv-order-ship, .mv-order-note {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 10px;
}
.mv-order-ship strong, .mv-order-note strong { display: block; margin-bottom: 4px; font-size: 12px; color: #374151; }
.mv-order-ship p, .mv-order-note p { margin: 0 0 4px; color: #4b5563; line-height: 1.5; }

/* Pagination */
.mv-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.mv-page-btn {
    padding: 8px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: border-color .15s, color .15s;
}
.mv-page-btn:hover { border-color: #6366f1; color: #6366f1; }
.mv-page-info { font-size: 13px; color: #94a3b8; }

/* ── Subscription ────────────────────────────────────────────────────────── */
.mv-sub-active-badge { margin-bottom: 14px; }
.mv-sub-inactive p   { margin: 10px 0 0; font-size: 14px; color: #64748b; }
.mv-days-badge       { display: inline-block; background: #fef9c3; color: #854d0e; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 10px; margin-left: 8px; }
.mv-unlimited        { color: #16a34a; font-weight: 500; }
.mv-info-table-wrap  { margin-top: 10px; }

.mv-plan-box         { border: 1px solid #e2e8f0; border-radius: 10px; padding: 18px; background: #fafafa; }
.mv-plan-header      { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mv-plan-name        { font-size: 15px; font-weight: 700; color: #0f172a; }
.mv-plan-price       { font-size: 22px; font-weight: 700; color: #6366f1; }
.mv-plan-period      { font-size: 13px; font-weight: 400; color: #94a3b8; }
.mv-plan-desc        { font-size: 13px; color: #64748b; line-height: 1.6; margin-bottom: 14px; }
.mv-payment-form     { margin-top: 14px; }

/* ── Profile / Info table ────────────────────────────────────────────────── */
.mv-info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mv-info-table th, .mv-info-table td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; text-align: left; }
.mv-info-table th { width: 130px; color: #64748b; font-weight: 500; }
.mv-info-table td { color: #1e293b; }

/* Manual payment bank details */
.mv-bank-details { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.mv-bank-details th, .mv-bank-details td { padding: 8px 12px; border: 1px solid #e2e8f0; text-align: left; }
.mv-bank-details th { background: #f8fafc; width: 130px; color: #374151; }

/* Payment notice */
.mv-payment-notice { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 14px 16px; margin-bottom: 14px; }
.mv-payment-notice p { margin: 0; font-size: 14px; color: #1d4ed8; line-height: 1.5; }
.mv-payment-note { font-size: 12px; color: #94a3b8; margin-top: 12px; }

/* ── Notice (vendor panel inline) ───────────────────────────────────────── */
.mv-notice { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.mv-notice-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.mv-notice-error   { background: #fff2f2; border: 1px solid #fecdd3; color: #be123c; }
.mv-notice-info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; }
.mv-notice-warning { background: #fffbeb; border: 1px solid #fde68a; color: #b45309; }

/* Card generic (subscription) */
.mv-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.mv-card h3 {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

/* ── Sidebar Badge ───────────────────────────────────────────────────────── */
.mv-sidebar__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    margin-left: auto;
    line-height: 1;
}

/* ── Unread row ──────────────────────────────────────────────────────────── */
.mv-msg-unread td { background: #f8f7ff; }
.mv-unread-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #6366f1;
    border-radius: 50%;
}

/* ── Thread ──────────────────────────────────────────────────────────────── */
.mv-thread {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mv-thread-bubble {
    max-width: 75%;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.mv-thread-bubble--customer {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.mv-thread-bubble--vendor {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.mv-thread-bubble__meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 6px;
}

.mv-thread-bubble__who {
    font-size: 12px;
    font-weight: 700;
    color: #374151;
}

.mv-thread-bubble__time {
    font-size: 11px;
    color: #94a3b8;
}

.mv-thread-bubble__text { color: #1e293b; }

/* ── Store Page ──────────────────────────────────────────────────────────── */
.mv-store-page { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

.mv-store-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 48px 0;
    margin-bottom: 40px;
}

.mv-store-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.mv-store-hero__logo {
    width: 72px;
    height: 72px;
    background: #6366f1;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.mv-store-hero__meta { flex: 1; min-width: 200px; }

.mv-store-hero__name {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: -.3px;
}

.mv-store-hero__desc {
    margin: 0;
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
}

.mv-ask-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, transform .1s;
    white-space: nowrap;
}
.mv-ask-btn:hover { background: #4f46e5; color: #fff; transform: translateY(-1px); }
.mv-ask-btn--wa { background: #25D366; }
.mv-ask-btn--wa:hover { background: #1ebe5b; }

.mv-store-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.mv-store-alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
}
.mv-store-alert--success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.mv-store-alert--error   { background: #fff2f2; border: 1px solid #fecdd3; color: #be123c; }

.mv-store-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mv-store-product-count {
    font-size: 13px;
    font-weight: 400;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 10px;
    border-radius: 20px;
}

.mv-store-empty {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 60px 24px;
    text-align: center;
    color: #64748b;
}

.mv-store-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.mv-store-product-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s, transform .1s;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.mv-store-product-card:hover {
    border-color: #6366f1;
    box-shadow: 0 6px 20px rgba(99,102,241,.12);
    transform: translateY(-2px);
}

.mv-store-product-card__img-wrap {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8fafc;
}
.mv-store-product-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.mv-store-product-card:hover .mv-store-product-card__img-wrap img { transform: scale(1.04); }

.mv-store-product-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #cbd5e1;
}

.mv-store-product-card__body { padding: 14px; }

.mv-store-product-card__name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    margin-bottom: 6px;
    line-height: 1.4;
}
.mv-store-product-card__name:hover { color: #6366f1; }

.mv-store-product-card__price { font-size: 15px; font-weight: 700; color: #6366f1; margin-bottom: 10px; }
.mv-store-product-card__price ins { text-decoration: none; }
.mv-store-product-card__price del { font-size: 12px; color: #94a3b8; font-weight: 400; margin-right: 4px; }

/* WooCommerce add-to-cart button override for store grid */
.mv-store-product-card .button,
.mv-store-product-card .add_to_cart_button {
    display: block;
    width: 100%;
    padding: 9px;
    background: #f1f5f9;
    color: #374151;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background .15s, color .15s;
    cursor: pointer;
}
.mv-store-product-card .button:hover,
.mv-store-product-card .added_to_cart { background: #6366f1; color: #fff; border-color: #6366f1; }

/* ── Ask Modal ───────────────────────────────────────────────────────────── */
.mv-ask-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mv-ask-modal__box {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    overflow: hidden;
}

.mv-ask-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.mv-ask-modal__header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.mv-ask-modal__close {
    background: none;
    border: none;
    font-size: 22px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}
.mv-ask-modal__close:hover { color: #374151; }

.mv-ask-modal__form { padding: 24px; display: flex; flex-direction: column; gap: 16px; }

.mv-ask-field { display: flex; flex-direction: column; gap: 6px; }
.mv-ask-field label { font-size: 13px; font-weight: 600; color: #374151; }
.mv-req { color: #ef4444; }
.mv-ask-field input[type="text"],
.mv-ask-field input[type="email"],
.mv-ask-field textarea {
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    font-family: inherit;
    transition: border-color .15s;
    width: 100%;
}
.mv-ask-field input:focus,
.mv-ask-field textarea:focus { outline: none; border-color: #6366f1; }
.mv-ask-field textarea { resize: vertical; line-height: 1.6; }

.mv-ask-modal__actions { display: flex; gap: 10px; justify-content: flex-end; }

.mv-ask-btn-cancel {
    padding: 10px 20px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}
.mv-ask-btn-send {
    padding: 10px 24px;
    background: #6366f1;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background .15s;
}
.mv-ask-btn-send:hover { background: #4f46e5; }

/* ── Ürün Sayfası Satıcı Kartı ───────────────────────────────────────────── */
.mv-product-vendor-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 16px 0;
    background: #f8fafc;
}

.mv-product-vendor-card__inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mv-product-vendor-card__logo {
    width: 40px;
    height: 40px;
    background: #6366f1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.mv-product-vendor-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mv-product-vendor-card__label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.mv-product-vendor-card__name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
}
.mv-product-vendor-card__name:hover { color: #6366f1; }

.mv-product-vendor-card__btn {
    display: inline-block;
    padding: 8px 16px;
    background: #6366f1;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
    white-space: nowrap;
}
.mv-product-vendor-card__btn:hover { background: #4f46e5; color: #fff; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .mv-sidebar { width: 200px; }
    .mv-panel__content { padding: 24px 20px; }
    .mv-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .mv-panel { flex-direction: column; }

    .mv-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        flex-direction: row;
        flex-wrap: wrap;
        padding-bottom: 0;
    }

    .mv-sidebar__brand { flex: 1; border-bottom: none; border-right: 1px solid rgba(255,255,255,.06); }
    .mv-sidebar__nav { display: flex; flex-direction: row; overflow-x: auto; padding: 0; width: 100%; }
    .mv-sidebar__link { padding: 12px 14px; border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
    .mv-sidebar__link--active { border-left-color: transparent; border-bottom-color: #6366f1; }
    .mv-sidebar__user { width: 100%; padding: 12px 20px; }

    .mv-panel__content { padding: 20px 16px; }
    .mv-field-row { grid-template-columns: 1fr; }
    .mv-summary-grid { grid-template-columns: 1fr 1fr; }
    .mv-page-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
    .mv-field-row { grid-template-columns: 1fr; }
    .mv-auth-box { padding: 28px 22px; }
    .mv-gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .mv-store-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .mv-store-hero__inner { flex-direction: column; align-items: flex-start; }
    .mv-thread-bubble { max-width: 90%; }
}
