/* ===== Barra de pasos ===== */
.nav-pills {
    border: none;
    background: transparent;
    justify-content: center;
    gap: 40px;
}
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    color: #6c757d;
    position: relative;
    z-index: 2;
}

.step span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step.active span {
    background-color: #0d6efd;
    color: white;
}

.step.completed span {
    background-color: #198754;
    color: white;
}

.line {
    flex: 1;
    height: 4px;
    background-color: #dee2e6;
    margin: 0 10px;
    position: relative;
    z-index: 1;
}

.step.active ~ .line,
.step.completed ~ .line {
    background-color: #0d6efd; /* Azul cuando está completado o activo */
}

.step.completed ~ .line {
    background-color: #198754; /* Verde cuando ya está completado */
}
.nav-pills .nav-item {
    flex: none;
}
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.checkout-steps .step {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #999;
}

.checkout-steps .step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ccc;
  margin-right: 6px;
  font-size: 14px;
  background: #fff;
}

.checkout-steps .step.active span {
  border-color: #000;
  background: #000;
  color: #fff;
}

.checkout-steps .step.completed span {
  border-color: #28a745;
  background: #28a745;
  color: #fff;
}
.checkout-container {
 
    margin: 20px auto;
    max-width: 1200px;
}

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ccc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step.active {
    background: #4CAF50;
}

.step.completed {
    background: #007bff;
}

.line {
    flex: 1;
    height: 2px;
    background: #ccc;
}

.checkout-content {
    display: flex;
    gap: 30px;
}

/* Métodos de pago */
.payment-methods {
    flex: 2;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.payment-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    text-align: left;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f8f8f8;
    cursor: pointer;
    transition: 0.2s;
}

.payment-btn:hover {
    background: #e6f0ff;
    border-color: #007bff;
}

.payment-btn.disabled {
    background: #f1f1f1;
    color: #999;
    cursor: not-allowed;
}

/* Resumen */
.summary {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.summary-item, .summary-total {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
}

.summary-item.discount {
    color: green;
}

.summary-total.falabella {
    font-weight: bold;
    color: #d32f2f;
}

.btn-pay {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.btn-pay:hover {
    background: #0056b3;
}

.btn-invoice {
    padding: 8px 12px;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
}

.terms {
    margin-top: 15px;
    font-size: 14px;
}


.checkout-steps .line {
  flex: 1;
  height: 2px;
  background: #ccc;
  margin: 0 10px;
}

.checkout-steps .step.active {
  color: #000;
}

.checkout-steps .step.completed {
  color: #28a745;
}

.opcion-entrega input[type="radio"] {
  margin-top: -2px;
}

.nav-pills .nav-link {
    background: none !important;
    color: #6c757d;
    font-weight: 500;
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.95rem;
}

/* Contenedor de los pasos */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
    font-family: Space Grotesk, Helvetica Neue, Helvetica, Arial, sans-serif;
}

/* Paso */
.checkout-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    color: #6c757d;
    font-weight: 500;
    font-size: 14px;
}

/* Círculo */
.checkout-steps .step span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: #fff;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Activo */
.checkout-steps .step.active span {
    border-color: #000;
    background: #000;
    color: #fff;
}

/* Completado */
.checkout-steps .step.completed span {
    border-color: #000000;
    background: #000000;
    color: #fff;
}

/* Línea entre pasos */
.checkout-steps .line {
    flex: 1;
    height: 2px;
    background: #ccc;
    position: relative;
    top: -10px;
}

/* Línea verde cuando está completado */
.checkout-steps .step.completed+.line {
    background: #000000;
}

/* Línea negra cuando el siguiente está activo */
.checkout-steps .step.active+.line {
    background: #000;
}

.nav-pills .nav-link::before {
    content: attr(data-step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #6c757d;
    margin-bottom: 6px;
    font-size: 0.9rem;
    background: #fff;
}

.nav-pills .nav-link.active {
    color: #000;
    font-weight: 600;
}

.nav-pills .nav-link.active::before {
    border-color: #000;
    background: #000;
    color: #fff;
}

/* Línea entre pasos */
.nav-justified {
    position: relative;
}

.nav-justified::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: #dee2e6;
    z-index: 0;
}

.nav-pills .nav-link::before {
    z-index: 1;
}

/* ===== Tarjetas ===== */
.card {
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.card-body {
    padding: 20px;
}

/* ===== Inputs ===== */
.form-control {
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* ===== Tabla Carrito ===== */
.table thead th {
    background: #f9f9f9;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    border-bottom: 2px solid #e5e5e5;
}

/* ===== Botones ===== */
.btn {
    border-radius: 50px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #212529;
    border: none;
}

.btn-primary:hover {
    background: #000;
}

.btn-success {
    background: #28a745;
    border: none;
}

.btn-success:hover {
    background: #218838;
}

.btn-outline-secondary {
    border-radius: 50px;
}

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.checkout-steps .step {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #6c757d;
}

.checkout-steps .step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dee2e6;
    margin-right: 8px;
    font-size: 14px;
}

.checkout-steps .step.active span {
    background: #000000;
    color: #fff;
}

/* ===== Barra de pasos ===== */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.checkout-steps .step {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
}

.checkout-steps .step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #dee2e6;
    margin-right: 8px;
    font-size: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Paso activo */
.checkout-steps .step.active {
    color: #000;
    font-weight: 600;
}

.checkout-steps .step.active span {
    background: #000000;
    color: #fff;
    transform: scale(1.1);
}

/* Paso completado */
.checkout-steps .step.completed {
    color: #000;
    font-weight: 600;
}

.checkout-steps .step.completed span {
    background: #212529;
    color: #fff;
}

.checkout-steps .step {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
}

.checkout-steps .step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #dee2e6;
    margin-right: 8px;
    font-size: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.checkout-steps .step.active {
    color: #000;
    font-weight: 600;
}

.checkout-steps .step.active span {
    background: #000000;
    color: #fff;
    transform: scale(1.1);
}

.checkout-steps .line {
    flex: 1;
    height: 2px;
    background: #dee2e6;
}

/* ===== Tarjetas ===== */
.card {
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.card-body {
    padding: 20px;
}

/* ===== Inputs ===== */
.form-control {
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: #000000;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
}

/* ===== Tabla Carrito ===== */
.table thead th {
    background: #f8f9fa;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    border-bottom: 2px solid #e5e5e5;
}

/* ===== Botones ===== */
.btn {
    border-radius: 50px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #212529;
    border: none;
}

.btn-primary:hover {
    background: #000;
}

.btn-success {
    background: #28a745;
    border: none;
}

.btn-success:hover {
    background: #218838;
}

.btn-outline-secondary {
    border-radius: 50px;
}

/* ===== Resumen de compra ===== */
.card .fs-5 {
    font-size: 1.2rem !important;
    font-weight: 600;
}

.card button {
    font-size: 1rem;
    font-weight: 600;
}


.checkout-steps .line {
    flex: 1;
    height: 2px;
    background: #dee2e6;
}


/* ===== Resumen de compra ===== */
.card .fs-5 {
    font-size: 1.2rem !important;
    font-weight: 600;
}

.card button {
    font-size: 1rem;
    font-weight: 600;
}