/* =========================================================
   BANNER FLOTANTE - ENVÍO EXPRESS
   Archivo independiente para no tocar estilos de promociones.
   ========================================================= */

.nc-express-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 9998;
  width: min(780px, calc(100vw - 28px));
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 56, 66, .38);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 50, 60, .18), transparent 34%),
    linear-gradient(135deg, rgba(24, 24, 24, .98), rgba(8, 8, 8, .98));
  box-shadow:
    0 18px 48px rgba(0, 0, 0, .52),
    0 0 0 1px rgba(255, 255, 255, .03) inset,
    0 0 34px rgba(232, 17, 35, .12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nc-express-banner__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.045) 46%, transparent 72%);
}

.nc-express-banner__icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 15px;
  font-size: 26px;
  background: linear-gradient(145deg, #ef1d2f, #a9000d);
  box-shadow:
    0 10px 22px rgba(216, 12, 28, .28),
    inset 0 1px 0 rgba(255, 255, 255, .18);
}

.nc-express-banner__content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.nc-express-banner__eyebrow {
  margin-bottom: 2px;
  color: #ff8f97;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .09em;
}

.nc-express-banner__title {
  color: #fff;
  font-size: 19px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.02em;
}

.nc-express-banner__subtitle {
  margin-top: 3px;
  color: rgba(255,255,255,.86);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
}

.nc-express-banner__stock {
  margin-top: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  color: rgba(255,255,255,.58);
  font-size: 9px;
  line-height: 1.2;
}

.nc-express-banner__stock strong {
  color: rgba(255,255,255,.86);
  font-weight: 750;
}

.nc-express-banner__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #56e879;
  box-shadow: 0 0 8px rgba(86, 232, 121, .75);
}

.nc-express-banner__button {
  position: relative;
  z-index: 1;
  min-height: 48px;
  min-width: 172px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  background: linear-gradient(180deg, #ff2639 0%, #dc071a 100%);
  box-shadow:
    0 10px 24px rgba(220, 7, 26, .34),
    inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.nc-express-banner__button:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    0 14px 30px rgba(220, 7, 26, .42),
    inset 0 1px 0 rgba(255,255,255,.2);
}

.nc-express-banner__arrow {
  font-size: 17px;
  line-height: 1;
  transition: transform .16s ease;
}

.nc-express-banner__button:hover .nc-express-banner__arrow {
  transform: translateX(3px);
}

[data-theme="light"] .nc-express-banner {
  border-color: rgba(210, 15, 31, .24);
  background:
    radial-gradient(circle at 10% 20%, rgba(225, 30, 45, .10), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(245,245,245,.98));
  box-shadow:
    0 18px 44px rgba(0,0,0,.18),
    0 0 0 1px rgba(0,0,0,.03) inset;
}

[data-theme="light"] .nc-express-banner__title {
  color: #151515;
}

[data-theme="light"] .nc-express-banner__subtitle {
  color: rgba(0,0,0,.72);
}

[data-theme="light"] .nc-express-banner__stock {
  color: rgba(0,0,0,.54);
}

[data-theme="light"] .nc-express-banner__stock strong {
  color: rgba(0,0,0,.78);
}

@media (max-width: 720px) {
  .nc-express-banner {
    bottom: 10px;
    width: calc(100vw - 16px);
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 11px;
    border-radius: 16px;
  }

  .nc-express-banner__icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 22px;
  }

  .nc-express-banner__title {
    font-size: 16px;
  }

  .nc-express-banner__subtitle {
    font-size: 11px;
  }

  .nc-express-banner__stock {
    display: none;
  }

  .nc-express-banner__button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    min-height: 42px;
  }
}
