/* =========================================================
   ZERO BYTE - CHECKOUT
========================================================= */

.zb-checkout-page {
  --zb-orange: var(--zb-brand-primary, #ff8500);
  --zb-bg: #090909;
  --zb-panel: #111111;
  --zb-panel-2: #171717;
  --zb-input: #0d0d0d;
  --zb-border: #292929;
  --zb-text: #f2f2f2;
  --zb-muted: #999999;

  width: 100%;
  max-width: 100%;
  background: var(--zb-bg) !important;
  color: var(--zb-text) !important;
  font-family: inherit;
  isolation: isolate;
  overflow-x: hidden;
}

.zb-checkout-page *,
.zb-checkout-page *::before,
.zb-checkout-page *::after {
  box-sizing: border-box;
}

.zb-checkout-page a {
  color: inherit;
  transition: color .2s ease, background .2s ease,
    border-color .2s ease, transform .2s ease;
}

.zb-checkout-page p,
.zb-checkout-page small {
  color: var(--zb-muted);
}

/* =========================================================
   HEADER
========================================================= */

.zb-checkout-page .page-header {
  background: #090909 !important;
  border-bottom: 1px solid var(--zb-border);
}

.zb-checkout-page .page-header h1,
.zb-checkout-page .page-title {
  color: #f5f5f5 !important;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -1.5px;
}

.zb-checkout-page .page-header p {
  color: #999 !important;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.zb-checkout-page .breadcrumb {
  padding: 0;
  margin: 0;
  background: transparent !important;
  color: #999 !important;
  font-size: 11px;
}

.zb-checkout-page .breadcrumb a,
.zb-checkout-page .breadcrumb-item,
.zb-checkout-page .breadcrumb-item.active {
  color: #999 !important;
}

.zb-checkout-page .breadcrumb a:hover {
  color: var(--zb-orange) !important;
}

.zb-checkout-page .breadcrumb-item + .breadcrumb-item::before {
  color: #555 !important;
}

/* =========================================================
   CHECKOUT GENERAL
========================================================= */

.zb-checkout-page .checkout {
  padding: 48px 0 75px;
  background: var(--zb-bg) !important;
}

.zb-checkout-page .checkout .container {
  max-width: 1200px;
}

.zb-checkout-page .checkout-title,
.zb-checkout-page h2,
.zb-checkout-page h3 {
  color: #f5f5f5 !important;
}

.zb-checkout-page .checkout-title {
  margin-bottom: 22px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -.5px;
}

/* =========================================================
   ALERTS
========================================================= */

.zb-checkout-page .checkout-info,
.zb-checkout-page .alert {
  background: #171717 !important;
  border: 1px solid #303030 !important;
  border-left: 3px solid var(--zb-orange) !important;
  border-radius: 3px;
  color: #ccc !important;
}

.zb-checkout-page .checkout-info a,
.zb-checkout-page .alert a {
  color: var(--zb-orange) !important;
}

/* =========================================================
   FORMULARIOS
========================================================= */

.zb-checkout-page .checkout .zb-form-group {
  margin-bottom: 19px;
}

.zb-checkout-page .checkout label {
  display: block;
  margin-bottom: 8px;
  color: #ddd !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
}

.zb-checkout-page .checkout label .required,
.zb-checkout-page .checkout label abbr {
  color: var(--zb-orange) !important;
  border: 0;
  text-decoration: none;
}

.zb-checkout-page .checkout input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.zb-checkout-page .checkout select,
.zb-checkout-page .checkout textarea,
.zb-checkout-page .form-control {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--zb-input) !important;
  border: 1px solid #303030 !important;
  border-radius: 3px !important;
  color: #f2f2f2 !important;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: none !important;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.zb-checkout-page .checkout textarea {
  min-height: 115px;
  resize: vertical;
}

.zb-checkout-page .checkout input::placeholder,
.zb-checkout-page .checkout textarea::placeholder,
.zb-checkout-page .form-control::placeholder {
  color: #666 !important;
  opacity: 1;
}

.zb-checkout-page .checkout input:focus,
.zb-checkout-page .checkout select:focus,
.zb-checkout-page .checkout textarea:focus,
.zb-checkout-page .form-control:focus {
  background: #111 !important;
  border-color: var(--zb-orange) !important;
  color: #fff !important;
  box-shadow: 0 0 0 3px rgba(255, 123, 0, .10) !important;
}

/* =========================================================
   SELECT
========================================================= */

.zb-checkout-page .checkout select {
  color-scheme: dark;
  cursor: pointer;
}

.zb-checkout-page .checkout select option {
  background: #171717;
  color: #fff;
}

/* =========================================================
   CHECKBOX Y RADIO
========================================================= */

.zb-checkout-page .checkout input[type="checkbox"],
.zb-checkout-page .checkout input[type="radio"] {
  accent-color: var(--zb-orange);
  cursor: pointer;
}

.zb-checkout-page .checkout .zb-check__label,
.zb-checkout-page .checkout label.checkbox,
.zb-checkout-page .checkout .form-check-label {
  color: #aaa !important;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  cursor: pointer;
}

.zb-checkout-page .checkout .zb-check__label::before {
  background-color: #171717 !important;
  border-color: #444 !important;
}

.zb-checkout-page .checkout .zb-check__input:checked ~ .zb-check__label::before {
  background-color: var(--zb-orange) !important;
  border-color: var(--zb-orange) !important;
}

/* =========================================================
   PANELES
========================================================= */

.zb-checkout-page .checkout .checkout-payment,
.zb-checkout-page .checkout .checkout-review,
.zb-checkout-page .checkout .order-summary {
  min-width: 0;
  max-width: 100%;
  padding: 25px;
  background: var(--zb-panel) !important;
  border: 1px solid var(--zb-border) !important;
  border-radius: 3px;
}

.zb-checkout-page .checkout .checkout-review h3,
.zb-checkout-page .checkout .order-summary h3 {
  padding-bottom: 17px;
  margin-bottom: 17px;
  border-bottom: 1px solid var(--zb-border);
  color: #f5f5f5 !important;
  font-size: 17px;
  font-weight: 750;
}

/* =========================================================
   TABLA DE PRODUCTOS
========================================================= */

.zb-checkout-page #checkout-products,
.zb-checkout-page .checkout .table {
  width: 100%;
  margin-bottom: 0;
  background: transparent !important;
  color: #ddd !important;
}

.zb-checkout-page .checkout .table th,
.zb-checkout-page .checkout .table td {
  padding: 14px 10px;
  background: transparent !important;
  border-top: 1px solid #292929 !important;
  border-bottom: 1px solid #292929 !important;
  color: #ccc !important;
  font-size: 11px;
  vertical-align: middle;
}

.zb-checkout-page .checkout .table thead th {
  color: #999 !important;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.zb-checkout-page .checkout .table tbody td:first-child {
  color: #eee !important;
}

.zb-checkout-page .checkout .table strong,
.zb-checkout-page .checkout .table b {
  color: #fff !important;
}

.zb-checkout-page .checkout .table tfoot th,
.zb-checkout-page .checkout .table tfoot td {
  color: #ddd !important;
}

/* =========================================================
   SUBTOTAL Y TOTAL
========================================================= */

.zb-checkout-page #checkout-subtotal {
  color: #eee !important;
}

.zb-checkout-page #checkout-total {
  color: var(--zb-orange) !important;
  font-size: 20px;
  font-weight: 800;
}

/* =========================================================
   MÉTODOS DE PAGO
========================================================= */

.zb-checkout-page .payment-methods {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 20px;
}

.zb-checkout-page .payment-methods label {
  color: #eee !important;
}

.zb-checkout-page .payment-methods li,
.zb-checkout-page .payment-methods .payment-box {
  min-width: 0;
  max-width: 100%;
  padding: 15px;
  margin-bottom: 10px;
  background: #171717 !important;
  border: 1px solid #303030 !important;
  color: #ccc !important;
  overflow-wrap: anywhere;
}

.zb-checkout-page .payment-methods input[type="radio"] {
  accent-color: var(--zb-orange);
}

.zb-checkout-page .payment-methods p {
  color: #999 !important;
  font-size: 11px;
  line-height: 1.7;
}

/* =========================================================
   BOTONES MERCADO PAGO Y PAYPAL
   RESPONSIVE OPTIMIZADO
========================================================= */

.zb-checkout-page #btn-mercadopago,
.zb-checkout-page #btn-paypal {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;

  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 54px;

  padding: 12px 16px;
  margin: 12px 0 0;

  border: 1px solid transparent !important;
  border-radius: 3px !important;

  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;

  white-space: normal;
  overflow: hidden;
  overflow-wrap: anywhere;

  box-sizing: border-box;
  cursor: pointer;

  transition: transform .2s ease, filter .2s ease;
}

.zb-checkout-page #btn-mercadopago img,
.zb-checkout-page #btn-paypal img {
  display: block;
  width: auto;
  max-width: min(145px, 100%);
  height: auto;
  max-height: 30px;
  flex: 0 1 auto;
  object-fit: contain;
}

.zb-checkout-page #btn-mercadopago:hover,
.zb-checkout-page #btn-paypal:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* =========================================================
   BOTONES GENERALES
========================================================= */

.zb-checkout-page .checkout .btn-primary,
.zb-checkout-page .checkout .btn-checkout,
.zb-checkout-page .checkout button[type="submit"] {
  min-height: 52px;
  max-width: 100%;
  padding: 13px 20px;
  background: var(--zb-orange) !important;
  border: 1px solid var(--zb-orange) !important;
  border-radius: 3px !important;
  color: #090909 !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: none !important;
  transition: background .2s ease, transform .2s ease;
}

.zb-checkout-page .checkout .btn-primary:hover,
.zb-checkout-page .checkout .btn-checkout:hover,
.zb-checkout-page .checkout button[type="submit"]:hover {
  background: #ff9633 !important;
  border-color: #ff9633 !important;
  color: #090909 !important;
  transform: translateY(-1px);
}

/* =========================================================
   ELEMENTOS DE CONFIANZA
========================================================= */

.zb-checkout-page .zb-checkout-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid var(--zb-border);
}

.zb-checkout-page .zb-checkout-assurance > div {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.zb-checkout-page .zb-checkout-assurance > div > span {
  color: var(--zb-orange);
  font-size: 16px;
}

.zb-checkout-page .zb-checkout-assurance p {
  margin: 0;
}

.zb-checkout-page .zb-checkout-assurance b,
.zb-checkout-page .zb-checkout-assurance small {
  display: block;
}

.zb-checkout-page .zb-checkout-assurance b {
  color: #eee;
  font-size: 10px;
}

.zb-checkout-page .zb-checkout-assurance small {
  margin-top: 4px;
  color: #888;
  font-size: 9px;
  line-height: 1.5;
}

/* =========================================================
   CUPONES
========================================================= */

.zb-checkout-page .checkout .coupon,
.zb-checkout-page .checkout .coupon-form {
  padding: 17px;
  margin-bottom: 20px;
  background: #141414 !important;
  border: 1px solid #292929 !important;
  color: #ccc !important;
}

.zb-checkout-page .checkout .coupon a {
  color: var(--zb-orange) !important;
}

.zb-checkout-page .checkout .coupon input {
  background: #090909 !important;
  border-color: #333 !important;
  color: #fff !important;
}

/* =========================================================
   VALIDACIONES
========================================================= */

.zb-checkout-page .checkout .is-invalid,
.zb-checkout-page .checkout input.error,
.zb-checkout-page .checkout select.error {
  border-color: #d9534f !important;
}

.zb-checkout-page .checkout .invalid-feedback,
.zb-checkout-page .checkout .error-message,
.zb-checkout-page .checkout label.error {
  display: block;
  margin-top: 6px;
  color: #ef7772 !important;
  font-size: 10px;
}

/* =========================================================
   COLORES GENERALES
========================================================= */

.zb-checkout-page h1,
.zb-checkout-page h2,
.zb-checkout-page h3,
.zb-checkout-page h4,
.zb-checkout-page h5,
.zb-checkout-page strong,
.zb-checkout-page b {
  color: #f5f5f5;
}

.zb-checkout-page .row {
  color: var(--zb-text);
}

.zb-checkout-page hr {
  border-color: var(--zb-border);
}

/* =========================================================
   CORRECCIÓN DE SUPERFICIES BLANCAS
========================================================= */

.zb-checkout-page {
  background-color: #090909 !important;
  color: #f2f2f2;
}

.zb-checkout-page .card,
.zb-checkout-page .card-body,
.zb-checkout-page .checkout,
.zb-checkout-page .checkout-discount,
.zb-checkout-page .order-summary,
.zb-checkout-page .summary,
.zb-checkout-page .cart-summary {
  background-color: #111111 !important;
  color: #f2f2f2 !important;
  border-color: #292929 !important;
}

.zb-checkout-page table,
.zb-checkout-page thead,
.zb-checkout-page tbody,
.zb-checkout-page tr,
.zb-checkout-page th,
.zb-checkout-page td {
  background-color: transparent !important;
  color: #e8e8e8 !important;
  border-color: #292929 !important;
}

.zb-checkout-page input,
.zb-checkout-page select,
.zb-checkout-page textarea {
  background-color: #171717 !important;
  color: #ffffff !important;
  border-color: #333333 !important;
}

.zb-checkout-page input::placeholder,
.zb-checkout-page textarea::placeholder {
  color: #999999 !important;
}

.zb-checkout-page label,
.zb-checkout-page p,
.zb-checkout-page span,
.zb-checkout-page small {
  color: inherit;
}

.zb-checkout-page a {
  color: var(--zb-brand-primary, #ff8500);
}

.zb-checkout-page a:hover {
  color: #ff9633;
}

/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 991px) {

  .zb-checkout-page .checkout {
    padding: 35px 0 55px;
  }

  .zb-checkout-page .checkout .checkout-payment,
  .zb-checkout-page .checkout .checkout-review,
  .zb-checkout-page .checkout .order-summary {
    padding: 20px;
  }

  .zb-checkout-page .zb-checkout-assurance {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .zb-checkout-page #btn-mercadopago,
  .zb-checkout-page #btn-paypal {
    min-height: 52px;
    padding: 11px 14px;
    font-size: 11px;
  }
}

/* =========================================================
   MÓVILES
========================================================= */

@media (max-width: 767px) {

  .zb-checkout-page {
    overflow-x: hidden;
  }

  .zb-checkout-page .container {
    width: 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }

  .zb-checkout-page .page-header h1,
  .zb-checkout-page .page-title {
    font-size: 28px;
  }

  .zb-checkout-page .checkout {
    padding: 25px 0 45px;
  }

  .zb-checkout-page .checkout-title {
    font-size: 19px;
  }

  .zb-checkout-page .checkout .checkout-payment,
  .zb-checkout-page .checkout .checkout-review,
  .zb-checkout-page .checkout .order-summary {
    padding: 17px;
    margin-bottom: 18px;
  }

  .zb-checkout-page .checkout .zb-form-group {
    margin-bottom: 15px;
  }

  .zb-checkout-page .checkout input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
  .zb-checkout-page .checkout select,
  .zb-checkout-page .checkout textarea,
  .zb-checkout-page .form-control {
    min-height: 46px;
    font-size: 12px;
  }

  .zb-checkout-page .checkout textarea {
    min-height: 100px;
  }

  .zb-checkout-page .checkout .table th,
  .zb-checkout-page .checkout .table td {
    padding: 11px 7px;
    font-size: 10px;
  }

  .zb-checkout-page #checkout-total {
    font-size: 18px;
  }

  /* Botones de pago */
  .zb-checkout-page #btn-mercadopago,
  .zb-checkout-page #btn-paypal {
    width: 100%;
    min-height: 50px;
    padding: 10px 12px;
    margin-top: 10px;
    gap: 9px;
    font-size: 10px;
    letter-spacing: .3px;
  }

  .zb-checkout-page #btn-mercadopago img,
  .zb-checkout-page #btn-paypal img {
    max-width: 125px;
    max-height: 27px;
  }

  .zb-checkout-page .zb-checkout-assurance {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .zb-checkout-page .zb-checkout-assurance > div {
    flex-direction: column;
    gap: 5px;
  }

  .zb-checkout-page .zb-checkout-assurance b {
    font-size: 9px;
  }

  .zb-checkout-page .zb-checkout-assurance small {
    font-size: 8px;
  }
}

/* =========================================================
   MÓVILES PEQUEÑOS
========================================================= */

@media (max-width: 575px) {

  .zb-checkout-page .page-header h1,
  .zb-checkout-page .page-title {
    font-size: 25px;
  }

  .zb-checkout-page .checkout .checkout-payment,
  .zb-checkout-page .checkout .checkout-review,
  .zb-checkout-page .checkout .order-summary {
    padding: 14px;
  }

  .zb-checkout-page .checkout .table {
    font-size: 10px;
  }

  .zb-checkout-page .checkout .table th,
  .zb-checkout-page .checkout .table td {
    padding: 10px 5px;
    font-size: 9px;
  }

  .zb-checkout-page .zb-checkout-assurance {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .zb-checkout-page .zb-checkout-assurance > div {
    flex-direction: row;
    align-items: center;
    gap: 9px;
  }

  .zb-checkout-page .zb-checkout-assurance b {
    font-size: 10px;
  }

  .zb-checkout-page .zb-checkout-assurance small {
    font-size: 9px;
  }
}

/* =========================================================
   PANTALLAS MUY PEQUEÑAS
========================================================= */

@media (max-width: 480px) {

  .zb-checkout-page #btn-mercadopago,
  .zb-checkout-page #btn-paypal {
    min-height: 48px;
    padding: 10px;
    gap: 7px;
    font-size: 9px;
    letter-spacing: .2px;
  }

  .zb-checkout-page #btn-mercadopago img,
  .zb-checkout-page #btn-paypal img {
    max-width: 105px;
    max-height: 25px;
  }
}

@media (max-width: 380px) {

  .zb-checkout-page .checkout .container {
    padding-right: 11px;
    padding-left: 11px;
  }

  .zb-checkout-page .checkout .checkout-payment,
  .zb-checkout-page .checkout .checkout-review,
  .zb-checkout-page .checkout .order-summary {
    padding: 12px;
  }

  .zb-checkout-page .checkout .table th,
  .zb-checkout-page .checkout .table td {
    padding: 9px 4px;
    font-size: 9px;
  }

  .zb-checkout-page #checkout-total {
    font-size: 16px;
  }

  .zb-checkout-page #btn-mercadopago,
  .zb-checkout-page #btn-paypal {
    min-height: 46px;
    padding: 9px 7px;
    gap: 5px;
    font-size: 8px;
    letter-spacing: 0;
  }

  .zb-checkout-page #btn-mercadopago img,
  .zb-checkout-page #btn-paypal img {
    max-width: 90px;
    max-height: 23px;
  }
}

/* =========================================================
   DISPOSITIVOS TÁCTILES
========================================================= */

@media (hover: none) and (pointer: coarse) {

  .zb-checkout-page a,
  .zb-checkout-page button {
    transition: none;
  }

  .zb-checkout-page #btn-mercadopago:hover,
  .zb-checkout-page #btn-paypal:hover {
    transform: none;
    filter: none;
  }
}

/* Presentation extracted from template markup. */
.zb-payment-provider-logo { height:48px; margin-right:10px; }

/* Mercado Pago: clear hierarchy and restrained purchase-button motion. */
.zb-checkout-page #btn-mercadopago { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; width: 100%; gap: 11px; min-height: 56px; padding: 13px 16px; overflow: hidden; border: 1px solid #ffab45; border-radius: 9px; background: linear-gradient(115deg, #ff9500, var(--zb-brand-primary, #ff8500)); color: #14100a; box-shadow: inset 0 1px 0 #ffffff38, 0 5px 18px #ff85001a; font-size: 11px; font-weight: 600; letter-spacing: .2px; line-height: 1.4; text-transform: none; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.zb-checkout-page #btn-mercadopago img { flex: 0 0 28px; width: 28px; height: 28px; max-width: 28px; max-height: 28px; margin: 0; object-fit: contain; border-radius: 50%; }
.zb-checkout-page #btn-mercadopago .zb-payment-button-label { flex: 1; min-width: 0; text-align: left; }
.zb-checkout-page #btn-mercadopago .zb-payment-button-arrow { flex: 0 0 12px; font-size: 12px; transition: transform .22s ease; }
.zb-checkout-page #btn-mercadopago::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 25%, #ffffff35 48%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
.zb-checkout-page #btn-mercadopago:hover { transform: translateY(-2px); border-color: #ffc27a; filter: none; color: #14100a; box-shadow: inset 0 1px 0 #ffffff45, 0 8px 24px #ff850030; }
.zb-checkout-page #btn-mercadopago:hover::before { transform: translateX(120%); transition: transform .7s ease; }
.zb-checkout-page #btn-mercadopago:hover .zb-payment-button-arrow { transform: translateX(3px); }
.zb-checkout-page #btn-mercadopago:focus-visible { outline: 2px solid #ffd295; outline-offset: 4px; }
.zb-checkout-page #btn-mercadopago:active { transform: translateY(0); }
.zb-checkout-page #btn-mercadopago:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
@media (max-width: 480px) { .zb-checkout-page #btn-mercadopago { min-height: 52px; padding: 11px 12px; font-size: 10px; gap: 9px; } }
@media (prefers-reduced-motion: reduce) { .zb-checkout-page #btn-mercadopago, .zb-checkout-page #btn-mercadopago::before, .zb-checkout-page #btn-mercadopago .zb-payment-button-arrow { transition: none; } .zb-checkout-page #btn-mercadopago:hover, .zb-checkout-page #btn-mercadopago:hover .zb-payment-button-arrow { transform: none; } .zb-checkout-page #btn-mercadopago::before { display: none; } }
