/* =====================================
   WCMV – DASHBOARD + CREATE LISTING
   React / Mocha Parity
===================================== */

:root {
  --red: var(--wcmv-color-danger, #dc2626);
  --amber: var(--wcmv-color-card-border, #fbbf24);
  --amber-light: color-mix(in srgb, var(--wcmv-color-card-border, #fbbf24) 28%, #ffffff 72%);
  --bg: var(--wcmv-color-page-bg-start, #fff7ed);
  --card: var(--wcmv-color-card-bg, #fffbe6);
  --text-dark: var(--wcmv-color-heading, #7c2d12);
  --text-body: var(--wcmv-color-body, #1f2937);
  --text-muted: var(--wcmv-color-muted, #6b7280);
  --btn-start: var(--wcmv-color-button-start, #f97316);
  --btn-end: var(--wcmv-color-button-end, #dc2626);
  --success: var(--wcmv-color-success, #16a34a);
  --info: var(--wcmv-color-info, #2563eb);
  --badge-bg: var(--wcmv-color-badge, #6366f1);
  --shadow: 0 12px 30px rgba(0,0,0,.15);

  --font-ui: 'Inter', system-ui, sans-serif;
  --font-display: 'Fredoka One', system-ui, sans-serif;
}

.wcmv-apply-vendor-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #f59e0b;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
}

.wcmv-apply-vendor-card {
  margin-top: 14px;
}

.wcmv-apply-vendor-card p {
  margin: 8px 0 14px;
}

.wcmv-apply-vendor-fab:hover,
.wcmv-apply-vendor-fab:focus {
  color: #ffffff;
  text-decoration: none;
  filter: brightness(1.04);
}

@media (max-width: 782px) {
  .wcmv-apply-vendor-fab {
    width: 100%;
  }

  .wcmv-apply-vendor-fab {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* ===============================
   RESET + SCOPE
================================ */
.wcmv-dashboard,
.wcmv-create-listing {
  font-family: var(--font-ui);
}

.wcmv-dashboard *,
.wcmv-create-listing * {
  box-sizing: border-box;
}

/* ===============================
   WRAPPERS
================================ */
.wcmv-dashboard,
.wcmv-create-listing {
  max-width: 1300px;
  margin: 40px auto;
  padding: 30px;
  background: linear-gradient(to bottom, var(--wcmv-color-page-bg-start, #fff7ed), var(--wcmv-color-page-bg-end, #ffedd5));
  border-radius: 20px;
  color: var(--text-body);
}

/* ===============================
   HEADINGS
================================ */
.carnival-text,
.wcmv-dashboard h1,
.wcmv-dashboard h2,
.wcmv-dashboard h3,
.wcmv-create-listing h1,
.wcmv-create-listing h2,
.wcmv-create-listing h3 {
  font-family: var(--font-display);
  font-weight: 400; /* Fredoka One is naturally bold */
  letter-spacing: .02em;
  color: var(--text-dark);
}

/* ===============================
   CARDS
================================ */
.vintage-card,
.wcmv-form-card {
  background: var(--wcmv-color-card-bg, #fff);
  border-radius: 18px;
  padding: 26px;
  border: 2px solid var(--amber);
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}

/* ===============================
   STATS
================================ */
.wcmv-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-bottom: 30px;
  align-items: stretch;
}

.stat-card {
  padding: 22px;
  border-radius: 18px;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
  box-shadow: var(--shadow);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 142px;
  gap: 10px;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-card h4 {
  display: flex;
  align-items: center;
  align-content: flex-start;
  gap: 10px;
  margin: 0;
  min-height: 48px;
  font-size: clamp(16px, 1.15vw, 20px);
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}

.stat-card .dashicons {
  font-size: clamp(14px, 1.05vw, 20px);
  line-height: 1;
  vertical-align: middle;
  margin-right: 8px;
  margin-top: 2px;
  flex: 0 0 auto;
  color: rgba(255,255,255,0.95);
}

.stat-card strong {
  font-family: var(--font-display);
  font-size: clamp(34px, 2.25vw, 46px);
  line-height: 1;
  margin-top: auto;
  display: block;
}

/* gradients */
.stat-green { background: linear-gradient(to right,#22c55e,var(--success)); }
.stat-blue { background: linear-gradient(to right,#3b82f6,var(--info)); }
.stat-amber { background: linear-gradient(to right,#f59e0b,#d97706); }
.stat-orange { background: linear-gradient(to right,var(--btn-start),var(--btn-end)); }
.stat-purple { background: linear-gradient(to right,var(--badge-bg),#7c3aed); }

/* ===============================
   TABS
================================ */
.wcmv-tabs {
  display: flex;
  align-items: stretch;
  border-bottom: 4px solid var(--amber);
  margin-bottom: 25px;
  overflow-x: auto;
}

.wcmv-tab {
  min-height: 52px;
  padding: 16px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 800;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wcmv-tab .dashicons {
  font-size: 18px;
  line-height: 1;
  vertical-align: middle;
  margin-right: 4px;
  flex: 0 0 auto;
}

.wcmv-tab.active {
  border-bottom: 4px solid var(--red);
  background: var(--amber-light);
}

/* Optional vertical tabs layout */
body.wcmv-tabs-vertical .wcmv-dashboard .wcmv-tabs {
  float: left;
  width: 280px;
  margin: 0 24px 20px 0;
  flex-direction: column;
  align-items: stretch;
  border-bottom: 0;
  border-right: 4px solid var(--amber);
  padding-right: 10px;
  max-width: none;
  overflow: visible;
}

body.wcmv-tabs-vertical .wcmv-dashboard .wcmv-tab {
  width: 100%;
  min-height: 46px;
  justify-content: flex-start;
  border-left: 4px solid transparent;
  border-bottom: 0;
}

body.wcmv-tabs-vertical .wcmv-dashboard .wcmv-tab.active {
  border-left-color: var(--red);
  border-bottom: 0;
}

body.wcmv-tabs-vertical .wcmv-dashboard > .wcmv-panel,
body.wcmv-tabs-vertical .wcmv-dashboard > #wcmv-edit-profile-form,
body.wcmv-tabs-vertical .wcmv-dashboard > .wcmv-apply-vendor-card {
  overflow: hidden;
}

body.wcmv-tabs-vertical .wcmv-dashboard::after {
  content: "";
  display: block;
  clear: both;
}

@media (max-width: 1180px) {
  .wcmv-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .stat-card h4 {
    font-size: 15px;
  }
}

@media (max-width: 920px) {
  .wcmv-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card h4 {
    font-size: 14px;
  }
}

/* ===============================
   PANELS
================================ */
.wcmv-panel { display: none; }
.wcmv-panel.active { display: block; }

/* Theme-preset runtime overrides */
.wcmv-btn,
.wcmv-primary-btn,
.wcmv-action-btn.primary,
.wcmv-filter-row .button-primary,
.wcmv-bulk-actions button,
.wcmv-bulk-actions .button,
.wcmv-inventory button[name="apply_bulk"] {
  background: linear-gradient(90deg, var(--btn-start), var(--btn-end)) !important;
}

.wcmv-secondary-btn,
.wcmv-filter-row .button,
.wcmv-ticket-btn.secondary {
  background: var(--info) !important;
  border-color: var(--info) !important;
  color: #ffffff !important;
}

.wcmv-badge.success {
  background: var(--success) !important;
}

.wcmv-badge.info {
  background: var(--info) !important;
}

.wcmv-badge.default {
  background: var(--badge-bg) !important;
}

/* ===============================
   PROFILE
================================ */
.wcmv-profile-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
}

.wcmv-avatar {
  width: 130px;
  height: 130px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg,#fdba74,#f87171);
  border: 4px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 34px;
  font-family: var(--font-display);
}

/* ===============================
   BUTTONS
================================ */
.wcmv-btn,
.wcmv-primary-btn {
  background: linear-gradient(to right, #f97316, #dc2626);
  color: #fff;
  border: none;
  padding: 14px 26px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  font-family: var(--font-ui);
}

.wcmv-secondary-btn {
  background: #fff;
  border: 2px solid var(--amber);
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* ===============================
   ACTIONS
================================ */
.wcmv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ===============================
   FORMS
================================ */
.wcmv-form {
  width: 100%;
}

.wcmv-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 18px;
}

.wcmv-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wcmv-field.full {
  grid-column: 1 / -1;
}

.wcmv-field label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.wcmv-field input,
.wcmv-field textarea,
.wcmv-field select {
  width: 100%;
  max-width: 100%;
  height: 46px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid var(--amber);
  background: #fff;
  font-family: var(--font-ui);
  font-size: 14px;
  transition: all .2s ease;
}

.wcmv-field textarea {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

.wcmv-field input:focus,
.wcmv-field textarea:focus,
.wcmv-field select:focus {
  outline: none;
  border-color: var(--btn-start);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--btn-start) 28%, transparent);
}

/* ===============================
   UPLOAD BOX
================================ */
.wcmv-upload {
  border: 2px dashed var(--amber);
  padding: 24px;
  border-radius: 16px;
  background: #fffbe6;
  text-align: center;
}

/* ===============================
   LISTINGS GRID
================================ */
.wcmv-listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 25px;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {
  .wcmv-profile-grid {
    grid-template-columns: 1fr;
  }

  .wcmv-dashboard,
  .wcmv-create-listing {
    margin: 16px auto;
    padding: 16px;
    border-radius: 14px;
  }

  .vintage-card,
  .wcmv-form-card {
    padding: 16px;
    margin-bottom: 16px;
  }

  .wcmv-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wcmv-field.full {
    grid-column: auto;
  }

  .wcmv-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .wcmv-primary-btn,
  .wcmv-secondary-btn,
  .wcmv-btn {
    width: 100%;
    text-align: center;
  }

  .wcmv-upload {
    padding: 16px;
  }

  .wcmv-image-preview {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 10px;
  }

  .wcmv-thumb img {
    height: 72px;
  }
}

.wcmv-image-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.wcmv-thumb {
  position: relative;
  cursor: grab;
}

.wcmv-thumb img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--amber);
}

.wcmv-thumb::after {
  content: "↕";
  position: absolute;
  top: 4px;
  right: 30px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  background: rgba(0,0,0,.7);
  opacity: 1;
}
.wcmv-thumb {
  position: relative;
}

.wcmv-remove-image {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  min-height: 22px;
  border-radius: 50% !important;
  border: none;
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}

.wcmv-remove-image:hover {
  background: #dc2626;
}

.wcmv-edit-image {
  position: absolute;
  right: 4px;
  bottom: 4px;
  border: none;
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #111827;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.wcmv-edit-image:hover {
  background: #ffffff;
}

.wcmv-image-editor-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(17, 24, 39, 0.76);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.wcmv-image-editor-dialog {
  width: min(760px, 100%);
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
}

.wcmv-image-editor-stage {
  width: 100%;
  height: min(70vh, 520px);
  background: #111827;
}

.wcmv-image-editor-stage img {
  max-width: 100%;
  display: block;
}

.wcmv-image-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  justify-content: flex-end;
}

.wcmv-hidden {
  display: none !important;
}

body.wcmv-modal-open {
  overflow: hidden;
}

.wcmv-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(2, 6, 23, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.wcmv-profile-modal-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  margin: 0;
}

.wcmv-profile-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  color: #0f172a;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.wcmv-mode-tabs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border-bottom: 1px solid #d1d5db;
  margin-bottom: 8px;
}

.wcmv-mode-tab {
  border: 1px solid #d1d5db;
  border-bottom: none;
  background: #f9fafb;
  color: #374151;
  padding: 9px 16px;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  font-weight: 600;
  margin-right: 6px;
  position: relative;
  top: 1px;
}

.wcmv-mode-tab.is-active {
  background: #fff;
  color: #111827;
  border-color: #d1d5db;
}

.wcmv-readonly-input {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

.wcmv-notice-card {
  margin-bottom: 12px;
}

.wcmv-notice-warning {
  color: #92400e;
}

.wcmv-notice-error {
  color: #991b1b;
}

.wcmv-shipping-mode-hint {
  margin-top: 8px;
  display: none;
}

.wcmv-carrier-options {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.wcmv-carrier-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wcmv-carrier-description {
  margin-top: 8px;
}

#wcmv-shipping-countries,
#wcmv-shipping-excluded-countries {
  min-height: 140px;
}

.wcmv-ship-scope-row {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.wcmv-ship-scope-cell {
  min-width: 0;
}

.wcmv-country-checklist {
  max-height: 170px;
  overflow: auto;
  border: 1px solid #d0d8e5;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}

.wcmv-country-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.35;
}

.wcmv-country-option:last-child {
  margin-bottom: 0;
}

.wcmv-faq-list {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.wcmv-faq-item {
  border: 1px solid #d0d8e5;
  padding: 12px;
  background: #fff;
}

@media (max-width: 900px) {
  .wcmv-ship-scope-row {
    grid-template-columns: 1fr;
  }
}

.wcmv-submit-status {
  margin-top: 12px;
  padding: 12px 14px;
}

/* ===============================
   CREATE LISTING MOBILE TUNING
================================ */
.wcmv-create-listing .wcmv-form-card {
  overflow: hidden;
}

.wcmv-create-listing .wcmv-form-card h2 small {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.wcmv-create-listing .wcmv-upload input[type="file"] {
  width: 100%;
  max-width: 100%;
}

.wcmv-create-listing .wcmv-actions {
  gap: 10px;
}

.wcmv-create-listing #wcmv-add-faq,
.wcmv-create-listing .wcmv-remove-faq {
  min-height: 42px;
}

@media (max-width: 768px) {
  .wcmv-create-listing h1 {
    font-size: 28px !important;
    line-height: 1.15;
  }

  .wcmv-create-listing .wcmv-form-card h2 {
    margin-bottom: 12px;
    font-size: 26px;
    line-height: 1.12;
  }

  .wcmv-create-listing .wcmv-form-card {
    border-radius: 14px;
    padding: 14px;
  }

  .wcmv-create-listing .wcmv-field label {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .wcmv-create-listing .wcmv-field input,
  .wcmv-create-listing .wcmv-field textarea,
  .wcmv-create-listing .wcmv-field select {
    font-size: 16px;
    min-height: 44px;
    border-radius: 10px;
  }

  .wcmv-create-listing .wcmv-field textarea {
    min-height: 110px;
  }

  .wcmv-create-listing .wcmv-mode-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    border-bottom: 0;
    margin-bottom: 10px;
  }

  .wcmv-create-listing .wcmv-mode-tab {
    margin-right: 0;
    top: 0;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    border-bottom: 1px solid #d1d5db;
    min-height: 42px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 9px 10px;
  }

  .wcmv-create-listing .wcmv-ship-scope-row {
    gap: 10px;
  }

  .wcmv-create-listing .wcmv-country-checklist {
    max-height: 170px;
    padding: 8px;
  }

  .wcmv-create-listing .wcmv-country-option {
    margin: 0 0 8px;
    font-size: 13px;
  }

  .wcmv-create-listing .wcmv-carrier-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
  }

  .wcmv-create-listing .wcmv-carrier-option {
    min-height: 32px;
  }

  .wcmv-create-listing .wcmv-image-preview {
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 8px;
  }

  .wcmv-create-listing .wcmv-thumb img {
    height: 86px;
  }

  .wcmv-create-listing .wcmv-thumb::after {
    right: 28px;
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .wcmv-create-listing .wcmv-remove-image {
    top: 3px;
    right: 3px;
    width: 21px !important;
    height: 21px !important;
    min-width: 21px;
    min-height: 21px;
  }

  .wcmv-create-listing .wcmv-actions .wcmv-secondary-btn,
  .wcmv-create-listing .wcmv-actions .wcmv-primary-btn {
    min-height: 44px;
    font-size: 14px;
    padding: 10px 14px;
  }

  .wcmv-create-listing .wcmv-submit-status {
    font-size: 14px;
  }
}

@media (max-width: 520px) {
  .wcmv-create-listing {
    margin: 10px auto;
    padding: 12px;
    border-radius: 12px;
  }

  .wcmv-create-listing .wcmv-carrier-options {
    grid-template-columns: 1fr;
  }

  .wcmv-create-listing .wcmv-price-fields {
    grid-template-columns: 1fr;
  }

  .wcmv-create-listing .wcmv-actions {
    gap: 8px;
  }

  .wcmv-create-listing .wcmv-form-card h2 {
    font-size: 24px;
  }

  .wcmv-create-listing .wcmv-image-editor-actions {
    justify-content: stretch;
  }

  .wcmv-create-listing .wcmv-image-editor-actions .wcmv-secondary-btn,
  .wcmv-create-listing .wcmv-image-editor-actions .wcmv-primary-btn {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
    min-height: 42px;
  }
}

.wcmv-create-listing .wcmv-field input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* ===============================
   RICH EDITOR RESPONSIVE SAFETY
================================ */
.wcmv-create-listing .wcmv-field .wp-editor-wrap,
.wcmv-create-listing .wcmv-field .wp-editor-container,
.wcmv-create-listing .wcmv-field .wp-editor-area,
.wcmv-create-listing .wcmv-field .mce-tinymce,
.wcmv-create-listing .wcmv-field .mce-container,
.wcmv-create-listing .wcmv-field .mce-container-body {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.wcmv-create-listing .wcmv-field .wp-editor-container,
.wcmv-create-listing .wcmv-field .mce-toolbar-grp,
.wcmv-create-listing .wcmv-field .quicktags-toolbar {
  overflow-x: auto;
}

@media (max-width: 768px) {
  .wcmv-create-listing .wcmv-field .wp-editor-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
  }

  .wcmv-create-listing .wcmv-field .wp-switch-editor {
    float: none;
    margin: 0;
  }

  .wcmv-create-listing .wcmv-field .mce-edit-area iframe {
    min-height: 200px !important;
  }
}
.mv-auction-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
}

.mv-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  border: 2px solid var(--amber);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  margin-bottom: 20px;
}

.mv-meta-card .mv-meta-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.mv-price {
  color: #16a34a;
  font-size: 26px;
}

.mv-card-header {
  font-weight: 900;
  text-align: center;
  padding: 10px;
  border-radius: 999px;
  margin-bottom: 15px;
}

.mv-card-header.bid {
  background: linear-gradient(to right,#fb923c,#f97316);
  color: #fff;
}

.mv-card-header.buy {
  background: linear-gradient(to right,#22c55e,#16a34a);
  color: #fff;
}

.mv-auction-actions .mv-btn.buy {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.mv-auction-actions .mv-btn.buy .mv-btn-label {
  font-weight: 700;
  letter-spacing: .01em;
}

.mv-auction-actions .mv-btn.buy .mv-btn-price-chip {
  display: inline-flex;
  align-items: center;
  padding: .22rem .56rem;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.34);
  font-size: .86em;
  line-height: 1.1;
  white-space: nowrap;
}

.mv-auction-actions .mv-btn.buy .mv-btn-price-chip .woocommerce-Price-amount {
  font-size: .94em;
  font-weight: 600;
  line-height: 1;
}

.mv-auction-actions .mv-btn.buy .mv-btn-price-chip .woocommerce-Price-currencySymbol {
  font-size: .92em;
  opacity: .95;
}

.mv-auction-actions .mv-shipping-panel {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: #fffaf1;
}

.mv-auction-actions .mv-shipping-panel p {
  margin: 0 0 6px;
}

.mv-auction-actions .mv-shipping-panel .mv-shipping-row:last-child {
  margin-bottom: 0;
}

.mv-auction-actions .mv-shipping-panel .mv-shipping-title {
  font-weight: 700;
  color: #7a2f0f;
}

.mv-auction-actions .mv-shipping-panel .mv-shipping-muted {
  opacity: .85;
  font-size: .95em;
}

.mv-auction-actions .mv-seller-trust-panel {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(14, 116, 144, .25);
  border-radius: 12px;
  background: #f5fbff;
}

.mv-auction-actions .mv-seller-trust-title {
  margin: 0 0 8px;
  font-weight: 700;
  color: #0f4c6b;
}

.mv-auction-actions .mv-seller-trust-row {
  margin: 0 0 6px;
  color: #1f2937;
}

.mv-auction-actions .mv-seller-trust-row:last-child {
  margin-bottom: 0;
}

.mv-watchers-row { margin-bottom: 8px; color: #555; }
.mv-reserve-met { color: green; font-weight: 700; }
.mv-reserve-unmet { color: #999; }
.mv-bid-count { color: #666; }
.mv-mt-10 { margin-top: 10px; }
.mv-mt-12 { margin-top: 12px; }
.mv-mt-15 { margin-top: 15px; }
.wcmv-my-10 { margin: 10px 0; }
.wcmv-rating-form {
  display: inline-block;
  vertical-align: top;
  margin: 4px 6px 4px 0;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}
.wcmv-rating-form-title { font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.wcmv-rating-select { margin-bottom: 6px; }
.wcmv-rating-review { min-width: 220px; max-width: 280px; }
.wcmv-rating-submit { margin-top: 6px; }

.mv-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  text-align: center;
  font-weight: 800;
  color: #fff;
  border: none;
  cursor: pointer;
}

.mv-btn.bid {
  background: linear-gradient(to right,#f97316,#dc2626);
}

.mv-btn.buy {
  background: linear-gradient(to right,#22c55e,#16a34a);
}

.mv-or {
  text-align: center;
  font-weight: bold;
  opacity: .6;
  margin: 10px 0;
}

/* Tickets UI enhancements */
.wcmv-ticket-actions .button,
.wcmv-ticket-btn,
.wcmv-ticket-btn.button {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  color: #fff !important;
  border: none;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}
.wcmv-ticket-btn.secondary {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}
.wcmv-badge {
  display:inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color:#fff;
  background:#64748b;
}
.wcmv-badge.success { background:#16a34a; }
.wcmv-badge.warning { background:#d97706; }
.wcmv-badge.info { background:#2563eb; }



/* ===============================
   INVENTORY SUB-TABS FIX
================================ */

/* Hide all inventory subpanels by default */
.wcmv-subpanel {
  display: none;
}

/* Only active one is visible */
.wcmv-subpanel.active {
  display: block;
}
/* Subtab container */
.wcmv-subtabs {
  border-bottom: 1px solid #e5e7eb;
}

/* Tab buttons */
.wcmv-subtab {
  background: transparent;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
  color: #6b7280;
  border-bottom: 3px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

/* Ensure dashicons inside tabs are aligned & spaced */
.wcmv-subtab .dashicons {
  font-size: 18px;
  line-height: 1;
  vertical-align: middle;
  margin-right: 6px;
}

/* Dashicons in vintage-card headings */
.vintage-card .carnival-text .dashicons,
.carnival-text .dashicons {
  font-size: 18px;
  vertical-align: middle;
  margin-right: 8px;
  line-height: 1;
}

/* Active tab */
.wcmv-subtab.active {
  color: #6b4eff;
  border-bottom-color: #6b4eff;
}

/* ===============================
   Inventory Filters
================================ */
.wcmv-inventory-filters {
  background: #fff;
}

.wcmv-filter-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.wcmv-filter-row input[type="search"] {
  flex: 1;
  min-width: 220px;
  padding: 6px 10px;
}

.wcmv-text-center { text-align: center; }
.wcmv-text-right { text-align: right; }
.wcmv-text-muted { color: #555; }
.wcmv-rating-line { margin-top: 8px; }
.wcmv-meta-muted { font-size: 13px; opacity: .8; margin-top: 6px; }
.wcmv-form-helper { margin: 0 0 8px; opacity: .8; font-size: 13px; }
.wcmv-banner-upload-row {
  display: grid;
  grid-template-columns: 88px 1fr auto auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.wcmv-banner-preview {
  width: 88px;
  height: 60px;
  border: 1px solid #dbe6f6;
  background: #f8fafc;
  overflow: hidden;
}
.wcmv-banner-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wcmv-banner-preview.is-empty::before {
  content: 'No image';
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #94a3b8;
  font-size: 11px;
}
.wcmv-banner-url-input {
  min-width: 0;
}
.wcmv-banner-upload-btn,
.wcmv-banner-remove-btn {
  white-space: nowrap;
}
.wcmv-actions-row { margin-top: 20px; display: flex; gap: 12px; }
.wcmv-overview-cards { display: flex; gap: 20px; flex-wrap: wrap; }
.wcmv-balance-header { margin-bottom: 16px; }
.wcmv-balance-title { margin: 0 0 8px; }
.wcmv-balance-row { display: flex; justify-content: space-between; align-items: center; }
.wcmv-fw-900 { font-weight: 900; }
.wcmv-list-reset { list-style: none; padding: 0; margin: 0; }
.wcmv-li-spaced { margin: 6px 0; }
.wcmv-footnote { margin-top: 8px; font-size: 12px; opacity: .8; }
.wcmv-table-wrap { overflow-x: auto; }
.wcmv-table { width: 100%; border-collapse: collapse; }
.wcmv-th-left { text-align: left; padding: 8px; border-bottom: 1px solid #eee; }
.wcmv-th-right { text-align: right; padding: 8px; border-bottom: 1px solid #eee; }
.wcmv-td-left { padding: 8px; border-bottom: 1px solid #f5f5f5; }
.wcmv-td-right { padding: 8px; text-align: right; border-bottom: 1px solid #f5f5f5; }
.wcmv-flex-between-center { display: flex; justify-content: space-between; align-items: center; }
.wcmv-text-success { color: #166534; }
.wcmv-text-info { color: #1d4ed8; }
.wcmv-text-warning { color: #92400e; }
.wcmv-inline-form { display: inline-block; }
.wcmv-mt-12 { margin-top: 12px; }
.wcmv-mt-15 { margin-top: 15px; }
.wcmv-mt-16 { margin-top: 16px; }
.wcmv-mt-20 { margin-top: 20px; }
.wcmv-mb-12 { margin-bottom: 12px; }
.wcmv-mb-18 { margin-bottom: 18px; }
.wcmv-mr-6 { margin-right: 6px; }
.wcmv-mr-8 { margin-right: 8px; }
.wcmv-mt-10 { margin-top: 10px; }
.wcmv-px-16 { padding-left: 16px; padding-right: 16px; }
.wcmv-py-12 { padding-top: 12px; padding-bottom: 12px; }
.wcmv-w-80 { width: 80px; }
.wcmv-attr-option { display: inline-flex; align-items: center; gap: 6px; margin-right: 12px; }

@media (max-width: 768px) {
  .wcmv-banner-upload-row {
    grid-template-columns: 1fr;
  }
  .wcmv-banner-preview {
    width: 100%;
    height: 120px;
  }
}

.wcmv-filter-row select {
  padding: 6px 10px;
}

.wcmv-filter-row .button {
  height: 34px;
}

/* ================================
   INVENTORY LIST LAYOUT
================================ */

.wcmv-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wcmv-row {
  display: grid;
  grid-template-columns:
    32px     /* checkbox */
    70px     /* thumbnail */
    1.5fr    /* title */
    2fr      /* meta */
    120px    /* status */
    220px;   /* actions */

  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
}

.wcmv-row + .wcmv-row {
  margin-top: 8px;
}

.wcmv-row-thumb img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

/* Text areas */
.wcmv-row-main strong {
  font-size: 15px;
  display: block;
}

.wcmv-meta {
  font-size: 12px;
  color: #6b7280;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  background: #f3f4f6;
  margin-right: 6px;
  white-space: nowrap;
}

.badge.green { background: #dcfce7; color: #166534; }
.badge.blue  { background: #dbeafe; color: #1e40af; }
.badge.purple{ background: #ede9fe; color: #5b21b6; }
.badge.amber { background: #fef3c7; color: #92400e; }

/* Status */
.status.on {
  color: #16a34a;
  font-weight: 600;
}

.status.off {
  color: #9ca3af;
}

/* Actions */
.wcmv-row-actions a {
  margin-right: 8px;
  font-size: 13px;
  text-decoration: none;
}

.wcmv-row-actions a:hover {
  text-decoration: underline;
}
/* ===============================
   Inventory Filters – Modern UI
   =============================== */

.wcmv-inventory-filters {
  border-radius: 14px;
  padding: 16px;
  border: 1px solid #f0c36d;
  background: #fff;
}

.wcmv-filter-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.wcmv-filter-row input[type="search"] {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}

.wcmv-filter-row input[type="search"]:focus {
  outline: none;
  border-color: #f0a500;
  box-shadow: 0 0 0 2px rgba(240,165,0,.15);
}

.wcmv-filter-row select {
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

.wcmv-filter-row select:focus {
  outline: none;
  border-color: #f0a500;
}

/* Filter button */
.wcmv-filter-row .button-primary {
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f0a500, #ff8c00);
  border: none;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}

.wcmv-filter-row .button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
  opacity: .95;
}

/* Reset button */
.wcmv-filter-row .button {
  height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  background: #f97316;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: background .15s;
}

.wcmv-filter-row .button:hover {
  background: #eeeeee;
}
/* ===============================
   Bulk Actions – Strong Override
   =============================== */

.wcmv-bulk-actions,
.wcmv-inventory .bulk-actions,
.wcmv-inventory-bulk {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin: 12px 0 16px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
}

/* Dropdown */
.wcmv-bulk-actions select,
.wcmv-inventory select[name="bulk_action"] {
  appearance: none;
  height: 42px !important;
  min-width: 160px;
  padding: 0 36px 0 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background:
    #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23999' d='M5.5 7.5L10 12l4.5-4.5'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  background-size: 14px;
  font-size: 14px;
  cursor: pointer;
}

.wcmv-bulk-actions select:focus {
  outline: none;
  border-color: #f0a500;
  box-shadow: 0 0 0 2px rgba(240,165,0,.15);
}

/* Apply button */
.wcmv-bulk-actions button,
.wcmv-bulk-actions .button,
.wcmv-inventory button[name="apply_bulk"] {
  height: 42px !important;
  padding: 0 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f0a500, #ff8c00);
  border: none !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s;
}

.wcmv-bulk-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
  opacity: .95;
}

/* Disabled state */
.wcmv-bulk-actions button:disabled {
  opacity: .5;
  cursor: not-allowed;
  box-shadow: none;
}
/* ===============================
   Bulk Action APPLY Button – Final Fix
   =============================== */

.wcmv-bulk-actions button,
.wcmv-bulk-actions .button,
.wcmv-bulk-actions input[type="submit"] {
  appearance: none !important;
  -webkit-appearance: none !important;

  height: 42px !important;
  min-width: 90px;

  padding: 0 20px !important;
  border-radius: 999px !important;

  border: none !important;
  background: linear-gradient(135deg, #f0a500, #ff8c00) !important;
  color: #fff !important;

  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 42px !important;

  box-shadow: 0 4px 12px rgba(0,0,0,.15) !important;
  cursor: pointer !important;

  transition: all .2s ease !important;
}

/* Hover */
.wcmv-bulk-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  opacity: .95;
}

/* Active click */
.wcmv-bulk-actions button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0,0,0,.15);
}

/* Disabled */
.wcmv-bulk-actions button:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}

/* Admin tab visibility control */.wcmv-admin-panel {
  display: none;
}

.wcmv-admin-panel.active {
  display: block;
}

  /* User expandable rows */
.wcmv-admin-user-panel {
  display: none;
  background: #fff7ed;
}

.wcmv-admin-user-panel.active {
  display: table-row;
}


  .wcmv-admin-user-toggle {
    font-weight: 600;
    cursor: pointer;
    color: #7c2d12;
  }

  .wcmv-admin-user-toggle:hover {
    text-decoration: underline;
  }
.wcmv-profile-tab-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.wcmv-profile-tab {
  padding: 6px 12px;
  border-radius: 6px;
  background: #fde68a;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

/* Admin profile tabs */
.wcmv-profile-panel {
  display: none;
}

.wcmv-profile-panel.active {
  display: block;
}

.wcmv-profile-tab.active {
  background: #f59e0b;
  color: #fff;
}

/* Quick actions UI inside expanded profiles */
.wcmv-admin-quick-actions {
  background: #fff;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 10px;
  margin-top: 8px;
}

.wcmv-admin-quick-actions strong {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #92400e;
}

/* New action button styles (matches dashboard visual language) */
.wcmv-admin-quick-actions > div,
.wcmv-admin-quick-actions {
  display: block;
}

.wcmv-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: #fff7ed;
  color: #7c2d12;
  border: 1px solid #fde68a;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.wcmv-action-btn.primary {
  background: linear-gradient(90deg,#3b82f6,#2563eb);
  color: #fff;
  border-color: transparent;
}

.wcmv-action-btn.danger {
  background: #fee2e2;
  color: #991b1b;
  border-color: transparent;
}

.wcmv-action-btn:hover {
  opacity: 0.95;
}

/* Keep legacy WP danger class for compatibility */
.button.button-danger {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}

.wcmv-panel {
  display: none;
}
.wcmv-panel.active {
  display: block;
}

.wcmv-image-preview {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.wcmv-image-item {
  position: relative;
  width: 120px;
  height: 120px;
  cursor: move;
}

.wcmv-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.wcmv-remove {
  position: absolute;
  top: 4px;
  right: 6px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  cursor: pointer;
}



#wcmv-image-preview {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px; /* 👈 tiny space between thumbnails */
}

.wcmv-field.dimensions label::after {
  content: " (optional)";
  opacity: 0.6;
  font-weight: normal;
}

/* ===============================
   Auction Action Buttons (WCMV)
================================ */

.mv-auction-actions form {
  margin-top: 10px;
}

.mv-auction-actions {
  padding: 14px;
  border-radius: 14px;
  background: #fffaf0;
}

.mv-auction-actions form.cart,
.mv-auction-actions form {
  width: 100%;
}

.mv-auction-actions .mv-btn,
.mv-auction-actions .button,
.mv-auction-actions button[type="submit"] {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mv-btn.secondary {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  color: #fff;
}

.mv-btn.secondary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.mv-auction-actions input[type="number"] {
  width: 100%;
  height: 46px;
  margin-bottom: 10px;
  border-radius: 12px;
  border: 2px solid var(--amber);
  padding: 0 14px;
  font-size: 15px;
}
.mv-btn.buy,
.mv-btn.buy * {
  color: #ffffff !important;
}

.mv-auction-actions .mv-price-line {
  margin: 8px 0;
  font-size: 16px;
  line-height: 1.4;
  color: #374151;
}

.mv-auction-actions .mv-price-line strong {
  font-size: 16px;
}

.mv-auction-actions .mv-price-value,
.mv-auction-actions .mv-price-value .woocommerce-Price-amount,
.mv-auction-actions .mv-price-value .woocommerce-Price-currencySymbol {
  color: #111827 !important;
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 768px) {
  body.wcmv-tabs-vertical .wcmv-dashboard .wcmv-tabs {
    float: none;
    flex-direction: row;
    border-right: 0;
    border-bottom: 0;
    max-width: none;
    width: auto;
    margin-right: 0;
    padding-right: 0;
  }

  body.wcmv-tabs-vertical .wcmv-dashboard .wcmv-tab {
    width: auto;
    border-left: 0;
  }

  body.wcmv-tabs-vertical .wcmv-dashboard .wcmv-tab.active {
    border-left: 0;
  }

  .mv-auction-actions {
    padding: 12px;
    border-radius: 12px;
  }

  .mv-auction-actions p {
    margin: 8px 0;
  }

  .mv-auction-actions input[type="number"] {
    height: 44px;
    font-size: 14px;
  }

  .mv-auction-actions .mv-btn,
  .mv-auction-actions .button,
  .mv-auction-actions button[type="submit"] {
    min-height: 44px;
    font-size: 14px;
    border-radius: 10px;
  }
}

/* ===============================
   Dashboard Mobile App Mode
================================ */
@media (max-width: 768px) {
  .wcmv-dashboard {
    margin: 0;
    padding: 12px;
    border-radius: 0;
  }

  .wcmv-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
  }

  .stat-card {
    padding: 14px;
    border-radius: 14px;
    min-height: 116px;
    gap: 8px;
  }

  .stat-card h4 {
    font-size: 12px;
    margin: 0;
    min-height: 34px;
  }

  .stat-card strong {
    font-size: 22px;
  }

  .wcmv-tabs {
    position: sticky;
    top: 8px;
    z-index: 30;
    margin: 0 0 14px;
    padding: 6px;
    gap: 6px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 247, 237, 0.96);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .wcmv-tab {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 10px;
    white-space: nowrap;
    font-size: 12px;
    scroll-snap-align: start;
  }

  .wcmv-tab.active {
    border-bottom: 0;
    background: #fef3c7;
  }

  .wcmv-panel .vintage-card {
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 14px;
  }

  .wcmv-filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .wcmv-filter-row input[type="search"] {
    grid-column: 1 / -1;
    min-width: 0;
    height: 40px;
  }

  .wcmv-filter-row select,
  .wcmv-filter-row .button,
  .wcmv-filter-row .button-primary {
    width: 100%;
    height: 40px;
  }

  .wcmv-bulk-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
  }

  .wcmv-bulk-actions select,
  .wcmv-bulk-actions button,
  .wcmv-bulk-actions .button {
    width: 100%;
    min-width: 0;
  }

  .wcmv-row {
    grid-template-columns: 58px 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
  }

  .wcmv-row-check {
    grid-column: 1;
    grid-row: 1;
  }

  .wcmv-row-thumb {
    grid-column: 1;
    grid-row: 2 / span 2;
  }

  .wcmv-row-thumb img {
    width: 56px;
    height: 56px;
  }

  .wcmv-row-main {
    grid-column: 2;
    grid-row: 1;
  }

  .wcmv-row-meta {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .wcmv-row-status {
    grid-column: 2;
    grid-row: 3;
  }

  .wcmv-row-actions {
    grid-column: 1 / -1;
    grid-row: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .wcmv-row-actions a {
    margin: 0;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 700;
    text-decoration: none;
  }

  .wcmv-row-actions a:hover {
    text-decoration: none;
    background: #ffedd5;
  }

  .wcmv-pagination {
    justify-content: center;
  }

  .wcmv-pagination .button {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
