/* Cart Review Page Styles */
.cart-container {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cart-main-content {
  flex: 1;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.back-link {
  color: #0066cc;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cart-title {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 2rem;
}

.ride-details {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.route-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.route-point {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.route-point-label {
  font-size: 0.875rem;
  color: #666;
}

.route-point-value {
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 500;
}

.vehicle-info {
  margin-bottom: 2rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.info-label {
  color: #666;
}

.info-value {
  color: #1a1a1a;
  font-weight: 500;
}

.travel-details {
  margin-bottom: 2rem;
}

.travel-date {
  margin-bottom: 1rem;
}

.date-label {
  color: #666;
  margin-right: 0.5rem;
}

.date-value {
  color: #1a1a1a;
  font-weight: 500;
}

.passenger-info {
  display: flex;
  gap: 2rem;
}

.passenger-type {
  gap: 0.5rem;
}

.type-label {
  color: #666;
}

.type-value {
  color: #1a1a1a;
  font-weight: 500;
}

.flight-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.flight-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flight-input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.extras-section {
  padding-top: 2rem;
}

.extras-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.extras-description {
  color: #666;
  margin-bottom: 2rem;
}

.cart-summary {
  width: 380px;
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  align-self: flex-start;
}

.summary-title {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.summary-details {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e5e5;
}

.summary-route p {
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.summary-passengers p {
  color: #666;
  margin-bottom: 0.5rem;
}

.summary-items {
  margin-bottom: 2rem;
}

.summary-item {
  display: flex;
  margin-bottom: 1rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
}

.checkout-button {
  display: block;
  width: 100%;
  padding: 1rem;
  background: #0066cc;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  margin-bottom: 1rem;
}

.add-cart-continue {
  display: block;
  width: 100%;
  padding: 1rem;
  background: #fff;
  color: #0066cc;
  text-align: center;
  border: 1px solid #0066cc;
  border-radius: 4px;
  text-decoration: none;
}

/* Progress Bar Styles */
.progress-bar-container {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin: 2rem auto;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress-step.completed .checkmark {
  background: #0066cc;
  color: #fff;
}

.progress-step.active .step-number {
  background: #0066cc;
  color: #fff;
}

.checkmark,
.step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e5e5;
  color: #666;
}

.step-text {
  font-size: 0.875rem;
  color: #666;
}

.progress-step.completed .step-text,
.progress-step.active .step-text {
  color: #0066cc;
  font-weight: 500;
}
p#billing_country_field {
    width: 100% !important;
    display: block!important;
}

/* === Checkout: asegurar botón debajo del texto de privacidad/condiciones === */
.woocommerce-checkout #payment .place-order,
.woocommerce-checkout-payment .place-order {
  display: block !important; /* evita layouts en fila de temas que usan flex */
}

.woocommerce-checkout #payment .place-order .woocommerce-privacy-policy-text,
.woocommerce-checkout-payment .place-order .woocommerce-privacy-policy-text,
.woocommerce-checkout #payment .place-order .woocommerce-terms-and-conditions-wrapper,
.woocommerce-checkout-payment .place-order .woocommerce-terms-and-conditions-wrapper,
.woocommerce-checkout #payment .place-order .form-row,
.woocommerce-checkout-payment .place-order .form-row {
  display: block !important;
  width: 100% !important;
  float: none !important;
  margin: 0 0 16px 0 !important;
}

.woocommerce-checkout #payment .place-order .button,
.woocommerce-checkout-payment .place-order .button {
  float: none !important; /* algunos temas flotan a la derecha */
  display: block !important;
  width: 100% !important;
  margin-top: 8px !important;
}
