/* ═══════════════ ESPACIADO VERTICAL PARA SECCIONES ═══════════════ */
/* ═══════════════ TÍTULO DE SECCIÓN CON BARRA NARANJA ═══════════════ */
/* ═══════════════ GRID DE 3 COLUMNAS (BASE PARA TARJETAS) ═══════════════ */
/* ═══════════════ TARJETA BASE ═══════════════ */
.c-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: var(--texto);
  transition: transform 0.25s, box-shadow 0.25s;
}

.c-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ═══════════════ IMAGEN ═══════════════ */
.c-card__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  padding: 6px 6px 6px 6px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: white
}

.c-card .c-card__img-wrap .c-card__img {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 12px 12px 0 0 !important;
  object-fit: cover !important;
  padding: 0 !important;
}

.c-card__img--framed {
  object-fit: cover !important;
  padding: 0 !important;
}

/* Ribbon para productos destacados */
.c-card__ribbon {
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 12;
  width: 210px;
  height: 210px;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
}

.c-card__ribbon-text {
  position: absolute;
  top: 52px;
  left: -52px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 285px;
  height: 46px;
  background: linear-gradient(180deg, #ff9f40 0%, #f17812 52%, #dc620b 100%);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28),
              inset 0 1px 0 rgba(255, 255, 255, 0.45),
              inset 0 -1px 0 rgba(0, 0, 0, 0.16);
  border-top: 2px solid rgba(255, 255, 255, 0.65);
  border-bottom: 2px solid rgba(0, 0, 0, 0.14);
}


/* ═══════════════ HOVER BUTTON ═══════════════ */
.c-card__hover-action {
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 8;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.c-card:hover .c-card__hover-action {
  opacity: 1;
  transform: translateY(0);
}

.c-card__hover-btn {
  display: inline-block;
  padding: 10px 28px;
  color: #000000;
  border: 2px solid #000000;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 8px;
  background: white;
  transition: all 0.3s;
}

.c-card__hover-btn:hover {
  background: #1a1a1a;
  color: #fff;

}

/* ═══════════════ CUERPO ═══════════════ */
.c-card__body {
  padding: 26px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  background: #ffffff;
}

.c-card__tag {
  font-weight: 700;
  text-transform: uppercase;
  color: #EB690B;
  /* Oscurecido para cumplir WCAG AA (5.2:1 ratio sobre blanco) */
}

/* ═══════════════ TÍTULO ═══════════════ */
.c-card__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #555;
}

.c-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #EB690B;
  /* Oscurecido para cumplir WCAG AA (5.2:1 ratio sobre blanco) */
  margin: 0;
}

/* ═══════════════ DESCRIPCIÓN ═══════════════ */
.c-card__desc {
  font-size: 0.85rem;
  color: var(--gris);
  line-height: 1.5;
  margin: 0;
  text-align: justify;
}

/* ═══════════════ BOTÓN OUTLINE (VER TODAS / MÁS NOVEDADES) ═══════════════ */
.btn-outline {
  display: inline-block;
  padding: 12px 36px;
  border: 2px solid #EB690B;
  color: #EB690B;
  /* Oscurecido para cumplir WCAG AA sobre fondo blanco */
  background: transparent;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.btn-outline:hover {
  background: var(--naranja);
  /* En hover, blanco sobre naranja = 4.5:1+ OK */
  color: #fff;
}

/* ═══════════════ PRODUCT CARD MAQUETADO ═══════════════ */
.multi-quote-chk {
  position: absolute;
  top: 6px;
  right: 6px;
  cursor: pointer;
  font-size: 1.8rem;
  color: #1a1a1a;
  line-height: 1;
  z-index: 5;
  transition: transform 0.2s;
  border-radius: 6px;
  padding: 2px;
}

.multi-quote-chk:hover {
  transform: scale(1.1);
}

/* ═══════════════ MULTI COTIZAR BAR ═══════════════ */
.multi-quote-bar {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s;
  transform: translateX(-150%);
  opacity: 0;
}

.multi-quote-bar.active {
  transform: translateX(0);
  opacity: 1;
}

.multi-quote-bar.collapsed {
  transform: translateX(calc(-100% - 25px));
}

.multi-quote-arrow {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.multi-quote-bar.collapsed .multi-quote-arrow {
  transform: rotate(180deg);
  right: -50px;
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
}

.multi-quote-thumbs {
  display: flex;
  gap: 8px;
  align-items: center;
}

.multi-quote-thumb-wrap {
  width: 55px;
  height: 55px;
  position: relative;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #eee;
  padding: 4px;
}

.multi-quote-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.multi-quote-btn {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.multi-quote-btn:hover {
  background: var(--naranja);
}
