/*
Theme Name: BuscaTrasteros
Theme URI: https://buscatrasteros.es/
Author: BuscaTrasteros
Description: Tema ligero y responsive para el marketplace nacional de centros de trasteros.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: buscatrasteros
*/

/* V3 · identidad, logo y ficha free/premium */
/* Cabecera: el logo nunca puede crecer libremente ni invadir la navegación. */
.bt-header__inner{
    height:auto !important;
    min-height:82px;
    display:flex;
    align-items:center;
    gap:24px;
}
.bt-brand-wrap{
    display:flex;
    align-items:center;
    flex:0 1 390px;
    min-width:0;
    max-width:390px;
}
.bt-brand-wrap .custom-logo-link{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    width:100%;
    height:72px;
    margin:0;
    overflow:hidden;
}
.bt-brand-wrap .custom-logo{
    display:block;
    width:auto !important;
    height:auto !important;
    max-width:100% !important;
    max-height:68px !important;
    object-fit:contain;
    object-position:left center;
}
.bt-nav{margin-left:auto}

/* Footer: misma solución visual que NexoHaus. El logo original se coloca sobre placa blanca. */
.bt-footer__identity{min-width:240px}
.bt-footer__logo{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin:0 0 18px;
}
.bt-logo-plate{
    background:#fff;
    padding:10px 14px;
    border-radius:10px;
    box-shadow:0 4px 18px rgba(0,0,0,.12);
    max-width:320px;
}
.bt-footer-logo-img{
    display:block;
    width:auto !important;
    height:auto !important;
    max-width:285px !important;
    max-height:78px !important;
    object-fit:contain;
    filter:none !important;
}
.bt-footer__brand{
    color:#12263a !important;
    margin:0 !important;
}

/* Ficha free/premium */
.bt-premium-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#e9f8f4;color:#087c6e;font-weight:800;font-size:12px;margin-bottom:8px}
.bt-free-note{margin-top:18px;padding:10px 12px;background:#f5f7f9;border-radius:10px;color:#53606b;font-size:13px}
.bt-free-contact-lock,.bt-upgrade-box{padding:18px;border:1px solid #dce4e8;background:#f7fafb;border-radius:14px}
.bt-free-contact-lock strong,.bt-upgrade-box strong{display:block;color:#102c3e;margin-bottom:6px}
.bt-upgrade-box span{display:block;color:#64727d}
.bt-premium-section{margin-top:18px;padding:22px;border:1px solid #dce4e8;border-radius:16px;background:#fff}
.bt-availability{line-height:1.8}
.bt-gallery--premium{display:grid;grid-template-columns:2fr 1fr;gap:8px}
.bt-gallery__main{width:100%;height:100%;min-height:420px;object-fit:cover;border-radius:16px}
.bt-gallery__thumbs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bt-gallery__thumbs img{width:100%;height:100%;min-height:200px;object-fit:cover;border-radius:12px}

@media(max-width:980px){
    .bt-brand-wrap{flex-basis:300px;max-width:300px}
    .bt-brand-wrap .custom-logo-link{height:62px}
    .bt-brand-wrap .custom-logo{max-height:58px !important}
}
@media(max-width:680px){
    .bt-header__inner{min-height:70px}
    .bt-brand-wrap{flex:1 1 auto;max-width:245px}
    .bt-brand-wrap .custom-logo-link{height:56px}
    .bt-brand-wrap .custom-logo{max-height:52px !important}
    .bt-logo-plate{max-width:270px;padding:9px 12px}
    .bt-footer-logo-img{max-width:245px !important;max-height:70px !important}
}
