 .product-flags .product-flag.new {
    color: var(--new-badge-color);
    background: #0000ffa1 !IMPORTANT;
}

#main .page-header > h1 {

    display: none;
}

.extra-blogs {
    padding-top: 10%!important;
}

/* =========================
   MEGAMENU PROFESIONAL AVENCAR
   ========================= */

/* ===== MEGAMENU ESTILO PROFESIONAL COMPACTO ===== */

/* ===== MEGAMENU AVENCAR PROFESIONAL ===== */

.av-mega-pro {
  width: 100%;
  background: #fff;
  border: 0;
  box-shadow: none;
  overflow: hidden;
  font-family: var(--font-family-base);
}

.av-mega-pro * {
  box-sizing: border-box;
}

.av-mega-main {
  width: 100%;
}

.av-mega-grid {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 0.9fr 430px;
  min-height: 240px;
  align-items: stretch;
}

/* COLUMNAS DE TEXTO */
.av-mega-block {
  padding: 28px 22px 20px;
  border-right: 1px solid #e2e2e2;
  background: #fff;
}

.av-mega-block h4 {
  margin: 0 0 14px;
  font-size: 18px !important;
  line-height: 20px!important;
  font-weight: 700;
  color: #000;
  font-family: var(--font-family-base);
  letter-spacing: 0;
  text-transform: none;
}

.av-mega-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.av-mega-block li {
  margin: 0 0 6px;
  padding: 0;
}

.av-mega-block li:last-child {
  margin-bottom: 0;
}

.av-mega-block li a {
  display: inline-block;
  font-size: 16px!important;
  line-height: 20px!important;
  color: #666;
  font-weight: 400;
  text-decoration: none;
  font-family: var(--font-family-base);
  transition: all 0.2s ease;
}

.av-mega-block li a:hover {
  color: #e11d2e;
  padding-left: 4px;
}

/* BANNER */
.av-mega-banner-wrap {
  position: relative;
  min-height: 240px;
  background: #ddd;
}

.av-mega-banner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  text-decoration: none;
  overflow: hidden;
}

.av-mega-banner img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center;
}

.av-mega-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.10) 45%,
    rgba(0, 0, 0, 0.30) 100%
  );
  z-index: 1;
}

.av-mega-banner-content {
  position: absolute;
  left: 28px;
  bottom: 26px;
  right: 24px;
  z-index: 2;
  color: #fff;
}

.av-mega-banner-content strong {
  display: block;
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
}

.av-mega-banner-content em {
  display: block;
  margin: 0 0 16px;
  font-style: normal;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.av-mega-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  padding: 12px 20px;
  background: #ff2a2a;
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.av-mega-banner:hover .av-mega-btn {
  background: #e11d2e;
  transform: translateY(-1px);
}

/* RESPONSIVE */
@media (max-width: 1300px) {
  .av-mega-grid {
    grid-template-columns: 1fr 1fr 1fr 360px;
  }
}

@media (max-width: 1100px) {
  .av-mega-grid {
    grid-template-columns: 1fr 1fr;
  }

  .av-mega-banner-wrap {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .av-mega-grid {
    grid-template-columns: 1fr;
  }

  .av-mega-block {
    padding: 22px 20px;
    border-right: 0;
    border-bottom: 1px solid #e2e2e2;
  }

  .av-mega-banner-wrap,
  .av-mega-banner,
  .av-mega-banner img {
    min-height: 220px;
  }

  .av-mega-banner-content strong {
    font-size: 20px;
  }
}

#layout-error{
   display:none;
  }

/* =====PAGINA DE CONTACTO ===== */
.av-contact-page {
  padding: 40px 0 0;
  background: #f7f7f7;
}

.av-contact-top {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto 50px;
}

.av-contact-form-box,
.av-contact-info-box {
  background: #efefef;
  padding: 35px;
}

.av-contact-form-box {
  flex: 0 0 58%;
}

.av-contact-info-box {
  flex: 0 0 32%;
}

.av-contact-form-box h1 {
  font-size: 46px;
  line-height: 1.1;
  font-weight: 800;
  color: #0c2340;
  margin-bottom: 25px;
}

.av-contact-info-box h2 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  color: #0c2340;
  margin: 20px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0c2340;
}

.av-contact-form-box p,
.av-contact-info-box p,
.av-contact-data li {
  font-size: 16px;
  line-height: 1.8;
  color: #5d6d7e;
  margin-bottom: 18px;
}

.av-contact-info-box img {
  width: 100%;
  height: auto;
  display: block;
}

.av-contact-data {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
}

.av-contact-data li {
  margin-bottom: 20px;
}

.av-contact-data a {
  color: #0c4a8a;
  text-decoration: none;
}

.av-contact-data a:hover {
  text-decoration: underline;
}

/* Formulario de PrestaShop */
.av-contact-form .form-control {
  border: 0;
  border-bottom: 1px solid #cfcfcf;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.av-contact-form label {
  font-size: 14px;
  color: #7b8794;
  font-weight: 400;
}

.av-contact-form textarea.form-control {
  min-height: 120px;
}

.av-contact-form .btn-primary {
  background: #0c4a8a;
  border-color: #0c4a8a;
  border-radius: 0;
  min-width: 180px;
  padding: 12px 24px;
  font-weight: 700;
}

.av-contact-form .btn-primary:hover {
  background: #093968;
  border-color: #093968;
}

.av-contact-map iframe {
  display: block;
  filter: grayscale(100%);
}

@media (max-width: 991px) {
  .av-contact-top {
    flex-direction: column;
    gap: 25px;
    padding: 0 15px;
  }

  .av-contact-form-box,
  .av-contact-info-box {
    flex: 1 1 100%;
    width: 100%;
  }

  .av-contact-form-box h1 {
    font-size: 34px;
  }

  .av-contact-info-box h2 {
    font-size: 28px;
  }
}