/* Neutral base styles. Colours and fonts will be matched to the current Wix design once it can be inspected. */
.jmd-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.jmd-filters input, .jmd-filters select { padding: 8px; min-width: 140px; flex: 1 1 140px; }
.jmd-filters button { padding: 8px 20px; cursor: pointer; }
.jmd-grid-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.jmd-card a { display: block; color: inherit; text-decoration: none; border: 1px solid #e3e3e3; border-radius: 6px; overflow: hidden; height: 100%; background: #fff; }
.jmd-card a:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.jmd-card-img { position: relative; aspect-ratio: 4 / 3; background: #f2f2f2; }
.jmd-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jmd-card h3 { font-size: 1rem; margin: 12px 12px 4px; }
.jmd-meta { margin: 0 12px 12px; color: #666; font-size: .9rem; }
.jmd-badge { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 3px; font-size: .8rem; color: #fff; background: #333; }
.jmd-single > .jmd-badge { position: static; display: inline-block; margin-bottom: 12px; }
.jmd-sold { background: #b32d2e; }
.jmd-reserved { background: #dba617; }
.jmd-offer { background: #1e7e34; }
.jmd-pager { margin: 24px 0; }
.jmd-pager a { display: inline-block; padding: 4px 10px; border: 1px solid #ddd; margin-right: 4px; }
.jmd-pager a.current { background: #333; color: #fff; }
.jmd-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin-bottom: 20px; }
.jmd-gallery img { width: 100%; height: auto; display: block; }
.jmd-specs { width: 100%; border-collapse: collapse; margin: 16px 0; }
.jmd-specs th, .jmd-specs td { text-align: left; padding: 8px; border-bottom: 1px solid #eee; vertical-align: top; }
.jmd-specs th { width: 35%; color: #555; }
.jmd-video { margin: 16px 0; }
.jmd-wa { display: inline-block; background: #25d366; color: #fff; padding: 10px 18px; border-radius: 4px; text-decoration: none; }
.jmd-cats, .jmd-cats ul { list-style: none; padding-left: 0; }
.jmd-cats ul { padding-left: 16px; }
.jmd-cats span { color: #888; }
.jmd-inquiry { max-width: 640px; }
.jmd-inquiry label { display: block; font-weight: 600; }
.jmd-inquiry input, .jmd-inquiry textarea { display: block; width: 100%; padding: 8px; margin-top: 4px; font-weight: normal; box-sizing: border-box; }
.jmd-inquiry .jmd-invalid { border: 2px solid #d00; }
.jmd-email-error { color: #d00; font-weight: 700; margin-top: -8px; }
.jmd-hp { position: absolute; left: -9999px; }
.jmd-notice { padding: 12px; border-radius: 4px; }
.jmd-ok { background: #e6f4ea; }
.jmd-err { background: #fdecea; color: #a00; }
.jmd-price { margin: 0 12px 12px; font-weight: 600; color: #1a4e8a; }
