/* =========================================================
   COVEMA 2.7 · TIPOGRAFÍA + NORMALIZACIÓN DE TARJETAS
   Ajuste visual para acercar proporciones y legibilidad al PDF.
   Este archivo se carga al final para sobreescribir reglas heredadas.
   ========================================================= */

/* ---------- Header ---------- */
@media (min-width:1200px){
  .covema-nav-menu > li > a{
            font-size: 15px !important;
        font-weight: 400 !important;
        letter-spacing: .018em !important;
  }
}

/* ---------- Home ---------- */
.covema-v2-featured h2{
  font-size:clamp(30px,3vw,40px)!important;
}
.covema-v2-featured .covema-vehicle-card__title {
    font-size: 21px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    text-align: left;
}
.covema-v2-featured .covema-vehicle-card__price span,
.covema-v2-featured .covema-vehicle-card__price strong{
  font-size:15.5px!important;
  line-height:1.35!important;
}
.covema-v2-featured .covema-vehicle-card__cta{
  font-size:15px!important;
  font-weight:600!important;
}

/* ---------- Catálogo /nuevos/ ---------- */
.covema-catalog-eyebrow{font-size:13px!important}
.covema-catalog-hero h1{font-size:clamp(38px,4.2vw,58px)!important}
.covema-catalog-hero p{font-size:18px!important;line-height:1.55!important}
.covema-filter-heading,
.covema-filter-group label{font-size:14px!important}
.covema-brand-chip{font-size:15px!important}
.covema-filter-select{font-size:15px!important}
.covema-filter-reset{font-size:14px!important}
.covema-catalog-count{font-size:16px!important}
.covema-page{font-size:15px!important}

.covema-vehicle-card__title{
  font-size:18px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
.covema-vehicle-card__price span,
.covema-vehicle-card__price strong{
  font-size:16px!important;
  line-height:1.35!important;
}
.covema-vehicle-card__cta{
  font-size:15px!important;
  font-weight:600!important;
}
.covema-vehicle-card__brand{
  font-size:13px!important;
}

/* Un poco más de presencia a las fotos manteniendo object-fit:contain.
   El campo ACF "Escala de imagen en tarjeta" sigue permitiendo afinar casos individuales. */
.covema-catalog-grid .covema-vehicle-card__figure .covema-vehicle-card__image,
.covema-v2-featured .covema-vehicle-card__figure .covema-vehicle-card__image{
  width:96%!important;
  max-width:none!important;
  height:246px!important;
  object-fit:contain!important;
}

/* ---------- Página de marca ---------- */
.covema-brand-heading h1{font-size:clamp(32px,3.2vw,34px)!important; margin-bottom: 50px;}
.covema-brand-heading p{font-size:16px!important;line-height:1.65!important}
.covema-brand-filters button{font-size:14px!important}
.covema-brand-grid .covema-vehicle-card__title{font-size:17px!important}
.covema-brand-grid .covema-vehicle-card__price span,
.covema-brand-grid .covema-vehicle-card__price strong{font-size:15px!important}
.covema-brand-grid .covema-vehicle-card__cta{font-size:14px!important}
.covema-brand-promo span{font-size:15px!important}
.covema-brand-social small{font-size:13px!important}
.covema-brand-social h2{font-size:32px!important}
.covema-brand-legal p{font-size:13.5px!important;line-height:1.75!important}

/* ---------- Ficha de modelo (página 3 del PDF) ---------- */
.covema-product-v22 .covema-model-hero--banner .covema-model-hero__extra{
  font-size:14px!important;
  line-height:1.55!important;
}
.covema-product-v22 .covema-model-hero--banner .covema-model-hero__price span{
  font-size:12px!important;
}
.covema-product-v22 .covema-model-hero--banner .covema-model-hero__price strong{
  font-size:31px!important;
}
.covema-product-v22 .covema-model-fallback__brand{font-size:14px!important}
.covema-product-v22 .covema-model-fallback__text{font-size:15px!important;line-height:1.65!important}
.covema-product-v22 .covema-model-fallback__price span{font-size:13px!important}
.covema-product-v22 .covema-model-fallback__price strong{font-size:32px!important}

.covema-product-v22 .covema-model-facts span{
  font-size:12px!important;
  line-height:1.3!important;
}
.covema-product-v22 .covema-model-facts strong{
  font-size:19px!important;
  line-height:1.2!important;
}
.covema-product-v22 .covema-section-heading h2{
  font-size:34px!important;
  line-height:1.08!important;
}
.covema-product-v22 .covema-section-heading p{
  font-size:14px!important;
  line-height:1.55!important;
}
.covema-product-v22 .covema-version-card__head > span{font-size:12px!important}
.covema-product-v22 .covema-version-card h3{
  font-size:18px!important;
  line-height:1.25!important;
}
.covema-product-v22 .covema-version-card__price small{font-size:12px!important}
.covema-product-v22 .covema-version-card__price .woocommerce-Price-amount{
  font-size:23px!important;
}
.covema-product-v22 .covema-version-card__facts span{font-size:11px!important}
.covema-product-v22 .covema-version-card__facts b{font-size:17px!important}
.covema-product-v22 .covema-version-card__prices div{
  font-size:12px!important;
  line-height:1.4!important;
}
.covema-product-v22 .covema-red-button{
  font-size:14px!important;
  min-height:50px!important;
}
.covema-product-v22 .covema-section-heading--story h2{font-size:31px!important}
.covema-product-v22 .covema-story-intro{font-size:15px!important;line-height:1.6!important}
.covema-product-v22 .covema-story-copy h3{font-size:16px!important}
.covema-product-v22 .covema-story-copy p{font-size:13px!important;line-height:1.65!important}
.covema-product-v22 .covema-model-downloads h2,
.covema-product-v22 .covema-model-legal h2{font-size:27px!important}
.covema-product-v22 .covema-downloads a{font-size:14px!important}
.covema-product-v22 .covema-model-legal p,
.covema-product-v22 .covema-model-legal__content{
  font-size:13px!important;
  line-height:1.75!important;
}

/* Formulario de cotización */
.covema-product-v22 .covema-model-quote--inline label{font-size:14px!important}
.covema-product-v22 .covema-model-quote__vehicle strong{font-size:19px!important}
.covema-product-v22 .covema-model-quote__vehicle span{font-size:14px!important}
.covema-product-v22 .covema-model-quote--inline input,
.covema-product-v22 .covema-model-quote--inline select,
.covema-product-v22 .covema-model-quote--inline textarea{
  font-size:15px!important;
}

/* ---------- Te podrían interesar ---------- */
.single-product .covema-related__heading h2{
  font-size:clamp(32px,3vw,40px)!important;
}
.single-product .covema-related .covema-vehicle-card__title{
  font-size:17px!important;
  line-height:1.25!important;
}
.single-product .covema-related .covema-vehicle-card__price span,
.single-product .covema-related .covema-vehicle-card__price strong{
  font-size:15.5px!important;
}
.single-product .covema-related .covema-vehicle-card__cta{
  font-size:15px!important;
}
.single-product .covema-related .covema-vehicle-card__figure img,
.single-product .covema-related .covema-vehicle-card__image{
  width:96%!important;
  max-width:none!important;
  height:172px!important;
  object-fit:contain!important;
}

/* ---------- Sucursales / Footer ---------- */
.covema-branches-section .covema-global-heading h2{font-size:32px!important}
.covema-branch-card h3{font-size:16px!important}
.covema-branch-card p,
.covema-branch-card a{font-size:13px!important;line-height:1.5!important}
.covema-footer-menu a{font-size:12.5px!important}
.covema-footer-brand p{font-size:14px!important}
.covema-footer-column h3{font-size:13px!important}
.covema-footer-social a,
.covema-footer-column a,
.covema-footer-column span{font-size:13.5px!important}
.covema-footer-bottom{font-size:12.5px!important}
.covema-global-legal .container > div{font-size:13px!important;line-height:1.75!important}

/* ---------- Páginas internas ---------- */
.covema-inner-hero__content > span{font-size:13px!important}
.covema-service-shortcut strong{font-size:18px!important}
.covema-service-shortcut small{font-size:14px!important}
.covema-contact-strip span{font-size:12px!important}
.covema-contact-strip strong{font-size:18px!important}
.covema-internal-content p,
.covema-internal-content li{font-size:16px!important;line-height:1.75!important}
.covema-internal-content .nav-tabs > li > a{font-size:14px!important}
.covema-internal-content .wpcf7 label{font-size:14px!important}
.covema-internal-content .wpcf7 input,
.covema-internal-content .wpcf7 select,
.covema-internal-content .wpcf7 textarea{font-size:15px!important}
.covema-internal-content .wpcf7 input[type="submit"]{font-size:14px!important}

/* ---------- Responsive ---------- */
@media (max-width:767px){
  .covema-catalog-hero h1{font-size:36px!important}
  .covema-catalog-hero p{font-size:16px!important}
  .covema-brand-chip{font-size:14px!important}
  .covema-vehicle-card__title{font-size:16px!important}
  .covema-vehicle-card__price span,
  .covema-vehicle-card__price strong{font-size:14.5px!important}
  .covema-vehicle-card__cta{font-size:14px!important}
  .covema-catalog-grid .covema-vehicle-card__figure .covema-vehicle-card__image,
  .covema-v2-featured .covema-vehicle-card__figure .covema-vehicle-card__image,
  .single-product .covema-related .covema-vehicle-card__figure img,
  .single-product .covema-related .covema-vehicle-card__image{
    height:150px!important;
  }
  .covema-product-v22 .covema-section-heading h2{font-size:29px!important}
  .covema-product-v22 .covema-model-facts span{font-size:11px!important}
  .covema-product-v22 .covema-model-facts strong{font-size:17px!important}
  .covema-product-v22 .covema-version-card h3{font-size:17px!important}
  .covema-product-v22 .covema-story-copy p{font-size:13px!important}
  .single-product .covema-related__heading h2{font-size:30px!important}
  .covema-footer-brand p,
  .covema-footer-social a,
  .covema-footer-column a,
  .covema-footer-column span{font-size:14px!important}
}

/* =========================================================
   COVEMA 2.12 · FOOTER IDÉNTICO A MAQUETA ITALMOTORS
   ========================================================= */
#footer.covema-site-footer.covema-footer-pdf{
  position:relative;
  overflow:hidden;
  padding:0!important;
  background:#303030!important;
  color:#fff;
}
#footer.covema-site-footer.covema-footer-pdf::before,
#footer.covema-site-footer.covema-footer-pdf::after{
  content:"";
  position:absolute;
  pointer-events:none;
  z-index:0;
  background:rgba(255,255,255,.018);
}
#footer.covema-site-footer.covema-footer-pdf::before{
  width:720px;
  height:280px;
  right:6%;
  top:48px;
  clip-path:polygon(48% 0,100% 0,100% 100%,0 100%);
}
#footer.covema-site-footer.covema-footer-pdf::after{
  width:760px;
  height:180px;
  left:33%;
  bottom:0;
  clip-path:polygon(28% 0,100% 0,100% 100%,0 100%);
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-container{
  position:relative;
  z-index:1;
  max-width:1240px;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-nav{
  padding:36px 0 30px!important;
  border:0!important;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-menu{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:0;
  margin:0;
  padding:0;
  list-style:none;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-menu li{
  margin:0!important;
  padding:0 20px!important;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-menu li+li{
  border-left:1px solid rgba(255,255,255,.72)!important;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-menu a{
  color:#fff!important;
  font-size:12.5px!important;
  line-height:1.25!important;
  font-weight:700!important;
  letter-spacing:.015em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-menu a:hover{
  opacity:.72;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-main--pdf{
  display:grid!important;
  grid-template-columns:1.22fr 1fr .95fr 1.15fr!important;
  align-items:center!important;
  gap:54px!important;
  padding:46px 0 34px!important;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-identity,
#footer.covema-site-footer.covema-footer-pdf .covema-footer-advisor-wrap{
  display:flex;
  align-items:center;
  min-width:0;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-main-logo{
  display:inline-flex!important;
  align-items:center!important;
  line-height:0!important;
  margin:0!important;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-main-logo img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:224px!important;
  max-height:62px!important;
  object-fit:contain!important;
  filter:none!important;
  opacity:1!important;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-column h3{
  margin:0 0 14px!important;
  color:#fff!important;
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:800!important;
  letter-spacing:.015em!important;
  text-transform:uppercase!important;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-column a,
#footer.covema-site-footer.covema-footer-pdf .covema-footer-column span{
  display:block!important;
  margin:0 0 5px!important;
  color:#fff!important;
  font-size:14.5px!important;
  line-height:1.5!important;
  font-weight:500!important;
  text-decoration:none!important;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-column a strong{
  font-weight:700!important;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-column a:hover{
  opacity:.72;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-advisor-wrap{
  justify-content:flex-end;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-advisor-logo{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  margin:0!important;
  line-height:0!important;
  background:transparent!important;
  border:0!important;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-advisor-logo img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:218px!important;
  max-height:64px!important;
  object-fit:contain!important;
  filter:none!important;
  opacity:1!important;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-brands--pdf{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:34px!important;
  min-height:104px!important;
  padding:25px 0 34px!important;
  border:0!important;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-brand-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:68px!important;
  height:46px!important;
  line-height:0!important;
  text-decoration:none!important;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-brand-link img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:118px!important;
  max-height:44px!important;
  object-fit:contain!important;
  filter:grayscale(1) brightness(0) invert(1)!important;
  opacity:.96!important;
  transition:opacity .2s ease, transform .2s ease;
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-brand-link:hover img{
  opacity:.72!important;
  transform:translateY(-1px);
}
#footer.covema-site-footer.covema-footer-pdf .covema-footer-brand-link span{
  color:#fff!important;
  font-size:16px!important;
  font-weight:800!important;
}
/* El footer aprobado no lleva bloque de copyright ni Experiencia Covema. */
#footer.covema-site-footer.covema-footer-pdf .covema-footer-bottom,
#footer.covema-site-footer.covema-footer-pdf .covema-footer-trust,
#footer.covema-site-footer.covema-footer-pdf .covema-footer-social,
#footer.covema-site-footer.covema-footer-pdf .covema-footer-identity p{
  display:none!important;
}

@media (max-width:1199px){
  #footer.covema-site-footer.covema-footer-pdf .covema-footer-main--pdf{
    grid-template-columns:1fr 1fr!important;
    gap:34px 50px!important;
    padding:42px 0 32px!important;
  }
  #footer.covema-site-footer.covema-footer-pdf .covema-footer-advisor-wrap{
    justify-content:flex-start;
  }
}
@media (max-width:767px){
  #footer.covema-site-footer.covema-footer-pdf .covema-footer-nav{
    display:none!important;
  }
  #footer.covema-site-footer.covema-footer-pdf .covema-footer-main--pdf{
    grid-template-columns:1fr!important;
    gap:28px!important;
    padding:42px 0 22px!important;
  }
  #footer.covema-site-footer.covema-footer-pdf .covema-footer-main-logo img{
    max-width:205px!important;
    max-height:56px!important;
  }
  #footer.covema-site-footer.covema-footer-pdf .covema-footer-advisor-logo img{
    max-width:205px!important;
    max-height:58px!important;
  }
  #footer.covema-site-footer.covema-footer-pdf .covema-footer-brands--pdf{
    justify-content:flex-start!important;
    gap:22px!important;
    padding:22px 0 36px!important;
  }
  #footer.covema-site-footer.covema-footer-pdf .covema-footer-brand-link img{
    max-width:92px!important;
    max-height:36px!important;
  }
  #footer.covema-site-footer.covema-footer-pdf::before{
    right:-260px;
  }
  #footer.covema-site-footer.covema-footer-pdf::after{
    left:12%;
  }
}

/* ==========================================================
   COVEMA FOOTER 2026
   3 BLOQUES: ITALMOTORS / CONTACTO / POSTVENTA
   ========================================================== */

#footer.covema-site-footer.covema-footer-pdf .covema-footer-main--pdf{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    align-items:start!important;
    justify-content:center!important;
    gap:60px!important;

    width:100%!important;
    max-width:980px!important;

    margin-left:auto!important;
    margin-right:auto!important;
}

/* Cada bloque centrado */
#footer.covema-site-footer.covema-footer-pdf .covema-footer-identity,
#footer.covema-site-footer.covema-footer-pdf .covema-footer-contact,
#footer.covema-site-footer.covema-footer-pdf .covema-footer-postventa{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    text-align:center!important;
}

/* Logo Italmotors */
#footer.covema-site-footer.covema-footer-pdf .covema-footer-main-logo{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

/* Títulos */
#footer.covema-site-footer.covema-footer-pdf .covema-footer-column h3{
    width:100%!important;
    text-align:center!important;
}

/* Links */
#footer.covema-site-footer.covema-footer-pdf .covema-footer-column a,
#footer.covema-site-footer.covema-footer-pdf .covema-footer-column span{
    width:100%!important;
    text-align:center!important;
}

/* Tablet */
@media(max-width:991px){

    #footer.covema-site-footer.covema-footer-pdf .covema-footer-main--pdf{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
        gap:30px!important;
        max-width:850px!important;
    }
}

/* Móvil */
@media(max-width:767px){

    #footer.covema-site-footer.covema-footer-pdf .covema-footer-main--pdf{
        grid-template-columns:1fr!important;
        gap:34px!important;
        max-width:420px!important;
    }

    #footer.covema-site-footer.covema-footer-pdf .covema-footer-identity,
    #footer.covema-site-footer.covema-footer-pdf .covema-footer-contact,
    #footer.covema-site-footer.covema-footer-pdf .covema-footer-postventa{
        align-items:center!important;
        text-align:center!important;
    }
}

/* ==========================================================
   COVEMA FOOTER 3 COLUMNAS END
   ========================================================== */
