.ema-frios-catalogo-widget,
.ema-frios-catalogo-widget * {
  box-sizing: border-box;
}

.ema-frios-catalogo-widget {
  --ema-blue: #004b93;
  --ema-blue-dark: #003876;
  --ema-blue-2: #0077d9;
  --ema-yellow: #ffd600;
  --ema-texto: #253858;
  --ema-muted: #66758f;
  --ema-borde: rgba(0, 75, 147, 0.16);
  --ema-sombra: 0 18px 45px rgba(6, 40, 95, 0.10);
  --ema-sombra-hover: 0 24px 60px rgba(6, 40, 95, 0.18);
  --ema-cols: 3;

  width: 100%;
  font-family: inherit;
  color: var(--ema-texto);
  background:
    radial-gradient(circle at top left, rgba(0, 75, 147, 0.09), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #f5fbff 100%);
  padding: clamp(54px, 7vw, 88px) 18px;
  overflow: hidden;
}

.ema-frios-catalogo-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.ema-frios-catalogo-kicker {
  display: block;
  width: fit-content;
  margin: 0 auto 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(0, 75, 147, 0.09);
  color: var(--ema-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ema-frios-catalogo-title {
  margin: 0;
  text-align: center;
  color: var(--ema-blue-dark);
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.08;
  font-weight: 900;
}

.ema-frios-catalogo-subtitle {
  max-width: 720px;
  margin: 14px auto 34px;
  text-align: center;
  color: var(--ema-muted);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.65;
}

.ema-frios-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 auto 34px;
}

.ema-frios-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid var(--ema-borde);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ema-blue-dark);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(6, 40, 95, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, color 220ms ease, background 220ms ease, border-color 220ms ease;
  overflow: hidden;
}

.ema-frios-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ema-blue) 0%, var(--ema-blue-2) 100%);
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: 0;
}

.ema-frios-tab svg,
.ema-frios-tab span {
  position: relative;
  z-index: 1;
}

.ema-frios-tab svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.ema-frios-tab:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(6, 40, 95, 0.12);
  border-color: rgba(0, 75, 147, 0.32);
}

.ema-frios-tab.is-active {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 35px rgba(0, 75, 147, 0.24);
}

.ema-frios-tab.is-active::before {
  opacity: 1;
}

.ema-frios-tab.is-active svg {
  animation: emaFriosTabIcon 1.6s ease-in-out infinite;
}

.ema-frios-panel {
  display: none;
  animation: emaFriosPanelIn 520ms ease both;
}

.ema-frios-panel.is-active {
  display: block;
}

.ema-frios-panel-heading {
  text-align: center;
  margin: 0 auto 28px;
}

.ema-frios-panel-heading h3 {
  margin: 0 0 8px;
  color: var(--ema-blue-dark);
  font-size: clamp(25px, 3.2vw, 36px);
  line-height: 1.15;
  font-weight: 900;
}

.ema-frios-panel-heading p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ema-muted);
  font-size: 16px;
  line-height: 1.65;
}

.ema-frios-grid {
  display: grid;
  grid-template-columns: repeat(var(--ema-cols), minmax(0, 1fr));
  gap: 24px;
}

.ema-frios-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--ema-borde);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--ema-sombra);
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.ema-frios-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 75, 147, 0.10), transparent 42%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.ema-frios-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ema-sombra-hover);
  border-color: rgba(0, 75, 147, 0.30);
}

.ema-frios-card:hover::before {
  opacity: 1;
}

.ema-frios-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 232px;
  margin: -4px 0 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 75, 147, 0.12), transparent 44%),
    linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%);
  overflow: hidden;
}

.ema-frios-card-media img {
  max-width: 88%;
  height: 205px;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(6, 40, 95, 0.13));
  transition: transform 320ms ease, filter 320ms ease;
  position: relative;
  z-index: 1;
}

.ema-frios-card:hover .ema-frios-card-media img {
  transform: translateY(-6px) scale(1.045);
  filter: drop-shadow(0 22px 24px rgba(6, 40, 95, 0.18));
}

.ema-frios-card h4 {
  margin: 0 0 12px;
  color: var(--ema-blue-dark);
  font-size: 19px;
  line-height: 1.25;
  font-weight: 900;
}

.ema-frios-features {
  flex: 1;
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: var(--ema-texto);
  font-size: 14.5px;
  line-height: 1.35;
}

.ema-frios-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.ema-frios-features li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--ema-blue);
  box-shadow: 0 0 0 4px rgba(0, 75, 147, 0.10);
}

.ema-frios-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: auto 0 14px;
  padding: 13px 15px;
  border: 1px solid var(--ema-borde);
  border-radius: 16px;
  background: linear-gradient(180deg, #f5fbff 0%, #eef7ff 100%);
}

.ema-frios-price small {
  display: block;
  color: var(--ema-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.ema-frios-price strong {
  color: var(--ema-blue);
  font-size: 23px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.ema-frios-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--ema-blue) 0%, var(--ema-blue-2) 100%);
  box-shadow: 0 14px 26px rgba(0, 75, 147, 0.24);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.ema-frios-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -90%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-20deg);
  transition: left 620ms ease;
}

.ema-frios-btn span,
.ema-frios-btn svg {
  position: relative;
  z-index: 1;
}

.ema-frios-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 220ms ease;
}

.ema-frios-btn:hover,
.ema-frios-btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 75, 147, 0.32);
  filter: saturate(1.08);
}

.ema-frios-btn:hover::before,
.ema-frios-btn:focus-visible::before {
  left: 125%;
}

.ema-frios-btn:hover svg,
.ema-frios-btn:focus-visible svg {
  transform: translateX(3px) scale(1.08);
}

.ema-frios-wa-note {
  margin: 9px 0 0;
  text-align: center;
  color: var(--ema-muted);
  font-size: 12px;
  font-weight: 700;
}

.ema-frios-final-cta {
  margin: 34px auto 0;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--ema-blue-dark) 0%, var(--ema-blue) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 18px 44px rgba(6, 40, 95, 0.18);
}

.ema-frios-final-cta h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  font-weight: 950;
}

.ema-frios-final-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
}

.ema-frios-final-cta .ema-frios-final-btn {
  flex: 0 0 auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ema-yellow);
  color: var(--ema-blue-dark);
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
  transition: transform 220ms ease, box-shadow 220ms ease;
  overflow: hidden;
}

.ema-frios-final-cta .ema-frios-final-btn::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(255, 214, 0, 0.55);
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 220ms ease, transform 220ms ease;
}

.ema-frios-final-cta .ema-frios-final-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
}

.ema-frios-final-cta .ema-frios-final-btn:hover::after {
  opacity: 1;
  transform: scale(1);
}

.ema-frios-final-cta svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@keyframes emaFriosPanelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes emaFriosCardIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes emaFriosTabIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@media (max-width: 980px) {
  .ema-frios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ema-frios-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .ema-frios-catalogo-widget {
    padding: 46px 14px;
  }

  .ema-frios-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ema-frios-tab {
    width: 100%;
  }

  .ema-frios-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ema-frios-card {
    padding: 18px;
    border-radius: 20px;
  }

  .ema-frios-card-media {
    height: 210px;
  }

  .ema-frios-card-media img {
    height: 185px;
  }

  .ema-frios-price {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .ema-frios-final-cta {
    padding: 20px;
    border-radius: 20px;
  }

  .ema-frios-final-cta .ema-frios-final-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ema-frios-catalogo-widget *,
  .ema-frios-catalogo-widget *::before,
  .ema-frios-catalogo-widget *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
