/* Estilos de exposición públicos */

.ec-expo-section{
    width:100%;
    background:#050510;
    padding:60px 0;
}
.ec-expo-wrapper{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px 40px;
}
.ec-expo-heading{
    text-align:center;
    font-size:32px;
    font-weight:700;
    margin-bottom:6px;
    color:#ffffff;
    text-shadow:0 8px 30px rgba(0,0,0,.7);
    position:relative;
}
.ec-expo-heading span{
    position:relative;
    padding:0 40px;
}
.ec-expo-heading::before,
.ec-expo-heading::after{
    content:"";
    position:absolute;
    top:50%;
    width:120px;
    height:1px;
    background:rgba(148,163,184,.5);
}
.ec-expo-heading::before{
    right:50%;
    margin-right:90px;
}
.ec-expo-heading::after{
    left:50%;
    margin-left:90px;
}
.ec-expo-subtitle{
    text-align:center;
    font-size:14px;
    color:#9ca3af;
    margin-bottom:30px;
}
.ec-expo-coches{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}
@media (max-width:1100px){
    .ec-expo-coches{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:700px){
    .ec-expo-coches{grid-template-columns:1fr;}
}
.ec-coche-card{
    background:radial-gradient(circle at top left,#b46af8 0,#181827 45%,#050510 100%);
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 26px 60px rgba(0,0,0,.85);
    border:1px solid rgba(255,255,255,.06);
    display:flex;
    flex-direction:column;
    color:#e5e7eb;
    backdrop-filter:blur(10px);
}
.ec-coche-slider{
    position:relative;
    overflow:hidden;
    height:260px;
    background:#020617;
}
.ec-coche-slider-track{
    display:flex;
    height:100%;
    transition:transform .35s ease;
}
.ec-coche-slide{
    min-width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
}
.ec-coche-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.ec-slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    border:none;
    width:34px;
    height:34px;
    border-radius:999px;
    background:rgba(15,23,42,.85);
    color:#f9fafb;
    cursor:pointer;
    font-size:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 10px 25px rgba(0,0,0,.65);
    transition:background .2s ease,transform .2s ease,box-shadow .2s ease;
}
.ec-slider-btn--prev{left:12px;}
.ec-slider-btn--next{right:12px;}
.ec-slider-btn:hover{
    background:linear-gradient(135deg,#a855f7,#ec4899);
    transform:translateY(-50%) scale(1.05);
    box-shadow:0 14px 30px rgba(168,85,247,.8);
}
.ec-coche-body{
    padding:18px 20px 20px;
}
.ec-coche-title{
    margin:0 0 12px;
    font-size:18px;
    font-weight:600;
    color:#f9fafb;
}
.ec-coche-meta{
    list-style:none;
    padding:0;
    margin:0;
    font-size:14px;
}
.ec-coche-meta li{
    display:flex;
    justify-content:space-between;
    margin-bottom:4px;
    border-bottom:1px dashed rgba(148,163,184,.35);
    padding-bottom:4px;
}
.ec-coche-meta li span{
    color:#9ca3af;
}
.ec-coche-meta li strong{
    color:#f9fafb;
}
.ec-coche-img--noimg{
    background:rgba(15,23,42,.9);
    color:rgba(255,255,255,.7);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    height:260px;
}
.ec-filtro-marcas{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:24px;
    color:#e5e7eb;
    font-size:14px;
}
.ec-filtro-marcas label{
    font-weight:600;
}
.ec-filtro-marcas select{
    border-radius:999px;
    border:1px solid rgba(148,163,184,.7);
    padding:6px 12px;
    background:#020617;
    color:#e5e7eb;
    font-size:14px;
    outline:none;
    min-width:220px;
}
.ec-filtro-marcas select:focus{
    border-color:#a855f7;
    box-shadow:0 0 0 1px rgba(168,85,247,.7);
}

/* Enlace legal debajo de cada coche */
.ec-card-legal-link{
    margin-top:10px;
    font-size:12px;
}
.ec-card-legal-link a{
    color:#a855f7;
    text-decoration:none;
}
.ec-card-legal-link a:hover{
    text-decoration:underline;
}

/* Caja legal del marketplace */
.marketplace-legal-box{
    margin-top:40px;
    max-width:900px;
    margin-left:auto;
    margin-right:auto;
    padding:20px 24px;
    background:#050712;
    border-radius:16px;
    border:1px solid #273549;
    color:#d1d5db;
    font-size:13px;
    line-height:1.6;
}
.marketplace-legal-box h2{
    margin-top:0;
    margin-bottom:6px;
    font-size:16px;
    font-weight:600;
    color:#ffffff;
}
.marketplace-legal-box h3{
    margin-top:14px;
    margin-bottom:6px;
    font-size:14px;
    font-weight:600;
    color:#ffffff;
}
.marketplace-legal-box p{
    margin:4px 0;
}


/* Estilos extra para enlace solo admin en card */
.ec-card-legal-link .ec-card-admin-link-sep{
    margin:0 4px;
    color:#6b7280;
    font-size:12px;
}
