:root {
  --primary-color: #002052;
  --primary-light: #0063fd;
  --secondary-gray: #a7a7a7;
  --bg-card-white: #fafafa;
  --bg-light: #f9f9f9;
  --text-main: #4f4f4f;
  --border-radius: 8px;
}

.flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.w-100 {
  width: 100%;
}
.g-10 {
  gap: 10px;
}
.block-start-20 {
  padding-block-start: 20px;
}

/** Products **/
#rewards-content {
  .products-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(1, 1fr);
    margin-block-start: 30px;
    @media (width > 576px) {
      grid-template-columns: repeat(2, 1fr);
    }
    @media (width > 768px) {
      grid-template-columns: repeat(2, 1fr);
    }
    @media (width > 1024px) {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  .product-card {
    background-color: var(--bg-card-white);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-inline: 14px;
    padding-block: 14px;
    transition: all 0.3s ease;
    height: 100%;
  }
  .product-image {
    align-items: center;
    background-color: #ffffff;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;

    & img {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;
    margin-bottom: 16px;
    }
    .no-image {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      color: #ccc;

      & .material-symbols-rounded {
        font-size: 80px;
      }
    }
  }
  .product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding-block-start: 10px;
  }
  .product-title {
    color: var(--primary-color);
    font-family: "Jost", sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2%;
    line-height: 1.3;
    margin-block-end: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-description {
    color: #656565;
    font-family: "Jost", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    margin-block-end: 10px;
    /* Clamp a máx 4 líneas para igualar alturas */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-meta {
    color: var(--primary-light);
    display: flex;
    flex-direction: column;
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-weight: 600;
    gap: 10px;
    line-height: 1.2;
    margin-top: auto; /* Empuja precio + botones siempre al fondo */
    margin-block-end: 12px;
    & strong {
      color: var(--primary-light);
      font-family: "Jost", sans-serif;
      font-size: 14px;
      font-weight: 600;
      line-height: 1.2;
    }
  }
  .product-points {
    align-items: center;
    color: var(--primary-light);
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
    width: 100%;
    & svg {
      width: 20px;
    }
  }
  .product-stock {
    color: #4caf50;
    display: none;
    font-size: 13px;
    font-weight: 500;
  }
  .button-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
  }
  .btn-custom-link {
    align-items: center;
    background-color: #00317D;
    border-radius: 4px;
    color: white;
    display: flex;
    font-family: "Jost", sans-serif;
    font-size: 18px;
    font-weight: 500;
    justify-content: center;
    line-height: 1.2;
    padding-block: 12px;
    padding-inline: 12px;
    width: 100%;
  }
  .btn-redeem {
    align-items: center;
    background-color: var(--primary-light);
    color: white;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    display: flex;
    font-family: "Jost", sans-serif;
    font-size: 18px;
    font-weight: 500;
    gap: 8px;
    justify-content: center;
    line-height: 1.2;
    padding-block: 12px;
    padding-inline: 12px;
    transition: all 0.3s ease;
    width: 100%;
  }
  .btn-redeem:disabled {
    background-color: #ACE7BD;
    cursor: not-allowed;
    opacity: 1 !important;
    transform: none;
    color: #002052;
  }
  .btn-redeem:disabled.is-out-of-stock {
    background-color: #A7A7A7 !important;
    color: white !important;
  }
}

.fullscreen-loader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.fullscreen-loader.show {
  display: flex;
}

.loader-content {
  text-align: center;
  color: white;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid #0063fd;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 30px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loader-message {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  min-height: 30px;
}

.loader-submessage {
  font-size: 14px;
  opacity: 0.8;
  min-height: 20px;
}

.form-registro {
  font-family: "Jost", Arial, sans-serif;
}

.form-registro .form-container {
  padding-inline: 0;
  padding-block-end: 30px;
  border-radius: 8px;
  width: 100%;
}

.form-registro .form-group {
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  p {
    color: #656565;
  }
}

.form-registro .form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-registro .form-field.full-width {
  flex: 0 0 100%;
}

.form-registro .form-field label {
  color: #000000;
  font-family: "Jost", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2em;
  margin-block-end: 10px;
}

.form-registro .required::after {
  content: " *";
  color: red;
}

.form-registro .form-field input[type="text"],
.form-registro .form-field input[type="email"] {
  background-color: #FAFAFA;
  border: 1px solid #7B7B7B;
  border-radius: 4px;
  box-sizing: border-box;
  color: #4F4F4F;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45em;
  padding-block: 10px;
  padding-inline: 10px;
  width: 100%;
}

.form-registro .btn-submit {
  background-color: #0063fd !important;
  color: white !important;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  width: 100%;
  margin-top: 10px;
  text-transform: math-auto;
}

.form-registro .btn-submit:hover {
  background-color: #0056b3 !important;
}

/* --- Estilos para simular iconos (No responsivos) --- */
.form-registro .input-wrapper {
  position: relative;
}

.form-registro .input-wrapper input {
  padding-right: 50px;
}

.form-registro .input-icons {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  color: #aaa;
  pointer-events: none;
}

.form-registro .input-icons span {
  margin-left: 5px;
  font-size: 14px;
}

/* Ocultar iconos donde no aplican (Cédula, Teléfono, Correo) */
.form-registro .cedula .input-icons,
.form-registro .telefono .input-icons,
.form-registro .correo .input-icons {
  display: none;
}

/* Estilos para campos con select + input */
.form-registro .input-combo {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.form-registro .input-combo select {
  background-color: #FAFAFA;
  border: 1px solid #7B7B7B;
  border-radius: 4px;
  color: #4F4F4F;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45em;
  min-width: 80px;
  padding-inline: 10px;
  padding-block: 10px;
}

.form-registro .input-combo select:focus {
  outline: none;
  border-color: #0063fd;
}

.form-registro .input-combo input {
  background-color: #fafafa;
  border: 1px solid #7b7b7b;
  border-radius: 4px;
  color: #4f4f4f;
  flex: 1;
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45em;
  padding: 10px;
}

.form-registro .input-combo input:focus {
  outline: none;
  border-color: #0063fd;
}

.form-registro .input-combo .select-nacionalidad {
  min-width: 70px;
  max-width: 70px;
}

.form-registro .input-combo .select-operador {
  min-width: 90px;
  max-width: 90px;
}

.form-registro .field-hint {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}

/* Estilos para campo de email solo lectura (usuario logueado) */
.form-registro .email-readonly {
  background-color: #e9ecef;
  border: 1px solid #ccc;
  padding: 12px 15px;
  border-radius: 4px;
  font-size: 14px;
  color: #4f4f4f;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-registro .email-readonly .email-icon {
  color: #0063fd;
  font-size: 20px;
}

.form-registro .email-readonly .email-text {
  flex: 1;
  font-weight: 500;
}

.form-registro .email-readonly .email-verified {
  color: #4caf50;
  font-size: 16px;
  font-weight: bold;
}

.form-registro .logged-user-notice {
  background-color: #e6effd;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-registro .logged-user-notice .notice-icon {
  color: #0063fd;
  font-size: 24px;
}

.form-registro .logged-user-notice .notice-text {
  flex: 1;
}

.form-registro .logged-user-notice .notice-text strong {
  color: #002052;
}

.form-registro .logged-user-notice .notice-text p {
  margin: 0;
  font-size: 14px;
  color: #4f4f4f;
}

/* Estilo para el mensaje de API */
.form-registro #api-message {
  margin-bottom: 15px;
  font-weight: bold;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

/* Estilos para el resumen de TechnoBits */
.form-registro .points-summary {
  display: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 25px;
  border-radius: 12px;
  margin-top: 20px;
}

.form-registro .points-summary.show {
  display: block;
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-registro .points-summary h3 {
  margin: 0 0 20px 0;
  font-size: 24px;
  text-align: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}

.form-registro .points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.form-registro .point-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.form-registro .point-item label {
  display: block;
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-registro .point-item .value {
  font-size: 24px;
  font-weight: bold;
  display: block;
}

.form-registro .next-level {
  background: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px;
}

.form-registro .next-level h4 {
  margin: 0 0 15px 0;
  font-size: 18px;
  text-align: center;
}

.form-registro .next-level-info {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
}

.form-registro .next-level-info .info-item {
  text-align: center;
}

.form-registro .next-level-info .info-item span {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  margin-bottom: 3px;
}

.form-registro .next-level-info .info-item strong {
  font-size: 18px;
}

/* ========================================================= */
/* === SISTEMA DE NOTIFICACIONES PERSONALIZADO === */
/* ========================================================= */
.custom-notification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(19, 40, 99, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.custom-notification-overlay.show {
  opacity: 1;
  visibility: visible;
}

.custom-notification {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  max-width: 450px;
  width: 90%;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
}

.custom-notification-overlay.show .custom-notification {
  transform: scale(1);
}

.custom-notification-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.custom-notification-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.custom-notification-icon.success {
  background: #d4e5ff;
  color: #132863;
}

.custom-notification-icon.error {
  background: #ffe5e5;
  color: #d32f2f;
}

.custom-notification-icon.warning {
  background: #fff4e5;
  color: #f57c00;
}

.custom-notification-icon.info {
  background: #d4e5ff;
  color: #1c61e7;
}

.custom-notification-title {
  font-size: 20px;
  font-weight: 700;
  color: #132863;
  margin: 0;
}

.custom-notification-body {
  color: #132863;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.custom-notification-details {
  background: #d4e5ff;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  color: #002052;
  font-size: 14px;
  line-height: 1.8;
}

.custom-notification-details strong {
  color: #132863;
  font-weight: 600;
}

.custom-notification-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.custom-notification-btn {
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-notification-btn.primary {
  background: #1c61e7;
  color: #fff;
}

.custom-notification-btn.primary:hover {
  background: #132863;
  color: #fff;
}

.custom-notification-btn.secondary {
  background: #d4e5ff;
  color: #132863;
}

.custom-notification-btn.secondary:hover {
  background: #c0d6f5;
}

@media (max-width: 550px) {
  .custom-notification {
    padding: 20px;
    max-width: 95%;
  }

  .custom-notification-header {
    gap: 10px;
  }

  .custom-notification-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .custom-notification-title {
    font-size: 18px;
  }

  .custom-notification-body {
    font-size: 14px;
  }

  .custom-notification-actions {
    flex-direction: column;
  }

  .custom-notification-btn {
    width: 100%;
  }
}

/* ========================================================= */
/* === MEDIA QUERY para hacer el formulario RESPONSIVO === */
/* ========================================================= */
@media (max-width: 550px) {
  .form-registro .form-container {
    padding: 0px 15px 15px 15; /* Menos padding en pantallas pequeÃ±as */
  }

  .form-registro .form-group {
    flex-direction: column;
    gap: 0;
  }

  .form-registro .form-field {
    flex: none;
    width: 100%;
    margin-bottom: 15px;
  }

  .form-registro .form-field.full-width {
    flex: none;
    width: 100%;
  }

  .form-registro .btn-submit {
    font-size: 16px;
    padding: 10px;
  }

  .form-registro .points-grid {
    grid-template-columns: 1fr;
  }

  .form-registro .points-summary h3 {
    font-size: 20px;
  }

  .form-registro .point-item .value {
    font-size: 20px;
  }
}

/* Material Design Icons styling */
.material-symbols-rounded {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  vertical-align: middle;
}

/* Loader de pantalla completa para Mis TechnoBits */
.fullscreen-loader-TechnoBits {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.fullscreen-loader-TechnoBits.show {
  display: flex;
}

.fullscreen-loader-TechnoBits .loader-content {
  text-align: center;
  color: white;
}

.fullscreen-loader-TechnoBits .loader-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid #0063fd;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 30px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* TechnoBits Shortcode */
.fullscreen-loader-TechnoBits .loader-message {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  min-height: 30px;
}

.fullscreen-loader-TechnoBits .loader-submessage {
  font-size: 14px;
  opacity: 0.8;
  min-height: 20px;
}

.TechnoBits-cliente-container {
  font-family: "Jost", Arial, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.TechnoBits-cliente-container .content-box {
  padding: 30px;
  border-radius: 8px;
}

.contenido {
  background: white;
  padding: 30px;
  border-radius: 8px;
}

.TechnoBits-cliente-container .loading {
  display: none;
}

.TechnoBits-cliente-container .error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin: 20px 0;
  display: none;
}

.TechnoBits-cliente-container .points-dashboard {
  display: none;
}

.TechnoBits-cliente-container .points-dashboard.show {
  display: block;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Titulo principal */
.TechnoBits-cliente-container .main-title {
  font-size: 26px;
  font-weight: bold;
  color: #1a1a1a;
  margin: 0 0 6px 0;
}

.TechnoBits-cliente-container .subtitle {
  font-size: 14px;
  color: #002052;
  margin: 0 0 25px 0;
}

/* Sección superior: nivel y objetivo */
.TechnoBits-cliente-container .top-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

.TechnoBits-cliente-container .left-info {
  flex: 1;
}

.TechnoBits-cliente-container .current-level-label {
  font-size: 13px;
  color: #002052;
  margin-bottom: 5px;
}

.TechnoBits-cliente-container .current-level-value {
  font-size: 16px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.TechnoBits-cliente-container .accumulated-label {
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 8px;
}

.TechnoBits-cliente-container .accumulated-value {
  display: flex;
  align-items: center;
  gap: 10px;
}

.TechnoBits-cliente-container .accumulated-value .number {
  font-size: 56px;
  font-weight: bold;
  color: #0063fd;
  line-height: 1;
}

/* Resetear completamente el contenedor .badge */
.TechnoBits-cliente-container .accumulated-value .badge {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  display: inline-flex !important;
  color: transparent !important;
  font-size: 0 !important;
}

/* Darle estilo directo a la imagen */
.TechnoBits-cliente-container .accumulated-value .badge img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
  display: block !important;
}

.orders-footer-summary .badge {
  width: 20px;
  height: 20px;
  background-color: #0063fd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: -2px;
  border: 2px solid #002052;
}

.TechnoBits-popup {
  display: flex;
  gap: 5px;
}

.TechnoBits-cliente-container .right-info {
  text-align: right;
}

.right-info img {
  max-width: 60px !important;
}

.TechnoBits-cliente-container .next-objective-label {
  font-size: 13px;
  color: #002052;
  margin-bottom: 5px;
  font-weight: 600;
}

.TechnoBits-cliente-container .next-objective-value {
  font-size: 13px;
  color: #002052;
  margin-bottom: 10px;
}

.TechnoBits-cliente-container .objective-badge {
  color: #002052;
  font-weight: 600;
  text-align: right;
  margin-bottom: 10px;
}

.TechnoBits-cliente-container .objective-badge .icon {
  width: 26px;
  height: 26px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Barra de progreso */
.TechnoBits-cliente-container .progress-section {
  margin-bottom: 15px;
}

.TechnoBits-cliente-container .progress-bar-container {
  width: 100%;
  height: 18px;
  background-color: #e0e0e0;
  border-radius: 10px;
  overflow: visible;
  position: relative;
  margin-bottom: 12px;
}

.TechnoBits-cliente-container .progress-bar-available {
  height: 18px;
  background-color: #4caf50;
  border-radius: 10px 0 0 10px;
  position: absolute;
  left: 0;
  top: 0;
  transition: width 1s ease-out;
  z-index: 2;
}

.TechnoBits-cliente-container .progress-bar-pending {
  height: 18px;
  background-color: #ff5400;
  border-radius: 10px;
  position: absolute;
  left: 0;
  top: 0;
  transition: width 1s ease-out;
  z-index: 1;
}

/* Detalles de TechnoBits */
.TechnoBits-cliente-container .points-details {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 13px;
}

.TechnoBits-cliente-container .point-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #c4f5d2;
  padding: 8px 14px;
  border-radius: 20px;
  color: #002052;
}

.TechnoBits-cliente-container .point-detail .icon-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  flex-shrink: 0;
}

.point-detail-popup {
  display: flex;
  align-items: center;
  gap: 6px;
}

.TechnoBits-cliente-container .point-detail.canjeables .icon-check {
  background-color: #4caf50;
  color: white;
}

.TechnoBits-cliente-container .point-detail.pendientes .icon-check {
  background-color: #ff9800;
  color: white;
}

.point-detail.pendientes {
  background: #ffd4bf !important;
  color: #002052;
}

.TechnoBits-cliente-container .point-detail .info-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #999;
  cursor: help;
  margin-left: 4px;
}

/* Tooltip */
.TechnoBits-cliente-container .tooltip {
  position: relative;
  display: inline-block;
}

.TechnoBits-cliente-container .tooltip .tooltiptext {
  visibility: hidden;
  width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -125px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 12px;
  line-height: 1.4;
}

.TechnoBits-cliente-container .tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Historial tipo cards */
.TechnoBits-cliente-container .history-section {
  margin-top: 40px;
}

.TechnoBits-cliente-container .history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.TechnoBits-cliente-container .history-tabs {
  display: flex;
  gap: 20px;
}

.TechnoBits-cliente-container .history-tab {
  font-size: 16px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  padding-bottom: 8px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}

.TechnoBits-cliente-container .history-tab.active {
  color: #0063fd;
  border-bottom-color: #0063fd;
}

/* Tab Panels - Sistema de tabs inline */
.TechnoBits-cliente-container .tab-panel {
  display: none;
}
.TechnoBits-cliente-container .tab-panel.active {
  display: block;
}

/* Card contenedor para paneles (cupones) */
.TechnoBits-cliente-container .tab-panel-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid #eee;
  margin-top: 10px;
}
.TechnoBits-cliente-container .tab-panel-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px 0;
}

/* Panel BNC inline - replica el diseño del modal original */
.TechnoBits-cliente-container .inline-bnc-content {
  background-color: #000;
  background-image: url(/wp-content/uploads/2026/04/PopUp-TDC-SoyTechno-BNC-HD.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 20px;
  padding: 60px;
  box-sizing: border-box;
  max-width: 100%;
  margin-top: 10px;
  color: #fff;
}
.TechnoBits-cliente-container .inline-bnc-content .content {
  max-width: 432px;
}
.TechnoBits-cliente-container .inline-bnc-content h2.title {
  font-size: 42px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}
.TechnoBits-cliente-container .inline-bnc-content .subtitle {
  color: #fff;
  font-size: 20px;
  margin-bottom: 15px;
}
.TechnoBits-cliente-container .inline-bnc-content .benefits {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 15px;
  font-size: 20px;
  color: #fff;
}
.TechnoBits-cliente-container .inline-bnc-content .benefits li {
  padding: 4px 0;
  border-bottom: none;
  color: #fff;
}
.TechnoBits-cliente-container .inline-bnc-content .note {
  font-size: 15px;
  color: #ccc;
  font-style: italic;
  margin-bottom: 20px;
}

@media(max-width: 768px) {
  .TechnoBits-cliente-container .inline-bnc-content {
    background-image: none;
    padding: 375px 20px 60px;
    background-image: url(/wp-content/uploads/2026/04/5.-PopUp-TDC-SoyTechno-BNC-1.png);
    background-repeat: no-repeat;
  }
  .TechnoBits-cliente-container .tab-panel-card {
    padding: 20px 15px;
  }
  .TechnoBits-cliente-container .tab-panel-title {
    font-size: 20px;
  }
  .TechnoBits-cliente-container .inline-bnc-content h2.title {
    font-size: 28px;
  }
  .TechnoBits-cliente-container .inline-bnc-content .benefits,
  .TechnoBits-cliente-container .inline-bnc-content .subtitle {
    font-size: 16px;
  }
}

.TechnoBits-cliente-container .filter-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  display: none !important;
}

.TechnoBits-cliente-container .history-list-header {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 15px;
  padding: 15px 20px;
  background-color: #d4e5ff;
  border-radius: 8px 8px 0px 0px;
  margin-bottom: 0px;
  font-size: 13px;
  font-weight: 600;
  color: #0063fd;
  height: 86px;
}

.TechnoBits-cliente-container .history-list-header .header-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #002052;
  font-weight: 600;
  font-size: 18px;
}

.TechnoBits-cliente-container .history-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.TechnoBits-cliente-container .history-card {
  background-color: #f1f1f1;
}

.TechnoBits-cliente-container .history-card {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 15px;
  padding: 18px 20px;
  background-color: white;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
  cursor: pointer;
}

.TechnoBits-cliente-container .history-item {
  display: block;
}

.TechnoBits-cliente-container .history-card .history-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f2f6ff;
  color: #002052;
  transition: transform 0.2s ease;
  margin-left: 10px;
  flex-shrink: 0;
}

.TechnoBits-cliente-container
  .history-item.expanded
  .history-card
  .history-chevron {
  transform: rotate(180deg);
}

.TechnoBits-cliente-container .history-details {
  display: none;
  background: #f8f9fa;
  border-bottom: 1px solid #f0f0f0;
  padding: 18px 20px;
}

.TechnoBits-cliente-container .history-item.expanded .history-details {
  display: block;
}

.TechnoBits-cliente-container .history-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}

.TechnoBits-cliente-container .history-details-grid--two-columns {
  display: flex;
  gap: 30px;
}

.TechnoBits-cliente-container .history-details-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.TechnoBits-cliente-container .history-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.TechnoBits-cliente-container .history-detail .label {
  font-size: 12px;
  color: #667085;
  font-weight: 600;
}

.TechnoBits-cliente-container .history-detail .value {
  font-size: 14px;
  color: #101828;
  font-weight: 600;
  word-break: break-word;
}

.TechnoBits-cliente-container .history-items-details {
  grid-column: 1 / -1;
  background: white;
  border-radius: 8px;
  padding: 12px 14px;
}

.TechnoBits-cliente-container .history-items-details ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.TechnoBits-cliente-container .history-items-details li {
  margin: 4px 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.35;
}

.TechnoBits-cliente-container .history-card:hover {
  background-color: #fafafa;
}

.TechnoBits-cliente-container .history-card.highlight {
  background-color: #fff9e6;
}

.TechnoBits-cliente-container .history-card.success {
  background-color: #e8f5e9;
}

.TechnoBits-cliente-container .card-field {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
}

.TechnoBits-cliente-container .card-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.TechnoBits-cliente-container .card-text {
  flex: 1;
}

.TechnoBits-cliente-container .card-label {
  font-size: 12px;
  color: #999;
  display: block;
  margin-bottom: 2px;
}

.TechnoBits-cliente-container .card-value {
  font-weight: 500;
  color: #333;
}

.TechnoBits-cliente-container .card-link {
  color: #0063fd;
  text-decoration: underline;
  cursor: pointer;
}

.TechnoBits-cliente-container .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.TechnoBits-cliente-container .status-completed {
  background-color: transparent;
  color: #4caf50;
}

.TechnoBits-cliente-container .status-pending {
  background-color: transparent;
  color: #ff9800;
}

.TechnoBits-cliente-container .status-canjeados {
  background-color: transparent;
  color: #4caf50;
}

.TechnoBits-cliente-container .status-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.TechnoBits-cliente-container .status-completed .status-icon {
  background-color: #4caf50;
  color: white;
}

.TechnoBits-cliente-container .status-pending .status-icon {
  background-color: #ff9800;
  color: white;
}

.TechnoBits-cliente-container .status-canjeados .status-icon {
  background-color: #4caf50;
  color: white;
}

/* Estado: En proceso */
.TechnoBits-cliente-container .status-processing {
  background-color: transparent;
  color: #d97706;
}
.TechnoBits-cliente-container .status-processing .status-icon {
  background-color: #d97706;
  color: white;
}

/* Card: Canje de producto */
.TechnoBits-cliente-container .history-card--redemption {
  background-color: #f0fdf4;
  border-left: 3px solid #059669;
}
.TechnoBits-cliente-container .history-card--redemption:hover {
  background-color: #dcfce7;
}

/* Estado: Utilizado */
.TechnoBits-cliente-container .status-used {
  background-color: transparent;
  color: #6b7280;
}
.TechnoBits-cliente-container .status-used .status-icon {
  background-color: #6b7280;
  color: white;
}

/* Estado: Expirado */
.TechnoBits-cliente-container .status-expired {
  background-color: transparent;
  color: #ef4444;
}
.TechnoBits-cliente-container .status-expired .status-icon {
  background-color: #ef4444;
  color: white;
}

/* Card: Cupón */
.TechnoBits-cliente-container .history-card--coupon {
  background-color: #fefce8;
  border-left: 3px solid #f59e0b;
}
.TechnoBits-cliente-container .history-card--coupon:hover {
  background-color: #fef9c3;
}

/* Card: Ingreso al Club */
.TechnoBits-cliente-container .history-card--club-joined {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border-left: 3px solid #002052;
}
.TechnoBits-cliente-container .history-card--club-joined:hover {
  background: linear-gradient(135deg, #dbeafe 0%, #dcfce7 100%);
}
.TechnoBits-cliente-container .status-club-joined {
  background-color: transparent;
  color: #002052;
}
.TechnoBits-cliente-container .status-club-joined .status-icon {
  background-color: #002052;
  color: white;
}

.TechnoBits-cliente-container .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 15px 0;
}

.TechnoBits-cliente-container .pagination button {
  padding: 8px 16px;
  background-color: white;
  color: #333;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}

.TechnoBits-cliente-container .pagination button:hover:not(:disabled) {
  background-color: #0063fd;
  color: white;
  border-color: #0063fd;
}

.TechnoBits-cliente-container .pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.TechnoBits-cliente-container .pagination .page-info {
  font-size: 13px;
  color: #666;
}

.TechnoBits-cliente-container .empty-history {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 14px;
  background-color: #fff;
  border-radius: 8px;
}

.TechnoBits-cliente-container .history-footer {
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 13px;
  border-top: 1px solid #f0f0f0;
  margin-top: 10px;
}

/* Mensaje de invitación a registrarse */
.TechnoBits-cliente-container .invitation-box {
  display: none;
  color: white;
  border-radius: 12px;
  text-align: center;
}

.TechnoBits-cliente-container .invitation-box.show {
  display: block;
  animation: slideIn 0.5s ease-out;
}

.TechnoBits-cliente-container .invitation-box h2 {
  font-size: 28px;
  margin: 0 0 15px 0;
}

.TechnoBits-cliente-container .invitation-box p {
  font-size: 16px;
  margin: 0 0 25px 0;
  opacity: 0.9;
}

.TechnoBits-cliente-container .invitation-box .register-btn {
  display: inline-block;
  background-color: white;
  color: #667eea;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: transform 0.2s;
}

.TechnoBits-cliente-container .invitation-box .register-btn:hover {
  transform: scale(1.05);
}

/* Botón de Canjear TechnoBits */
.TechnoBits-cliente-container .redeem-button-container {
  text-align: center;
  margin-top: 30px;
  padding: 20px 0;
}

.TechnoBits-cliente-container .btn-redeem-points {
  background-color: #0063fd;
  color: white;
  padding: 15px 28px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: math-auto;
}

.TechnoBits-cliente-container .btn-redeem-points:hover {
  background-color: #0056b3;
  color: white;
}

/* Modal/Popup */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in;
}

.modal-overlay.show {
  display: flex;
}

.modal-overlay .modal-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease-out;
}

/* Ancho especifico de 452px para el primer modal en desktop/tablet */
#orders-modal .modal-content {
  max-width: 452px;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos para modal-header (genérico) */
.modal-overlay .modal-header {
  color: white;
  padding: 25px 30px;
  border-radius: 12px 12px 0 0;
  position: relative;
}

.modal-overlay .modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

/* Estilos especificos para el primer modal (Pedidos) - Sin fondo */
#orders-modal .modal-header {
  background: transparent;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
}

#orders-modal .modal-header h2 {
  color: #333;
}

/* Botón de cerrar genérico */
.modal-overlay .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #242424;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  line-height: 1;
}

.modal-overlay .modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Botón de cerrar especifico para el primer modal - Fondo blanco, texto negro */
#orders-modal .modal-close {
  background: white;
  color: #000;
}

#orders-modal .modal-close:hover {
  background: #f5f5f5;
  border-color: #ccc;
  transform: rotate(90deg);
}

.modal-overlay .modal-body {
  padding: 25px;
  color: #333;
  text-align: left;
}

/* Estilos para el Modal de Pedidos */
.modal-overlay .orders-info-banner {
  background-color: #ffe8ad;
  padding: 12px 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-size: 13px;
  color: #002052;
}

.orders-info-banner img {
  margin-right: 6px !important;
  max-width: 19px !important;
}

.custom-tooltip img {
  max-width: 19px !important;
}

.modal-overlay .orders-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}

.modal-overlay .summary-label,
.modal-overlay .summary-total {
  color: #333;
}

.modal-overlay .orders-list-container {
  max-height: 350px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.modal-overlay .order-item-detailed {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: all 0.2s;
  background-color: white;
  color: #333;
}

.modal-overlay .order-item-detailed:hover {
  background-color: #f8f9fa;
  border-color: #0063fd;
}

.modal-overlay .order-icon {
  width: 50px;
  height: 50px;
  background-color: #f0f0f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 24px;
  color: #666;
}

.modal-overlay .order-details {
  flex: 1;
  color: #333;
}

.modal-overlay .order-store {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.modal-overlay .order-description {
  font-size: 14px;
  color: #333;
  margin-bottom: 3px;
}

.modal-overlay .order-date {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.modal-overlay .order-points-badge {
  display: inline-block;
  background-color: #e8f5e9;
  color: #4caf50;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  gap: 5px;
  font-size: 16px;
  font-weight: 600;
  color: #0063fd;
}

.modal-overlay .orders-footer-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #d4e5ff;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
}

.modal-overlay .points-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0063fd;
}

.modal-overlay .modal-footer {
  text-align: center;
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
}

.modal-overlay .btn-primary-modal {
  background-color: #0063fd;
  color: white;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  max-width: 300px;
}

.modal-overlay .btn-primary-modal:hover {
  background-color: #0056b3;
  color: white;
  transform: translateY(-2px);
}

/* Estilos para el Modal de Opciones de Canje */
.modal-overlay .modal-header-simple {
  padding: 25px;
  padding-bottom: 0 !important;
  position: relative;
}

.modal-overlay .modal-header-simple h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #333;
  padding-right: 50px; /* Espacio para el botón de cerrar */
}

/* Botón de cerrar para modal-header-simple */
.modal-overlay .modal-header-simple .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f0f0f0;
  border: none;
  color: #333;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

.modal-overlay .modal-header-simple .modal-close:hover {
  background: #e0e0e0;
  transform: rotate(90deg);
}

.modal-overlay .modal-subtitle {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin: 0 0 25px 0;
  text-align: left;
}

.modal-overlay .redeem-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.modal-overlay .redeem-option-box {
  background: white;
  border: 2px solid #0063fd;
  border-radius: 4px;
  padding: 25px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.redeem-option-box p {
  text-align: left;
}

.modal-overlay .redeem-option-box:hover {
  border-color: #0063fd;
  transform: translateY(-3px);
}

.modal-overlay .option-icon {
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #0063fd;
}

.modal-overlay .option-title {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  margin-bottom: 20px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  line-height: 1.2;
}

.modal-overlay .btn-option {
  background-color: #0063fd;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  text-transform: math-auto;
}

.modal-overlay .btn-option:hover {
  background-color: #0056b3;
  color: white;
}

.modal-overlay .btn-option-secondary {
  background-color: white;
  color: #0063fd;
  padding: 10px 20px;
  border: 2px solid #0063fd;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  text-transform: math-auto;
}

.modal-overlay .btn-option-secondary:hover {
  background-color: #0063fd;
  color: white;
}

/* Estilos para el Modal de Finalización de Canje */
.modal-overlay .redemption-loading,
#coupons-inline-redemption .redemption-loading {
  text-align: center;
  padding: 40px;
  color: #333;
}

.modal-overlay .spinner,
#coupons-inline-redemption .spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #0063fd;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.modal-overlay .redemption-form,
#coupons-inline-redemption .redemption-form {
  padding: 10px 0;
  color: #333;
}

.modal-overlay .info-card,
#coupons-inline-redemption .info-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
  display: none !important;
}

.modal-overlay .info-row,
#coupons-inline-redemption .info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.modal-overlay .info-row:last-child,
#coupons-inline-redemption .info-row:last-child {
  border-bottom: none;
}

.modal-overlay .info-label,
#coupons-inline-redemption .info-label {
  font-size: 14px;
  color: #666;
}

.modal-overlay .info-value,
#coupons-inline-redemption .info-value {
  font-size: 16px;
  font-weight: 600;
  color: #0063fd;
}

.modal-overlay .form-group,
#coupons-inline-redemption .form-group {
  margin-bottom: 20px;
}

.valor-fijo,
.monto-original {
  display: none !important;
}

.modal-overlay .form-group label,
#coupons-inline-redemption .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.modal-overlay .points-select,
.modal-overlay .input-amount,
#coupons-inline-redemption .points-select,
#coupons-inline-redemption .input-amount {
  width: 100%;
  padding: 8px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  color: #000;
  transition: all 0.3s;
}

.modal-overlay select,
.modal-overlay input[type="text"],
.modal-overlay input[type="number"],
.modal-overlay input[type="email"],
#coupons-inline-redemption select,
#coupons-inline-redemption input[type="text"],
#coupons-inline-redemption input[type="number"],
#coupons-inline-redemption input[type="email"] {
  color: #000;
}

.modal-overlay .points-select:focus,
.modal-overlay .input-amount:focus,
#coupons-inline-redemption .points-select:focus,
#coupons-inline-redemption .input-amount:focus {
  outline: none;
  border-color: #0063fd;
}

.modal-overlay .btn-simulate,
#coupons-inline-redemption .btn-simulate {
  width: 100%;
  background-color: #0063fd;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

.modal-overlay .btn-simulate:hover,
#coupons-inline-redemption .btn-simulate:hover {
  background-color: #0056b3;
  color: white;
  transform: translateY(-2px);
}

.modal-overlay {
  cursor: not-allowed;
  transform: none;
}

.modal-overlay .simulation-result,
#coupons-inline-redemption .simulation-result {
  margin-top: 30px;
  padding: 25px;
  background: #d4e5ff;
  border-radius: 12px;
}

.modal-overlay .simulation-result h3,
#coupons-inline-redemption .simulation-result h3 {
  color: #002052;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 18px;
  padding-left: 25px;
}

.modal-overlay .result-card,
#coupons-inline-redemption .result-card {
  border-radius: 12px;
  padding: 25px;
  color: #002052;
  margin-bottom: 20px;
}

.modal-overlay .result-row,
#coupons-inline-redemption .result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgb(0 32 82);
}

.modal-overlay .result-row:last-child,
#coupons-inline-redemption .result-row:last-child {
  border-bottom: none;
}

.modal-overlay .result-label,
#coupons-inline-redemption .result-label {
  font-size: 14px;
  opacity: 0.9;
}

.modal-overlay .result-value,
#coupons-inline-redemption .result-value {
  font-size: 16px;
  font-weight: 600;
}

.modal-overlay .result-value.highlight,
#coupons-inline-redemption .result-value.highlight {
  font-size: 24px;
  color: #002052;
}

.modal-overlay .btn-confirm-final,
#coupons-inline-redemption .btn-confirm-final {
  width: 100%;
  background-color: #28a745;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-overlay .btn-confirm-final:hover,
#coupons-inline-redemption .btn-confirm-final:hover {
  background-color: #218838;
  color: #fff;
}

.modal-overlay .redemption-error,
#coupons-inline-redemption .redemption-error {
  text-align: center;
  padding: 40px;
  color: #e74c3c;
}

@media (max-width: 768px) {
  .modal-overlay .redeem-options-grid {
    grid-template-columns: 1fr;
  }

  /* En móvil, el primer modal ocupa el 95% del ancho (no 452px) */
  #orders-modal .modal-content {
    width: 95%;
    max-width: 95%;
    max-height: 95vh;
  }

  /* Ancho general para los demás modales en móvil */
  #redeem-options-modal .modal-content,
  #finalize-redemption-modal .modal-content {
    width: 95%;
    max-width: 95%;
    max-height: 95vh;
  }

  .modal-overlay .modal-body {
    padding: 20px;
    text-align: left;
  }

  .TechnoBits-cliente-container .btn-redeem-points,
  .modal-overlay .btn-primary-modal {
    padding: 12px 30px;
    font-size: 14px;
  }

  .modal-overlay .orders-summary {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .modal-overlay .order-item-detailed {
    flex-direction: column;
  }

  .modal-overlay .order-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .modal-overlay .order-points-badge {
    margin-top: 10px;
  }

  .modal-overlay .modal-header h2,
  .modal-overlay .modal-header-simple h2 {
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
  .TechnoBits-cliente-container .objective-badge {
    color: #002052;
    font-weight: 600;
    text-align: left;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 490px) {
  .TechnoBits-cliente-container .history-list-header {
    gap: 10px;
    padding: 0px 0px;
    margin-bottom: 0px;
    font-size: 8px !important;
    font-weight: 600;
    color: #0063fd;
    height: 86px;
  }

  .TechnoBits-cliente-container .history-list-header .header-item {
    font-size: 12px;
    display: flex;
    gap: 8px;
    color: #002052;
    font-weight: 600;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .header-item .material-symbols-rounded {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .card-field-tienda {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .TechnoBits-cliente-container .content-box {
    padding: 0px;
  }

  .TechnoBits-cliente-container .top-section {
    flex-direction: column;
    gap: 20px;
  }

  .TechnoBits-cliente-container .right-info {
    text-align: left;
  }

  .TechnoBits-cliente-container .accumulated-value .number {
    font-size: 42px;
  }

  .TechnoBits-cliente-container .points-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .TechnoBits-cliente-container .history-table th,
  .TechnoBits-cliente-container .history-table td {
    padding: 8px 10px;
    font-size: 12px;
  }

  .TechnoBits-cliente-container .pagination {
    flex-wrap: wrap;
  }
}

/* Material Design Icons styling */
.material-symbols-rounded {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  vertical-align: middle;
}

.canje-checkout-widget {
  border-radius: 8px;
  margin: 30px 0;
}
.canje-checkout-widget h3 {
  margin-top: 0;
  color: #0063fd !important;
  font-size: 20px;
}
.canje-radio-group {
  margin: 15px 0;
  display: flex;
  gap: 10px;
}
.canje-radio-group label {
  display: flex;
  align-items: center;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 10px;
  gap: 10px;
}
.canje-radio-group input[type="radio"] {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.canje-points-section {
  display: none;
  margin-top: 15px;
  padding: 15px;
  background: #d4e5ff;
  border-radius: 6px;
}
.canje-points-section.active {
  display: block;
}
.canje-form-group {
  margin-bottom: 15px;
}
.canje-form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}
.canje-select {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  font-size: 14px;
}
.canje-btn {
  background: #0b69fc;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}
.canje-btn:hover {
  background: #0b69fc;
  transform: translateY(-2px);
  color: white;
}
.canje-result {
  display: none;
  margin-top: 15px;
  padding: 15px;
  border-radius: 6px;
}
.canje-result.active {
  display: block;
}
.canje-result-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.canje-result-label {
  font-weight: 400;
  color: #666;
}
.canje-result-value {
  color: #667eea;
  font-weight: 700;
}
.canje-success-message {
  display: none;
  margin-top: 15px;
  padding: 15px;
  background: #c4f5d2;
  border-radius: 6px;
  color: #155724;
}
.canje-success-message.active {
  display: block;
}
.canje-loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.canje-info-box {
  background: #ffe8ad;
  padding: 12px;
  margin-top: 15px;
  border-radius: 4px;
  font-size: 13px;
  color: #002052;
}

/* Loader de pantalla completa para Recompensas */
.fullscreen-loader-rewards {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.fullscreen-loader-rewards.hide {
  display: none;
}

.fullscreen-loader-rewards .loader-content {
  text-align: center;
  color: white;
}

.fullscreen-loader-rewards .loader-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid #0063fd;
  border-radius: 50%;
  animation: spin-rewards 1s linear infinite;
  margin: 0 auto 30px;
}

@keyframes spin-rewards {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.fullscreen-loader-rewards .loader-message {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  min-height: 30px;
}

.fullscreen-loader-rewards .loader-submessage {
  font-size: 14px;
  opacity: 0.8;
  min-height: 20px;
}

#rewards-error {
  display: none;
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 600px;
}

#rewards-error.show {
  display: block;
}

#rewards-content {
  display: none;
}

#rewards-content.show {
  display: block;
}

/* Estilos para la página de recompensas */
.rewards-page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  font-family:
    "Jost",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  @media (width > 1024px) {
    padding: 20px;
  }
}

.rewards-page-header {
  text-align: left;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #002052;
}

.rewards-page-header h1 {
  font-size: 28px;
  color: #002052;
  margin: 10px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  @media (max-width: 768px) {
    font-size: 24px;
  }
}

.rewards-page-header p {
  color: #000;
  font-size: 16px;
  margin: 5px 0;
  @media (width >= 768px) {
    margin-inline-start: 0px !important;
  }
}

.user-info-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 15px;
  margin-left: 0px !important;
  @media (width >= 768px) {
    margin-inline-start: 0px !important;
  }
}

.menos-margin {
    margin-left: 0px !important;
}

.user-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #002052;
  color: white;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 0;
}

.user-points-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d4e5ff;
  color: #002052;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.user-points-badge .material-symbols-rounded {
  color: #ffd700;
}

.btn-redeem.insufficient-points {
  background: #666666 !important;
  cursor: not-allowed;
  opacity: 0.8;
}

.btn-redeem.insufficient-points:hover {
  background: #666666 !important;
  transform: none !important;
}

/* Estilos para la página de recompensas */
#rewards-content .product-category {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid #0063fd;
  border-radius: 20px;
  font-size: 13px;
  color: #0063fd;
  margin-bottom: 15px;
  width: fit-content;
  & .material-symbols-rounded {
    font-size: 16px;
  }
}

.product-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  &.out-of-stock {
    color: #f44336;
  }
  .material-symbols-rounded {
    font-size: 20px;
  }
}
.product-type {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.product-type .material-symbols-rounded {
  font-size: 20px;
  color: #666;
}

/* Estilos del Modal de Canje */
.redeem-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

.redeem-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.redeem-modal-content {
  background-color: white;
  margin: 20px;
  padding: 0;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.redeem-modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 32px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  z-index: 1;
  transition: color 0.3s;
}

.redeem-modal-close:hover {
  color: #333;
}

.redeem-step {
  padding: 40px;
}

.redeem-header {
  text-align: center;
  margin-bottom: 30px;
}

.redeem-header h2 {
  color: #002052;
  margin: 15px 0 5px 0;
  font-size: 26px;
}

.redeem-header p {
  color: #666;
  margin: 5px 0;
}

.redeem-product-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.redeem-product-info h3 {
  color: #002052;
  margin: 0 0 20px 0;
  font-size: 20px;
}

.redeem-points-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.points-required,
.points-available {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: white;
  border-radius: 8px;
}

.points-required .material-symbols-rounded {
  font-size: 32px;
  color: #0063fd;
}

.points-available .material-symbols-rounded {
  font-size: 32px;
  color: #4caf50;
}

.points-required strong,
.points-available strong {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.points-required p,
.points-available p {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #002052;
}

.redeem-message {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

.redeem-message.success {
  background: #e8f5e9;
  color: #2e7d32;
}

.redeem-message.error {
  background: #ffebee;
  color: #c62828;
}

.redeem-actions {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  margin-top: 30px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: #0063fd;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: #0052d4;
  transform: translateY(-1px);
  color: white !important;
}

.btn-primary:disabled {
  background: #ccc;
  color: #333333;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-secondary {
  background: #f5f5f5;
  color: #333;
}

.btn-secondary:hover {
  background: #e0e0e0;
}

/* Estilos Formulario Venezuela */
.venezuela-shipping-form {
  margin: 20px 0;
}

.shipping-wizard-step {
  display: none;
  width: 100%;
}

.shipping-wizard-step.active {
  display: flex;
}

.shipping-fields-wrapper {
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: flex-start;
}

.form-row {
  padding: 3px;
  margin: 0 0 16px;
  flex: 1 1 100%;
  min-width: 0;
}

.form-row-first {
  float: none;
  width: auto;
  margin-right: 0;
  flex: 1 1 calc(50% - 12px);
}

.form-row-last {
  float: none;
  width: auto;
  flex: 1 1 calc(50% - 12px);
}

.form-row-wide {
  width: auto;
  flex: 1 1 100%;
}

.form-row label {
  display: block;
  margin-bottom: 5px;
  color: #000;
  font-weight: 500;
  font-size: 14px;
}

.form-row label .required {
  color: #ff0000;
  text-decoration: none;
  border: 0;
}

.input-wrapper {
  display: block;
}

.form-row .input-text,
.form-row .input-select,
.form-row textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.3s;
  box-sizing: border-box;
  color: #000;
  background-color: #fff;
  font-family: inherit;
}

.form-row .input-text:focus,
.form-row .input-select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #0063fd;
}

.form-row .input-text::placeholder,
.form-row textarea::placeholder {
  color: #666;
}

.form-row .input-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 35px;
  appearance: none;
}

.form-row .input-select:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.6;
}

.form-row .input-select option {
  color: #000;
}

.form-row textarea {
  resize: vertical;
  min-height: 80px;
}

.delivery-notice {
  background: #e8f5e9;
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
  width: 100% !important;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.delivery-notice .material-symbols-rounded {
  font-size: 32px;
  color: #4caf50;
}

.delivery-notice p {
  margin: 0;
  color: #000;
  line-height: 1.5;
}

.delivery-notice strong {
  color: #2e7d32;
}

.form-row::after {
  content: "";
  display: table;
  clear: both;
}

.redeem-success-info {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  margin: 20px 0;
}

.redeem-success-info p {
  text-align: center;
  color: #666;
  margin-bottom: 20px;
}

.order-info,
.points-info {
  padding: 12px;
  background: white;
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-info strong,
.points-info strong {
  color: #666;
}

.order-info span,
.points-info span {
  color: #002052;
  font-weight: 600;
}

@media (max-width: 600px) {
  .redeem-points-info {
    grid-template-columns: 1fr;
  }

  .form-row-first,
  .form-row-last {
    flex: 1 1 100%;
  }

  .redeem-step {
    padding: 30px 20px;
  }

  .redeem-modal-content {
    margin: 10px;
  }
}

.rewards-container {
  font-family: "Jost", Arial, sans-serif;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.rewards-header {
  text-align: center;
  margin-bottom: 50px;
}

.rewards-header h1 {
  font-size: 36px;
  color: #002052;
  margin-bottom: 15px;
  font-weight: 600;
}

.rewards-header .user-level {
  display: inline-block;
  background: linear-gradient(135deg, #002052 0%, #0041a8 100%);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.rewards-header p {
  font-size: 16px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.material-symbols-rounded {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  vertical-align: middle;
}

.product-info {
  padding: 25px;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.btn-view-details {
  background: white;
  color: #002052;
  border: 2px solid #002052;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-view-details:hover {
  background: #002052;
  color: white;
}

.no-products {
  text-align: center;
  padding: 80px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  margin-top: 40px;
}

.no-products .material-symbols-rounded {
  font-size: 80px;
  color: #002052;
  margin-bottom: 20px;
}

.no-products h3 {
  font-size: 24px;
  color: #002052;
  margin-bottom: 15px;
}

.no-products p {
  font-size: 16px;
  color: #666;
  max-width: 500px;
  margin: 0 auto;
}

.rewards-login-required,
.rewards-not-member,
.rewards-error {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 600px;
}

.btn-login,
.btn-join {
  display: inline-block;
  background: #002052;
  color: white;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  transition: all 0.3s;
}

.btn-login:hover,
.btn-join:hover {
  background: #0041a8;
  transform: translateY(-2px);
}

/* Estilos para paginación del catálogo */
.rewards-pagination {
  background: transparent;
  border-radius: 8px;
  text-align: center;
  margin-block-start: 40px;
  .pagination-info {
    display: none;
    font-size: 14px;
    color: var(--secondary-gray);
    margin-bottom: 15px;
  }
  .pagination-numbers {
    display: flex;
    justify-content: center;
    gap: 8px;
  }
  .pagination-number {
    align-items: center;
    background: white;
    border: 0;
    border-radius: 6px;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-weight: 600;
    height: 40px;
    justify-content: center;
    transition: all 0.3s;
    width: 40px;
    &:hover:not(.active) {
      background: #e3f2fd;
    }

    &.active {
      background: #002052;
      color: white;
      cursor: default;
    }
  }
}

.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.pagination-controls {
  display: flex !important;
  justify-content: center !important;
}

.pagination-btn {
  background-color: #f1f1f1;
  font-family: "Jost", Sans-serif;
  font-weight: 500;
  fill: #0063fd;
  color: #0063fd;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #0063fd;
  border-radius: 8px 8px 8px 8px;
}

.pagination-btn .material-symbols-rounded {
  font-size: 20px;
}

@media (max-width: 768px) {
  .pagination-controls {
    flex-direction: column;
    gap: 10px;
  }

  .pagination-btn {
    width: 100%;
    justify-content: center;
  }

  .pagination-numbers {
    order: -1;
    margin-bottom: 10px;
  }
}

/* ============================================
   Recompensas pendientes en carrito/checkout
   ============================================ */

.club-cart-rewards-banner {
  background: #C4F5D2;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
  font-family: inherit;
}

.club-cart-rewards-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.club-cart-rewards-header-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.club-cart-rewards-header-text strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.club-cart-rewards-header-text span {
  font-size: 14px;
  color: #4b5563;
}

.club-cart-rewards-count {
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.club-cart-rewards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.club-cart-reward-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 14px;
}

.club-cart-reward-image {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.club-cart-reward-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.club-cart-reward-image .material-symbols-rounded {
  font-size: 32px;
  color: #9ca3af;
}

.club-cart-reward-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.club-cart-reward-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
}

.club-cart-reward-meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.club-cart-reward-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0063fd;
  font-size: 14px;
  font-weight: 600;
}

.club-cart-reward-badge .material-symbols-rounded {
  font-size: 16px;
  color: #0063fd;
}

.club-cart-reward-order {
  font-size: 13px;
  color: #6b7280;
}

.club-cart-reward-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #002052;
  background: #FFD4BF;
  border-radius: 4px;
  padding: 4px 12px;
  width: fit-content;
}

.club-cart-reward-status .material-symbols-rounded {
  font-size: 15px;
}

@media (max-width: 480px) {
  .club-cart-reward-item {
    flex-wrap: wrap;
  }

  .club-cart-reward-image {
    width: 70px;
    height: 70px;
  }
}


/* ============================================
   Multi-redeem: barra sticky, badge y estados
   ============================================ */

/* Barra flotante de resumen de canjes */
.rewards-checkout-bar {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: #002052;
  color: #fff;
  border-radius: 50px;
  padding: 13px 30px;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(0, 32, 82, 0.35);
  min-width: 450px;
  max-width: 90vw;
  animation: slideUpBar 0.3s ease;
}

.rewards-checkout-bar.visible {
  display: flex;
}

@keyframes slideUpBar {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.checkout-bar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.checkout-bar-info .material-symbols-rounded {
  font-size: 24px;
  color: #fff;
}

.checkout-bar-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.checkout-bar-info span {
  font-size: 12px;
  color: #a8c4f0;
}

.checkout-bar-go-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #0063fd;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.checkout-bar-go-btn:hover {
  background: #0052cc;
}

.checkout-bar-go-btn .material-symbols-rounded {
  font-size: 18px;
}

button#checkout-bar-btn{
  background-color: #fff;
  border-radius: 4px;
}

button#checkout-bar-btn:hover{
  background-color: #0063FD;
  border-radius: 4px;
  color: #fff;
}

/* Badge "Canjeado" sobre la tarjeta */
.redeemed-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ACE7BD;
  color: #002052;
  border: 1px solid #ACE7BD;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  width: fit-content;
}

.redeemed-badge .material-symbols-rounded {
  font-size: 15px;
}

/* Tarjeta en estado canjeado */
#rewards-content .product-card.is-redeemed {
  opacity: 0.75;
  border: 2px solid #ACE7BD;
}

/* Botón de canje ya procesado */
#rewards-content .btn-redeem.redeemed {
  background: #d1fae5 !important;
  color: #065f46 !important;
  border: 1px solid #6ee7b7 !important;
  cursor: default;
}

/* Botón secundario en el modal (Seguir Canjeando) */
.redeem-modal .btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.redeem-modal .btn-secondary:hover {
  background: #e5e7eb;
}

@media (max-width: 480px) {
  .rewards-checkout-bar {
    bottom: 12px;
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }

  .checkout-bar-go-btn {
    justify-content: center;
    width: 100%;
  }
}

/* CCS PARA EL MODAL */

.content-modal-get-card .modal-get-card {
	background-color: #000000;
	max-width: 891px;
	padding: 60px;
	box-sizing: border-box;
	border-radius: 20px;
	background-image: url(/wp-content/uploads/2026/04/PopUp-TDC-SoyTechno-BNC-HD.png);
	background-size: cover;
	background-repeat: no-repeat;
}
.content-modal-get-card .modal-header{
	  padding: 0;
    position: absolute;
    top: 0;
    right: 0;
}
.inner-detail-modal{
	color: #fff;
	max-width:432px;
}
.inner-detail-modal h2{
	font-size: 48px;
}
.inner-detail-modal p,
.inner-detail-modal ul{
	font-size: 20px;
}
.inner-detail-modal .note{
	font-size: 15px;
	font-style: italic;
}
.inner-detail-modal h2{
	font-size: 42px;
	color: #fff;
	font-weight: 700;
}
.cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	background: #f3f3f3;
	color: #0c3d8c;
	text-decoration: none;
	font-size: 20px;
	font-weight: 700;
	border-radius: 6px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	transition: all 0.2s ease;
	font-size: 28px;
	padding: 12px 15px;
	line-height: 1.2em;
	min-width: 408px;
}

.cta:hover {
	background: #ffffff;
	transform: translateY(-1px);
}
.content-modal-get-card{
	
}
@media(max-width: 768px){
	.content-modal-get-card .modal-get-card {
			background-image: url(/wp-content/uploads/2026/04/5.-PopUp-TDC-SoyTechno-BNC-1.png);
		background-image: none;
	}
	.inner-detail-modal{
			
	}
	.content-modal-get-card .modal-get-card{
		padding: 0px 0px 00px;
		max-width: 430px;
	}
	.inner-detail-modal{
		padding: 375px 20px 60px ;
					background-image: url(/wp-content/uploads/2026/04/5.-PopUp-TDC-SoyTechno-BNC-1.png);
		background-size: contain;
	}
}

/* CCS MODAL 3 CARD */

.modal-overlay#redeem-options-modal .modal-header-simple h2{
	color: #00317D;	
	
}

#redeem-options-modal .material-symbols-rounded{
	  min-height: 29px;
    margin-bottom: 14px;
}
#redeem-options-modal .option-title{
	font-weight: 700;
	margin-bottom: 10px;
}

#redeem-options-modal .redeem-option-box{
	display: flex;
    flex-wrap: wrap;
    align-content: space-between;
}
#redeem-options-modal .redeem-option-box >div{
	width: 100%;
}
/* CSS PARA LOS MODALES DE RECOMPENSAS */

button#btn-accept-redeem{
	background: #0052d4;
	border-radius: 4px;
	color: #fff;
}

button#btn-accept-redeem:hover{
	background: #00317D;
	border-radius: 4px;
	color: #fff;
}

button#btn-cancel-redeem:hover{
	background: #00317D;
    border-radius: 4px;
    color: #fff;
}

button#btn-go-checkout{
	background: #0052d4;
	border-radius: 4px;
	color: #fff;
}
button#btn-go-checkout:hover{
	background: #00317D;
    border-radius: 4px;
    color: #fff;
}
button#btn-keep-redeeming:hover{
	background: #00317D;
    border-radius: 4px;
    color: #fff;
}

/* MEDIA QUERY PARA TAB BNC */
@media(max-width: 768px){
	.inner-detail-modal{
		background-repeat: no-repeat;
	}
	.cta {
    min-width: auto;
    font-size: 20px;
  }
	.TechnoBits-cliente-container .history-tabs {
    flex-wrap: wrap;
}
	.TechnoBits-cliente-container .history-tab{
		width: auto;
	}
	#history-tab-get-card{
		/*max-width: 240px;*/
	}
}
@media(max-width: 400px){
	.cta {
    font-size: 17px;
		padding: 12px 12px;
  }
	.inner-detail-modal h2 {
		font-size: 37px;
	}
		.TechnoBits-cliente-container .history-tab{
		width: auto;
	}
	#history-tab-get-card{
		max-width: initial;
	}
}

/* =============================================
   REWARDS POPUP CATALOG
   ============================================= */
.rewards-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99998;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.rewards-popup-overlay.show {
  display: flex;
}
.rewards-popup-content {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 1020px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.rewards-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
  background: #002052;
}
.rewards-popup-header h2 {
  margin: 0;
  font-size: 20px;
  color: #fff;
}
.rewards-popup-close {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #fff;
  line-height: 1;
  padding: 0 4px;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.rewards-popup-close:hover {
  opacity: 1;
}
.rewards-popup-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px;
}
.rewards-popup-loader {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 15px;
}
.rewards-popup-slider-wrap {
  width: 100%;
}
.rewards-popup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  min-height: 280px;
}
.rewards-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 24px;
}
.rewards-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  background: #d1d5db;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.rewards-slider-dot.active {
  background: #0063FD;
  border-color: #0063FD;
  transform: scale(1.35);
}
.rewards-slider-dot:hover:not(.active) {
  background: #93b4fb;
  border-color: #93b4fb;
}

/* Overrides de tarjetas dentro del popup */
.rewards-popup-body #rewards-content .product-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}
.rewards-popup-body #rewards-content .product-image img {
  border-radius: 8px;
}

@media (max-width: 768px) {
  .rewards-popup-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .rewards-popup-content {
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
  }
  .rewards-popup-header {
    padding: 16px 18px;
  }
  .rewards-popup-header h2 {
    font-size: 16px;
  }
  .rewards-popup-body {
    padding: 16px 18px;
  }
  .rewards-popup-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================
   Estilos cupones inline (panel tab)
   Ubicados al final para máxima prioridad
   ============================================ */

/* Estilos específicos del tab de cupones */
#tab-panel-cupones .tab-panel-card .orders-info-banner {
  background-color: #FFE8AD !important;
  padding: 12px 15px !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  color: #002052 !important;
  display: block !important;
}
#tab-panel-cupones .order-item-detailed {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  padding: 20px 0 !important;
  border-bottom: 1px solid #f0f0f0 !important;
  background-color: white !important;
  color: #333 !important;
}
#tab-panel-cupones .order-item-detailed:last-child {
  border-bottom: none !important;
}
#tab-panel-cupones .order-icon {
  flex-shrink: 0 !important;
  margin-right: 15px !important;
  margin-bottom: 0 !important;
}
#tab-panel-cupones .order-details {
  flex: 1 !important;
  min-width: 0 !important;
}
#tab-panel-cupones .order-date-time {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-bottom: 3px !important;
}
#tab-panel-cupones .order-description {
  font-size: 14px !important;
  color: #333 !important;
  margin-bottom: 2px !important;
}
#tab-panel-cupones .order-location {
  font-size: 13px !important;
  color: #666 !important;
}
#tab-panel-cupones .order-points-badge {
  display: inline-flex !important;
  align-items: center !important;
  background-color: #E8F5E9 !important;
  color: #2E7D32 !important;
  padding: 8px 16px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
  margin-top: 0 !important;
  transition: background 0.2s;
}
#tab-panel-cupones .order-points-badge:hover {
  background-color: #c8e6c9 !important;
}

@media(max-width: 767px) {
  #tab-panel-cupones .order-item-detailed {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    padding: 20px 0 !important;
  }
  #tab-panel-cupones .order-icon {
    flex-shrink: 0 !important;
    margin-right: 12px !important;
  }
  #tab-panel-cupones .order-details {
    flex: 1 !important;
    min-width: 0 !important;
  }
  #tab-panel-cupones .order-points-badge {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 15px !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    display: flex !important;
  }
}

/* ============================================
   Recompensas: Ocultar ícono y subtítulo en tab inline
   (solo dejamos el h1 con el título dinámico)
   ============================================ */
#tab-panel-recompensas .rewards-page-header .recompesa-header span {
  display: none !important;
}
#tab-panel-recompensas .rewards-page-header > p {
  display: none !important;
}

/* ============================================
   Recompensas: Slider horizontal en mobile
   Solo aplica dentro del tab inline
   ============================================ */
@media (max-width: 768px) {
  /* Paginador mobile: ocultar botones, mostrar solo contador "Página X de Y" */
  #tab-panel-recompensas .rewards-pagination {
    display: none !important;
  }
  /* Contador "X de N" sincronizado con el carousel */
  .mobile-slide-counter {
    text-align: center;
    padding: 10px 0 4px;
    margin-block-start: 8px;
  }
  #tab-slide-counter {
    font-size: 14px;
    color: #667eaa;
    font-family: "Jost", sans-serif;
  }
  #tab-panel-recompensas #rewards-content .products-grid {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px !important;
    min-height: 0 !important;
    grid-template-columns: none !important;
  }
  #tab-panel-recompensas #rewards-content .products-grid::-webkit-scrollbar {
    display: none;
  }
  #tab-panel-recompensas #rewards-content .products-grid .product-card {
    min-width: 85% !important;
    max-width: 85% !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start;
    height: auto !important;
  }
}