/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/

/* Estilos personalizados de Comercial Mendoza */

body,
.site-content {
    background: #F4F5F6;
}

/* =========================
   NOSOTROS - COMERCIAL MENDOZA
   ========================= */

.cm-about {
  background: #f4f5f6;
  color: #1f2328;
}

.cm-about-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* HERO */
.cm-about-hero {
  background: #1f2328;
  color: #fff;
  padding: 54px 0 50px;
}

.cm-about-hero-inner {
  max-width: 900px;
}

.cm-about-accent {
  display: block;
  width: 54px;
  height: 4px;
  background: #f4c430;
  margin-bottom: 24px;
}

.cm-about-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  color: #fff;
}

.cm-about-hero p {
  margin: 24px 0 0;
  max-width: 680px;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255,255,255,.8);
}

/* HISTORIA */
.cm-about-history {
  padding: 50px 0 0;
  background: #fff;
}

.cm-about-history-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 72px;
  align-items: center;
}

.cm-about-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a07c00;
}

.cm-about-history h2,
.cm-about-section-heading h2 {
  margin: 0;
  color: #1f2328;
}

.cm-about-history h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  max-width: 650px;
}

.cm-about-history p {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: #4b5056;
}

.cm-about-history-visual {
  min-height: 360px;
}

.cm-about-image-placeholder {
  height: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background:
    linear-gradient(145deg, #2b3137, #1f2328);
  color: rgba(255,255,255,.65);
  font-size: 15px;
}

/* SERVICIOS */
.cm-about-services {
  margin-top: -80px;
  padding: 44px 0;
  background: #f4f5f6;
}

.cm-about-section-heading {
  margin-bottom: 44px;
}

.cm-about-section-heading h2 {
  font-size: clamp(34px, 4vw, 46px);
}

.cm-about-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cm-about-service {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid rgba(31,35,40,.08);
  box-shadow: 0 8px 28px rgba(31,35,40,.05);
}

.cm-about-service-number {
  display: block;
  margin-bottom: 26px;
  font-size: 14px;
  font-weight: 700;
  color: #b58b00;
}

.cm-about-service h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  color: #1f2328;
}

.cm-about-service p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: #4b5056;
}

/* CIFRAS */
.cm-about-stats {
  padding: 44px 0;
  background: #1f2328;
  color: #fff;
}

.cm-about-stats .cm-about-section-heading h2 {
  color: #fff;
}

.cm-about-section-heading-center {
  text-align: center;
}

.cm-about-section-heading-center .cm-about-accent {
  margin-left: auto;
  margin-right: auto;
}

.cm-about-section-heading-center p {
  max-width: 720px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}

.cm-about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.cm-about-stat {
  text-align: center;
  padding: 24px 16px;
}

.cm-about-stat strong {
  display: block;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  color: #f4c430;
}

.cm-about-stat span {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255,255,255,.82);
}

/* MARCAS */
.cm-about-brands {
  padding: 80px 0;
  background: #fff;
}

.cm-about-brand-names {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.cm-about-brand-names span {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 10px;
  background: #f4f5f6;
  font-weight: 700;
  color: #2c3136;
}

/* TABLET */
@media (max-width: 1023px) {
  .cm-about-history-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cm-about-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cm-about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cm-about-brand-names {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MOBILE */
@media (max-width: 767px) {

  .cm-about-inner {
    width: min(100% - 32px, 1200px);
  }

  .cm-about-hero {
    padding: 50px 0 46px;
  }

  .cm-about-history {
    padding: 40px 0 0;
  }

  .cm-about-services {
    padding: 28px 0 44px;
  }

  .cm-about-stats {
    padding: 36px 0 44px;
  }

  .cm-about-brands {
    padding: 48px 0;
  }

  .cm-about-services-grid,
  .cm-about-stats-grid {
    grid-template-columns: 1fr;
  }

  .cm-about-brand-names {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cm-about-history-image {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
}

@media (max-width: 767px) {
  .cm-about-history-image {
    height: 320px;
  }
}

.cm-about-service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 10px;
  background: #f4c430;
  font-size: 25px;
  line-height: 1;
}

/* =========================
   NOSOTROS - CARRUSEL MARCAS
   ========================= */

.cm-about-brands-carousel {
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
  position: relative;
}

.cm-about-brands-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: cmAboutBrandsScroll 32s linear infinite;
}

.cm-about-brand {
  width: 190px;
  height: 120px;
  flex: 0 0 190px;
  margin-right: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;
  background: #fff;
  border: 1px solid rgba(31, 35, 40, 0.08);
  border-radius: 10px;
}

.cm-about-brand img {
  display: block;
  max-width: 100%;
  max-height: 75px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cm-about-brands-carousel:hover .cm-about-brands-track {
  animation-play-state: paused;
}

@keyframes cmAboutBrandsScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* TABLET */
@media (max-width: 1023px) {
  .cm-about-brand {
    width: 170px;
    flex-basis: 170px;
    height: 110px;
  }
}

/* MÓVIL */
@media (max-width: 767px) {
  .cm-about-brand {
    width: 145px;
    flex-basis: 145px;
    height: 95px;
    margin-right: 18px;
    padding: 15px;
  }

  .cm-about-brand img {
    max-height: 60px;
  }

  .cm-about-brands-track {
    animation-duration: 26s;
  }
}


/* =========================
   CONTACTO - COMERCIAL MENDOZA
   ========================= */

.cm-contact {
  background: #f4f5f6;
  color: #1f2328;
}

.cm-contact *,
.cm-contact *::before,
.cm-contact *::after {
  box-sizing: border-box;
}

.cm-contact-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* =========================
   HERO
   ========================= */

.cm-contact-hero {
  padding: 50px 0 40px;
  background: #1f2328;
  color: #fff;
}

.cm-contact-hero-inner {
  max-width: 900px;
}

.cm-contact-accent {
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 24px;
  background: #f4c430;
}

.cm-contact-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
}

.cm-contact-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 19px;
  line-height: 1.6;
}


/* =========================
   CABECERA DE SECCIÓN
   ========================= */

.cm-contact-section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.cm-contact-section-heading h2 {
  margin: 0;
  color: #1f2328;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.15;
}

.cm-contact-section-heading p {
  margin: 18px 0 0;
  color: #4b5056;
  font-size: 17px;
  line-height: 1.7;
}


/* =========================
   DATOS DE CONTACTO
   ========================= */

.cm-contact-info {
  padding: 40px 0 0;
  background: #f4f5f6;
}

.cm-contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cm-contact-card {
  min-width: 0;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(31,35,40,.08);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(31,35,40,.05);
}

.cm-contact-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: #f4c430;
  border-radius: 10px;
  color: #1f2328;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.cm-contact-card h3 {
  margin: 0 0 14px;
  color: #1f2328;
  font-size: 22px;
  line-height: 1.25;
}

.cm-contact-card p {
  margin: 0 0 8px;
  color: #4b5056;
  font-size: 15px;
  line-height: 1.65;
}

.cm-contact-card p:last-child {
  margin-bottom: 0;
}

.cm-contact-card a {
  display: block;
  margin: 0 0 8px;
  color: #4b5056;
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
  white-space: nowrap;
}

.cm-contact-card a:last-child {
  margin-bottom: 0;
}

.cm-contact-card a:hover {
  color: #a07c00;
}


/* =========================
   MAPA + FORMULARIO
   ========================= */

.cm-contact-main {
  padding: 54px 0 0;
  background: #fff;
}

.cm-contact-main-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: start;
}


/* =========================
   MAPA
   ========================= */

.cm-contact-map {
  height: 420px;
  min-height: 0;
  overflow: hidden;
  background: #e8e9ea;
  border-radius: 14px;
}

.cm-contact-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  min-height: 0;
  border: 0;
}


/* =========================
   CAJA DEL FORMULARIO
   ========================= */

.cm-contact-form-box {
  padding: 12px 24px;
  background: #f4f5f6;
  border: 1px solid rgba(31,35,40,.08);
  border-radius: 14px;
}

.cm-contact-eyebrow {
  display: inline-block;
  margin-bottom: 5px;
  color: #a07c00;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cm-contact-form-box h2 {
  margin: 4;
  color: #1f2328;
  font-size: 31px;
  line-height: 1.05;
}

.cm-contact-form-box > p {
  margin: 7px 0 7;
  color: #4b5056;
  font-size: 14px;
  line-height: 1.4;
}

.cm-contact-form {
  margin-top: 4px;
}


/* =========================
   CONTACT FORM 7
   ========================= */

.cm-contact .wpcf7 {
  margin: 0;
}

.cm-contact .wpcf7-form {
  margin: 0;
}

.cm-contact .wpcf7-form label {
  display: block;
  margin: 0 0 4px;
  color: #1f2328;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.cm-contact .wpcf7-form p {
  margin: 0 0 8px;
}

.cm-contact .wpcf7-form p:last-of-type {
  margin-bottom: 0;
}

.cm-contact .wpcf7-form-control-wrap {
  display: block;
  margin-top: 2px;
}

.cm-contact .wpcf7 input[type="text"],
.cm-contact .wpcf7 input[type="email"],
.cm-contact .wpcf7 input[type="tel"],
.cm-contact .wpcf7 textarea {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 8px 11px;
  background: #fff;
  border: 1px solid #d7dadd;
  border-radius: 6px;
  color: #1f2328;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  outline: none;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cm-contact .wpcf7 input[type="text"],
.cm-contact .wpcf7 input[type="email"],
.cm-contact .wpcf7 input[type="tel"] {
  height: 38px;
  min-height: 38px;
}

.cm-contact .wpcf7 textarea {
  height: 72px;
  min-height: 72px;
  resize: vertical;
}

.cm-contact .wpcf7 input[type="text"]:focus,
.cm-contact .wpcf7 input[type="email"]:focus,
.cm-contact .wpcf7 input[type="tel"]:focus,
.cm-contact .wpcf7 textarea:focus {
  border-color: #b58b00;
  box-shadow: 0 0 0 3px rgba(244, 196, 48, .18);
}


/* =========================
   ACEPTACIÓN DE PRIVACIDAD
   ========================= */

.cm-contact .wpcf7-acceptance {
  display: block;
  margin: 0 0 8px;
}

.cm-contact .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0;
  color: #4b5056;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

.cm-contact .wpcf7-acceptance input[type="checkbox"] {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin: 1px 0 0;
  accent-color: #f4c430;
}


/* =========================
   BOTÓN
   ========================= */

.cm-contact .wpcf7 input[type="submit"] {
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0 22px;
  background: #f4c430;
  border: 0;
  border-radius: 6px;
  color: #1f2328;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 40px;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.cm-contact .wpcf7 input[type="submit"]:hover {
  background: #e5b823;
  transform: translateY(-1px);
}

.cm-contact .wpcf7 input[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: .65;
  transform: none;
}


/* =========================
   ERRORES Y MENSAJES CF7
   ========================= */

.cm-contact .wpcf7-not-valid-tip {
  margin-top: 4px;
  color: #b42318;
  font-size: 12px;
  font-weight: 400;
}

.cm-contact .wpcf7 form .wpcf7-response-output {
  margin: 10px 0 0;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.35;
}

.cm-contact .wpcf7-spinner {
  margin: 0 0 0 8px;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 1023px) {

  .cm-contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cm-contact-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cm-contact-map,
  .cm-contact-map iframe {
    height: 400px;
    min-height: 0;
  }

  .cm-contact-form-box {
    padding: 24px 28px;
  }
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {

  .cm-contact-inner {
    width: min(100% - 32px, 1200px);
  }

  .cm-contact-hero {
    padding: 64px 0 58px;
  }

  .cm-contact-hero p {
    font-size: 17px;
  }

  .cm-contact-info,
  .cm-contact-main {
    padding: 56px 0;
  }

  .cm-contact-section-heading {
    margin-bottom: 32px;
  }

  .cm-contact-info-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cm-contact-card {
    padding: 24px;
  }

  .cm-contact-main-grid {
    gap: 28px;
  }

  .cm-contact-map,
  .cm-contact-map iframe {
    height: 320px;
    min-height: 0;
  }

  .cm-contact-form-box {
    padding: 22px 18px;
  }

  .cm-contact-form-box h2 {
    font-size: 28px;
  }

  .cm-contact .wpcf7 input[type="submit"] {
    width: 100%;
  }
}


/* =========================================================
   BUSCADOR V1 - COMERCIAL MENDOZA
   ========================================================= */

/* Fondo cuando se abre el buscador */
.gp-search-modal-overlay {
    background: rgba(17, 17, 17, 0.72) !important;
    backdrop-filter: blur(3px);
}

/* Contenedor del buscador */
.gp-search-modal .search-modal-form {
    width: min(720px, calc(100vw - 40px));
    margin: 0 auto;
}

/* Campo + botón */
.gp-search-modal .search-modal-fields {
    display: flex;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 10px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
    isolation: isolate;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gp-search-modal .search-modal-fields:focus-within {
    border-color: #f4c430;
    box-shadow:
        0 16px 45px rgba(0, 0, 0, 0.28),
        0 0 0 3px rgba(244, 196, 48, 0.15);
}

/* Input */
.gp-search-modal .search-field {
    flex: 1;
    height: 58px;
    min-width: 0;
    padding: 0 20px !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #1f2328 !important;
    font-family: inherit;
    font-size: 16px;
    box-shadow: none !important;
    outline: none !important;
}

.gp-search-modal .search-field::placeholder {
    color: #7a7f84;
    opacity: 1;
}

/* Botón de búsqueda */
.gp-search-modal .search-modal-fields button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    min-width: 62px;
    height: 58px;
    padding: 0 !important;
    background: #f4c430 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #1f2328 !important;
    cursor: pointer;
    margin: 0 !important;
box-shadow: none !important;
    transition: background 0.2s ease;
}

.gp-search-modal .search-modal-fields button:hover {
    background: #e5b823 !important;
}

/* Tablet y móvil */
@media (max-width: 767px) {

    .gp-search-modal .search-modal-form {
        width: calc(100vw - 32px);
    }

    .gp-search-modal .search-field {
        height: 52px;
        padding: 0 16px !important;
        font-size: 15px;
    }

    .gp-search-modal .search-modal-fields button {
        width: 54px;
        min-width: 54px;
        height: 52px;
    }
}

/* =========================================================
   HOME - BLOQUE COMERCIAL MENDOZA
   ========================================================= */

.cm-home-company {
    position: relative;
    width: 100%;
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.cm-home-company-slides,
.cm-home-company-slide,
.cm-home-company-overlay {
    position: absolute;
    inset: 0;
}

.cm-home-company-slides {
    z-index: -2;
}

.cm-home-company-slide {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1.2s ease, transform 6s ease;
}

.cm-home-company-slide--active {
    opacity: 1;
    transform: scale(1);
}

.cm-home-company-overlay {
    z-index: -1;
    background: rgba(17, 17, 17, 0.58);
}

.cm-home-company-content {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
    padding: 80px 0;
}

.cm-home-company-label {
    display: inline-block;
    margin-bottom: 14px;
    color: #f4c430;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.cm-home-company-content h2 {
    max-width: 760px;
    margin: 0 auto 18px;
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
}

.cm-home-company-content p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
}

.cm-home-company-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    background: #f4c430;
    color: #1f2328;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.cm-home-company-button:hover {
    background: #e5b823;
    color: #1f2328;
    transform: translateY(-2px);
}

/* Tablet */
@media (max-width: 1023px) {
    .cm-home-company {
        min-height: 430px;
    }

    .cm-home-company-content {
        width: calc(100% - 48px);
        padding: 65px 0;
    }

    .cm-home-company-content h2 {
        font-size: 36px;
    }
}

/* Móvil */
@media (max-width: 767px) {
    .cm-home-company {
        min-height: 400px;
    }

    .cm-home-company-content {
        width: calc(100% - 40px);
        padding: 55px 0;
    }

    .cm-home-company-content h2 {
        font-size: 30px;
    }

    .cm-home-company-content p {
        font-size: 16px;
    }
}

/* FOOTER - MENÚ EN 2 COLUMNAS */
.footer-widgets .widget_nav_menu ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 8px;
}

.footer-widgets .widget_nav_menu li {
    margin: 0;
}

/* FOOTER - LEGAL MÁS COMPACTO */
.footer-widgets .widget_text ul,
.footer-widgets .widget_block ul {
    max-width: 360px;
}

/* =========================================================
   NOTICIAS V1 - COMERCIAL MENDOZA
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.cm-news-hero {
    background: #1f2328;
    padding: 58px 40px;
    text-align: center;
}

.cm-news-hero__inner {
    max-width: 850px;
    margin: 0 auto;
}

.cm-news-hero__label,
.cm-news-heading > span {
    display: block;
    margin-bottom: 10px;
    color: #f4c430;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.cm-news-hero h1 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
}

.cm-news-hero p {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.6;
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.cm-news-content {
    background: #f4f5f6;
    padding: 48px 40px 58px;
}

.cm-news-content__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.cm-news-heading {
    margin-bottom: 30px;
}

.cm-news-heading h2 {
    margin: 0;
    color: #1f2328;
    font-size: 36px;
    font-weight: 700;
}


/* =========================================================
   GRID
   ========================================================= */

.cm-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}


/* =========================================================
   TARJETA
   ========================================================= */

.cm-news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(17, 17, 17, 0.07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.cm-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(17, 17, 17, 0.11);
}


/* IMAGEN */

.cm-news-card__image {
    display: block;
    height: 220px;
    overflow: hidden;
    background: #e7e8e9;
}

.cm-news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.cm-news-card:hover .cm-news-card__image img {
    transform: scale(1.035);
}

.cm-news-card__placeholder {
    width: 100%;
    height: 100%;
    background: #e7e8e9;
}


/* =========================================================
   CUERPO DE LA TARJETA
   ========================================================= */

.cm-news-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.cm-news-card__body time {
    margin-bottom: 10px;
    color: #7a7f84;
    font-size: 13px;
    font-weight: 600;
}

.cm-news-card__body h3 {
    margin: 0 0 14px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.cm-news-card__body h3 a {
    color: #1f2328;
    text-decoration: none;
}

.cm-news-card__body p {
    margin: 0 0 22px;
    color: #4b5056;
    font-size: 15px;
    line-height: 1.6;
}

.cm-news-card__link {
    margin-top: auto;
    color: #1f2328;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.cm-news-card__link:hover {
    color: #b68b00;
}


/* =========================================================
   CTA FINAL
   ========================================================= */

.cm-news-cta {
    background: #f4f5f6;
    padding: 34px 40px 48px;
}

.cm-news-cta__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 38px 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #1f2328;
    border-radius: 10px;
    text-align: center;
}

.cm-news-cta__content {
    margin-bottom: 20px;
}

.cm-news-cta h2 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.cm-news-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.5;
}


/* BOTONES CTA */

.cm-news-cta__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cm-news-cta__action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    min-width: 138px;
    min-height: 46px;
    padding: 0 18px;

    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.cm-news-cta__action:hover,
.cm-news-cta__action:focus {
    background: #1a4a9b;
    border-color: #1a4a9b;
    color: #ffffff;
}

.cm-news-cta__action--primary {
    min-width: 172px;
    background: #f4c430;
    border-color: #f4c430;
    color: #1f2328;
}

.cm-news-cta__action--primary:hover,
.cm-news-cta__action--primary:focus {
    background: #1a4a9b;
    border-color: #1a4a9b;
    color: #ffffff;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1023px) {

    .cm-news-hero {
        padding: 50px 24px;
    }

    .cm-news-hero h1 {
        font-size: 42px;
    }

    .cm-news-content {
        padding: 44px 24px 52px;
    }

    .cm-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .cm-news-cta {
        padding: 30px 24px 44px;
    }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .cm-news-hero {
        padding: 42px 20px;
    }

    .cm-news-hero h1 {
        font-size: 34px;
    }

    .cm-news-hero p {
        font-size: 16px;
    }

    .cm-news-content {
        padding: 40px 20px 46px;
    }

    .cm-news-heading {
        margin-bottom: 24px;
    }

    .cm-news-heading h2 {
        font-size: 30px;
    }

    .cm-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cm-news-card__image {
        height: 210px;
    }

    .cm-news-card__body {
        padding: 22px;
    }

    .cm-news-cta {
        padding: 26px 20px 38px;
    }

    .cm-news-cta__inner {
        padding: 30px 20px;
    }

    .cm-news-cta h2 {
        font-size: 26px;
    }

    .cm-news-cta__actions {
        width: 100%;
        flex-direction: column;
    }

    .cm-news-cta__action,
    .cm-news-cta__action--primary {
        width: 100%;
        min-width: 0;
    }
}

/* =========================================================
   NOTICIA INDIVIDUAL V1 - COMERCIAL MENDOZA
   ========================================================= */

.cm-single-news {
    background: #fff;
}

/* HERO */
.cm-single-news__hero {
    background: #1f2328;
    padding: 40px 40px 40px;
}

.cm-single-news__hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.cm-single-news__back {
    display: inline-block;
    margin-bottom: 35px;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.cm-single-news__back:hover {
    color: #f4c430;
}

.cm-single-news__label {
    display: block;
    margin-bottom: 12px;
    color: #f4c430;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.cm-single-news__hero h1 {
    max-width: 850px;
    margin: 0 0 18px;
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.12;
}

.cm-single-news__meta {
    color: rgba(255,255,255,.65);
    font-size: 14px;
}


/* ARTÍCULO */
.cm-single-news__article {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 75px;
}

.cm-single-news__featured {
    margin: 0 0 50px;
    overflow: hidden;
    border-radius: 10px;
    background: #f4f5f6;
}

.cm-single-news__featured img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: contain;
}

.cm-single-news__content {
    max-width: 760px;
    margin: 0 auto;
    color: #33383d;
    font-size: 17px;
    line-height: 1.75;
}

.cm-single-news__content p {
    margin: 0 0 24px;
}

.cm-single-news__content h2 {
    margin: 48px 0 20px;
    color: #1f2328;
    font-size: 32px;
}

.cm-single-news__content h3 {
    margin: 38px 0 16px;
    color: #1f2328;
    font-size: 25px;
}

.cm-single-news__content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.cm-single-news__content a {
    color: #8a6800;
    text-decoration: underline;
}


/* CTA */
.cm-single-news__cta {
    padding: 0 40px 70px;
}

.cm-single-news__cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 42px 48px;
    background: #1f2328;
    border-radius: 10px;
}

.cm-single-news__cta-inner span {
    display: block;
    margin-bottom: 8px;
    color: #f4c430;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.cm-single-news__cta h2 {
    max-width: 650px;
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
    line-height: 1.25;
}

.cm-single-news__cta p {
    margin: 0;
    color: rgba(255,255,255,.75);
}

.cm-single-news__cta a {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 25px;
    background: #f4c430;
    color: #1f2328;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
}


/* ANTERIOR / SIGUIENTE */
.cm-single-news__navigation {
    border-top: 1px solid #e4e5e6;
    background: #f4f5f6;
    padding: 38px 40px;
}

.cm-single-news__navigation-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.cm-single-news__navigation a {
    display: flex;
    flex-direction: column;
    color: #1f2328;
    text-decoration: none;
}

.cm-single-news__navigation span {
    margin-bottom: 6px;
    color: #777c81;
    font-size: 13px;
}

.cm-single-news__navigation strong {
    font-size: 15px;
    line-height: 1.4;
}

.cm-single-news__next {
    text-align: right;
}

/* =========================================================
   CTA NOTICIA INDIVIDUAL · ACCIONES
   ========================================================= */

.cm-single-news__cta-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Botón principal */
.cm-single-news__cta a.cm-single-news__cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    min-height: 48px;
    padding: 0 26px;

    background: #f4c430;
    color: #1f2328;

    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
}

.cm-single-news__cta a.cm-single-news__cta-primary:hover,
.cm-single-news__cta a.cm-single-news__cta-primary:focus {
    background: #1a4a9b;
    color: #ffffff;
}


/* WhatsApp | Llamar | Email */
.cm-single-news__cta-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-size: 14px;
    line-height: 1;
}

/* Sobrescribe el estilo general amarillo del CTA */
.cm-single-news__cta .cm-single-news__cta-secondary a {
    display: inline;
    min-width: 0;
    min-height: 0;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;

    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.cm-single-news__cta .cm-single-news__cta-secondary a:hover,
.cm-single-news__cta .cm-single-news__cta-secondary a:focus {
    background: transparent;
    color: #f4c430;
}

.cm-single-news__cta-secondary > span {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}


/* TABLET */
@media (max-width: 1023px) {

    .cm-single-news__hero {
        padding: 60px 30px;
    }

    .cm-single-news__hero h1 {
        font-size: 40px;
    }

    .cm-single-news__article {
        padding: 50px 30px 65px;
    }

    .cm-single-news__cta {
        padding: 0 30px 60px;
    }
}


/* MÓVIL */
@media (max-width: 767px) {

    .cm-single-news__hero {
        padding: 45px 20px 50px;
    }

    .cm-single-news__back {
        margin-bottom: 28px;
    }

    .cm-single-news__hero h1 {
        font-size: 32px;
    }

    .cm-single-news__article {
        padding: 35px 20px 50px;
    }

    .cm-single-news__featured {
        margin-bottom: 35px;
    }

    .cm-single-news__featured img {
        max-height: 360px;
    }

    .cm-single-news__content {
        font-size: 16px;
    }

    .cm-single-news__content h2 {
        font-size: 27px;
    }

    .cm-single-news__content h3 {
        font-size: 23px;
    }

    .cm-single-news__cta {
        padding: 0 20px 50px;
    }

    .cm-single-news__cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
    }

    .cm-single-news__cta h2 {
        font-size: 25px;
    }

    .cm-single-news__navigation {
        padding: 30px 20px;
    }

    .cm-single-news__navigation-inner {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cm-single-news__next {
        text-align: left;
    }
}

/* =========================================================
   HEADER - CLAIM BAJO EL LOGO
   ========================================================= */

.site-branding-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-branding-container .site-logo {
    margin: 0;
}

.site-branding-container .site-description {
    margin: 0px 0 0 40px;
    color: #a7abb0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

/* Móvil */
@media (max-width: 767px) {
    .site-branding-container .site-description {
        font-size: 10px;
        margin-top: 3px;
    }
}

/* =========================================================
   CATÁLOGO V1 — COMERCIAL MENDOZA
========================================================= */

.cm-catalog {
    background: #f4f5f6;
    color: #1f2328;
}

.cm-catalog-inner {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}

/* HERO */
.cm-catalog-hero {
    background: #1f2328;
    color: #fff;
    padding: 50px 0 40px;
}

.cm-catalog-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #f4c430;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.cm-catalog-hero h1 {
    max-width: 760px;
    margin: 0 0 16px;
    color: #fff;
    font-size: 48px;
    line-height: 1.1;
}

.cm-catalog-hero p {
    max-width: 680px;
    margin: 0;
    color: #d5d7da;
    font-size: 18px;
}

/* CONTENIDO */
.cm-catalog-main {
    padding: 20px 0 60px;
}

/* BUSCADOR */
.cm-catalog-tools {
    margin-bottom: 30px;
    padding: 26px;
    background: #fff;
    border: 1px solid #e3e5e7;
    border-radius: 8px;
}

.cm-catalog-search {
    display: flex;
    margin-bottom: 18px;
}

.cm-catalog-search input {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid #d9dcdf;
    border-radius: 5px 0 0 5px;
    background: #fff;
    font-size: 16px;
}

.cm-catalog-search input:focus {
    border-color: #1f2328;
    outline: none;
}

.cm-catalog-search button {
    min-width: 130px;
    padding: 0 24px;
    border: 0;
    border-radius: 0 5px 5px 0;
    background: #f4c430;
    color: #111;
    font-weight: 700;
    cursor: pointer;
}

.cm-catalog-search button:hover {
    background: #e6b923;
}

/* FILTROS */
.cm-catalog-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.cm-catalog-filters select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #d9dcdf;
    border-radius: 5px;
    background: #fff;
    color: #1f2328;
    font-size: 15px;
}

.cm-catalog-clear {
    padding: 12px 8px;
    color: #4b5056;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.cm-catalog-clear:hover {
    color: #111;
}

/* RESULTADOS */
.cm-catalog-count {
    margin: 0 0 22px;
    color: #6b7076;
    font-size: 14px;
    font-weight: 600;
}

/* GRID */
.cm-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* TARJETA */
.cm-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e5e7;
    border-radius: 8px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.cm-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.cm-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    padding: 24px;
    background: #fff;
    border-bottom: 1px solid #eceeef;
}

.cm-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cm-product-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.cm-product-brand {
    margin-bottom: 8px;
    color: #777c82;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.cm-product-card h2 {
    margin: 0 0 22px;
    font-size: 19px;
    line-height: 1.3;
}

.cm-product-card h2 a {
    color: #1f2328;
    text-decoration: none;
}

.cm-product-card h2 a:hover {
    color: #111;
}

.cm-product-link {
    margin-top: auto;
    color: #1f2328;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.cm-product-link:hover {
    color: #a77e00;
}

/* PAGINACIÓN */
.cm-catalog-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
    margin-top: 48px;
}

.cm-catalog-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d9dcdf;
    border-radius: 4px;
    background: #fff;
    color: #1f2328;
    font-weight: 600;
    text-decoration: none;
}

.cm-catalog-pagination .page-numbers.current,
.cm-catalog-pagination .page-numbers:hover {
    border-color: #f4c430;
    background: #f4c430;
    color: #111;
}

/* SIN RESULTADOS */
.cm-catalog-empty {
    padding: 60px 30px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
}

/* =========================================================
   CTA FINAL CATÁLOGO
   ========================================================= */

.cm-catalog-cta {
    margin-top: 42px;
}

.cm-catalog-cta__inner {
    padding: 38px 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #1f2328;
    border-radius: 10px;
    text-align: center;
}

.cm-catalog-cta__content {
    margin-bottom: 20px;
}

.cm-catalog-cta h2 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.cm-catalog-cta p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.5;
}


/* BOTONES */

.cm-catalog-cta__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cm-catalog-cta__action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    min-width: 138px;
    min-height: 46px;
    padding: 0 18px;

    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.cm-catalog-cta__action:hover,
.cm-catalog-cta__action:focus {
    background: #1a4a9b;
    border-color: #1a4a9b;
    color: #ffffff;
}

.cm-catalog-cta__action--primary {
    min-width: 172px;
    background: #f4c430;
    border-color: #f4c430;
    color: #1f2328;
}

.cm-catalog-cta__action--primary:hover,
.cm-catalog-cta__action--primary:focus {
    background: #1a4a9b;
    border-color: #1a4a9b;
    color: #ffffff;
}

/* TABLET */
@media (max-width: 1024px) {

    .cm-catalog-inner {
        width: min(100% - 48px, 1200px);
    }

    .cm-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cm-catalog-filters {
        grid-template-columns: repeat(3, 1fr);
    }

    .cm-catalog-clear {
        grid-column: 1 / -1;
        padding-left: 0;
    }
}

/* TABLET PEQUEÑA */
@media (max-width: 800px) {

    .cm-catalog-hero {
        padding: 58px 0;
    }

    .cm-catalog-hero h1 {
        font-size: 40px;
    }

    .cm-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MÓVIL */
@media (max-width: 600px) {

    .cm-catalog-inner {
        width: calc(100% - 32px);
    }

    .cm-catalog-hero {
        padding: 48px 0;
    }

    .cm-catalog-hero h1 {
        font-size: 34px;
    }

    .cm-catalog-hero p {
        font-size: 16px;
    }

    .cm-catalog-main {
        padding: 38px 0 65px;
    }

    .cm-catalog-tools {
        padding: 18px;
    }

    .cm-catalog-search {
        display: grid;
        gap: 10px;
    }

    .cm-catalog-search input,
    .cm-catalog-search button {
        width: 100%;
        min-height: 50px;
        border-radius: 5px;
    }

    .cm-catalog-filters {
        grid-template-columns: 1fr;
    }

    .cm-catalog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cm-product-image {
        height: 280px;
    }

    .cm-catalog-cta {
    margin-top: 32px;
}

.cm-catalog-cta__inner {
    padding: 30px 20px;
}

.cm-catalog-cta h2 {
    font-size: 26px;
}

.cm-catalog-cta__actions {
    width: 100%;
    flex-direction: column;
}

.cm-catalog-cta__action,
.cm-catalog-cta__action--primary {
    width: 100%;
    min-width: 0;
}
}

/* =========================================================
   CATÁLOGO V1 — AUTOCOMPLETADO
========================================================= */

.cm-catalog-search {
    position: relative;
}

.cm-autocomplete-results {
    position: absolute;
    z-index: 1000;
    top: 54px;
    left: 0;
    right: 130px;

    display: none;

    overflow: hidden;
    max-height: 520px;

    background: #fff;
    border: 1px solid #d9dcdf;
    border-top: 0;
    border-radius: 0 0 6px 6px;

    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.cm-autocomplete-results.is-visible {
    display: block;
}

.cm-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 12px 16px;

    border-bottom: 1px solid #eceeef;

    color: #1f2328;
    text-decoration: none;
}

.cm-autocomplete-item:last-child {
    border-bottom: 0;
}

.cm-autocomplete-item:hover {
    background: #f4f5f6;
}

.cm-autocomplete-image {
    display: flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;
}

.cm-autocomplete-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cm-autocomplete-noimage {
    width: 42px;
    height: 42px;

    background: #f4f5f6;
    border-radius: 4px;
}

.cm-autocomplete-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.cm-autocomplete-info span {
    margin-bottom: 2px;

    color: #777c82;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.cm-autocomplete-info strong {
    color: #1f2328;
    font-size: 14px;
    line-height: 1.35;
}

.cm-autocomplete-empty {
    padding: 18px;

    color: #777c82;
    font-size: 14px;
}

/* MÓVIL */
@media (max-width: 600px) {

    .cm-autocomplete-results {
        top: 50px;
        right: 0;
    }
}

/* VER TODOS LOS RESULTADOS */

.cm-autocomplete-results .cm-autocomplete-all {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;

    margin: 0 !important;
    padding: 18px 20px !important;

    background: #f7f7f7;
    border-top: 1px solid #e3e5e7;

    color: #1f2328 !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px !important;
    text-align: center !important;
    text-decoration: none !important;

    transition: background .2s ease;
}

.cm-autocomplete-results .cm-autocomplete-all:hover {
    background: #f4c430;
    color: #111 !important;
}

/* =========================================================
   FICHA GLOBAL DE PRODUCTO V1 — COMERCIAL MENDOZA
========================================================= */

.cm-product-single {
    background: #f4f5f6;
    color: #1f2328;
}

.cm-product-inner {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}

/* VOLVER AL CATÁLOGO */
.cm-product-back {
    margin-bottom: 24px;
}

.cm-product-back a {
    color: #5f646a;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.cm-product-back a:hover {
    color: #111;
}

/* =========================================================
   HERO
========================================================= */

.cm-product-top {
    padding: 27px 0 80px;
}

.cm-product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 70px;
    align-items: center;
}

/* IMAGEN */

.cm-product-main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    padding: 55px;
    background: #fff;
    border: 1px solid #e3e5e7;
    border-radius: 10px;
}

.cm-product-main-image img {
    display: block;
    width: 100%;
    max-width: 430px;
    max-height: 430px;
    object-fit: contain;
}

/* INFORMACIÓN */

.cm-product-summary {
    min-width: 0;
}

.cm-product-single-brand {
    display: block;
    margin-bottom: 12px;
    color: #8a6b00;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.cm-product-summary h1 {
    margin: 0 0 24px;
    color: #1f2328;
    font-size: 46px;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.cm-product-intro {
    margin-bottom: 26px;
    color: #4b5056;
    font-size: 17px;
    line-height: 1.7;
}

.cm-product-intro > *:last-child {
    margin-bottom: 0;
}

/* CHIPS */

.cm-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 30px;
}

.cm-product-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 13px;
    background: #fff;
    border: 1px solid #d9dcdf;
    border-radius: 999px;
    color: #4b5056;
    font-size: 13px;
    font-weight: 700;
}

/* CTA PRINCIPAL */

.cm-product-actions {
    padding-top: 4px;
}

.cm-product-primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    background: #f4c430;
    border: 2px solid #f4c430;
    border-radius: 5px;
    color: #111 !important;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.cm-product-primary-cta:hover {
    background: #e6b923;
    border-color: #e6b923;
    transform: translateY(-1px);
}

.cm-product-help {
    margin: 14px 0 0;
    color: #6b7076;
    font-size: 14px;
}

.cm-product-help strong {
    color: #1f2328;
}

/* =========================================================
   PRODUCTO — CONTACTO RÁPIDO HERO + HOVER CTA
========================================================= */

/* Contacto rápido debajo del CTA principal */

.cm-product-summary-quick-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
}

.cm-product-summary-quick-contact a {
    color: #1f2328;
    text-decoration: none;
    transition: color .2s ease;
}

.cm-product-summary-quick-contact a:hover {
    color: #a77e00;
}

.cm-product-summary-quick-contact span {
    color: #aeb2b6;
}


/* CTA inferior — contacto rápido */

.cm-product-quick-contact a {
    color: #fff;
    text-decoration: none;
    opacity: 1;
    transition: color .2s ease;
}

.cm-product-quick-contact a:hover {
    color: #f4c430;
    opacity: 1;
}


/* MÓVIL */

@media (max-width: 600px) {

    .cm-product-summary-quick-contact {
        flex-wrap: wrap;
        gap: 8px;
    }

}

/* =========================================================
   INFORMACIÓN DEL PRODUCTO
========================================================= */

.cm-product-information {
    padding: 82px 0 42px;
    background: #fff;
}

.cm-product-section-label {
    display: block;
    margin-bottom: 10px;
    color: #9a7600;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.cm-product-information h2,
.cm-product-related h2 {
    margin: 0 0 30px;
    color: #1f2328;
    font-size: 34px;
    line-height: 1.2;
}

.cm-product-description {
    max-width: 920px;
    color: #3f4449;
    font-size: 16px;
    line-height: 1.8;
}

.cm-product-description p {
    margin: 0 0 22px;
}

.cm-product-description h2,
.cm-product-description h3,
.cm-product-description h4 {
    margin-top: 34px;
    margin-bottom: 16px;
    color: #1f2328;
}

.cm-product-description ul,
.cm-product-description ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.cm-product-description li {
    margin-bottom: 7px;
}

/* PDFs / enlaces dentro de la descripción */

.cm-product-description a {
    color: #1f2328;
    font-weight: 700;
    text-decoration-color: #f4c430;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.cm-product-description a:hover {
    color: #8a6900;
}

.cm-product-description img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   CTA COMERCIAL
========================================================= */

.cm-product-contact {
    padding: 32px 0 72px;
    background: #fff;
}

.cm-product-contact-box {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) auto;
    gap: 50px;
    align-items: center;
    padding: 48px 52px;
    background: #1f2328;
    border-radius: 10px;
    color: #fff;
}

.cm-product-contact-box .cm-product-section-label {
    color: #f4c430;
}

.cm-product-contact-box h2 {
    max-width: 720px;
    margin: 0 0 14px;
    color: #fff;
    font-size: 32px;
    line-height: 1.2;
}

.cm-product-contact-box p {
    max-width: 680px;
    margin: 0;
    color: #d5d7da;
    font-size: 16px;
    line-height: 1.65;
}

.cm-product-contact-actions {
    display: flex;
    align-items: center;
}

/* =========================================================
   PRODUCTOS RELACIONADOS
========================================================= */

.cm-product-related {
    padding: 82px 0 95px;
}

.cm-product-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/*
 * Las tarjetas reutilizan estilos del catálogo.
 * Ajustamos el H3 porque allí utilizábamos H2.
 */

.cm-product-related .cm-product-card h3 {
    margin: 0 0 22px;
    font-size: 19px;
    line-height: 1.3;
}

.cm-product-related .cm-product-card h3 a {
    color: #1f2328;
    text-decoration: none;
}

.cm-product-related .cm-product-card h3 a:hover {
    color: #111;
}

.cm-product-related .cm-product-image {
    height: 240px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .cm-product-inner {
        width: min(100% - 48px, 1200px);
    }

    .cm-product-hero {
    grid-template-columns: 1fr;
    gap: 38px;
}

.cm-product-main-image {
    width: 100%;
    max-width: 620px;
    min-height: 420px;
    margin: 0 auto;
    padding: 40px;
}

.cm-product-main-image img {
    max-height: 340px;
}

.cm-product-summary {
    width: 100%;
}

.cm-product-summary h1 {
    font-size: 38px;
}

    .cm-product-main-image {
        min-height: 440px;
        padding: 40px;
    }

    .cm-product-main-image img {
        max-height: 360px;
    }

    .cm-product-summary h1 {
        font-size: 38px;
    }

    .cm-product-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cm-product-contact-box {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* =========================================================
   TABLET PEQUEÑA
========================================================= */

@media (max-width: 800px) {

    .cm-product-top {
        padding: 42px 0 60px;
    }

    .cm-product-hero {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .cm-product-main-image {
        min-height: 420px;
    }

    .cm-product-summary h1 {
        font-size: 38px;
    }

    .cm-product-information,
    .cm-product-related {
        padding: 64px 0;
    }

    .cm-product-contact {
        padding: 20px 0 64px;
    }
}

/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {

    .cm-product-inner {
        width: calc(100% - 32px);
    }

    .cm-product-top {
        padding: 32px 0 48px;
    }

    .cm-product-back {
        margin-bottom: 18px;
    }

    .cm-product-main-image {
        min-height: 330px;
        padding: 28px;
    }

    .cm-product-main-image img {
        max-height: 290px;
    }

    .cm-product-summary h1 {
        margin-bottom: 18px;
        font-size: 32px;
    }

    .cm-product-intro {
        font-size: 16px;
    }

    .cm-product-primary-cta {
        width: 100%;
    }

    .cm-product-information h2,
    .cm-product-related h2 {
        font-size: 28px;
    }

    .cm-product-information {
        padding: 52px 0;
    }

    .cm-product-contact {
        padding: 0 0 52px;
    }

    .cm-product-contact-box {
        padding: 32px 24px;
    }

    .cm-product-contact-box h2 {
        font-size: 27px;
    }

    .cm-product-related {
        padding: 56px 0 70px;
    }

    .cm-product-related-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cm-product-related .cm-product-image {
        height: 270px;
    }
}

/* =========================================================
   PRODUCTO — CONTACTO RÁPIDO
========================================================= */

.cm-product-quick-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    font-size: 15px;
    font-weight: 600;
}

.cm-product-quick-contact a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.cm-product-quick-contact a:hover {
    opacity: 0.7;
}

.cm-product-quick-contact span {
    opacity: 0.35;
}

@media (max-width: 600px) {
    .cm-product-quick-contact {
        gap: 9px;
        font-size: 14px;
        flex-wrap: wrap;
    }
}

.cm-product-contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cm-product-quick-contact {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
}

/* =========================================================
   PRODUCTO — ZOOM / LIGHTBOX
========================================================= */

.cm-product-image-zoom {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.cm-product-image-zoom img {
    display: block;
    width: 100%;
    height: auto;
}

.cm-product-image-zoom-icon {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 22px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.cm-product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.88);
}

.cm-product-lightbox.is-open {
    display: flex;
}

.cm-product-lightbox-image {
    display: block;
    max-width: 90vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.cm-product-lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
}

body.cm-lightbox-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .cm-product-lightbox {
        padding: 20px;
    }

    .cm-product-lightbox-close {
        top: 14px;
        right: 18px;
    }
}

/* =========================================================
   PRODUCTO — CARRUSEL DE RELACIONADOS
========================================================= */

.cm-product-related-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
}

.cm-product-related-grid {
    display: flex;
    gap: 24px;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.cm-product-related-grid::-webkit-scrollbar {
    display: none;
}

.cm-product-related-grid .cm-product-card {
    flex: 0 0 calc((100% - 72px) / 4);
    min-width: 0;
    scroll-snap-align: start;
}


/* FLECHAS */

.cm-related-arrow {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.cm-related-arrow:hover {
    background: #f4c430;
    border-color: #f4c430;
}


/* TABLET */

@media (max-width: 900px) {

    .cm-product-related-grid .cm-product-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }

}


/* MÓVIL */

@media (max-width: 600px) {

    .cm-product-related-carousel {
        gap: 8px;
    }

    .cm-product-related-grid {
        gap: 14px;
    }

    .cm-product-related-grid .cm-product-card {
        flex: 0 0 100%;
    }

    .cm-related-arrow {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 25px;
    }

}

/* =========================================================
   CONTACTO — PRODUCTO CONSULTADO
========================================================= */

.cm-contact-product {
    margin: 4px 0 18px;
    padding: 9px 14px;
    border-left: 3px solid #f4c430;
    background: #f7f7f7;
    border-radius: 3px;
}

.cm-contact-product span {
    display: block;
    margin: 0 0 1px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: #777;
}

.cm-contact-product strong {
    display: block;
    margin: 0;
    font-size: 15px;
    line-height: 1.25;
    color: #111;
}

/* =========================================================
   PRODUCTO — APLICACIONES Y VENTAJAS
========================================================= */

.cm-product-details {
    padding: 54px 0;
    background: #f7f7f7;
}

.cm-product-details h2 {
    margin: 0 0 24px;
    font-size: 30px;
    line-height: 1.2;
    color: #111;
}

.cm-product-details h3 {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.3;
    color: #111;
}

.cm-product-details ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cm-product-details li {
    position: relative;
    margin: 0 0 9px;
    padding-left: 20px;
    line-height: 1.55;
}

.cm-product-details li:last-child {
    margin-bottom: 0;
}

.cm-product-details li::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f4c430;
}


/* MÓVIL */

@media (max-width: 768px) {

    .cm-product-details {
        padding: 40px 0;
    }

    .cm-product-details h2 {
        font-size: 26px;
    }

    .cm-product-details h3 {
        font-size: 19px;
    }

}


/* =========================================================
   PRODUCTO — ESPECIFICACIONES
========================================================= */

.cm-product-specifications {
    padding: 50px 0;
    background: #fff;
}

.cm-product-specifications h2 {
    margin: 0 0 22px;
    font-size: 30px;
    line-height: 1.2;
    color: #111;
}

.cm-product-specifications ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 28px;
}

.cm-product-specifications li {
    position: relative;
    padding: 11px 14px 11px 22px;
    border-bottom: 1px solid #e8e8e8;
    line-height: 1.45;
}

.cm-product-specifications li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 18px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f4c430;
}


/* MÓVIL */

@media (max-width: 768px) {

    .cm-product-specifications {
        padding: 40px 0;
    }

    .cm-product-specifications h2 {
        font-size: 26px;
    }

    .cm-product-specifications ul {
        grid-template-columns: 1fr;
        gap: 6px;
    }

}

/* =========================================================
   PRODUCTO — DATOS TÉCNICOS
========================================================= */

.cm-product-technical {
    padding: 50px 0;
    background: #f7f7f7;
}

.cm-product-technical h2 {
    margin: 0 0 22px;
    font-size: 30px;
    line-height: 1.2;
    color: #111;
}

.cm-product-technical table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e5e5e5;
}

.cm-product-technical th,
.cm-product-technical td {
    padding: 13px 16px;
    border-bottom: 1px solid #e8e8e8;
    text-align: left;
    vertical-align: middle;
}

.cm-product-technical th {
    width: 42%;
    font-weight: 600;
    color: #222;
    background: #fafafa;
}

.cm-product-technical td {
    color: #555;
}

.cm-product-technical tr:last-child th,
.cm-product-technical tr:last-child td {
    border-bottom: 0;
}


/* MÓVIL */

@media (max-width: 768px) {

    .cm-product-technical {
        padding: 40px 0;
    }

    .cm-product-technical h2 {
        font-size: 26px;
    }

    .cm-product-technical th,
    .cm-product-technical td {
        padding: 11px 12px;
        font-size: 15px;
    }

    .cm-product-technical th {
        width: 48%;
    }

}

/* =========================================================
   PRODUCTO — VARIANTES TÉCNICAS
========================================================= */

.cm-product-variants {
    padding: 50px 0;
    background: #fff;
}

.cm-product-variants h2 {
    margin: 0 0 22px;
    font-size: 30px;
    line-height: 1.2;
    color: #111;
}

/* Permite desplazamiento horizontal si hay muchas variantes */
.cm-product-variants-table {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.cm-product-variants table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
}

.cm-product-variants th,
.cm-product-variants td {
    padding: 13px 16px;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

.cm-product-variants th {
    font-weight: 600;
    color: #222;
    background: #f7f7f7;
}

.cm-product-variants td {
    color: #555;
}

.cm-product-variants th:last-child,
.cm-product-variants td:last-child {
    border-right: 0;
}

.cm-product-variants tr:last-child th,
.cm-product-variants tr:last-child td {
    border-bottom: 0;
}


/* MÓVIL */

@media (max-width: 768px) {

    .cm-product-variants {
        padding: 40px 0;
    }

    .cm-product-variants h2 {
        font-size: 26px;
    }

    .cm-product-variants th,
    .cm-product-variants td {
        padding: 11px 12px;
        font-size: 14px;
    }

}

/* =========================================================
   PRODUCTO — DOCUMENTACIÓN
========================================================= */

.cm-product-documents {
    padding: 50px 0;
    background: #f7f7f7;
}

.cm-product-documents h2 {
    margin: 0 0 22px;
    font-size: 30px;
    line-height: 1.2;
    color: #111;
}

.cm-product-documents-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cm-product-documents a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.cm-product-documents a:hover {
    border-color: #f4c430;
    background: #fffbea;
}


/* MÓVIL */

@media (max-width: 768px) {

    .cm-product-documents {
        padding: 40px 0;
    }

    .cm-product-documents h2 {
        font-size: 26px;
    }

    .cm-product-documents-list {
        flex-direction: column;
    }

    .cm-product-documents a {
        width: 100%;
    }

}

/* =========================================================
   PRODUCTO INDIVIDUAL — TABLET DEFINITIVO
========================================================= */

@media (min-width: 801px) and (max-width: 1100px) {

    .cm-product-single {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .cm-product-inner {
        width: calc(100% - 64px);
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    /* HERO */

    .cm-product-hero {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .cm-product-main-image {
        width: 100%;
        max-width: 600px;
        min-height: 420px;
        margin: 0 auto;
        padding: 40px;
    }

    .cm-product-main-image img {
        max-width: 100%;
        max-height: 340px;
    }

    .cm-product-summary {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .cm-product-summary h1 {
        font-size: 38px;
        line-height: 1.12;
        overflow-wrap: break-word;
    }

    /* DESCRIPCIÓN */

    .cm-product-information,
    .cm-product-information-content {
        width: 100%;
        max-width: 100%;
    }

    /* CTA */

    .cm-product-contact-box {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cm-product-contact-actions {
        align-items: flex-start;
    }

    .cm-product-quick-contact {
        justify-content: flex-start;
    }

    /* RELACIONADOS: 2 visibles */

    .cm-product-related-grid .cm-product-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}


/* =========================================================
   PRODUCTO V1.7 — DATOS VARIABLES DEL MAESTRO CASTROL
========================================================= */

.cm-product-operating-data,
.cm-product-evidence,
.cm-product-packaging {
    padding: 50px 0;
}

.cm-product-operating-data,
.cm-product-packaging {
    background: #fff;
}

.cm-product-evidence {
    background: #f7f7f7;
}

.cm-product-operating-data h2,
.cm-product-evidence h2,
.cm-product-packaging h2 {
    margin: 0 0 24px;
    color: #111;
    font-size: 30px;
    line-height: 1.2;
}

/* Concentraciones / datos de uso */

.cm-product-data-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 980px;
}

.cm-product-data-card {
    min-width: 0;
    padding: 18px 20px;
    border: 1px solid #e3e5e8;
    border-radius: 8px;
    background: #f8f8f8;
}

.cm-product-data-card span {
    display: block;
    margin-bottom: 7px;
    color: #626970;
    font-size: 13px;
    font-weight: 700;
}

.cm-product-data-card strong {
    display: block;
    color: #1f2328;
    font-size: 17px;
    line-height: 1.35;
}

/* Evidencia, aprobaciones y referencias */

.cm-product-evidence-list {
    max-width: 980px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cm-product-evidence-list li {
    position: relative;
    margin: 0;
    padding: 13px 16px 13px 24px;
    border-bottom: 1px solid #e3e5e8;
    color: #3f4449;
    line-height: 1.6;
}

.cm-product-evidence-list li::before {
    content: "";
    position: absolute;
    top: 1.25em;
    left: 5px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f4c430;
}

/* Envases */

.cm-product-packaging-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cm-product-packaging-list span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 16px;
    border: 1px solid #d9dcdf;
    border-radius: 6px;
    background: #f7f7f7;
    color: #1f2328;
    font-size: 15px;
    font-weight: 700;
}

.cm-product-packaging-note {
    margin: 14px 0 0;
    color: #6b7076;
    font-size: 13px;
}

/* Tabla técnica enriquecida */

.cm-product-technical-main-value {
    color: #111820;
    font-weight: 700;
}

.cm-product-technical-method,
.cm-product-technical-note {
    display: block;
    margin-top: 5px;
    color: #687078;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
}

.cm-product-technical-note {
    color: #555d65;
}

/* Responsive */

@media (max-width: 900px) {
    .cm-product-data-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .cm-product-operating-data,
    .cm-product-evidence,
    .cm-product-packaging {
        padding: 40px 0;
    }

    .cm-product-operating-data h2,
    .cm-product-evidence h2,
    .cm-product-packaging h2 {
        font-size: 26px;
    }

    .cm-product-data-cards {
        grid-template-columns: 1fr;
    }

    .cm-product-packaging-list {
        gap: 8px;
    }
}


/* =========================================================
   PRODUCTO V1.8 — PESTAÑAS DINÁMICAS
   Solo se muestran las pestañas creadas por el PHP.
========================================================= */

.cm-product-tabs-section {
    padding: 68px 0 58px;
    background: #fff;
}

.cm-product-tabs-section > .cm-product-inner > h2 {
    margin: 0 0 28px;
    color: #1f2328;
    font-size: 34px;
    line-height: 1.2;
}

.cm-product-tabs {
    overflow: hidden;
    border: 1px solid #e1e4e7;
    border-radius: 10px;
    background: #fff;
}

.cm-product-tabs-nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: thin;
    border-bottom: 1px solid #e1e4e7;
    background: #f7f7f7;
}

.cm-product-tab-button {
    flex: 0 0 auto;
    min-height: 54px;
    padding: 13px 20px;
    border: 0;
    border-right: 1px solid #e1e4e7;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #50565d;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    white-space: nowrap;
    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease;
}

.cm-product-tab-button:hover {
    background: #fff;
    color: #111;
}

.cm-product-tab-button.is-active {
    background: #fff;
    border-bottom-color: #f4c430;
    color: #111;
}

.cm-product-tab-button:focus-visible {
    position: relative;
    z-index: 2;
    outline: 3px solid rgba(244, 196, 48, .45);
    outline-offset: -3px;
}

.cm-product-tabs-panels {
    min-height: 180px;
}

.cm-product-tab-panel {
    padding: 34px 36px 38px;
    color: #3f4449;
    font-size: 16px;
    line-height: 1.7;
}

.cm-product-tab-panel[hidden] {
    display: none !important;
}

.cm-product-tab-panel > *:first-child,
.cm-product-tab-group > *:first-child {
    margin-top: 0;
}

.cm-product-tab-panel > *:last-child,
.cm-product-tab-group > *:last-child {
    margin-bottom: 0;
}

.cm-product-tab-group + .cm-product-tab-group {
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid #e7e9eb;
}

.cm-product-tab-group h3 {
    margin: 0 0 17px;
    color: #1f2328;
    font-size: 21px;
    line-height: 1.3;
}

.cm-product-tab-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cm-product-tab-list li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 20px;
}

.cm-product-tab-list li:last-child {
    margin-bottom: 0;
}

.cm-product-tab-list li::before {
    content: "";
    position: absolute;
    top: .72em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f4c430;
}

/* La descripción legacy conserva su HTML y SEO, pero dentro del panel. */

.cm-product-tab-panel .cm-product-description {
    max-width: 100%;
}

/* Documentación dentro de pestaña */

.cm-product-tab-panel .cm-product-documents-list {
    margin: 0;
}

/* Tabla técnica dentro de pestaña */

.cm-product-tab-panel .cm-product-technical-table {
    margin-top: 0;
    max-width: 100%;
}

/* Comparativa de variantes dentro de pestaña */

.cm-product-variants-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.cm-product-variants-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
}

.cm-product-variants-table th,
.cm-product-variants-table td {
    padding: 13px 16px;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

.cm-product-variants-table th {
    background: #f7f7f7;
    color: #222;
    font-weight: 600;
}

.cm-product-variants-table td {
    color: #555;
}

/* Datos de uso/concentraciones dentro de pestaña */

.cm-product-tab-panel .cm-product-data-cards {
    max-width: 100%;
}

/* Envases dentro de pestaña */

.cm-product-tab-panel .cm-product-packaging-note {
    margin-bottom: 0;
}

/* =========================================================
   RESPONSIVE V1.8
========================================================= */

@media (max-width: 800px) {
    .cm-product-tabs-section {
        padding: 54px 0 48px;
    }

    .cm-product-tabs-section > .cm-product-inner > h2 {
        font-size: 30px;
    }

    .cm-product-tab-panel {
        padding: 28px 26px 32px;
    }
}

@media (max-width: 600px) {
    .cm-product-tabs-section {
        padding: 46px 0 42px;
    }

    .cm-product-tabs-section > .cm-product-inner > h2 {
        margin-bottom: 22px;
        font-size: 27px;
    }

    .cm-product-tabs {
        border-radius: 8px;
    }

    .cm-product-tabs-nav {
        scroll-snap-type: x proximity;
    }

    .cm-product-tab-button {
        min-height: 50px;
        padding: 12px 16px;
        font-size: 13px;
        scroll-snap-align: start;
    }

    .cm-product-tab-panel {
        padding: 24px 20px 28px;
        font-size: 15px;
    }

    .cm-product-tab-group + .cm-product-tab-group {
        margin-top: 27px;
        padding-top: 25px;
    }

    .cm-product-tab-group h3 {
        font-size: 19px;
    }

    .cm-product-variants-table {
        min-width: 620px;
    }
}


/* =========================================================
   PRODUCTO V2.1 — REDISEÑO ESTRUCTURAL
   Navegación lateral + contenido técnico.
========================================================= */

:root {
    --cm2-ink:#20252b;
    --cm2-text:#424a52;
    --cm2-muted:#727b84;
    --cm2-line:#dde1e4;
    --cm2-soft:#f4f5f6;
    --cm2-yellow:#f5c326;
    --cm2-blue:#1261b5;
    --cm2-white:#fff;
}

/* HERO MÁS COMPACTO */
.cm-product-hero {
    padding-top: 22px !important;
    padding-bottom: 30px !important;
}
.cm-product-back { margin-bottom: 12px !important; }
.cm-product-hero-grid {
    align-items:center !important;
    gap:clamp(30px,4.2vw,58px) !important;
}
.cm-product-summary,
.cm-product-image-wrap,
.cm-product-gallery {
    padding-top:0 !important;
    padding-bottom:0 !important;
    margin-top:0 !important;
    margin-bottom:0 !important;
}
.cm-product-summary h1 { margin-top:6px !important; margin-bottom:14px !important; }
.cm-product-intro { margin-bottom:14px !important; }
.cm-product-tags { margin-top:12px !important; margin-bottom:16px !important; }
.cm-product-primary-actions { margin-top:16px !important; }

.cm-product-back a {
    display:inline-flex;
    align-items:center;
    padding:7px 10px;
    margin-left:-10px;
    border-radius:4px;
    color:var(--cm2-text);
    text-decoration:none;
    transition:.18s ease;
}
.cm-product-back a:hover,
.cm-product-back a:focus-visible {
    background:var(--cm2-blue);
    color:#fff;
}

/* NUEVA ZONA DE INFORMACIÓN */
.cm-product-info-section {
    padding: 8px 0 48px;
    background:var(--cm2-soft);
}
.cm-product-info-section .cm-product-inner {
    background:transparent;
}
.cm-product-info-layout {
    display:grid;
    grid-template-columns:240px minmax(0,1fr);
    gap:0;
    overflow:hidden;
    border:1px solid var(--cm2-line);
    border-radius:8px;
    background:#fff;
}

/* NAVEGACIÓN LATERAL */
.cm-product-info-nav {
    display:flex;
    flex-direction:column;
    padding:22px 0;
    background:var(--cm2-ink);
}
.cm-product-info-tab {
    position:relative;
    width:100%;
    min-height:52px;
    padding:13px 24px 13px 28px;
    border:0;
    border-radius:0;
    background:transparent;
    color:#dce1e5;
    font:inherit;
    font-size:14px;
    font-weight:750;
    line-height:1.25;
    text-align:left;
    cursor:pointer;
    transition:background .18s ease,color .18s ease,padding .18s ease;
}
.cm-product-info-tab::before {
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    width:4px;
    background:transparent;
}
.cm-product-info-tab:hover,
.cm-product-info-tab:focus-visible {
    background:var(--cm2-blue);
    color:#fff;
    outline:none;
}
.cm-product-info-tab.is-active {
    padding-left:32px;
    background:#2a3037;
    color:#fff;
}
.cm-product-info-tab.is-active::before {
    background:var(--cm2-yellow);
}

/* CONTENIDO */
.cm-product-info-content {
    min-width:0;
    background:#fff;
}
.cm-product-info-content .cm-product-tab-panel {
    padding:0 !important;
    color:var(--cm2-text);
}
.cm-product-panel-heading {
    padding:27px 34px 22px;
    border-bottom:1px solid var(--cm2-line);
}
.cm-product-panel-heading span {
    display:block;
    margin-bottom:5px;
    color:var(--cm2-blue);
    font-size:11px;
    font-weight:850;
    letter-spacing:.09em;
}
.cm-product-panel-heading h2 {
    margin:0 !important;
    color:var(--cm2-ink);
    font-size:clamp(25px,2.4vw,33px);
    line-height:1.08;
    letter-spacing:-.02em;
}
.cm-product-panel-body {
    padding:27px 34px 32px;
}
.cm-product-panel-body > :first-child { margin-top:0 !important; }
.cm-product-panel-body > :last-child { margin-bottom:0 !important; }

/* LISTAS: DOS COLUMNAS CUANDO HAY ESPACIO */
.cm-product-panel-body .cm-product-tab-list {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 24px;
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
}
.cm-product-panel-body .cm-product-tab-list li {
    position:relative;
    margin:0 !important;
    padding:11px 8px 11px 26px !important;
    border:0 !important;
    border-bottom:1px solid #e8eaec !important;
    border-radius:0 !important;
    background:transparent !important;
}
.cm-product-panel-body .cm-product-tab-list li::before {
    content:"✓" !important;
    position:absolute;
    top:10px !important;
    left:2px !important;
    width:auto !important;
    height:auto !important;
    background:transparent !important;
    color:var(--cm2-blue);
    font-weight:900;
}

/* SUBSECCIONES */
.cm-product-panel-body .cm-product-tab-group + .cm-product-tab-group {
    margin-top:26px !important;
    padding-top:24px !important;
    border-top:1px solid var(--cm2-line) !important;
}
.cm-product-panel-body .cm-product-tab-group h3 {
    position:relative;
    margin:0 0 16px !important;
    padding-left:14px;
    color:var(--cm2-ink);
    font-size:18px;
}
.cm-product-panel-body .cm-product-tab-group h3::before {
    content:"";
    position:absolute;
    top:.1em;
    bottom:.1em;
    left:0;
    width:4px;
    border-radius:2px;
    background:var(--cm2-yellow);
}

/* TABLAS TÉCNICAS */
.cm-product-panel-body .cm-product-technical-table,
.cm-product-panel-body .cm-product-variants-table-wrap {
    overflow:hidden;
    border:1px solid var(--cm2-line) !important;
    border-radius:6px !important;
    background:#fff;
}
.cm-product-panel-body .cm-product-technical-row:nth-child(even) {
    background:#f6f7f8 !important;
}
.cm-product-panel-body .cm-product-technical-name {
    color:var(--cm2-ink);
    font-weight:750;
}
.cm-product-panel-body .cm-product-variants-table thead th {
    background:var(--cm2-ink) !important;
    color:#fff !important;
}
.cm-product-panel-body .cm-product-variants-table tbody th {
    background:#eef0f1 !important;
    color:var(--cm2-ink) !important;
}

/* DOCUMENTACIÓN */
.cm-product-panel-body .cm-product-documents-list {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:13px;
}
.cm-product-panel-body .cm-product-document {
    position:relative;
    display:grid;
    grid-template-columns:50px minmax(0,1fr) 34px;
    align-items:center;
    gap:13px;
    min-height:80px;
    padding:13px 14px;
    overflow:hidden;
    border:1px solid var(--cm2-line);
    border-radius:6px;
    background:#fff;
    color:var(--cm2-ink);
    text-decoration:none;
    box-shadow:none;
    transition:.18s ease;
}
.cm-product-panel-body .cm-product-document::before {
    content:"";
    position:absolute;
    top:0; bottom:0; left:0;
    width:4px;
    background:var(--cm2-yellow);
}
.cm-product-panel-body .cm-product-document:hover,
.cm-product-panel-body .cm-product-document:focus-visible {
    border-color:var(--cm2-blue);
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(20,28,36,.08);
}
.cm-product-document-icon {
    position:relative;
    display:grid;
    place-items:center;
    width:50px !important;
    height:50px !important;
    border-radius:5px !important;
    background:var(--cm2-ink) !important;
    color:#fff !important;
    font-size:11px;
    font-weight:850;
    letter-spacing:.08em;
}
.cm-product-document-icon::after {
    content:"";
    position:absolute;
    right:9px; bottom:8px; left:9px;
    height:3px;
    background:var(--cm2-yellow);
}
.cm-product-document-arrow {
    display:grid;
    place-items:center;
    width:34px !important;
    height:34px !important;
    border-radius:4px !important;
    background:var(--cm2-yellow) !important;
    color:var(--cm2-ink) !important;
    transition:.18s ease;
}
.cm-product-document:hover .cm-product-document-arrow {
    background:var(--cm2-blue) !important;
    color:#fff !important;
}

/* PDF LEGACY */
.cm-product-description a[href$=".pdf"],
.cm-product-description a[href*=".pdf?"] {
    display:inline-flex !important;
    align-items:center;
    gap:9px;
    min-height:42px;
    margin-top:8px !important;
    padding:9px 13px !important;
    border:1px solid var(--cm2-line) !important;
    border-left:4px solid var(--cm2-yellow) !important;
    border-radius:5px !important;
    background:#fff !important;
    color:var(--cm2-ink) !important;
    font-weight:750;
    text-decoration:none !important;
    transition:.18s ease;
}
.cm-product-description a[href$=".pdf"]:hover,
.cm-product-description a[href*=".pdf?"]:hover {
    background:var(--cm2-blue) !important;
    border-color:var(--cm2-blue) !important;
    color:#fff !important;
}

/* BOTONES: HOVER AZUL, PATRÓN DE LA WEB */
.cm-product-main a[class*="button"]:hover,
.cm-product-main a[class*="button"]:focus-visible,
.cm-product-main button:not(.cm-product-info-tab):hover,
.cm-product-main button:not(.cm-product-info-tab):focus-visible {
    background-color:var(--cm2-blue) !important;
    border-color:var(--cm2-blue) !important;
    color:#fff !important;
}

/* CTA INFERIOR MÁS CERCA */
.cm-product-info-section + .cm-product-cta-section,
.cm-product-cta-section {
    margin-top:0 !important;
}
.cm-product-cta-section { padding-top:0 !important; }

/* TABLET */
@media (max-width:900px) {
    .cm-product-hero {
        padding-top:18px !important;
        padding-bottom:25px !important;
    }
    .cm-product-info-layout {
        grid-template-columns:1fr;
    }
    .cm-product-info-nav {
        flex-direction:row;
        overflow-x:auto;
        padding:0;
        background:var(--cm2-ink);
        scrollbar-width:thin;
    }
    .cm-product-info-tab {
        flex:0 0 auto;
        width:auto;
        min-height:50px;
        padding:12px 17px;
        white-space:nowrap;
    }
    .cm-product-info-tab::before {
        top:auto;
        right:0;
        bottom:0;
        width:auto;
        height:4px;
    }
    .cm-product-info-tab.is-active {
        padding-left:17px;
    }
}

/* MÓVIL */
@media (max-width:650px) {
    .cm-product-hero {
        padding-top:14px !important;
        padding-bottom:20px !important;
    }
    .cm-product-back { margin-bottom:8px !important; }
    .cm-product-info-section {
        padding-top:6px;
        padding-bottom:34px;
    }
    .cm-product-info-layout {
        border-right:0;
        border-left:0;
        border-radius:0;
    }
    .cm-product-panel-heading {
        padding:22px 18px 17px;
    }
    .cm-product-panel-body {
        padding:21px 18px 25px;
    }
    .cm-product-panel-body .cm-product-tab-list,
    .cm-product-panel-body .cm-product-documents-list {
        grid-template-columns:1fr;
    }
}


/* =========================================================
   PRODUCTO V2.2 — AJUSTES DE JERARQUÍA Y ESPACIO
========================================================= */

/* 1. La zona superior empieza mucho antes */
.cm-product-top {
    padding: 16px 0 30px !important;
}

.cm-product-back {
    margin-bottom: 10px !important;
}

/* La imagen deja de centrarse verticalmente respecto a una columna
   de texto larga: ambas columnas empiezan arriba. */
.cm-product-hero {
    align-items: start !important;
    gap: 48px !important;
}

/* Imagen algo más compacta para que la ficha principal entre antes */
.cm-product-main-image {
    min-height: 430px !important;
    padding: 34px !important;
}

.cm-product-main-image img {
    max-width: 370px !important;
    max-height: 360px !important;
}

/* 2. Resumen inicial plegado: CTA visible mucho antes */
.cm-product-intro {
    position: relative;
    max-height: 205px;
    margin-bottom: 6px !important;
    overflow: hidden;
}

.cm-product-intro:not(.is-expanded)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 48px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(244,245,246,0),
        rgba(244,245,246,1)
    );
}

.cm-product-intro.is-expanded {
    max-height: none;
    overflow: visible;
}

.cm-product-intro.is-expanded::after {
    display: none;
}

.cm-product-intro-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 2px 0 10px;
    padding: 5px 10px;
    border: 1px solid #cfd4d8;
    border-radius: 4px;
    background: transparent;
    color: #20252b;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.cm-product-intro-toggle:hover,
.cm-product-intro-toggle:focus-visible {
    border-color: #1261b5;
    background: #1261b5;
    color: #fff;
}

.cm-product-tags {
    margin-top: 4px !important;
    margin-bottom: 12px !important;
}

.cm-product-actions {
    margin-top: 10px !important;
}

.cm-product-help {
    margin-bottom: 0 !important;
}

/* 3. El bloque técnico empieza inmediatamente después del hero */
.cm-product-info-section {
    padding-top: 0 !important;
}

/* 4. CTA inferior sin el rectángulo/marco blanco exterior */
.cm-product-contact {
    padding: 28px 0 48px !important;
    background: #f4f5f6 !important;
}

.cm-product-contact > .cm-product-inner {
    width: min(1200px, calc(100% - 80px)) !important;
    padding: 0 !important;
    background: transparent !important;
}

.cm-product-contact-box {
    margin: 0 !important;
}

/* 5. El contenido técnico queda un poco más compacto */
.cm-product-panel-heading {
    padding-top: 23px !important;
    padding-bottom: 18px !important;
}

.cm-product-panel-body {
    padding-top: 23px !important;
    padding-bottom: 27px !important;
}

@media (max-width: 900px) {
    .cm-product-top {
        padding-top: 14px !important;
    }

    .cm-product-hero {
        gap: 26px !important;
    }

    .cm-product-main-image {
        min-height: 360px !important;
        padding: 28px !important;
    }

    .cm-product-main-image img {
        max-height: 310px !important;
    }

    .cm-product-contact > .cm-product-inner {
        width: min(100% - 48px, 1200px) !important;
    }
}

@media (max-width: 600px) {
    .cm-product-top {
        padding: 10px 0 22px !important;
    }

    .cm-product-back {
        margin-bottom: 7px !important;
    }

    .cm-product-main-image {
        min-height: 300px !important;
        padding: 22px !important;
    }

    .cm-product-main-image img {
        max-height: 260px !important;
    }

    .cm-product-intro {
        max-height: 180px;
    }

    .cm-product-contact {
        padding: 20px 0 36px !important;
    }

    .cm-product-contact > .cm-product-inner {
        width: calc(100% - 32px) !important;
    }
}


/* =========================================================
   PRODUCTO V2.3 — ÚLTIMOS AJUSTES VISUALES
========================================================= */

/* 1. El zoom de la imagen NO hereda el hover azul de botones.
      Conservamos la imagen limpia y solo reacciona el icono. */
.cm-product-image-zoom:hover,
.cm-product-image-zoom:focus-visible {
    background: transparent !important;
    border-color: transparent !important;
    color: inherit !important;
}

.cm-product-image-zoom:hover .cm-product-image-zoom-icon,
.cm-product-image-zoom:focus-visible .cm-product-image-zoom-icon {
    background: #1261b5 !important;
    color: #fff !important;
}

/* 2. Descripción legacy: quitamos separadores vacíos y reducimos
      el aire final para que el panel termine con su contenido. */
.cm-product-description > p:empty,
.cm-product-description > div:empty {
    display: none !important;
}

.cm-product-description > *:last-child {
    margin-bottom: 0 !important;
}

.cm-product-panel-body {
    padding-bottom: 20px !important;
}

/* Si el último elemento es el enlace de ficha, no deja cola visual. */
.cm-product-description a[href$=".pdf"],
.cm-product-description a[href*=".pdf?"] {
    margin-bottom: 0 !important;
}

/* 3. Ficha técnica + acción Descargar */
.cm-pdf-download-label {
    display: inline-flex;
    align-items: center;
    margin-left: 9px;
    padding-left: 10px;
    border-left: 1px solid #d8dde1;
    color: #1261b5;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.cm-product-description a[href$=".pdf"]:hover .cm-pdf-download-label,
.cm-product-description a[href*=".pdf?"]:hover .cm-pdf-download-label,
.cm-product-description a[href$=".pdf"]:focus-visible .cm-pdf-download-label,
.cm-product-description a[href*=".pdf?"]:focus-visible .cm-pdf-download-label {
    border-left-color: rgba(255,255,255,.45);
    color: #fff;
}

/* 4. Productos relacionados: reducimos aproximadamente a la mitad
      el espacio superior que tenía la plantilla original. */
.cm-product-related {
    padding-top: 40px !important;
}

/* 5. Patrón de interacción de Comercial Mendoza:
      botones amarillos -> azul al hover/foco. */
.cm-product-button:hover,
.cm-product-button:focus-visible,
.cm-product-contact-button:hover,
.cm-product-contact-button:focus-visible,
.cm-product-summary .button:hover,
.cm-product-summary .button:focus-visible,
.cm-product-contact .button:hover,
.cm-product-contact .button:focus-visible,
.cm-product-main a.button:hover,
.cm-product-main a.button:focus-visible {
    background: #1261b5 !important;
    border-color: #1261b5 !important;
    color: #fff !important;
}

/* Por si el CTA principal no usa la clase genérica button. */
.cm-product-primary-action:hover,
.cm-product-primary-action:focus-visible,
.cm-product-contact-primary:hover,
.cm-product-contact-primary:focus-visible {
    background: #1261b5 !important;
    border-color: #1261b5 !important;
    color: #fff !important;
}

@media (max-width: 650px) {
    .cm-product-related {
        padding-top: 28px !important;
    }

    .cm-pdf-download-label {
        margin-left: 7px;
        padding-left: 8px;
        font-size: 11px;
    }
}


/* =========================================================
   PRODUCTO V2.4 — AJUSTES FINALES SOLICITADOS
   Solo CSS: no cambia estructura, contenido ni lógica.
========================================================= */

/* 1. "También puede interesarte": un tercio menos que V2.3 */
.cm-product-related {
    padding-top: 27px !important;
}

/* 2. Menos espacio bajo la ficha técnica: aprox. la mitad */
.cm-product-panel-body {
    padding-bottom: 10px !important;
}

.cm-product-description {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.cm-product-description > *:last-child {
    margin-bottom: 0 !important;
}

/* 3. "DESCARGAR": amarillo de marca en reposo */
.cm-pdf-download-label {
    color: #c99a00 !important;
}

.cm-product-description a[href$=".pdf"]:hover .cm-pdf-download-label,
.cm-product-description a[href*=".pdf?"]:hover .cm-pdf-download-label,
.cm-product-description a[href$=".pdf"]:focus-visible .cm-pdf-download-label,
.cm-product-description a[href*=".pdf?"]:focus-visible .cm-pdf-download-label {
    color: #fff !important;
}

/* 4 + 6. CTA amarillos: azul al hover/foco.
   Incluye CTA superior y CTA del panel negro inferior. */
.cm-product-cta:hover,
.cm-product-cta:focus-visible,
.cm-product-contact-cta:hover,
.cm-product-contact-cta:focus-visible,
.cm-product-contact-box a.cm-product-cta:hover,
.cm-product-contact-box a.cm-product-cta:focus-visible,
.cm-product-summary a.cm-product-cta:hover,
.cm-product-summary a.cm-product-cta:focus-visible,
.cm-product-actions > a:hover,
.cm-product-actions > a:focus-visible,
.cm-product-contact-actions > a:hover,
.cm-product-contact-actions > a:focus-visible {
    background: #1261b5 !important;
    border-color: #1261b5 !important;
    color: #fff !important;
}

/* Refuerzo para cualquier CTA amarillo de la ficha que use las
   clases anteriores de la plantilla. */
.cm-product-button:hover,
.cm-product-button:focus-visible,
.cm-product-contact-button:hover,
.cm-product-contact-button:focus-visible,
.cm-product-primary-action:hover,
.cm-product-primary-action:focus-visible,
.cm-product-contact-primary:hover,
.cm-product-contact-primary:focus-visible {
    background: #1261b5 !important;
    border-color: #1261b5 !important;
    color: #fff !important;
}

/* 5. Mostrar más / menos: amarillo de marca al hover */
.cm-product-intro-toggle:hover,
.cm-product-intro-toggle:focus-visible {
    background: #f5c326 !important;
    border-color: #f5c326 !important;
    color: #20252b !important;
}

/* El selector global de botones no debe convertir este botón en azul. */
.cm-product-main .cm-product-intro-toggle:hover,
.cm-product-main .cm-product-intro-toggle:focus-visible {
    background: #f5c326 !important;
    border-color: #f5c326 !important;
    color: #20252b !important;
}

@media (max-width: 650px) {
    .cm-product-related {
        padding-top: 19px !important;
    }

    .cm-product-panel-body {
        padding-bottom: 9px !important;
    }
}


/* Selector exacto de los CTA amarillos de esta plantilla */
.cm-product-primary-cta:hover,
.cm-product-primary-cta:focus-visible {
    background: #1261b5 !important;
    border-color: #1261b5 !important;
    color: #fff !important;
}

/* Los enlaces secundarios WhatsApp/Llamar/Email no se convierten
   en botones azules por esta regla. */
.cm-product-actions > a:not(.cm-product-primary-cta):hover,
.cm-product-actions > a:not(.cm-product-primary-cta):focus-visible,
.cm-product-contact-actions > a:not(.cm-product-primary-cta):hover,
.cm-product-contact-actions > a:not(.cm-product-primary-cta):focus-visible {
    background: transparent !important;
    border-color: transparent !important;
}


/* =========================================================
   PRODUCTO V2.5 — REMATES FINALES
========================================================= */

/* 1. Zoom de imagen: amarillo de marca al hover/foco */
.cm-product-image-zoom:hover .cm-product-image-zoom-icon,
.cm-product-image-zoom:focus-visible .cm-product-image-zoom-icon {
    background: #f5c326 !important;
    border-color: #f5c326 !important;
    color: #20252b !important;
}

/* 2. Reducimos otra vez a la mitad el espacio final
      bajo la ficha técnica/contenido del panel */
.cm-product-panel-body {
    padding-bottom: 5px !important;
}

.cm-product-description {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.cm-product-description > *:last-child,
.cm-product-description a[href$=".pdf"],
.cm-product-description a[href*=".pdf?"] {
    margin-bottom: 0 !important;
}

/* 3. Flechas de productos relacionados = patrón visual de la Home */
.cm-related-arrow {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f5c326 !important;
    color: #20252b !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 21px !important;
    line-height: 1 !important;
    transition: background .18s ease, color .18s ease, transform .18s ease !important;
}

.cm-related-arrow:hover,
.cm-related-arrow:focus-visible {
    background: #1261b5 !important;
    border-color: #1261b5 !important;
    color: #fff !important;
    transform: translateY(-1px);
    outline: none !important;
}

@media (max-width: 650px) {
    .cm-product-panel-body {
        padding-bottom: 4px !important;
    }

    .cm-related-arrow {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        font-size: 19px !important;
    }
}


/* =========================================================
   PRODUCTO V2.6 — CORRECCIÓN REAL DE ESPACIOS + FLECHAS HOME
========================================================= */

/* El panel termina exactamente donde termina el contenido. */
.cm-product-panel-body,
.cm-product-description {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.cm-product-description > p:last-child,
.cm-product-description > div:last-child,
.cm-product-description > figure:last-child {
    margin-bottom: 0 !important;
}

/* Espaciadores legacy típicos (<p><br></p>) */
.cm-product-description p:has(> br:only-child),
.cm-product-description div:has(> br:only-child) {
    display: none !important;
}

/* Flechas exactamente con el lenguaje visual de Home:
   círculo amarillo + flecha recta horizontal oscura. */
.cm-related-arrow {
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f5c326 !important;
    color: #20252b !important;
    font-size: 18px !important;
    font-family: Arial, sans-serif !important;
    font-weight: 500 !important;
    line-height: 38px !important;
    text-align: center !important;
    box-shadow: none !important;
}

.cm-related-arrow:hover,
.cm-related-arrow:focus-visible {
    background: #1261b5 !important;
    color: #fff !important;
    border-color: #1261b5 !important;
}

@media (max-width: 650px) {
    .cm-related-arrow {
        flex-basis: 36px !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        line-height: 36px !important;
        font-size: 17px !important;
    }
}


/* =========================================================
   PRODUCTO V2.7 — CTA SUPERIOR DE FICHA TÉCNICA
========================================================= */

/* Margen final inferior acordado */
.cm-product-panel-body {
    padding-bottom: 16px !important;
}

/* Los dos CTA principales quedan juntos */
.cm-product-actions {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
}

.cm-product-summary-quick-contact,
.cm-product-help {
    flex-basis: 100%;
}

/* Ficha técnica: acción secundaria */
.cm-product-technical-sheet-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 18px;
    border: 2px solid #f5c326;
    border-radius: 4px;
    background: #fff;
    color: #20252b;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.cm-product-technical-sheet-cta span {
    color: #c99a00;
    font-size: 16px;
    font-weight: 900;
}

.cm-product-technical-sheet-cta:hover,
.cm-product-technical-sheet-cta:focus-visible {
    background: #1261b5 !important;
    border-color: #1261b5 !important;
    color: #fff !important;
}

.cm-product-technical-sheet-cta:hover span,
.cm-product-technical-sheet-cta:focus-visible span {
    color: #fff !important;
}

@media (max-width: 520px) {
    .cm-product-primary-cta,
    .cm-product-technical-sheet-cta {
        width: 100%;
    }
}


/* =========================================================
   PRODUCTO V2.8 — AJUSTES FINALES
========================================================= */

/* Ficha técnica superior: hover azul correcto */
.cm-product-main .cm-product-technical-sheet-cta:hover,
.cm-product-main .cm-product-technical-sheet-cta:focus-visible {
    background: #1261b5 !important;
    border-color: #1261b5 !important;
    color: #ffffff !important;
}

.cm-product-main .cm-product-technical-sheet-cta:hover span,
.cm-product-main .cm-product-technical-sheet-cta:focus-visible span {
    color: #ffffff !important;
}

/* Espacio inferior del panel de información */
.cm-product-panel-body {
    padding-bottom: 40px !important;
}


/* =========================================================
   PRODUCTO V2.9 — FIX DEFINITIVO HOVER FICHA TÉCNICA
========================================================= */

/*
 * Selector exacto según el HTML real:
 * .cm-product-actions > a.cm-product-technical-sheet-cta
 * Se coloca al FINAL para anular la regla genérica que deja
 * transparentes los enlaces secundarios de .cm-product-actions.
 */
.cm-product-actions > a.cm-product-technical-sheet-cta:hover,
.cm-product-actions > a.cm-product-technical-sheet-cta:focus,
.cm-product-actions > a.cm-product-technical-sheet-cta:focus-visible {
    background-color: #1261b5 !important;
    background-image: none !important;
    border: 2px solid #1261b5 !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

.cm-product-actions > a.cm-product-technical-sheet-cta:hover span,
.cm-product-actions > a.cm-product-technical-sheet-cta:focus span,
.cm-product-actions > a.cm-product-technical-sheet-cta:focus-visible span {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Mantener el espacio inferior solicitado */
.cm-product-panel-body {
    padding-bottom: 40px !important;
}

/* =========================================================
   V2.10 — AJUSTE FINAL DATOS TÉCNICOS
   Dos columnas reales en escritorio; apilado limpio en móvil.
   ========================================================= */

.cm-product-panel-body .cm-product-technical-row {
    display: grid;
    grid-template-columns: minmax(190px, 34%) minmax(0, 1fr);
    align-items: stretch;
    border-bottom: 1px solid var(--cm2-line);
}

.cm-product-panel-body .cm-product-technical-row:last-child {
    border-bottom: 0;
}

.cm-product-panel-body .cm-product-technical-name,
.cm-product-panel-body .cm-product-technical-value {
    min-width: 0;
    padding: 13px 16px;
}

.cm-product-panel-body .cm-product-technical-name {
    display: flex;
    align-items: flex-start;
    border-right: 1px solid var(--cm2-line);
    background: rgba(246, 247, 248, .72);
    line-height: 1.45;
}

.cm-product-panel-body .cm-product-technical-value {
    color: #3f4449;
    line-height: 1.45;
}

.cm-product-panel-body .cm-product-technical-main-value {
    color: var(--cm2-ink);
    font-weight: 700;
}

.cm-product-panel-body .cm-product-technical-method,
.cm-product-panel-body .cm-product-technical-note {
    display: block;
    margin-top: 5px;
    color: #687078;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
}

@media (max-width: 680px) {
    .cm-product-panel-body .cm-product-technical-row {
        grid-template-columns: 1fr;
    }

    .cm-product-panel-body .cm-product-technical-name {
        padding-bottom: 6px;
        border-right: 0;
        background: transparent;
    }

    .cm-product-panel-body .cm-product-technical-value {
        padding-top: 0;
        padding-bottom: 14px;
    }
}



/* =========================================================
   V2.11 — NOTAS INTERNAS NO PÚBLICAS
   Los métodos ASTM/ISO/DIN permanecen visibles.
   ========================================================= */

.cm-product-technical-note {
    display: none !important;
}




/* =========================================================
   NOSOTROS — CTA FINAL
   ========================================================= */

.cm-about-cta {
  padding: 0 0 34px;
  background: #f4f5f6;
  color: #fff;
}

.cm-about-cta .cm-about-cta-inner {
  width: 100%;
  max-width: none;
  padding: 38px 40px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: #1f2328;
  text-align: center;
}

.cm-about-cta .cm-about-cta-inner h2 {
  margin: 0 0 10px;
  padding: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
}

.cm-about-cta .cm-about-cta-inner > p {
  margin: 0 0 22px;
  padding: 0;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.5;
}

.cm-about-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.cm-about-cta .cm-about-cta-action {
  min-height: 46px;
  height: auto;

  padding: 13px 22px;
  margin: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  width: auto;

  box-sizing: border-box;

  border: 1px solid rgba(255,255,255,.30);
  border-radius: 6px;

  background: transparent;
  color: #fff !important;

  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;

  text-decoration: none !important;
  white-space: nowrap;

  transition:
    background .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease;
}

.cm-about-cta .cm-about-cta-action--primary {
  border-color: #f4c430;
  background: #f4c430;
  color: #1f2328 !important;
}

.cm-about-cta .cm-about-cta-text,
.cm-about-cta .cm-about-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;

  font: inherit;
  line-height: 1.2;
}

.cm-about-cta .cm-about-cta-arrow {
  font-size: 15px;
  transform: translateY(-1px);
}

.cm-about-cta .cm-about-cta-action:hover,
.cm-about-cta .cm-about-cta-action:focus {
  border-color: #1a4a9b;
  background: #1a4a9b;
  color: #fff !important;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .cm-about-cta {
    padding-bottom: 26px;
  }

  .cm-about-cta .cm-about-cta-inner {
    padding: 32px 24px;
    align-items: center;
    text-align: center;
  }

  .cm-about-cta .cm-about-cta-inner h2 {
    font-size: 27px;
  }

  .cm-about-cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .cm-about-cta .cm-about-cta-action {
    width: 100%;
  }

  .cm-about-cta .cm-about-cta-action--primary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .cm-about-cta-actions {
    grid-template-columns: 1fr;
  }

  .cm-about-cta .cm-about-cta-action--primary {
    grid-column: auto;
  }
}

/* =========================================================
   NOSOTROS · AJUSTE VISUAL DE LOGOS
   ========================================================= */

/* Petronas */
.cm-about-brand img[alt="Petronas"] {
    transform: scale(1.8);
}

/* ELF / ENI */
.cm-about-brand img[alt="ELF"] {
    transform: scale(1.55);
}

/* Repsol */
.cm-about-brand img[alt="Repsol"] {
    transform: scale(1.55);
}

/* Mobil */
.cm-about-brand img[alt="Mobil"] {
    transform: scale(1.45);
}

/* Motul */
.cm-about-brand img[alt="Motul"] {
    transform: scale(1.45);
}

/* Shell */
.cm-about-brand img[alt="Shell"] {
    transform: scale(1.45);
}

/* =========================================================
   LUBRICANTES PARA MAQUINAS INDUSTRIALES
   COMERCIAL MENDOZA — FINAL
   ========================================================= */

.cm-industrial {
    background: #f4f5f6;
    color: #1f2328;
}

.cm-industrial *,
.cm-industrial *::before,
.cm-industrial *::after {
    box-sizing: border-box;
}

.cm-industrial-inner {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   ELEMENTOS COMUNES
   ========================================================= */

.cm-industrial-accent {
    display: block;
    width: 54px;
    height: 4px;
    margin-bottom: 18px;
    background: #f4c430;
}

.cm-industrial-eyebrow,
.cm-industrial-section-label {
    display: block;
    margin-bottom: 10px;
    color: #a07c00;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cm-industrial-section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.cm-industrial-section-heading h2,
.cm-industrial-selection-heading h2 {
    margin: 0;
    color: #1f2328;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.1;
}

.cm-industrial-section-heading > p {
    max-width: 680px;
    margin: 14px 0 0;
    color: #4b5056;
    font-size: 16px;
    line-height: 1.65;
}


/* =========================================================
   HERO
   ========================================================= */

.cm-industrial-hero {
    margin: 0;
    padding: 50px 0 44px;
    background: #1f2328;
    color: #fff;
}

.cm-industrial-hero-inner {
    max-width: 1200px;
}

.cm-industrial-hero .cm-industrial-accent {
    margin-bottom: 20px;
}

.cm-industrial-hero .cm-industrial-eyebrow {
    margin-bottom: 12px;
    color: #f4c430;
}

.cm-industrial-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.05;
}

.cm-industrial-hero p {
    max-width: 700px;
    margin: 20px 0 0;
    color: rgba(255,255,255,.80);
    font-size: 18px;
    line-height: 1.6;
}

.cm-industrial-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}


/* =========================================================
   ACCIONES / BOTONES
   ========================================================= */

.cm-industrial-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    min-height: 46px;
    padding: 0 18px;

    background: transparent;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 6px;

    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.cm-industrial-action--primary {
    background: #f4c430;
    border-color: #f4c430;
    color: #1f2328 !important;
}

.cm-industrial-action:hover,
.cm-industrial-action:focus,
.cm-industrial-action--primary:hover,
.cm-industrial-action--primary:focus {
    background: #1a4a9b;
    border-color: #1a4a9b;
    color: #fff !important;
}


/* =========================================================
   INTRODUCCIÓN
   ========================================================= */

.cm-industrial-intro {
    padding: 42px 0;
    background: #fff;
}

.cm-industrial-intro-grid {
    display: grid;
    grid-template-columns: 1.55fr .65fr;
    gap: 48px;
    align-items: stretch;
}

.cm-industrial-intro-content p {
    margin: 0 0 15px;
    color: #4b5056;
    font-size: 16px;
    line-height: 1.7;
}

.cm-industrial-intro-content p:last-child {
    margin-bottom: 0;
}

.cm-industrial-experience {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px 28px;
    background: #1f2328;
    border-left: 4px solid #f4c430;
    border-radius: 8px;
}

.cm-industrial-experience strong {
    display: block;
    color: #f4c430;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
}

.cm-industrial-experience h3 {
    margin: 8px 0 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.2;
}

.cm-industrial-experience p {
    margin: 8px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   TIPOS DE LUBRICANTES
   ========================================================= */

.cm-industrial-types {
    padding: 42px 0;
    background: #f4f5f6;
}

.cm-industrial-types-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.cm-industrial-type {
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(31,35,40,.08);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(31,35,40,.05);
}

.cm-industrial-type-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    margin-bottom: 20px;

    background: #f4c430;
    border-radius: 10px;

    color: #1f2328;
    font-size: 13px;
    font-weight: 700;
}

.cm-industrial-type h3 {
    margin: 0 0 10px;
    color: #1f2328;
    font-size: 20px;
    line-height: 1.25;
}

.cm-industrial-type p {
    margin: 0;
    color: #4b5056;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   SELECCIÓN DEL PRODUCTO
   ========================================================= */

.cm-industrial-selection {
    padding: 42px 0;
    background: #fff;
}

.cm-industrial-selection-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 58px;
    align-items: start;
}

.cm-industrial-selection-heading .cm-industrial-accent {
    margin-bottom: 18px;
}

.cm-industrial-selection-content {
    padding-top: 8px;
}

.cm-industrial-selection-content p {
    margin: 0 0 14px;
    color: #4b5056;
    font-size: 15px;
    line-height: 1.7;
}

.cm-industrial-selection-content p:last-child {
    margin-bottom: 0;
}


/* FACTORES */

.cm-industrial-factors {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 22px;
    overflow: hidden;
    background: #f4f5f6;
    border: 1px solid #e1e3e5;
    border-radius: 8px;
}

.cm-industrial-factor {
    padding: 17px 20px;
    border-right: 1px solid #e1e3e5;
}

.cm-industrial-factor:last-child {
    border-right: 0;
}

.cm-industrial-factor-accent {
    display: block;
    width: 32px;
    height: 3px;
    margin-bottom: 10px;
    background: #f4c430;
}

.cm-industrial-factor strong {
    display: block;
    margin-bottom: 3px;
    color: #1f2328;
    font-size: 14px;
}

.cm-industrial-factor > span:last-child {
    display: block;
    color: #74797e;
    font-size: 12px;
}


/* =========================================================
   CATÁLOGO INDUSTRIAL
   ========================================================= */

.cm-industrial-catalog {
    padding: 14px 0 28px;
    background: #fff;
}

.cm-industrial-catalog-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    padding: 30px 34px;

    background: #1f2328;
    border-radius: 10px;
}

.cm-industrial-catalog-content {
    max-width: 720px;
}

.cm-industrial-catalog-label {
    display: block;
    margin-bottom: 7px;
    color: #f4c430;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.cm-industrial-catalog h2 {
    margin: 0;
    color: #fff;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.2;
}

.cm-industrial-catalog p {
    margin: 8px 0 0;
    color: rgba(255,255,255,.75);
    font-size: 14px;
    line-height: 1.5;
}

.cm-industrial-catalog-box > .cm-industrial-action {
    flex-shrink: 0;
}


/* =========================================================
   FAQ
   ========================================================= */

.cm-industrial-faq-section {
    padding: 38px 0 42px;
    background: #f4f5f6;
}

.cm-industrial-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cm-industrial-faq details {
    align-self: start;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(31,35,40,.10);
    border-radius: 8px;
}

.cm-industrial-faq summary {
    position: relative;
    padding: 17px 52px 17px 19px;
    color: #1f2328;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
}

.cm-industrial-faq summary::-webkit-details-marker {
    display: none;
}

.cm-industrial-faq summary::after {
    content: "+";

    position: absolute;
    top: 50%;
    right: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    transform: translateY(-50%);

    background: #f4c430;
    border-radius: 50%;

    color: #1f2328;
    font-size: 17px;
    line-height: 1;
}

.cm-industrial-faq details[open] summary::after {
    content: "−";
}

.cm-industrial-faq details p {
    margin: 0;
    padding: 0 19px 18px;
    color: #4b5056;
    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   CTA FINAL
   MISMO PATRÓN VISUAL QUE EL RESTO DE LA WEB
   ========================================================= */

.cm-industrial-cta {
    padding: 30px 0 48px;
    background: #f4f5f6;
}

.cm-industrial-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 38px 40px;

    background: #1f2328;
    border-radius: 10px;
    text-align: center;
}

.cm-industrial-cta h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.cm-industrial-cta p {
    margin: 0 0 20px;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.5;
}

.cm-industrial-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cm-industrial-cta-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    min-width: 138px;
    min-height: 46px;
    padding: 0 18px;

    background: transparent;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 6px;

    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.cm-industrial-cta-action--primary {
    min-width: 172px;
    background: #f4c430;
    border-color: #f4c430;
    color: #1f2328 !important;
}

.cm-industrial-cta-action:hover,
.cm-industrial-cta-action:focus,
.cm-industrial-cta-action--primary:hover,
.cm-industrial-cta-action--primary:focus {
    background: #1a4a9b;
    border-color: #1a4a9b;
    color: #fff !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1023px) {

    .cm-industrial-intro-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .cm-industrial-types-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cm-industrial-selection-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cm-industrial-selection-content {
        padding-top: 0;
    }

    .cm-industrial-factors {
        grid-template-columns: repeat(2, 1fr);
    }

    .cm-industrial-factor:nth-child(2) {
        border-right: 0;
    }

    .cm-industrial-factor:nth-child(-n+2) {
        border-bottom: 1px solid #e1e3e5;
    }

    .cm-industrial-catalog-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .cm-industrial-inner {
        width: min(100% - 32px, 1200px);
    }

    .cm-industrial-hero {
        padding: 42px 0 38px;
    }

    .cm-industrial-hero h1 {
        font-size: 36px;
    }

    .cm-industrial-hero p {
        font-size: 16px;
    }

    .cm-industrial-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cm-industrial-action {
        width: 100%;
    }

    .cm-industrial-intro,
    .cm-industrial-types,
    .cm-industrial-selection {
        padding: 36px 0;
    }

    .cm-industrial-section-heading {
        margin-bottom: 24px;
    }

    .cm-industrial-section-heading h2,
    .cm-industrial-selection-heading h2 {
        font-size: 30px;
    }

    .cm-industrial-types-grid,
    .cm-industrial-faq {
        grid-template-columns: 1fr;
    }

    .cm-industrial-factors {
        grid-template-columns: 1fr;
    }

    .cm-industrial-factor,
    .cm-industrial-factor:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid #e1e3e5;
    }

    .cm-industrial-factor:last-child {
        border-bottom: 0;
    }

    .cm-industrial-catalog {
        padding: 10px 0 22px;
    }

    .cm-industrial-catalog-box {
        padding: 26px 22px;
    }

    .cm-industrial-catalog h2 {
        font-size: 24px;
    }

    .cm-industrial-faq-section {
        padding: 34px 0 36px;
    }

    .cm-industrial-cta {
        padding: 24px 0 38px;
    }

    .cm-industrial-cta-inner {
        padding: 30px 20px;
    }

    .cm-industrial-cta h2 {
        font-size: 26px;
    }

    .cm-industrial-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .cm-industrial-cta-action,
    .cm-industrial-cta-action--primary {
        width: 100%;
        min-width: 0;
    }
}

/* =========================================================
   HEADER — BARRA GLOBAL DE CONFIANZA Y CONTACTO
   ========================================================= */

.cm-global-topbar {
    width: 100%;
    background: #171a1d;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    position: sticky;
    top: 0;
    z-index: 99999;
}

.cm-global-topbar__inner {
    width: min(1200px, calc(100% - 48px));
    min-height: 38px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.cm-global-topbar__trust {
    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 13px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.82);
}

.cm-global-topbar__trust strong {
    color: #f4c430;
    font-weight: 800;
}

.cm-global-topbar__contact {
    display: flex;
    align-items: center;
    gap: 0;
}

.cm-global-topbar__contact a {
    position: relative;
    padding: 0 14px;

    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 38px;
    text-decoration: none !important;

    transition: color 0.2s ease;
}

.cm-global-topbar__contact a:last-child {
    padding-right: 0;
}

.cm-global-topbar__contact a + a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;

    width: 1px;
    height: 12px;

    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-50%);
}

.cm-global-topbar__contact a:hover,
.cm-global-topbar__contact a:focus {
    color: #f4c430 !important;
}

/* TABLET */
@media (max-width: 768px) {

    .cm-global-topbar__inner {
        width: min(100% - 32px, 1200px);
    }

    .cm-global-topbar__trust span {
        display: none;
    }
}

/* MÓVIL */
@media (max-width: 520px) {

    .cm-global-topbar__inner {
        width: calc(100% - 24px);
        min-height: 36px;
        gap: 10px;
    }

    .cm-global-topbar__trust {
        white-space: nowrap;
        font-size: 12px;
    }

    .cm-global-topbar__contact a {
        padding: 0 8px;
        font-size: 12px;
        line-height: 36px;
    }

    .cm-global-topbar__contact a:last-child {
        padding-right: 0;
    }
}

/* MÓVIL ESTRECHO */
@media (max-width: 390px) {

    .cm-global-topbar__contact a {
        padding: 0 6px;
        font-size: 11px;
    }

    .cm-global-topbar__trust {
        font-size: 11px;
    }
}

/* =========================================================
   FOOTER — COMPACTO V1
   ========================================================= */

/* Zona principal de widgets */
.footer-widgets {
    padding-top: 22px !important;
    padding-bottom: 14px !important;
}

.footer-widgets-container {
    padding-top: 22px !important;
    padding-bottom: 14px !important;
}

/* Reduce espacios internos innecesarios */
.footer-widgets .widget {
    margin-bottom: 14px !important;
}

.footer-widgets .widget:last-child {
    margin-bottom: 0 !important;
}

/* Logo */
.footer-widgets .wp-block-image {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}

/* Párrafos */
.footer-widgets p {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    line-height: 1.55;
}

/* Títulos Enlaces / Legal */
.footer-widgets h2 {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}

/* Listas */
.footer-widgets ul {
    margin-bottom: 0 !important;
}

.footer-widgets li {
    margin-bottom: 7px !important;
}

/* Franja inferior */
.site-info {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

/* Móvil */
@media (max-width: 768px) {

    .footer-widgets {
        padding-top: 28px !important;
        padding-bottom: 24px !important;
    }

    .footer-widgets .footer-widget-1,
    .footer-widgets .footer-widget-2,
    .footer-widgets .footer-widget-3 {
        margin-bottom: 28px;
    }
}

/* Industria - enlace amarillo solo al pasar el ratón */
.cm-news-hero p a:hover,
.cm-news-hero p a:focus {
    color: #f4c430;
}