:root{--vdml-bg:#fff;--vdml-text:#171717;--vdml-muted:#6b7280;--vdml-line:#e5e7eb;--vdml-accent:#b51f2e;--vdml-dark:#202124;--vdml-soft:#f4f4f4;--vdml-project-left:#D4CFC5;--vdml-radius:18px}
.vdml-project-grid,.vdml-lot-grid{display:grid;gap:22px;width:100%}
.vdml-project-grid{grid-template-columns:1fr}
.vdml-lot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.vdml-project-card,.vdml-lot-card{min-width:0}
.vdml-project-banner{position:relative;display:grid;grid-template-columns:42% 58%;min-height:330px;overflow:hidden;border-radius:var(--vdml-radius);background:var(--vdml-soft);color:var(--vdml-text);text-decoration:none;box-shadow:0 10px 30px rgba(0,0,0,.08)}
.vdml-project-banner:hover{color:var(--vdml-text)}
.vdml-project-banner-copy{position:relative;z-index:2;padding:34px;display:flex;flex-direction:column;justify-content:center;gap:8px;background:var(--vdml-project-left)}
.vdml-project-banner-copy:after{content:"";position:absolute;right:-30px;top:0;width:70px;height:100%;background:var(--vdml-project-left);transform:skewX(-6deg);z-index:-1}
.vdml-project-banner-image{min-height:330px;background:#ddd center/cover no-repeat}
.vdml-project-logo img{max-width:170px;max-height:78px;width:auto;height:auto;object-fit:contain}
.vdml-project-kicker,.vdml-lot-project-name{font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--vdml-accent)}
.vdml-project-banner h3,.vdml-project-title,.vdml-lot-card h3,.vdml-lot-hero h1{margin:0;color:var(--vdml-text);line-height:1.05}
.vdml-project-banner h3,.vdml-project-title{display:block;font-size:clamp(26px,3vw,46px);font-family:inherit;font-weight:inherit;margin:0;color:var(--vdml-text);line-height:1.05}
.vdml-project-location{font-size:14px;color:var(--vdml-muted)}
.vdml-project-price{margin-top:12px;display:flex;flex-direction:column;border-left:4px solid var(--vdml-accent);padding-left:12px}.vdml-project-price small{font-size:12px;text-transform:uppercase}.vdml-project-price strong{font-size:22px}
.vdml-detail{max-width:1180px;margin:0 auto;padding:12px 0 40px;color:var(--vdml-text)}
.vdml-richtext{margin:32px 0;font-size:16px;line-height:1.7}.vdml-richtext>*:first-child{margin-top:0}.vdml-richtext>*:last-child{margin-bottom:0}
.vdml-section-head{margin:40px 0 18px}.vdml-section-head span{color:var(--vdml-accent);font-weight:800;text-transform:uppercase;font-size:12px;letter-spacing:.1em}.vdml-section-head h2{margin:5px 0 0;font-size:clamp(25px,3vw,38px)}
.vdml-lot-card{border:1px solid var(--vdml-line);border-radius:var(--vdml-radius);overflow:hidden;background:var(--vdml-bg);box-shadow:0 8px 24px rgba(0,0,0,.05)}
.vdml-lot-card-link{display:block;color:inherit;text-decoration:none}.vdml-lot-card-link:hover{color:inherit}
.vdml-lot-card-image{position:relative;aspect-ratio:16/10;background:#e8e8e8 center/cover no-repeat}
.vdml-status{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;background:#fff;color:#111}.vdml-lot-card-image .vdml-status{position:absolute;top:14px;left:14px;box-shadow:0 3px 12px rgba(0,0,0,.15)}
.vdml-status-disponible{background:#eaf8ef;color:#176b38}.vdml-status-ultimos{background:#fff3d6;color:#835b00}.vdml-status-agotado{background:#ffe7e7;color:#922}.vdml-status-proximamente{background:#e9eefc;color:#284b9b}
.vdml-lot-card-body{padding:20px}.vdml-lot-card h3{font-size:28px;margin-top:4px}.vdml-lot-facts{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:14px;color:var(--vdml-muted);font-size:14px}.vdml-lot-price{font-weight:800;color:var(--vdml-accent)}
.vdml-lot-hero{display:grid;grid-template-columns:56% 44%;min-height:520px;border-radius:var(--vdml-radius);overflow:hidden;background:var(--vdml-soft);margin-top:16px}.vdml-lot-hero-image{background:#ddd center/cover no-repeat}.vdml-lot-hero-copy{padding:44px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px}.vdml-lot-hero h1{font-size:clamp(42px,6vw,72px)}.vdml-detail-price{font-size:28px;font-weight:900}.vdml-detail-price small{display:block;font-size:12px;text-transform:uppercase;color:var(--vdml-muted);font-weight:700}
.vdml-back-project{display:inline-block;margin:5px 0 10px;text-decoration:none;font-weight:800;color:var(--vdml-accent)}
.vdml-facts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.vdml-fact{padding:18px;border:1px solid var(--vdml-line);border-radius:14px}.vdml-fact span{display:block;color:var(--vdml-muted);font-size:12px;text-transform:uppercase}.vdml-fact strong{display:block;font-size:22px;margin-top:3px}
.vdml-features,.vdml-amenities{margin:32px 0}.vdml-features h2,.vdml-amenities h2{margin-bottom:12px}.vdml-features ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 22px;padding-left:22px}.vdml-chips{display:flex;flex-wrap:wrap;gap:8px}.vdml-chips span{padding:9px 13px;border:1px solid var(--vdml-line);border-radius:999px;background:#fafafa;font-weight:700;font-size:13px}
.vdml-gallery{margin:34px 0}.vdml-gallery-main{border-radius:var(--vdml-radius);overflow:hidden;background:#eee;aspect-ratio:16/9}.vdml-gallery-main img{width:100%;height:100%;object-fit:cover;display:block}.vdml-gallery-thumbs{display:flex;gap:10px;overflow:auto;padding:12px 2px}.vdml-gallery-thumb{width:86px;height:64px;flex:0 0 auto;border:2px solid transparent;padding:0;border-radius:10px;overflow:hidden;background:none;cursor:pointer}.vdml-gallery-thumb img{width:100%;height:100%;object-fit:cover}.vdml-gallery-thumb.is-active{border-color:var(--vdml-accent)}
.vdml-project-location-box{margin:30px 0;padding:24px;border-radius:var(--vdml-radius);background:var(--vdml-soft)}.vdml-project-location-box strong{display:block;font-size:20px;margin-bottom:6px}
.vdml-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--vdml-accent);color:white!important;text-decoration:none;border:0;border-radius:10px;padding:12px 18px;font-weight:800;cursor:pointer}.vdml-btn-secondary{margin-top:14px;background:var(--vdml-dark)}
.vdml-empty,.vdml-notice,.vdml-success,.vdml-error{padding:18px;border-radius:12px;background:#f5f5f5}.vdml-success{background:#eaf8ef;color:#176b38}.vdml-error{background:#ffe7e7;color:#922}
.vdml-front-form{max-width:900px;margin:0 auto;padding:22px;border:1px solid var(--vdml-line);border-radius:var(--vdml-radius);background:#fff}.vdml-front-form h2{margin-top:0}.vdml-front-form label,.vdml-admin-field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;font-weight:700}.vdml-front-form input,.vdml-front-form textarea,.vdml-front-form select,.vdml-admin-field input,.vdml-admin-field textarea{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:9px;padding:10px 12px}.vdml-form-grid,.vdml-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.vdml-admin-gallery{display:flex;flex-wrap:wrap;gap:8px}.vdml-admin-gallery img,.vdml-media-preview img{width:90px;height:70px;object-fit:cover;border-radius:8px}.vdml-media-field{margin:14px 0}
@media(max-width:760px){.vdml-lot-grid{grid-template-columns:1fr}.vdml-project-banner{grid-template-columns:45% 55%;min-height:220px;border-radius:14px}.vdml-project-banner-copy{padding:18px 14px}.vdml-project-banner-copy:after{right:-18px;width:38px}.vdml-project-banner-image{min-height:220px}.vdml-project-logo img{max-width:105px;max-height:50px}.vdml-project-banner h3,.vdml-project-title{font-size:25px}.vdml-project-price strong{font-size:15px}.vdml-project-location{font-size:11px}.vdml-lot-hero{grid-template-columns:1fr;min-height:0}.vdml-lot-hero-image{aspect-ratio:16/10}.vdml-lot-hero-copy{padding:26px 20px}.vdml-lot-hero h1{font-size:42px}.vdml-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vdml-features ul{grid-template-columns:1fr}.vdml-form-grid,.vdml-admin-grid{grid-template-columns:1fr}}

/* 1.0.3: markup válido dentro de bloques Párrafo de Gutenberg. */
.vdml-project-logo,.vdml-project-kicker,.vdml-project-title,.vdml-project-location{display:block}

/* 1.0.6: el plugin no altera párrafos ni bloques externos de Gutenberg. */
.vdml-field-features{margin:0}.vdml-field-features ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 22px;margin:0;padding-left:22px}.vdml-field-amenities{margin:0}
@media(max-width:760px){.vdml-field-features ul{grid-template-columns:1fr}}
