/**
* Theme Name: Karpart Child
* Description: This is a child theme of Karpart, generated by Merlin WP.
* Author: <a href="https://wpopal.com/">Opalthemes</a>
* Template: karpart
* Version: 1.1.6
*/
:root {
    --gris-texto: #646569;
    --naranja: #FF6B00;
    --azul: #000f9f;
    --background-gray: #EFEFF0;
    --primary-font: "League Spartan", sans-serif;
}

.icon-counter-3 svg{
  width: 65px;
}

.search-parts-button{
  background-image: linear-gradient(to right, var(--azul) 0%, var(--azul) 100%);
}

.additional_information_tab{
  display: none;
}

.woocommerce-info, .woocommerce-noreviews, p.no-comments { 
	background-color: #000F9F;
}

body{
    background-color: #fff!important;
}

@media screen and (max-width: 764px){
  .mobile-nav-tabs{
    display: none;
  }
}

.btn-slider{
    background-color: #FF6B00!important;
}

.box_search{
    position: relative;
}
.custom_search_home{
    position: absolute;
    background-color: #fff;
    border-radius: 25px;
    z-index: 99;
    max-width: 80%;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    top: -65px;
    padding: 15px 15px;
    box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.7);
}
@media screen and (max-width: 764px){
  .custom_search_home{
    position: relative;
    top: 0;
    left: 0;
    max-width: 100%;
    transform: translateX(0);
  }
}

.search-parts-style-table .search-parts-head{
    margin-bottom: 0;
}
.search-parts-style-table .search-parts-field{
    margin-bottom: 0;
}

/* Mision Home */
.mission-title h2{
    color: var(--azul);
    font-weight: 600;
}
.mission-block {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
}

.mission-text {
    flex: 1 1 auto;
    color: var(--gris-texto);
    font-size: 22px;
    line-height: 1.5;
    font-weight: 300; 
}

.mission-text p {
    margin: 0 0 24px;
    font-size: 16px;
}
.mission-text p strong{
    color: var(--naranja);
}

.mission-highlight {
    margin-top: 32px;
    color: var(--naranja);
    font-weight: 700; 
}

/* Botón principal */
.show-effect-yes .elementor-button.brands-cta {
  background-color: var(--azul);
  background-image: linear-gradient(to right, var(--naranja) 0%, var(--naranja) 100%);
  color:#fff !important;
}

/* Hover */
.show-effect-yes .elementor-button.brands-cta:hover {
  background-image: linear-gradient(to right, var(--azul) 0%, var(--azul) 100%);
  transform: translateY(-2px);
  box-shadow:0 8px 18px rgba(0,0,0,.15);
}

/* Mission logos */
.mission-logos {
    margin-top: 40px;
}

.mission-logos-text {
    font-family: var(--primary-font);
    font-size: 18px;
    color: var(--azul);
    margin-bottom: 10px;
    font-weight: 600;
}

.logos-grid {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0px;
    border-radius: 8px;
    background: #fff;
    transition: all .3s ease;
}

.logo-item img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: all .3s ease;
}

.logo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.logo-item:hover img {
    filter: grayscale(0%);
}


/* ==================================================================
   COUNTER HOME SECTION
   ================================================================== */
.counter_home{
  position: relative;
}

/* ==================================================================
   BRAND SECTION
   ================================================================== */
.brands-section{
  padding: 60px 0 0;
  background-color:#ffffff;
  display: flex;
  justify-content: center;
}

.brands-wrapper{
  width: 100%;
  max-width: 1200px;
  margin:0 auto;
  padding:0 20px;
  display:flex;
  gap:60px;
  align-items:center;
}

.brands-content{
  flex:1 1 45%;
}

.brands-title{
  font-family:"League Spartan",sans-serif;
  font-weight:600;
  font-size:clamp(30px,3.4vw,46px);
  line-height:1.1;
  letter-spacing:normal;
  text-transform:uppercase;
  color:var(--azul);
  margin:0 0 26px;
}
@media screen and (max-width: 764px) {
  .brands-title{
    text-align: center;
  }
  .brands-title br{
    display: none;
  }
}

.brands-text{
  font-family:"League Spartan",sans-serif;
  font-weight:300;
  font-size:18px;
  line-height:1.7;
  color:var(--gris-texto);
  margin:0 0 32px;
}

.brands-logos{ flex:1 1 55%; }

.brands-logos-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px 40px;
  align-items:center;
  justify-items:center;
}

.brand-item img{
  max-width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}

@media (max-width:991px){
  .brands-wrapper{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width:767px){
  .brands-logos-grid{
    grid-template-columns:repeat(3,1fr);
    gap:30px;
  }
}


/* ==================================================================
   CTA COVERAGE (Blue Banner) — League Spartan / Gradient Overlay
   ================================================================== */
.coverage-cta{
  padding: 40px 0;
}

.coverage-cta__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 48px;
  border-radius: 18px;
  background-image:
    url("https://imporfil.com/wp-content/uploads/2025/12/imporfil-18.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.coverage-cta__text h2{
  margin: 0;
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: normal;
  color: #ffffff;
  max-width: 700px;
}
.coverage-cta__inner .show-effect-yes.elementor-widget-button .elementor-button.cta-banner-btn {
  background-image: linear-gradient(to right, #fff 0%, #fff 100%);
  color: var(--naranja);
  box-shadow: none !important;
  border-radius: 8px;
  padding: 16px 40px;
  font-family: "League Spartan", sans-serif;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: uppercase;
}

.coverage-cta__inner .show-effect-yes.elementor-widget-button 
.elementor-button.cta-banner-btn:hover {
  background-image: linear-gradient(to right, var(--naranja) 0%, var(--naranja) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* Responsive */
@media (max-width: 767px){

  .coverage-cta__text h2{
    text-align: center;
  }
  .coverage-cta__inner{
    padding: 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .coverage-cta__btn{
    width: 100%;
  }

  .show-effect-yes .elementor-button.cta-banner-btn{
    width: auto;
    text-align: center;
  }
}

/* ==================================================================
   CHEVRON HOME
   ================================================================== */
.chevron-title h2{
    color: var(--azul);
    font-weight: 600;
}
.chevron-block {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
}

.chevron-text {
    flex: 1 1 auto;
    color: var(--gris-texto);
    font-size: 18px;
    line-height: 1.5;
    font-weight: 300; 
}

.chevron-text p {
    margin: 0 0 24px;
    font-size: 16px;
    color: var(--gris-texto);
    font-family: var(--primary-font);
}
.chevron-text p strong{
    color: var(--naranja);
}

.chevron-highlight {
    margin-top: 32px;
    color: var(--naranja);
    font-weight: 700; 
}

/* ==================================================================
   PRODUCTOS HOME
   ================================================================== */
.productos_home .elementor-cta__button{
  color: #fff;
}

/* ==================================================================
   TESTIMONIALS HOME
   ================================================================== */
.elementor-testimonial-item-wrapper .icon{
  width: 55px;
  fill: var(--naranja);
}


/* ==================================================================
   SINGLE PRODUCT
   ================================================================== */

table.cart td.actions .coupon{
  display: none!important;
}

.single-product .karpart-single-product-extra,
.single-product div.product .product_meta,
.single-product .karpart-social-share,
.single-product div.product p.price,
.single-product div.product .product_after_title.product_meta{
    display: none;
}

.single-product #page .breadcrumb-wrap + .site-content{
  background-color: #EFEFF0;
  padding: 40px 0;
}

.single-product .breadcrumb-wrap{
  background-color: #EFEFF0;
}

.single-product #page .site-content{
  margin-bottom: 0;
}

.single-product div.product .product_title{
    color: var(--azul);
}

.single-product div.product form.cart .quantity .input-text.qty{
    background-color:#EFEFF0;
}

.single-product .woocommerce-tabs ul.tabs li.active a{
    background-color: var(--azul);
}

.single-product .woocommerce-tabs ul.tabs li a{
    color: var(--gris-texto);
}

.woocommerce-Tabs-panel p{
    color: var(--gris-texto);
    font-weight: 300;
}

.woocommerce-Tabs-panel ul{
    padding-left: 0;
    margin-left: 15px;
}

.woocommerce-Tabs-panel ul li{
    padding-left: 0;
    color: var(--gris-texto);
    font-weight: 600;
}

.woocommerce-Tabs-panel ul li::marker{
    color: var(--naranja);
}


.single-product div.product .woocommerce-product-details__short-description p{
  color: var(--gris-texto);
  font-weight: 300;
}

.single-product .karpart-related-products{
  background-color: var(--background-gray);
}

.single-product .related.products{
  background-color: #fff;
}

.single-product .related.products h2{
  background-color: var(--background-gray);
  color: var(--azul);
  font-weight: 600;
  margin-bottom: 0px;
  padding-bottom: 40px;
  padding-top: 40px;
  padding-left: 20px;
}

.single-product .products-carousel > .swiper{
  padding: 0;
}

.products-carousel .columns-4{
  background-color: var(--background-gray);
}


/* ==================================================================
   STORE PAGE
   ================================================================== */

.post-type-archive-product .breadcrumb-wrap .e-con-full,
.tax-product_cat .breadcrumb-wrap .e-con-full{
  background-image: url("https://imporfil.com/wp-content/uploads/2025/12/imporfil-tienda-1-1.webp") !important;
  background-size: cover;
  background-position: center;
}

.post-type-archive-product .breadcrumb-wrap .e-con-full:before,
.tax-product_cat .breadcrumb-wrap .e-con-full:before{
  display: none;
}

body.post-type-archive-product .karpart-woocommerce-title {
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  position: relative;
  font-family: "League Spartan", sans-serif;
}

body.post-type-archive-product .karpart-woocommerce-title::after {
  content: "RENDIMIENTO Y PROTECCIÓN PARA CADA APLICACIÓN";
  font-size: clamp(25px, 3.4vw, 46px);
  line-height: 1.2;
  color: #fff;
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
  font-family: "League Spartan", sans-serif;
}
/* @media screen and (max-width: 764px){
  .body.post-type-archive-product .karpart-woocommerce-title::after{
    font-size: 25px;
  }
} */

.post-type-archive #page .site-content{
  margin-bottom: 0;
  background-color: #EFEFF0;
  margin-top: 0;
}

.tax-product_brand #page .site-content{
  margin-top: 0;
  margin-bottom: 0;
  background-color: var(--background-gray);
  padding-bottom: 80px;
}

.woocommerce-page .mpf-brand-hero {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  margin-bottom: 50px;
}

.woocommerce-page .mpf-brand-hero .elementor-container,
.woocommerce-page .mpf-brand-hero__inner {
  max-width: 1320px; 
  margin: 0 auto;
  padding: 0 20px;
}

.karpart-sorting{
    display: none;
}

/* Desactivar sticky sidebar en la página de tienda */
.post-type-archive-product #secondary.widget-area.is_stuck {
  position: static !important;
  top: auto !important;
  width: 340px;
}
   
#woocommerce_layered_nav-2 .widget-title,
#woocommerce_product_categories-1 .widget-title,
#woocommerce_product_brands-1 .widget-title{
    color: var(--azul);
}

#woocommerce_layered_nav-2 .widget-title:after,
#woocommerce_product_categories-1 .widget-title:after,
#woocommerce_product_brands-1 .widget-title:after{
    color: var(--naranja);
}

#woocommerce_layered_nav-2 .woocommerce-widget-layered-nav-list li a,
#woocommerce_product_categories-1 .product-categories li a,
#woocommerce_product_brands-1 .product-brands li a{
    color: var(--gris-texto);
}

.widget_product_categories ul li.chosen > a:not(.button):before, 
.widget_product_categories ul li.current-cat > a:not(.button):before, 
.widget_product_brands ul li.chosen > a:not(.button):before, 
.widget_product_brands ul li.current-cat > a:not(.button):before, 
.widget_rating_filter ul li.chosen > a:not(.button):before, 
.widget_rating_filter ul li.current-cat > a:not(.button):before, 
.widget_layered_nav ul li.chosen > a:not(.button):before, 
.widget_layered_nav ul li.current-cat > a:not(.button):before{
    box-shadow: 0 0 0 2px var(--naranja) inset;
    background-color: var(--naranja);
}

.widget_product_categories ul li a:not(.button):hover:before, 
.widget_product_brands ul li a:not(.button):hover:before, 
.widget_rating_filter ul li a:not(.button):hover:before, 
.widget_layered_nav ul li a:not(.button):hover:before{
    box-shadow: 0 0 0 2px var(--naranja) inset;
    background-color: var(--naranja);
}
   
ul.products li.product .price{
    display: none;
}

ul.products li.product .product-caption-main:before,
ul.products li.product .product-caption-hover:before{
    background: transparent;
}

li.product:not(.product-list):not(.product-block-list) .product-caption a[class*=product_type_]{
    background-color: var(--azul);
    font-size: 12px;
}

li.product:not(.product-list):not(.product-block-list) .product-caption a[class*=product_type_]:hover {
    background-color: var(--naranja);
}

li.product:not(.product-list):not(.product-block-list) .product-block:hover .product-caption a[class*=product_type_]{
  background-color: var(--naranja);
}

.product-caption-main .posted-in a{
    color: var(--naranja);
    font-size: 14px;
}

.product-caption-main .woocommerce-loop-product__title a{
    color: var(--azul);
    font-size: 25px;
}

.product-caption-hover .inventory_status{
    color: var(--naranja);    
}

.product-caption-hover .karpart-single-product-extra{
    color: var(--gris-texto);    
}



@media screen and (max-width: 764px){
  .cart_totals{
    padding: 30px 0;
    border: none;
  }
  .cart_totals h2{
    display: none;
  }
  .cart_totals table{
    display: none;
  }
  table.cart td.product-name a{
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
  }
}



/*  */
.mpf-brands-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.mpf-brands-section + * {
  margin-top: 20px;
}

.mpf-brands-header {
  margin-bottom: 32px;
}

.mpf-brands-title {
  font-family: "League Spartan", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: normal;
  font-size: 52px;
  text-align: center;
  color: var(--azul);
}
@media screen and (max-width: 764px) {
  .mpf-brands-title{
    font-size: 35px;
  }
}

.mpf-brands-subtitle {
  max-width: 800px;
  margin: 0 auto;
  font-size: 20px;
  opacity: 1;
  text-align: center;
  color: var(--gris-texto);
}

.mpf-brand-item {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mpf-brand-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--azul); 
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: visible;
  transition: .5s ease-in-out;
}

.mpf-brand-circle:hover{
  background-color: var(--naranja);
}

.mpf-brand-circle img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mpf-brand-name {
  font-family: "League Spartan", sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 4px;
  color: var(--azul);
}

.mpf-brand-count {
  font-size: 14px;
  opacity: 1;
  color: var(--gris-texto);
}

/* Flechas Swiper */
.mpf-brands-prev,
.mpf-brands-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 10px 25px rgba(0,0,0,.12);
}
.mpf-brands-prev::after,
.mpf-brands-next::after{
  font-size: 12px;
}
@media screen and (max-width: 764px) {
  .mpf-brands-prev, .mpf-brands-next{
    display: none;
  }
}

/*  */
.post-type-archive-product .mpf-shop-search-section .custom_search_home {
  position: static;
  z-index: auto;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  transform: none;
}

/*  */
.mpf-shop-cats-section{
  margin-top: 80px;
  padding-top: 80px;
}
.mpf-shop-cats-section,
.mpf-shop-bottom-banner {
  clear: both;  
  margin-top: 40px;
  margin-bottom: 40px;
}

/* ==================================================================
   FOOTER PAGE
   ================================================================== */


.footer-width-fixer .elementor-icon-box-wrapper{
  display: flex;
  gap: 15px;
}

.cont-footer-top{
  z-index: 2;
}

.cont-footer-top .col-f{
  z-index: 3;
}

.footer-image-watermark{
  height: 100%;
  z-index: 1;
}
.footer-image-watermark img{
  object-fit: cover;
  opacity: .7;
}
/* ==================================================================
   END FOOTER PAGE
   ================================================================== */

/* ==================================================================
   CONTACT TEMPLATE PAGE
   ================================================================== */

.mpf-contact-grid{
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.mpf-fullwidth {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 0;
}

/* CF7 wrappers */
.mpf-contact-grid .wpcf7-form-control-wrap{ display:block; width:100%; }

.mpf-contact-grid input[type="text"],
.mpf-contact-grid input[type="email"],
.mpf-contact-grid input[type="tel"],
.mpf-contact-grid select,
.mpf-contact-grid textarea{
  width: 100%;
  padding: 14px 18px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background: #f7f7f7;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}

/* Desktop layout mockup */
@media (min-width: 992px){
  .mpf-contact-grid{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "name    industry"
      "company product"
      "email   message"
      "phone   message"
      ".       submit";
    align-items: stretch;
  }

  .mpf-name{ grid-area: name; }
  .mpf-industry{ grid-area: industry; }
  .mpf-company{ grid-area: company; }
  .mpf-product{ grid-area: product; }
  .mpf-email{ grid-area: email; }
  .mpf-phone{ grid-area: phone; }
  .mpf-message{ grid-area: message; }
  .mpf-submit{ grid-area: submit; justify-self: end; }

  .mpf-message textarea{
    min-height: 100px;   /* ajusta al alto que quieras */
    height: 100%;
    resize: none;        /* o déjalo en vertical si prefieres */
  }
}

/* Mobile: todo en columna */
@media (max-width: 991px){
  .mpf-message textarea{ min-height: 160px; resize: vertical; }
}

.mpf-contact-grid input[type="submit"]{
  background: #002f9e;
  color: #fff;
  border: none;
  padding: 14px 60px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border-radius: 0;
}
.mpf-contact-grid input[type="submit"]:hover{
  background: #001f6b;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.wpcf7-spinner{
  display: block;
}


/* ==================================================================
   END CONTACT TEMPLATE PAGE
   ================================================================== */



/* ==================================================================
  BLOG TEMPLATE PAGE
  ================================================================== */

body.blog .breadcrumb-wrap .e-con-full{
  background-image: url("https://imporfil.com/wp-content/uploads/2025/12/interfil-blog.webp") !important;
  background-size: cover;
  background-position: center;
}

body.blog .breadcrumb-wrap .e-con-full::before{
  display: none;
}

/* .blog .post-content .entry-header .entry-title{
  background-image: linear-gradient(to right, var(--naranja) 0%, var(--naranja) 100%);
} */

@media screen and (max-width: 764px){
  .post-content{
    padding: 26px 15px 35px;
  }
}

.blog .post-content .entry-header .entry-title a{
  color: var(--azul);
  font-family: var(--primary-font);
  background-image: linear-gradient(to right, var(--naranja) 0%, var(--naranja) 100%);
}

.widget-area .widget_search .wp-block-search .wp-block-search__label{
  color: var(--azul);
  text-transform: none;
}

.widget.widget_recent_entries .post-title a{
  color: var(--gris-texto);
} 

.widget-area a:not(.button){
  color: var(--gris-texto);
}

.blog .post-content .entry-excerpt p{
  color: var(--gris-texto);
}

.blog .post-content .more-link{
  color: var(--naranja);
}

.blog  .more-link-wrap a.more-link:before, 
.blog  .more-link-wrap a.more-link:after{
  background-color: var(--naranja);
}

.blog article.article-default{
  background-color: var(--background-gray);
}


/* ==================================================================
   END BLOG TEMPLATE PAGE
   ================================================================== */


/* ==================================================================
  BLOG SINGLE TEMPLATE PAGE
  ================================================================== */

body.single-post .breadcrumb-wrap .e-con-full{
  background-image: url("https://imporfil.com/wp-content/uploads/2025/12/interfil-blog.webp") !important;
  background-size: cover;
  background-position: center;
  min-height: 300px;
}

body.single-post .breadcrumb-wrap .e-con-full::before{
  display: none;
}

.single-post .single-content .entry-title{
  color: var(--azul);
}

.single-post p{
  color: var(--gris-texto);
}

.single-post footer p{
  color: #fff;
}

.widget .wp-block-group__inner-container > h2, 
.widget .widget-title, 
.widget .widgettitle{
  color: var(--azul);
}

.wp-block-categories-list li a{
  color: var(--gris-texto)!important;
}

.wp-block-categories-list li a:hover{
  color: var(--naranja)!important;
}

nav.post-navigation .nav-previous .title, nav.post-navigation .nav-next .title{
  color: var(--azul);
}

/* ==================================================================
   END BLOG SINGLE TEMPLATE PAGE
   ================================================================== */


/* ==================================================================
  CONTACT TEMPLATE PART PAGE
  ================================================================== */


body.page-id-124 .breadcrumb-wrap .e-con-full{
  background-image: url("https://imporfil.com/wp-content/uploads/2026/02/contacto-imporfil.jpg") !important;
  background-size: cover;
  background-position: center;
}

body.page-id-124 .breadcrumb-wrap .e-con-full::before{
  display: none;
}

.imporfil-contact {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
}

.imporfil-contact__card {
  border-radius: 8px 8px 0 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.04);
  margin-top: 50px;
  border: 1px solid #000;
}

.imporfil-contact__card .flex-card{
  display: flex;
  gap: 25px;
  padding: 32px 40px 0;
}

@media screen and (max-width: 764px){
  .imporfil-contact__card .flex-card{
    flex-direction: column;
  }
}

.imporfil-contact__card-header{
  flex: 0 0 30%;
}

.imporfil-contact__info {
  flex: 0 0 70%;
  display: flex;
  gap: 25px;
  margin-top: 24px;
}

@media screen and (max-width: 764px){
  .imporfil-contact__info{
    margin-top: 0;
    flex-direction: column;
  }
}

.imporfil-contact__info-item {
  flex: 1;
}

.imporfil-contact__info-item.double{
  flex: 2;
}

.imporfil-contact__eyebrow{
  color: var(--naranja);
  font-family: var(--primary-font);
  font-weight: 300;
}

.imporfil-contact__title{
  font-family: var(--primary-font);
  color: var(--azul);
  max-width: 350px;
  font-weight: 600;
}

@media screen and (max-width: 764px){
  .imporfil-contact__title{
    font-size: 25px;
  }
}

.imporfil-contact__info-label{
  font-size: 16px;
  color: var(--azul);
  font-family: var(--primary-font);
  font-weight: 600;
}

.imporfil-contact__info-label i{
  color: var(--naranja);
  margin-right: 8px;
}

.imporfil-contact__info-value{
  color: var(--gris-texto);
  font-family: var(--primary-font);
  margin-bottom: 0;
}

.imporfil-contact__info-value a{
  color: var(--gris-texto);
  font-weight: 300;
  font-family: var(--primary-font);
}

.imporfil-contact__info-value a:hover{
  color: var(--naranja);
}

.imporfil-contact__branches{
  display: grid;
  gap: 10px;
}

.imporfil-contact__branch{
  line-height: 1.35;
  margin-bottom: 10px;
}

.imporfil-contact__branch strong{
  display:block;
  font-size: 13px;
  font-weight: 600;
  color: var(--azul);
  margin-bottom: 2px;
}

.imporfil-contact__branch a{
  display:inline-block;
  margin-right: 10px;
}

.imporfil-contact__card-banner {
  margin-top: 24px;
  padding: 16px 40px;
  background: #001a70; 
  color: #fff;
  background: url('https://imporfil.com/wp-content/uploads/2026/02/slider-3-imporfil.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 200px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.imporfil-contact__card-banner h3{
  color: #fff;
  font-family: var(--primary-font);
  font-size: 35px;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 0;
}

.imporfil-contact__card-banner p{
  color: #fff;
  font-family: var(--primary-font);
  font-weight: 300;
  margin-bottom: 0;
}

.imporfil-contact__map-wrapper {
  padding: 40px;
  margin-top: 0px;
  margin-bottom: 50px;
  border: 1px solid #000;
  border-radius: 15px;
}

@media screen and (max-width: 764px){
  .imporfil-contact__map-wrapper{
    padding: 40px 15px;
  }
}

.imporfil-contact__map-title{
  color: var(--azul);
  font-weight: 600;
  text-align: right;
  margin-bottom: 0;

}

.imporfil-contact__map {
  margin-top: 24px;
}

.imporfil-contact__map svg{
  max-width: 900px;
  margin: 0 auto;
  display: table;
}

.imporfil-contact__svg {
  width: 100%;
  height: auto;
}

.imporfil-contact__map ellipse[id],
.imporfil-contact__map circle[id] { cursor: pointer; }

.imporfil-contact__map ellipse[id]:hover,
.imporfil-contact__map circle[id]:hover { opacity: .85; fill: var(--naranja);}

.imporfil-map-point--active { stroke: var(--naranja); stroke-width: 1; fill: var(--naranja)!important;}

.imporfil-map-tooltip{
  position: fixed;
  z-index: 99999;
  min-width: 260px;
  max-width: 500px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
  padding: 14px 14px;
  font-size: 14px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none; /* preview no clickeable */
  transition: opacity .12s ease, transform .12s ease;
}

.imporfil-map-tooltip.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.imporfil-map-tooltip.is-pinned{
  pointer-events: auto;
}

.imporfil-map-tooltip .ttl{
  font-weight: 800;
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--azul);
}

.imporfil-map-tooltip .row{
  margin: 6px 0;
  color: var(--gris-texto);
}

.imporfil-map-tooltip .branch{
  margin-bottom: 10px;
}

.imporfil-map-tooltip a{
  color: inherit;
  text-decoration: underline;
}

.imporfil-map-tooltip .close{
  position:absolute;
  top:8px;
  right:10px;
  border:0;
  background:transparent;
  font-size:18px;
  line-height:1;
  cursor:pointer;
  color:#111;
  opacity:.6;
}
.imporfil-map-tooltip .close:hover{opacity:1;}


.imporfil-contact__form-wrapper {
  padding: 40px 40px 60px;
}

@media screen and (max-width: 764px) {
  .imporfil-contact__form-wrapper{
    padding: 40px 0;
  }
}

.imporfil-contact__form-eyebrow{
  font-family: var(--primary-font);
  color: var(--naranja);
  font-size: 18px;
  text-align: center;
  font-size: 16px;
  font-weight: 300;
}

.imporfil-contact__form-title{
  color: var(--azul);
  font-family: var(--primary-font);
  font-weight: 600;
  text-align: center;
}

@media screen and (max-width: 764px){
  .imporfil-contact__form-title{
    font-size: 30px;
  }
}

.imporfil-contact__form-text{
  text-align: center;
  color: var(--gris-texto);
}

@media (max-width: 768px){
  .imporfil-contact__map{
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .imporfil-contact__map svg{
    width: 900px; 
    max-width: none;
  }
  #imporfil-map-tooltip.is-visible{
    position: fixed;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    top: auto !important;
    width: auto !important;
    max-width: none !important;
    z-index: 9999;
    overflow: auto;
    max-height: 45vh;
  }
}



/* .imporfil-contact__form .wpcf7-form {

} */

/* ==================================================================
  END CONTACT TEMPLATE PART PAGE
  ================================================================== */


/* ==================================================================
  COTIZAR TEMPLATE PART PAGE
  ================================================================== */


.page-id-7801 ,.entry-title{
  color: var(--azul);
  font-family: var(--primary-font);
}

.quote-success-msg {
  background: #e6f7ee;
  border: 1px solid #22c55e;
  color: var(--azul);
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  font-size: 15px;
}

/* ==================================================================
  END COTIZAR TEMPLATE PART PAGE
  ================================================================== */


/* ==============================
   Social Desktop
============================== */

/* Stack fijo a media altura */
.floating-stack{
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  pointer-events: none;
}

.floating-stack > *{
  pointer-events: auto;
}


.floating-item{
  width: fit-content; 
}

/* ===== Chevron badge ===== */
.chevron-badge{
  display:flex;
  align-items:center;
  gap:14px;
  background:#fff;
  border-radius:10px 0 0 10px;
  text-decoration:none;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
  padding:10px 12px;

  width: 300px;               
  transform: translateX(230px);
  transition: transform .45s ease;
  overflow:hidden;
}
.chevron-badge:hover{ transform: translateX(0); }

.chevron-badge .badge-logo{
  width:44px; height:44px; object-fit:contain;
}
.chevron-badge .badge-text{
  color:var(--azul);
  font-weight:700;
  font-size:16px;
  white-space:nowrap;
}

.social-desktop-2 {
  position: relative;
  top: auto;
  transform: none;
}

@media (max-width: 764px) {
  .social-desktop-2 {
    display: none;
  }
}

.social-desktop-2 a {
  display: flex;
  align-items: center;
  width: auto;
  height: auto;
  position: relative;
  margin: 10px 0;
  color: #fff; 
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  transform: translateX(80px); 
  transition: 0.5s ease-in-out;
  text-decoration: none;
}

.social-desktop-2 a:hover {
  transform: translateX(0);
}

.social-desktop-2 a:nth-child(odd) {
  border: 1px solid var(--azul);
  background-color: var(--azul);
}

.social-desktop-2 a:nth-child(even) {
  border: 1px solid var(--naranja);
  background-color: var(--naranja);
}

.social-desktop-2 a i {
  padding: 5px 10px;
  font-size: 23px;
  border-right: 1px solid #fff;
  width: 46px;
  text-align: center;
}

.social-desktop-2 a span {
  color: #fff;
  padding: 0 5px;
}

/* ==============================
   Social Mobile
============================== */

.social-mobile {
  display: none;
}

@media (max-width: 764px) {
  .social-mobile {
    display: block;
    position: fixed;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 1.5rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 0.5rem;
    z-index: 99;
    box-shadow:
      inset 8px 8px 16px rgba(0, 0, 0, 0.2),
      inset -8px -8px 16px rgba(255, 255, 255, 0.1);
  }

  .social-mobile .show-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    /* height: 3rem; */
    margin: 0 auto;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    color: var(--azul);
    font-size: 18px;
    font-weight: 800;
  }

  .social-mobile .show-socials i {
    color: #fff;
    font-size: 14px;
    transition: transform 0.3s ease-in-out;
  }

  .social-mobile .show-socials:hover {
    transform: translateY(-3px);
  }

  .social-mobile .show-socials.active + .box-socials {
    display: flex;
    max-height: 100px;
    height: 75px;
  }

  .social-mobile .box-socials {
    display: flex;
    margin-top: 0;
    gap: 1rem;
    justify-content: center;
    transition: all 0.5s ease-in-out;
    height: 0;
  }

  .social-mobile .box-socials a {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--azul);
    text-decoration: none;
    background-color: #fff;
    border-radius: 50%;
    box-shadow:
      8px 8px 16px rgba(0, 0, 0, 0.2),
      -8px -8px 16px rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease-in-out;
  }

  .social-mobile .box-socials a:hover {
    transform: translateY(-3px);
  }
}


/* Social top bar */
.top-socials{
  display:flex;
  align-items:center;
  gap:10px;
}

.top-socials a{
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  text-decoration:none;
  color:#fff;
  background: rgba(255,255,255,.12);
  transition: .25s ease;
}

.header-top-interior .top-socials a {
  background: #f5f5f5;
  color: var(--azul);
}

.top-socials a:hover{
  background: rgba(255,255,255,.22);
  transform: translateY(-2px);
}

.top-socials i{
  font-size:16px;
  line-height:1;
}

/* Estilos para el formulario del boletin de Imporfil */
.boletin-en-linea {
    display: flex !important;
    width: 100%;
    max-width: 500px;
}
.boletin-en-linea .wpcf7-form-control-wrap {
    flex: 1; 
}
.boletin-en-linea input[type="email"] {
    width: 100% !important;
    border: none !important;
    padding: 0px 20px !important;
    border-radius: 5px 0 0 5px !important;
    height: 52px !important;
    font-size: 15px !important;
    margin: 0 !important;
    background-color: #ffffff !important;
    color: #333333 !important;
}
.boletin-en-linea input[type="submit"] {
    background-color: #ff6c00 !important; 
    color: #ffffff !important;
    border: none !important;
    padding: 0 30px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border-radius: 0 5px 5px 0 !important;
    height: 52px !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}
.boletin-en-linea input[type="submit"]:hover {
    background-color: #e56000 !important; 
}

/* Cambiar icono de carrito por checklist (Solo a la derecha) */
ul.products li.product .button::after,
.single-product div.product .single_add_to_cart_button::after {
    content: "\2713" !important; 
    font-family: sans-serif !important;
    font-size: 16px !important;
}
/* Limpiar cualquier icono extra a la izquierda */
ul.products li.product .button::before,
.single-product div.product .single_add_to_cart_button::before {
    content: none !important;
}

/* Tabla de Ficha técnica en producto */
.imporfil-ficha {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 50px;
    row-gap: 0;
    margin-top: 25px;
}

.imporfil-ficha__item {
    display: grid !important;
    grid-template-columns: 155px minmax(0, 1fr) !important;
    column-gap: 18px;
    align-items: start;
    padding: 9px 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
}

.imporfil-ficha__label {
    font-weight: 700;
    margin: 0 !important;
}

.imporfil-ficha__valor {
    min-width: 0;
    margin: 0 !important;
}

@media (max-width: 767px) {
    .imporfil-ficha {
        grid-template-columns: 1fr !important;
        row-gap: 0;
    }

    .imporfil-ficha__item {
        grid-template-columns: 145px minmax(0, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .imporfil-ficha__item {
        grid-template-columns: 1fr !important;
        gap: 3px;
        padding: 8px 0 !important;
    }
}

/*  */

/* =========================================
   PRODUCTOS - IGUALAR COLUMNAS E IMÁGENES
   ========================================= */

/* Desktop / tablet grande */
@media (min-width: 769px) {

    /* Obliga a que las 4 columnas tengan exactamente el mismo ancho */
    ul.karpart-products.products.columns-4:not(.products-list) {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    /* Evita que el contenido ensanche una columna */
    ul.karpart-products.products.columns-4:not(.products-list) > li.product {
        min-width: 0 !important;
        width: 100% !important;
    }
}

.entry-meta .post-author{
	display: none;
}

/* Css costos */
.cart-subtotal,
.order-total,
.woocommerce-mini-cart__total.total{
	display: none;
}

.cart_totals h2 {
	display: none;
}