/*
Theme Name: JDMUAE Marketplace
Theme URI: https://jdmuae.com/
Author: JDMUAE
Description: Custom mobile-first UAE JDM marketplace theme for car and car-parts classifieds. Includes homepage, Cars, Parts, seller listings, free/featured advertising, WooCommerce paid-ad support, seller profiles and marketplace admin tools.
Version: 1.5.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: jdmuae
*/

:root {
  --jdm-red:#ed1c24;
  --jdm-dark:#0b0e12;
  --jdm-soft:#f5f6f8;
  --jdm-text:#111318;
}
*{box-sizing:border-box}
html{margin:0!important}
body{margin:0;background:#fff;color:var(--jdm-text);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit}
img{max-width:100%;height:auto}
.site-content{min-height:70vh}
.jdm-theme-standard{max-width:1200px;margin:0 auto;padding:36px 20px}
.jdm-theme-standard h1{margin-top:0}


/* v1.5.0 — Seller dashboard gallery */
.jdm-my-listings-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:28px 0 22px}.jdm-my-listings-head h2{font-size:34px;line-height:1.05;margin:3px 0 7px;letter-spacing:-.8px}.jdm-my-listings-head p{margin:0;color:#64748b;max-width:680px}.jdm-my-kicker{font-size:11px;font-weight:950;letter-spacing:1.2px;color:#ed1c24}.jdm-my-listings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:18px 0 38px}.jdm-my-card{background:#fff;border:1px solid #e3e7ed;border-radius:18px;overflow:hidden;box-shadow:0 7px 24px rgba(17,24,39,.06);transition:transform .18s ease,box-shadow .18s ease}.jdm-my-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(17,24,39,.10)}.jdm-my-card-media{position:relative;aspect-ratio:16/10;background:#edf1f5;overflow:hidden}.jdm-my-card-media>a{display:block;width:100%;height:100%}.jdm-my-card-media img{display:block;width:100%;height:100%;object-fit:cover}.jdm-my-no-photo{display:flex!important;flex-direction:column;gap:6px;align-items:center;justify-content:center;color:#64748b!important;text-decoration:none!important;font-size:30px}.jdm-my-no-photo span{font-size:12px;font-weight:800}.jdm-my-status,.jdm-my-featured,.jdm-my-type{position:absolute;z-index:4;border-radius:999px;font-size:10px;font-weight:950;letter-spacing:.35px;box-shadow:0 3px 10px rgba(0,0,0,.14)}.jdm-my-status{left:10px;top:10px;padding:7px 10px;background:#eef2f7;color:#334155}.jdm-my-featured{right:10px;top:10px;padding:7px 10px;background:#ed1c24;color:#fff}.jdm-my-type{right:10px;bottom:10px;padding:6px 9px;background:rgba(10,14,18,.82);color:#fff}.jdm-my-status--pending{background:#fff4cc;color:#7c5900}.jdm-my-status--live{background:#dcfce7;color:#166534}.jdm-my-status--rejected{background:#fee2e2;color:#991b1b}.jdm-my-status--reserved{background:#ffedd5;color:#9a3412}.jdm-my-status--sold{background:#e5e7eb;color:#374151}.jdm-my-status--expired{background:#f1f5f9;color:#475569}.jdm-my-status--payment{background:#dbeafe;color:#1d4ed8}.jdm-my-status--draft{background:#f3f4f6;color:#4b5563}.jdm-my-card-body{padding:17px}.jdm-my-card-body h3{font-size:18px;line-height:1.3;margin:0 0 7px}.jdm-my-card-body h3 a{text-decoration:none!important;color:#111827!important}.jdm-my-price{font-size:21px;font-weight:950;color:#ed1c24;margin-bottom:9px}.jdm-my-status-copy{font-size:12px;line-height:1.5;color:#64748b;margin:0 0 12px;min-height:36px}.jdm-my-rejection{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;padding:10px 11px;border-radius:10px;font-size:12px;line-height:1.45;margin:0 0 12px}.jdm-my-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:11px 0;border-top:1px solid #edf0f3;border-bottom:1px solid #edf0f3}.jdm-my-meta span{min-width:0}.jdm-my-meta small{display:block;color:#94a3b8;font-size:9px;text-transform:uppercase;letter-spacing:.45px;font-weight:850;margin-bottom:2px}.jdm-my-meta strong{display:block;color:#334155;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jdm-my-plan-row{margin:11px 0}.jdm-my-plan{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900}.jdm-my-plan.free{background:#dcfce7;color:#166534}.jdm-my-plan.paid{background:#fee2e2;color:#991b1b}.jdm-my-plan.unpaid{background:#dbeafe;color:#1d4ed8}.jdm-my-actions{display:flex;gap:7px;flex-wrap:wrap}.jdm-my-action{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 10px;border:1px solid #dbe0e7;border-radius:8px;background:#fff;color:#111827!important;text-decoration:none!important;font-size:11px;font-weight:850}.jdm-my-action:hover{background:#f8fafc}.jdm-my-action.primary{background:#ed1c24;border-color:#ed1c24;color:#fff!important}.jdm-my-action.renew{background:#111827;border-color:#111827;color:#fff!important}.jdm-my-action.sold{background:#fff7ed;border-color:#fed7aa;color:#9a3412!important}.jdm-my-action.danger{margin-left:auto;background:#fff1f2;border-color:#fecdd3;color:#be123c!important}.jdm-my-empty{text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:18px;padding:46px 20px;margin:20px 0 38px}.jdm-my-empty-icon{font-size:42px}.jdm-my-empty h3{font-size:22px;margin:9px 0 5px}.jdm-my-empty p{color:#64748b;margin:0 0 16px}
@media(max-width:1020px){.jdm-my-listings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.jdm-my-listings-head{align-items:stretch;flex-direction:column;margin-top:18px}.jdm-my-listings-head h2{font-size:29px}.jdm-my-listings-head>.jdm-btn{width:100%;min-height:46px}.jdm-my-listings-grid{grid-template-columns:1fr;gap:15px}.jdm-my-card{border-radius:15px}.jdm-my-card-media{aspect-ratio:16/9}.jdm-my-card-body{padding:15px}.jdm-my-status-copy{min-height:0}.jdm-my-action{min-height:40px;padding:9px 12px}.jdm-my-action.danger{margin-left:0}.jdm-my-meta{grid-template-columns:repeat(3,1fr)}}
