:root {
  --ns-step-bg: #fff;
  --ns-step-border: #ced3da;
  /*--ns-step-border: #dfe3e8;*/
  /*--ns-step-border: #cbcfd4;*/
  /*--ns-step-accent: #007cba;*/
  --ns-step-accent: #149adb;
  /*--ns-step-muted: #6b7280;*/
  --ns-step-muted: #565b66;
  --ns-step-spacing: 1.5rem;
}

.ns-event-tickets-checkout {
  margin: 0 0 2rem 0;
  /*padding: 2rem;*/
  background: var(--ns-step-bg);
  /*border: 1px solid var(--ns-step-border);*/
  border-radius: 12px;
}

.ns-checkout-steps {
  display: grid;
  gap: var(--ns-step-spacing);
}

.ns-checkout-step {
  /*border: 1px solid var(--ns-step-border);*/
  border-radius: 10px;
  padding: 1.25rem 1.25rem 2.5rem 1.25rem;
  background: #fafbfc;
}
.ns-checkout-step p {
  margin-bottom: 0;
  font-size: 0.9rem;
}
.ns-checkout-step > :not(header) {
  margin-left: calc(32px + var(--ns-step-spacing));
  margin-right: calc(32px + var(--ns-step-spacing));
}

.ns-step-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
  /*padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--ns-step-border);*/
}

.ns-step-index {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ns-step-accent);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.ns-step-header-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ns-step-header h4 {
  margin: 0;
  font-size: 1.3rem;
}

.ns-step-message {
  line-height: 1.4;
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}
.ns-step-message--pending {
  display: inline-block;
  color: #444;
  background-color: #ffe5b2;
  padding: 3px 20px;
  border-radius: 30px;
  margin-bottom: 0.5rem !important;
}
.ns-step-message--done {
  display: none;
  color: #2c7036;
  background-color: #effdde;
  padding: 3px 20px;
  border-radius: 30px;
  margin-bottom: 0.5rem !important;
}

.ns-checkout-step .form-row.woocommerce-validated input.input-text {
  box-shadow: inset 2px 0 0 #2c7036;
}

.ns-checkout-step.is-disabled .ns-step-message--pending,
.ns-checkout-step.is-disabled .ns-step-message--done {
  display: none;
}

.ns-checkout-step.is-step-complete .ns-step-message--pending {
  display: none;
}

.ns-checkout-step.is-step-complete .ns-step-message--done {
  display: inline-block;
}

.ns-payment-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ns-payment-option {
  border: 1px solid var(--ns-step-border);
  border-radius: 8px;
  padding: 1rem;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.ns-payment-option.is-selected {
  border-color: var(--ns-step-accent);
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.15);
}

.ns-payment-option.is-busy {
  opacity: 0.6;
  pointer-events: none;
}

.ns-payment-option__title {
  display: block;
  font-weight: 600;
}

.ns-payment-option__description {
  display: block;
  margin-top: 0.35rem;
  color: var(--ns-step-muted);
  font-size: 0.9rem;
}

.ns-payment-option[disabled] {
  pointer-events: none;
  opacity: 0.6;
}

.ns-step-tickets.is-disabled {
  opacity: 0.6;
}

.ns-step-participants.is-disabled {
  opacity: 0.6;
}

.ns-step-payment.is-disabled {
  opacity: 0.6;
}

.ns-step-payment.is-disabled .ns-payment-fields-placeholder {
  display: none;
}
.ns-payment-fields-placeholder {
  margin-top: 1rem;
}
/*
.ns-step-payment.is-disabled .ns-payment-fields-placeholder {
  height: 0;
}
.ns-step-payment .ns-payment-fields-placeholder {
  height: auto;
}
*/
.ns-step-payment .place-order {
  display: none !important;
}

.ns-step-billing.is-disabled {
  opacity: 0.6;
}

.ns-step-order.is-disabled {
  opacity: 0.6;
}

.ns-ticket-locked-note {
  margin: 0 0 1rem;
  color: var(--ns-step-muted);
}

.ns-ticket-locked-note.is-hidden {
  display: none;
}

.ns-billing-locked-note {
  margin: 0 0 1rem;
  color: var(--ns-step-muted);
}

.ns-vat-field {
  margin-bottom: 1rem;
}
/*
.ns-vat-field label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
}
*/
.ns-event-tickets-checkout .ns-event-title {
  margin: 0 0 1.5rem;
  font-size: 1.8rem;
}
.ns-event-tickets-checkout #customer_details {
  display: none;
}
.ns-event-tickets-checkout .select2-container {
  width: 100% !important;
}
.ns-country-vat-locked .select2-selection {
  background-color: #f5f5f5 !important;
  cursor: default !important;
}
.ns-vat-field input {
  border: 1px solid var(--ns-step-border);
  border-radius: 6px;
  padding: 0.5rem;
}

.ns-vat-help {
  margin: 0.25rem 0 0;
  color: var(--ns-step-muted);
  font-size: 0.85rem;
}

.ns-vat-status {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--ns-step-muted);
}

.ns-vat-status.is-error {
  color: #b91c1c;
}

.ns-vat-status.is-success {
  color: #2c7036;
}

.ns-field-description {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--ns-step-muted);
  line-height: 1.4;
}

.ns-step-participants.is-disabled p {
  color: var(--ns-step-muted);
}

.ns-payment-locked-note {
  margin: 0 0 1rem;
  color: var(--ns-step-muted);
}

.ns-billing-locked-note {
  margin: 0 0 1rem;
  color: var(--ns-step-muted);
}

.ns-order-locked-note {
  margin: 0 0 1rem;
  color: var(--ns-step-muted);
}

.ns-ticket-fields[hidden] {
  display: none !important;
}

.ns-event-ticket-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.ns-event-ticket-table th,
.ns-event-ticket-table td {
  padding: 0.75rem;
}

.ns-event-ticket-table tbody tr {
  border-top: 1px solid #ced3da;
}

.ns-event-ticket-table .ticket-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.ns-event-ticket-table .ns-ticket-row.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.ns-event-ticket-table .ns-ticket-row .ns-solo-pill {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  border-radius: 999px;
  background: rgba(0, 124, 186, 0.12);
  color: #005583;
}

.ns-event-ticket-table .ns-sale-end {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--ns-step-muted);
}

.ns-event-ticket-table ins {
  padding: 1px;
  margin: 0 2px;
  background-color: rgba(0, 124, 186, 0.12);
  color: #005583;
}

.ns-ticket-solo-actions .btn.btn-link {
  padding-left: 0;
  cursor: pointer;
}

.ns-ticket-solo-actions .btn.ns-ticket-buy {
  margin-right: 10px;
}

.ns-ticket-note {
  margin: 0.35rem 0 0;
  color: var(--ns-step-muted);
  font-size: 0.85rem;
}

.ns-event-ticket-table th {
  text-align: left;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  color: #22282e;
}

.ns-ticket-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ns-ticket-qty-control .ns-qty-btn {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--ns-step-border);
  background: #ececec;
  border-radius: 3px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.ns-ticket-qty-control .ns-qty-btn:hover:not(:disabled) {
  background: #d3d3d3;
}

.ns-ticket-qty-control .ns-qty-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ns-event-ticket-table input[type="number"] {
  width: 50px;
  padding: 10px !important;
  text-align: center;
}

/* Variation select */
.ns-variation-cell {
  min-width: 180px;
}

.ns-variation-select {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  padding: 0.5rem 2.4rem 0.5rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #22282e;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23565b66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 1rem;
  border: 1px solid var(--ns-step-border);
  border-radius: 6px;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.ns-variation-select:focus {
  outline: none;
  border-color: var(--ns-step-accent);
  box-shadow: 0 0 0 3px rgba(20, 154, 219, 0.18);
}

.ns-variation-select:hover:not(:disabled) {
  border-color: #9ba3ae;
}

.ns-variation-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f5f6f7;
}

.ns-variation-select option[value=""] {
  color: var(--ns-step-muted);
}

/* Per-row "Dodaj" (add) button */
.ns-ticket-add-btn {
  margin-top: 0.5rem;
  display: block;
  width: 100%;
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem !important;
}

.ns-ticket-add-btn.is-busy {
  opacity: 0.65;
  pointer-events: none;
}

/* Cart summary */
.ns-ticket-cart-summary {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: #f4f7f9;
  border: 1px solid var(--ns-step-border);
  border-radius: 8px;
}

.ns-cart-summary-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.ns-cart-summary-empty {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ns-step-muted);
}

.ns-cart-summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ns-cart-summary-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid var(--ns-step-border);
  border-radius: 6px;
  font-size: 0.9rem;
}

.ns-cart-item-info {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  min-width: 0;
}

.ns-cart-item-name {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ns-cart-item-qty {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--ns-step-muted);
}

.ns-cart-item-price {
  flex-shrink: 0;
  color: #3c3c3b;
  font-size: 0.9rem;
}
.ns-cart-item-price ins {
  background-color: rgba(0, 124, 186, 0.12);
  color: #005583;
}

.ns-remove-cart-item {
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--ns-step-muted);
  border-radius: 4px;
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}

.ns-remove-cart-item:hover:not(:disabled) {
  color: #c0392b;
  background: rgba(192, 57, 43, 0.08);
}

.ns-remove-cart-item:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ns-cart-summary-actions {
  margin-top: 0.75rem;
  display: flex;
  justify-content: flex-end;
}

.ns-participant-instructions {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--ns-step-muted);
}

.ns-participant-form {
  width: 50%;
  border: 1px dashed var(--ns-step-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0 0 0;
  background: #fff;
}

.ns-participant-form.is-editing {
  border: none;
}

.ns-participant-form h5 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.ns-participant-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ns-participant-fields label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  gap: 0.35rem;
}

.ns-participant-fields input {
  border: 1px solid var(--ns-step-border);
  border-radius: 6px;
  padding: 10px !important;
}
.ns-checkout-step .form-row.place-order,
.ns-checkout-step .form-row.place-order .form-row {
  margin: 0;
}

.ns-checkout-step .woocommerce-terms-and-conditions-wrapper {
  margin: 0 0 1rem 0;
}

.ns-checkout-step .form-row.place-order #place_order.btn {
  width: 50%;
}

.ns-participant-errors {
  margin: 1rem 0 0 0;
  padding: 3px 20px;
  border-radius: 30px;
  background: #fdecea;
  color: #b91c1c;
  font-size: 0.9rem;
}

.ns-participant-summary {
  border-top: 1px solid var(--ns-step-border);
  padding-top: 1rem;
}

.ns-participant-summary-list {
  display: grid;
  gap: 0.75rem;
}

.ns-participant-summary-card {
  border: 1px solid var(--ns-step-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background: #fff;
}

.ns-participant-summary-card h6 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.ns-participant-summary-card dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.25rem 1rem;
  margin: 0;
}

.ns-participant-summary-card dt {
  font-weight: 600;
  color: var(--ns-step-muted);
  font-size: 0.85rem;
}

.ns-participant-summary-card dd {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.ns-participant-summary-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
  gap: 0.5rem;
}

.ns-participant-edit {
  border: 1px solid var(--ns-step-border);
  background: #fff;
  color: #111827;
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.ns-participant-edit:hover {
  border-color: var(--ns-step-accent);
  box-shadow: 0 0 0 1px rgba(0, 124, 186, 0.2);
}

.ns-participant-summary-empty {
  margin: 0;
  color: var(--ns-step-muted);
}

@media (max-width: 640px) {
  .ns-event-tickets-checkout {
    padding: 0;
  }

  .ns-step-header {
    flex-wrap: wrap;
  }

  .ns-participant-fields {
    grid-template-columns: 1fr;
  }
}

.ns-participant-summary {
  margin-top: 1rem;
}

.ns-participant-summary-list {
  display: grid;
  gap: 0.75rem;
}

.ns-participant-summary-card {
  width: 50%;
  background-color: #fff;
  border: 1px dashed var(--ns-step-border);
  border-radius: 8px;
  margin-top: 1rem;
  padding: 1.5rem;
}
.ns-step-billing p.form-row label {
  margin-top: 1rem;
}
.ns-step-billing .woocommerce-additional-fields {
  margin-top: 2rem;
}
.ns-step-billing .ns-samoplacnik-buttons .ns-samoplacnik-btn {
  margin-right: 0.5rem;
}
.ns-step-billing .woocommerce-billing-fields h3 {
  margin-top: 1rem;
}

.ns-step-billing .woocommerce-billing-fields input:read-only {
  background-color: #f5f5f5;
}

.ns-participant-summary-fields {
  display: flex;
  flex-direction: column;
}
.ns-participant-summary-fields .ns-participant-summary-label {
  font-size: 1rem;
  color: var(--ns-step-muted);
}
.ns-participant-summary-fields .ns-participant-summary-value {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.ns-participant-summary-actions .btn {
  padding: 0;
}

.ns-participant-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.55);
  z-index: 10000;
}

.ns-participant-modal[hidden] {
  display: none !important;
}

.ns-participant-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.35);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
}

.ns-participant-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #4b5563;
}

.ns-participant-modal__content > .ns-participant-form {
  margin: 0;
  width: 100%;
}

.ns-participant-modal__content .ns-field {
  margin-bottom: 12px;
}

.ns-reset-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
}

.ns-reset-overlay__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #1f2937;
  text-align: center;
}

.ns-reset-overlay__spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #d1d5db;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: ns-reset-spin 1s linear infinite;
}

@keyframes ns-reset-spin {
  to {
    transform: rotate(360deg);
  }
}

.ns-step-header h4 {
  font-weight: 600;
}

@media screen and (max-width: 1379px) {
  .ns-event-ticket-table .ns-ticket-row .ns-solo-pill {
    margin-top: 0.5rem;
    margin-left: 0;
  }
  .ns-event-ticket-table thead tr > th:nth-child(1) {
    width: 37%;
  }
  .ns-event-ticket-table thead tr > th:nth-child(2) {
    width: 42%;
  }
}
@media screen and (max-width: 991px) {
  .ns-event-ticket-table thead {
    display: none;
  }

  .ns-event-ticket-table tbody tr {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ced3da;
  }
  .ns-event-ticket-table tbody tr td {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    border-bottom: none;
    padding: 10px 0;
  }
  .ns-participant-form {
    width: 100%;
  }
  .ns-participant-summary-card {
    width: 100%;
  }
  .ns-checkout-step > :not(header) {
    margin-left: 0;
    margin-right: 0;
  }
  .ns-event-ticket-table .table-label {
    font-weight: 600;
  }
  .ns-event-ticket-table .table-content {
    text-align: right;
  }
  .ns-event-ticket-table .is-solo-product .table-content.table-ticket-name {
    display: flex;
    flex-direction: column;
  }
  .ns-event-ticket-table .ns-ticket-row .ns-solo-pill {
    border-radius: 0;
  }
  .ns-ticket-solo-actions .btn.btn-link {
    padding: 0;
  }
  .ns-step-message--pending,
  .ns-step-message--done {
    border-radius: 1rem;
    padding: 0.5rem 1rem;
  }
}
.ns-event-tickets-checkout .woocommerce-checkout-review-order-table {
  margin-top: 1rem;
}
@media screen and (max-width: 575px) {
  .ns-event-ticket-table .table-content {
    text-align: left;
  }
  .ns-event-ticket-table .table-label {
    display: none;
    /*font-size: 14px;*/
  }
  .ns-event-ticket-table .ticket-name {
    font-size: 1.3rem;
  }
  .ns-event-ticket-table tbody tr {
    padding: 1rem 0;
  }
  .ns-event-ticket-table tbody tr td {
    line-height: 1;
    padding: 10px 0;
  }
  .ns-checkout-step {
    padding: 1rem;
  }
  .ns-checkout-step .form-row.place-order #place_order.btn {
    width: 100%;
  }
  /*
  .ns-ticket-qty-control .ns-qty-btn {
    width: 36px;
    height: 36px;
  }
  .ns-event-ticket-table input[type="number"] {
    width: 42px;
    height: 36px;
  }*/
}

/* Coupon section */
.ns-coupon-section {
  width: 50%;
  margin: 1.5rem 0 1rem;
}
@media screen and (max-width: 991px) {
  .ns-coupon-section {
    width: auto;
  }
}

.ns-coupon-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.ns-coupon-input-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ns-coupon-input-row .ns-coupon-code {
  min-width: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--ns-step-border);
  border-radius: 6px;
  font-size: 0.95rem;
}

.ns-coupon-input-row .ns-coupon-apply {
  flex-shrink: 0;
  white-space: nowrap;
}

.ns-coupon-status {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  min-height: 1.25em;
  color: var(--ns-step-muted);
}

.ns-coupon-status.is-error {
  color: #b91c1c;
}

.ns-coupon-status.is-success {
  color: #2c7036;
}

.ns-applied-coupons {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ns-applied-coupon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem 0.25rem 0.75rem;
  background: #e8f4ff;
  border: 1px solid #aad4f5;
  border-radius: 20px;
  font-size: 0.875rem;
  color: #1a5f8a;
}

.ns-coupon-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ns-coupon-remove {
  background: none;
  border: none;
  padding: 0 0.1rem;
  line-height: 1;
  font-size: 1.1rem;
  cursor: pointer;
  color: #1a5f8a;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.ns-coupon-remove:hover {
  opacity: 1;
}

@media screen and (max-width: 575px) {
  .ns-coupon-input-row {
    flex-direction: column;
  }
  .ns-coupon-input-row .ns-coupon-apply {
    width: 50%;
  }
  .woocommerce-billing-fields .form-row-first,
  .woocommerce-billing-fields .form-row-last {
    width: 100% !important;
  }
}

table.ns-event-ticket-table .ns-ticket-cell {
  display: flex;
  align-items: center;
}

table.ns-event-ticket-table .ns-ticket-cell .ns-ticket-add-btn {
  position: relative;
  width: auto;
  margin: 0 0 0 1rem;
}
@media screen and (max-width: 767px) {
  .ns-ticket-cart-summary {
    padding: 0;
    background: none;
    border: none;
  }
  .ns-cart-summary-item {
    display: block;
  }
  .ns-cart-summary-item .ns-cart-item-name {
    white-space: wrap;
  }
}
@media screen and (max-width: 575px) {
  .ns-checkout-steps {
    display: inline;
  }
  .ns-checkout-step {
    margin-bottom: 1.5rem;
  }
  .ns-variation-cell .table-content {
    width: 100%;
  }
  .ns-price-cell .table-content {
    width: 100%;
    font-size: 1.2rem;
  }
  .ns-step-message {
    margin-bottom: 2rem !important;
  }
  .ns-ticket-cell .table-content {
    display: flex;
  }
  .ns-event-ticket-table tbody tr td {
    display: block;
  }
}

/* Stripe discount badge shown next to payment method label */
.ns-stripe-discount-badge {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.15em 0.55em;
  background: #e6f7ee;
  color: #1a7a45;
  border: 1px solid #a8dfc0;
  border-radius: 4px;
  font-size: 0.82em;
  font-weight: 600;
  vertical-align: middle;
  white-space: nowrap;
}
