/*
 * AUTO-GENERATED FILE: vms-ticketing-front.css
 *
 * Source modules live in assets/css/ticketing-front/
 * Rebuild with: npm run build:css:ticketing-front
 */
/* --- 00-addons-modal.css --- */
/* Module: Add-ons + Modal Foundation */
.vms-addon-header{
  padding: 12px 0 6px;
}

.vms-addon-title{
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}

.vms-addon-subtitle{
  font-size: 13px;
  opacity: 0.85;
  margin-top: 4px;
}

.vms-addon-mount{
  margin-top: 14px;
}

.vms-addon-row{
  position: relative;
}

.vms-addon-controls{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  flex-wrap: nowrap;
}

.vms-addon-name{
  font-weight: 600;
  flex: 1 1 auto;
  min-width: 180px;
}

.vms-addon-price{
  font-weight: 400;
  opacity: 0.85;
  margin-left: 6px;
}

.vms-addon-qty{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
}

.vms-addon-input{
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 6px !important;
  text-align: center !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
  line-height: 28px !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  appearance: none !important;
}

@media (max-width: 480px){
  .vms-addon-controls{
    flex-wrap: nowrap;
  }
}

.vms-addon-minus,
.vms-addon-plus{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  line-height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
  background: #fff !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  appearance: none !important;
  cursor: pointer !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #1f2937 !important;
}

.vms-addon-minus:disabled,
.vms-addon-plus:disabled{
  opacity: 0.5;
  cursor: not-allowed;
}

.vms-cart-overlay{
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.88);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vms-cart-overlay-inner{
  font-size: 16px;
  font-weight: 700;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  border-radius: 12px;
}

.vms-addon-modal-summary{
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 12px;
  padding: 14px;
  margin: 0 0 14px;
  background: rgba(15, 23, 42, 0.04);
}

.vms-addon-modal-summary-title{
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.vms-addon-modal-list{
  margin: 8px 0 0;
  padding-left: 18px;
}

.vms-addon-modal-list li{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
}

.vms-addon-modal-note{
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.92;
}

.vms-modal-checkout-hidden{
  display: none !important;
}

/* Mobile bugfix (BUG-08): keep TEC modal action buttons reachable. */
@media (max-width: 782px){
  .vms-ticketing-modal-scroll{
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  #tribe-tickets__modal-form.vms-ticketing-modal-form{
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  #tribe-tickets__modal-form.vms-ticketing-modal-form .vms-addon-modal-summary{
    max-height: 34dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #tribe-tickets__modal-form.vms-ticketing-modal-form .tribe-tickets__tickets-footer,
  #tribe-tickets__modal-form.vms-ticketing-modal-form .vms-ticketing-modal-footer{
    position: sticky;
    bottom: 0;
    z-index: 5;
    background: #fff;
    padding-top: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
  }

  #tribe-tickets__modal-form.vms-ticketing-modal-form .tribe-tickets__tickets-footer > *,
  #tribe-tickets__modal-form.vms-ticketing-modal-form .vms-ticketing-modal-footer > *{
    width: 100%;
    max-width: 100%;
  }
}

.vms-entitlements-qty {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 120px;
}

.vms-entitlements-qty .vms-addon-controls {
  width: auto;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.vms-entitlements-qty .vms-addon-qty {
  font-size: 16px;
  justify-content: center;
}

.vms-addon-input {
  font-size: 20px;
  font-weight: 600;
}

.vms-addon-minus,
.vms-addon-plus {
  font-size: 18px;
}

/* --- 10-ticket-core.css --- */
/* Module: Ticket Core + Subtotal Base */
.single-tribe_events .tribe-tickets__tickets,
.single-tribe_events .tribe-tickets__tickets-form,
.tribe-events-single .tribe-tickets__tickets,
.tribe-events-single .tribe-tickets__tickets-form {
  font-size: 16px;
}

.single-tribe_events .tribe-tickets__tickets-item-content-title,
.tribe-events-single .tribe-tickets__tickets-item-content-title{
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

.single-tribe_events .tribe-tickets__tickets-item-description,
.single-tribe_events .tribe-tickets__tickets-item-content-description,
.tribe-events-single .tribe-tickets__tickets-item-description,
.tribe-events-single .tribe-tickets__tickets-item-content-description{
  font-size: 18px !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

.single-tribe_events .tribe-tickets__tickets-item-content-title-container,
.tribe-events-single .tribe-tickets__tickets-item-content-title-container{
  margin: 0 !important;
}

.single-tribe_events .tribe-tickets__tickets-item-content-title-container h1,
.single-tribe_events .tribe-tickets__tickets-item-content-title-container h2,
.single-tribe_events .tribe-tickets__tickets-item-content-title-container h3,
.single-tribe_events .tribe-tickets__tickets-item-content-title-container h4,
.single-tribe_events .tribe-tickets__tickets-item-content-title-container h5,
.single-tribe_events .tribe-tickets__tickets-item-content-title-container h6,
.tribe-events-single .tribe-tickets__tickets-item-content-title-container h1,
.tribe-events-single .tribe-tickets__tickets-item-content-title-container h2,
.tribe-events-single .tribe-tickets__tickets-item-content-title-container h3,
.tribe-events-single .tribe-tickets__tickets-item-content-title-container h4,
.tribe-events-single .tribe-tickets__tickets-item-content-title-container h5,
.tribe-events-single .tribe-tickets__tickets-item-content-title-container h6,
.single-tribe_events .tribe-tickets__tickets-item-description p,
.single-tribe_events .tribe-tickets__tickets-item-content-description p,
.tribe-events-single .tribe-tickets__tickets-item-description p,
.tribe-events-single .tribe-tickets__tickets-item-content-description p{
  margin: 0 !important;
}

.single-tribe_events .tribe-tickets__tickets-item-extra-price,
.tribe-events-single .tribe-tickets__tickets-item-extra-price{
  font-size: 19px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

@media (min-width: 760px){
  .single-tribe_events .tribe-tickets__tickets-item,
  .tribe-events-single .tribe-tickets__tickets-item{
    display: grid !important;
    grid-template-columns: 1fr 86px 120px !important;
    column-gap: 16px !important;
    align-items: start !important;
  }

  .single-tribe_events .tribe-tickets__tickets-item-content-title-container,
  .tribe-events-single .tribe-tickets__tickets-item-content-title-container{
    grid-column: 1 !important;
  }

  .single-tribe_events .tribe-tickets__tickets-item-extra,
  .tribe-events-single .tribe-tickets__tickets-item-extra{
    grid-column: 2 !important;
    justify-self: end !important;
    align-self: start !important;
    text-align: right !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 4px !important;
  }

  .single-tribe_events .tribe-tickets__tickets-item-quantity,
  .tribe-events-single .tribe-tickets__tickets-item-quantity{
    grid-column: 3 !important;
    justify-self: end !important;
    align-self: start !important;
    min-width: 150px !important;
  }
}

.single-tribe_events .tribe-tickets__tickets-item-quantity-number-input,
.tribe-events-single .tribe-tickets__tickets-item-quantity-number-input{
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 28px !important;
  padding: 0 6px !important;
  text-align: center !important;
  line-height: 28px !important;
  font-size: 15px !important;
}

@media (max-width: 480px){
  .single-tribe_events .tribe-tickets__tickets-item-quantity-number-input,
  .tribe-events-single .tribe-tickets__tickets-item-quantity-number-input{
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 30px !important;
    line-height: 30px !important;
  }
}


#vms-ticketing-subtotal {
  margin: 0 0 12px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.02);
  font-size: 15px;
  line-height: 1.3;
}

.vms-ticketing-subtotal__primary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.vms-ticketing-subtotal__primary strong {
  font-size: 18px;
  font-weight: 600;
}

.vms-ticketing-subtotal__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  line-height: 1.35;
}

.vms-ticketing-subtotal__line-label {
  font-size: 15px;
  line-height: 1.35;
}

.vms-ticketing-subtotal__line-value {
  min-width: 124px;
  text-align: right;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.vms-ticketing-subtotal__line + .vms-ticketing-subtotal__line {
  margin-top: 2px;
}

.vms-ticketing-subtotal__secondary {
  font-size: 16px;
  line-height: 1.35;
  margin-top: 4px;
}

.vms-ticketing-subtotal__addons {
  font-size: 15px;
  line-height: 1.4;
  margin-top: 8px;
}

.vms-ticketing-subtotal__addons-title {
  font-weight: 600;
}

.vms-ticketing-subtotal__addon-list {
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.vms-ticketing-subtotal__addon-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.vms-ticketing-subtotal__addon-label {
  min-width: 0;
}

/* Icon-only remove buttons (row + subtotal) */
.vms-ent-remove,
.vms-sub-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  line-height: 1;
  font-size: 18px;
  opacity: 0.85;
  color: #1f2937;
}

/* Hover intent: make it obvious this removes */
.vms-ent-remove:hover,
.vms-sub-remove:hover {
  opacity: 1;
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.25);
  color: #dc2626;
}

/* Keyboard accessibility */
.vms-ent-remove:focus-visible,
.vms-sub-remove:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.65);
  outline-offset: 2px;
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.25);
  color: #dc2626;
}

.vms-ticketing-subtotal__note {
  margin-top: 7px;
  font-size: 13px;
  opacity: 0.8;
}

/* --- 20-footer-cta.css --- */
/* Module: Footer CTA + RSVP + Desktop Widths */
/* Use VMS unified subtotal as the only prominent total display. */
.single-tribe_events .tribe-tickets__tickets-footer [class*="tickets-footer-total"],
.single-tribe_events .tribe-tickets__tickets-footer [class*="tickets-footer-quantity"],
.tribe-events-single .tribe-tickets__tickets-footer [class*="tickets-footer-total"],
.tribe-events-single .tribe-tickets__tickets-footer [class*="tickets-footer-quantity"] {
  display: none !important;
}

/* Force footer action stack: subtotal first, CTA centered below (theme-proof). */
:is(.single-tribe_events, .tribe-events-single) .vms-ticketing-action-stack {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-footer.vms-ticketing-footer-stack {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 0 !important;
  margin-top: 18px !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
}

:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-footer.vms-ticketing-footer-stack .vms-ticketing-action-stack > #vms-ticketing-subtotal {
  order: 10 !important;
  flex: 0 0 auto !important;
  width: min(100%, 280px) !important;
  margin: 0 auto !important;
}

:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-footer.vms-ticketing-footer-stack .vms-ticketing-action-stack > #tribe-tickets__tickets-submit,
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-footer.vms-ticketing-footer-stack .vms-ticketing-action-stack > .tribe-tickets__tickets-buy {
  order: 20 !important;
  display: block !important;
  flex: 0 0 auto !important;
  margin: 14px auto 0 !important;
  min-width: 0 !important;
  width: min(100%, 280px) !important;
  text-align: center !important;
}

/* Keep desktop/mobile hit-target behavior consistent across theme wrappers and nested label spans. */
.single-tribe_events #tribe-tickets__tickets-submit,
.single-tribe_events .tribe-tickets__tickets-buy,
.tribe-events-single #tribe-tickets__tickets-submit,
.tribe-events-single .tribe-tickets__tickets-buy {
  pointer-events: auto !important;
  -webkit-user-select: none;
  user-select: none;
}

/* Ensure clicks on CTA text/inner nodes resolve to the button itself. */
.single-tribe_events #tribe-tickets__tickets-submit *,
.single-tribe_events .tribe-tickets__tickets-buy *,
.tribe-events-single #tribe-tickets__tickets-submit *,
.tribe-events-single .tribe-tickets__tickets-buy * {
  pointer-events: none !important;
}

/* Raise GA ticket quantity control legibility. */
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets,
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-form {
  font-size: 17px;
}

:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-title,
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-content-title {
  font-size: 18px;
  line-height: 1.35;
}

:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-price,
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-extra-price {
  font-size: 18px !important;
  font-weight: 600 !important;
}

:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-availability,
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-extra-available {
  font-size: 15px !important;
}

:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity,
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity input,
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity button {
  font-size: 18px !important;
}

:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity input {
  font-size: 20px;
  font-weight: 600;
}

:is(.single-tribe_events, .tribe-events-single) #tribe-tickets__tickets-submit,
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-buy {
  min-height: 44px;
  font-size: 16px;
  padding: 10px 16px;
}

/* Keep the RSVP card aligned with the widened ticket card, and leave a clear gap before tickets. */
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__rsvp-wrapper {
  width: 100% !important;
  box-sizing: border-box;
}

:is(.single-tribe_events, .tribe-events-single) .event-tickets + .tribe-tickets__tickets-wrapper .tribe-tickets__tickets-form {
  margin-top: 32px !important;
}

:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__rsvp {
  width: 100%;
}

@media (max-width: 782px) {
  .single-tribe_events .tribe-tickets__tickets[data-vms-addons-mounted="1"],
  .single-tribe_events .tribe-tickets__tickets-form[data-vms-addons-mounted="1"],
  .single-tribe_events #tribe-tickets[data-vms-addons-mounted="1"],
  .tribe-events-single .tribe-tickets__tickets[data-vms-addons-mounted="1"],
  .tribe-events-single .tribe-tickets__tickets-form[data-vms-addons-mounted="1"],
  .tribe-events-single #tribe-tickets[data-vms-addons-mounted="1"] {
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  }

  .vms-ent-remove,
  .vms-sub-remove {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

@media (min-width: 960px) {
  .single-tribe_events .tribe-tickets__rsvp-wrapper,
  .single-tribe_events .tribe-tickets__rsvp,
  .single-tribe_events .tribe-tickets__tickets,
  .single-tribe_events .tribe-tickets__tickets-form,
  .single-tribe_events .tribe-tickets__tickets-item,
  .single-tribe_events .tribe-tickets,
  .tribe-events-single .tribe-tickets__rsvp-wrapper,
  .tribe-events-single .tribe-tickets__rsvp,
  .tribe-events-single .tribe-tickets__tickets,
  .tribe-events-single .tribe-tickets__tickets-form,
  .tribe-events-single .tribe-tickets__tickets-item,
  .tribe-events-single .tribe-tickets {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* --- 30-ticket-polish.css --- */
/* Module: Ticket Polish + Responsive Row Layout */
/* Prevent theme/TEC flex stretching from turning the subtotal card into a tall empty box. */
#vms-ticketing-subtotal{
  height: auto !important;
  min-height: 0 !important;
}

/* === VMS Ticketing UX final polish (GA emphasis + alignment + subtotal width) === */

/* Subtle highlight to keep the primary ticket (GA) from getting visually skipped. */
.single-tribe_events .tribe-tickets__tickets-item,
.tribe-events-single .tribe-tickets__tickets-item{
  background: rgba(59, 130, 246, 0.06) !important;
  border: 1px solid rgba(59, 130, 246, 0.18) !important;
  border-radius: 12px !important;
  padding: 10px 10px !important;
  margin-bottom: 10px !important;
}

/* Make GA title a touch more prominent. */
.single-tribe_events .tribe-tickets__tickets-item .tribe-tickets__tickets-item-content-title,
.tribe-events-single .tribe-tickets__tickets-item .tribe-tickets__tickets-item-content-title{
  font-size: 22px !important;
}

/* Make GA quantity controls match VMS add-on controls (size + look). */
.single-tribe_events .tribe-tickets__tickets-item-quantity,
.tribe-events-single .tribe-tickets__tickets-item-quantity{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  min-width: 0 !important;
  width: auto !important;
  align-self: start !important;
  padding: 0 !important;
}

.single-tribe_events .tribe-tickets__tickets-item-quantity button,
.tribe-events-single .tribe-tickets__tickets-item-quantity button{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  line-height: 1 !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
  background: #fff !important;
  border-radius: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  vertical-align: top !important;
}

.single-tribe_events .tribe-tickets__tickets-item-quantity-number,
.tribe-events-single .tribe-tickets__tickets-item-quantity-number{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-tribe_events .tribe-tickets__tickets-item-quantity-number-input,
.tribe-events-single .tribe-tickets__tickets-item-quantity-number-input{
  border: 1px solid rgba(0,0,0,0.15) !important;
  border-radius: 8px !important;
  background: #fff !important;
  margin: 0 !important;
  padding: 0 6px !important;
  box-shadow: none !important;
  appearance: none !important;
  vertical-align: top !important;
}

:is(.single-tribe_events, .tribe-events-single) .vms-ticket-right-stack{
  display: contents !important;
}

:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-extra-price{
  margin: 0 !important;
  line-height: 1.1 !important;
}

/* Desktop column widths: keep GA price + qty aligned and tight. */
@media (min-width: 760px){
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item{
    grid-template-columns: 1fr 86px 110px !important;
  }
}

/* Mobile ticket row layout: keep description under title and price/qty right-aligned. */
@media (max-width: 759px){
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 110px !important;
    grid-template-areas:
      "title right" !important;
    column-gap: 12px !important;
    row-gap: 4px !important;
    align-items: start !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-content-title-container{
    grid-area: title !important;
    min-width: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    padding: 0 !important;
    align-self: start !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-content-title-container h1,
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-content-title-container h2,
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-content-title-container h3,
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-content-title-container h4,
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-content-title-container h5,
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-content-title-container h6{
    margin: 0 !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-content-title-container > .tribe-tickets__tickets-item-description,
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-content-title-container > .tribe-tickets__tickets-item-content-description,
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-content-title-container > .vms-ticket-desc{
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-top: 0 !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .vms-ticket-right-stack{
    grid-area: right !important;
    width: 110px !important;
    min-width: 110px !important;
    justify-self: end !important;
    align-self: start !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    text-align: right !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-extra{
    grid-area: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
    text-align: right !important;
    align-self: start !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity{
    grid-area: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
    align-self: start !important;
    display: flex !important;
    justify-content: flex-end !important;
    margin: 0 !important;
  }
}

/* Brief highlight when we scroll the user to the ticket picker. */
.vms-ticket-scroll-flash{
  outline: 3px solid rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.12);
  border-radius: 12px;
}

/* Optional: hide remaining/available counts on ticket rows. */
.vms-hide-ticket-availability .tribe-tickets__tickets-item-availability,
.vms-hide-ticket-availability .tribe-tickets__tickets-item-extra-available,
.vms-hide-ticket-availability .tribe-tickets__tickets-item-available{
  display: none !important;
}

/* Subtotal card width: narrower (roughly half of prior). */
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-footer.vms-ticketing-footer-stack .vms-ticketing-action-stack > #vms-ticketing-subtotal{
  width: min(100%, 280px) !important;
}

@media (min-width: 960px){
  :is(.single-tribe_events, .tribe-events-single) .vms-ticketing-action-stack{
    width: min(100%, 280px) !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-footer.vms-ticketing-footer-stack .vms-ticketing-action-stack > #tribe-tickets__tickets-submit,
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-footer.vms-ticketing-footer-stack .vms-ticketing-action-stack > .tribe-tickets__tickets-buy{
    width: min(100%, 280px) !important;
  }
}


/* Mobile ticket checklist pass: compact title/description/action flow. */
.single-tribe_events .tribe-tickets__tickets-item-extra-price,
.single-tribe_events .tribe-tickets__tickets-item-extra-price .tribe-currency-symbol,
.single-tribe_events .tribe-tickets__tickets-item-extra-price .tribe-amount,
.tribe-events-single .tribe-tickets__tickets-item-extra-price,
.tribe-events-single .tribe-tickets__tickets-item-extra-price .tribe-currency-symbol,
.tribe-events-single .tribe-tickets__tickets-item-extra-price .tribe-amount{
  font-weight: 700 !important;
}

@media (max-width: 759px){
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item{
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "title"
      "right" !important;
    row-gap: 10px !important;
    padding: 14px 16px !important;
    align-items: start !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item.vms-ticket-row--simple{
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    min-height: 0 !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-content-title-container{
    gap: 6px !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-content-title,
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-title{
    font-size: 18px !important;
    line-height: 1.12 !important;
    margin: 0 !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-description,
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-content-description,
  :is(.single-tribe_events, .tribe-events-single) .vms-ticket-desc,
  :is(.single-tribe_events, .tribe-events-single) .vms-ticket-lock-note,
  :is(.single-tribe_events, .tribe-events-single) .vms-claim-seat-panel{
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .vms-ticket-right-stack{
    width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
    display: grid !important;
    grid-template-columns: auto auto !important;
    grid-template-areas:
      "qty price"
      "avail ." !important;
    column-gap: 10px !important;
    row-gap: 3px !important;
    justify-content: end !important;
    justify-items: end !important;
    align-items: flex-end !important;
    text-align: right !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-extra{
    display: contents !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-extra-price{
    grid-area: price !important;
    justify-self: end !important;
    align-self: center !important;
    margin: 0 !important;
    text-align: right !important;
    line-height: 1.05 !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-extra-price,
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-extra-price .tribe-currency-symbol,
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-extra-price .tribe-amount{
    font-size: 18px !important;
    font-weight: 700 !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity{
    grid-area: qty !important;
    width: auto !important;
    min-width: 0 !important;
    justify-self: end !important;
    align-self: center !important;
    display: inline-flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity button{
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    font-size: 26px !important;
    line-height: 1 !important;
    border-radius: 12px !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity-number{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity-number-input{
    display: block !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 38px !important;
    min-height: 38px !important;
    line-height: 38px !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    background: #fff !important;
    border: 1px solid rgba(15, 23, 42, 0.18) !important;
    border-radius: 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-text-fill-color: #111827 !important;
    appearance: textfield !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-extra-available{
    grid-area: avail !important;
    justify-self: center !important;
    align-self: start !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: normal !important;
  }
}


@media (max-width: 759px){
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-description,
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-content-description,
  :is(.single-tribe_events, .tribe-events-single) .vms-ticket-desc{
    font-size: 15px !important;
    line-height: 1.34 !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .vms-ticket-desc p:last-child,
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-description p:last-child,
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-content-description p:last-child{
    margin-bottom: 0 !important;
  }
}


@media (max-width: 759px){
  :is(.single-tribe_events, .tribe-events-single) #vms-ticketing-action-stack,
  :is(.single-tribe_events, .tribe-events-single) .vms-ticketing-action-stack{
    position: sticky !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 8px) !important;
    z-index: 40 !important;
    background: transparent !important;
  }

  :is(.single-tribe_events, .tribe-events-single) #vms-ticketing-action-stack > #tribe-tickets__tickets-submit,
  :is(.single-tribe_events, .tribe-events-single) #vms-ticketing-action-stack > .tribe-tickets__tickets-buy,
  :is(.single-tribe_events, .tribe-events-single) .vms-ticketing-action-stack > #tribe-tickets__tickets-submit,
  :is(.single-tribe_events, .tribe-events-single) .vms-ticketing-action-stack > .tribe-tickets__tickets-buy{
    position: sticky !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 8px) !important;
    z-index: 41 !important;
    width: 100% !important;
    min-width: 0 !important;
    box-shadow: 0 -8px 18px rgba(15, 23, 42, 0.16) !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-form,
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets{
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Ticket quantity selector mode: replace fragile - N + controls with a native dropdown. */
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity.vms-ticket-qty-select-mode,
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity-number.vms-ticket-qty-select-mode{
  gap: 0 !important;
}

:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity.vms-ticket-qty-select-mode button,
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity.vms-ticket-qty-select-mode .tribe-tickets__tickets-item-quantity-number,
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity [data-vms-ticket-qty-hidden-by-select="1"]{
  display: none !important;
}

:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity.vms-ticket-qty-select-mode .vms-ticket-qty-select-wrap,
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity-number.vms-ticket-qty-select-mode .vms-ticket-qty-select-wrap{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity.vms-ticket-qty-select-mode .vms-ticket-qty-select,
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity-number.vms-ticket-qty-select-mode .vms-ticket-qty-select{
  display: block !important;
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 28px 0 12px !important;
  border: 1px solid rgba(15, 23, 42, 0.16) !important;
  border-radius: 14px !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3.25 5.25 7 9l3.75-3.75' stroke='%23475669' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 11px center !important;
  background-size: 12px 12px !important;
  color: #111827 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-align-last: center !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity.vms-ticket-qty-select-mode .vms-ticket-qty-select:disabled,
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity-number.vms-ticket-qty-select-mode .vms-ticket-qty-select:disabled{
  opacity: .65 !important;
  cursor: not-allowed !important;
}

@media (max-width: 759px){
  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity.vms-ticket-qty-select-mode,
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity-number.vms-ticket-qty-select-mode{
    width: auto !important;
    justify-self: end !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity.vms-ticket-qty-select-mode .vms-ticket-qty-select,
:is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-quantity-number.vms-ticket-qty-select-mode .vms-ticket-qty-select{
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    height: 40px !important;
    min-height: 40px !important;
    font-size: 19px !important;
    padding-right: 28px !important;
  }

  :is(.single-tribe_events, .tribe-events-single) .tribe-tickets__tickets-item-extra-available{
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
  }
}

/* --- 40-ticket-locking.css --- */
/* Module: Ticket Lock States + Actions */
/* Ticket visibility lock states */
.single-tribe_events .tribe-tickets__tickets-item.vms-ticket-locked,
.tribe-events-single .tribe-tickets__tickets-item.vms-ticket-locked{
  background: rgba(250, 204, 21, 0.10) !important;
  border-color: rgba(202, 138, 4, 0.38) !important;
}


.vms-ticket-price-rsvp{
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-weight: 700;
  line-height: 1.6;
}

.vms-ticket-lock-note{
  margin-top: 8px;
  grid-column: 1 / -1;
  padding: 10px 12px;
  border: 1px solid rgba(202, 138, 4, 0.42);
  background: rgba(255, 248, 220, 0.78);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
  z-index: 3;
  pointer-events: auto !important;
}

.vms-ticket-lock-copy{
  color: #5b3a00;
}

.vms-ticket-benefit-note{
  border-color: rgba(21, 128, 61, 0.34);
  background: rgba(236, 253, 245, 0.96);
}

.vms-ticket-benefit-note + .vms-claim-seat-panel{
  margin-top: 6px;
}

.vms-ticket-benefit-note .vms-ticket-lock-copy{
  color: #14532d;
}

.vms-ticket-limit-note{
  margin-top: 8px;
  grid-column: 1 / -1;
  color: #1f2937;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.vms-ticket-lock-actions{
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 2;
  pointer-events: auto !important;
}

.vms-ticket-lock-action{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.25);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  font-family: inherit;
  line-height: 1.2;
  color: #111827;
  background: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.single-tribe_events .vms-ticket-lock-actions .vms-ticket-lock-action,
.tribe-events-single .vms-ticket-lock-actions .vms-ticket-lock-action{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 10px !important;
  min-height: 30px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(17, 24, 39, 0.25) !important;
  background: #fff !important;
  color: #111827 !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 3;
}

.vms-ticket-lock-action:hover,
.vms-ticket-lock-action:focus-visible{
  color: #111827;
  background: #f8fafc;
  text-decoration: none;
}

.single-tribe_events .vms-ticket-lock-actions .vms-ticket-lock-action:hover,
.single-tribe_events .vms-ticket-lock-actions .vms-ticket-lock-action:focus-visible,
.tribe-events-single .vms-ticket-lock-actions .vms-ticket-lock-action:hover,
.tribe-events-single .vms-ticket-lock-actions .vms-ticket-lock-action:focus-visible{
  color: #111827 !important;
  background: #f8fafc !important;
  text-decoration: none !important;
}

.vms-ticket-lock-disabled-btn{
  pointer-events: none !important;
  opacity: 0.5 !important;
}

.vms-claim-seat-panel{
  margin-top: 8px;
  grid-column: 1 / -1;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 12px;
  background: #ffffff;
  padding: 12px;
}

.vms-claim-seat-head{
  margin-bottom: 10px;
}

.vms-claim-seat-title{
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.vms-claim-seat-help{
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #334155;
}

.vms-claim-seat-rows{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.vms-claim-seat-row{
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

.vms-claim-seat-row.is-valid{
  border-color: rgba(22, 163, 74, 0.55);
  background: rgba(240, 253, 244, 0.82);
}

.vms-claim-seat-row.is-invalid{
  border-color: rgba(220, 38, 38, 0.46);
  background: rgba(254, 242, 242, 0.84);
}

.vms-claim-seat-row.is-pending{
  border-color: rgba(59, 130, 246, 0.44);
  background: rgba(239, 246, 255, 0.82);
}

.vms-claim-seat-label{
  display: block;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.vms-claim-seat-input-wrap{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vms-claim-seat-input{
  flex: 1 1 220px;
  min-width: 0;
  min-height: 40px;
  border: 1px solid rgba(15, 23, 42, 0.24);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: #0f172a;
}

.vms-claim-seat-validate,
.vms-claim-seat-action{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(15, 23, 42, 0.24);
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.vms-claim-seat-validate:hover,
.vms-claim-seat-validate:focus-visible,
.vms-claim-seat-action:hover,
.vms-claim-seat-action:focus-visible{
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.5);
  color: #1d4ed8;
}

.vms-claim-seat-status{
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: #475569;
}

.vms-claim-seat-status.is-valid{
  color: #166534;
}

.vms-claim-seat-status.is-invalid{
  color: #b91c1c;
}

.vms-claim-seat-status.is-pending{
  color: #1d4ed8;
}

.vms-claim-seat-actions{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 640px){
  .vms-claim-seat-input{
    flex-basis: 100%;
    width: 100%;
  }

  .vms-claim-seat-validate{
    width: 100%;
  }
}

a.vms-entitlements-add[hidden],
a.vms-entitlements-add.vms-ent-link-hidden{
  display: none !important;
}


/* Mobile qualified-ticket guidance: concise, readable, full-width. */
.vms-ticket-lock-note,
.vms-claim-seat-panel{
  width: 100% !important;
  box-sizing: border-box !important;
}

.vms-ticket-lock-note{
  padding: 10px 12px !important;
  border-radius: 14px !important;
}

.vms-ticket-lock-copy,
.vms-claim-seat-help,
.vms-claim-seat-status{
  font-size: 15px !important;
  line-height: 1.42 !important;
}

.vms-claim-seat-panel{
  margin-top: 8px !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(148, 163, 184, 0.32) !important;
  background: rgba(255,255,255,0.98) !important;
}

.vms-claim-seat-title{
  font-size: 17px !important;
  line-height: 1.24 !important;
}

.vms-claim-seat-row{
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.vms-claim-seat-label{
  font-size: 15px !important;
  margin-bottom: 6px !important;
}

.vms-claim-seat-input{
  min-height: 42px !important;
  font-size: 16px !important;
}

.vms-claim-seat-validate{
  min-height: 42px !important;
  min-width: 96px !important;
  padding: 0 16px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

@media (max-width: 759px){
  .vms-ticket-lock-note,
  .vms-claim-seat-panel{
    padding: 8px 10px !important;
  }

  .vms-ticket-lock-copy,
  .vms-claim-seat-help,
  .vms-claim-seat-status,
  .vms-claim-seat-label{
    font-size: 14px !important;
  }

  .vms-claim-seat-input-wrap{
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
  }
}

/* --- 50-verification-panel.css --- */
/* Module: Verification Panel + Direct-Add Status */
/* Verification panel */
.vms-verification-panel{
  margin: 22px 0 0;
  padding: 14px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.vms-verification-account-entry{
  margin-top: 18px;
}

.vms-verification-account-entry .vms-verification-panel{
  margin-top: 10px;
}

.vms-verification-panel h3{
  margin: 0 0 8px;
}

.vms-verify-copy{
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.45;
}

.vms-verify-copy--warn{
  color: #7c2d12;
  font-weight: 600;
}

.vms-verify-notice{
  margin: 0 0 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
}

.vms-verify-notice--success{
  border: 1px solid rgba(22, 163, 74, 0.35);
  background: rgba(187, 247, 208, 0.45);
  color: #14532d;
}

.vms-verify-notice--error{
  border: 1px solid rgba(220, 38, 38, 0.32);
  background: rgba(254, 226, 226, 0.56);
  color: #7f1d1d;
}

.vms-verification-status{
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
}

.vms-verification-status--pending{
  border-color: rgba(37, 99, 235, 0.26);
  background: rgba(219, 234, 254, 0.5);
}

.vms-verification-status--approved{
  border-color: rgba(22, 163, 74, 0.32);
  background: rgba(220, 252, 231, 0.55);
}

.vms-verification-status--denied{
  border-color: rgba(220, 38, 38, 0.28);
  background: rgba(254, 242, 242, 0.72);
}

.vms-verification-form{
  display: grid;
  gap: 10px;
}

.vms-verify-field{
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
}

.vms-verify-field--checkbox{
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}

.vms-verify-field--checkbox input[type="checkbox"]{
  margin-top: 2px;
}

.vms-verify-field input[type="file"],
.vms-verify-field select,
.vms-verify-field textarea{
  width: 100%;
  max-width: 100%;
}

.vms-benefits-account-entry{
  margin-top: 18px;
}

.vms-benefits-how{
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.88);
}

.vms-benefits-block{
  margin: 12px 0;
}

.vms-benefits-block h4{
  margin: 0 0 8px;
}

.vms-benefits-list{
  margin: 0;
  padding-left: 18px;
}

.vms-benefits-list li{
  margin: 0 0 6px;
}

.vms-benefits-cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.vms-benefits-card{
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
}

.vms-benefits-card-event{
  margin: 0 0 6px;
  font-size: 14px;
}

.vms-benefits-card-type{
  margin: 0 0 8px;
  font-size: 13px;
  color: #334155;
}

.vms-benefits-card-help{
  margin: 4px 0 0;
  font-size: 12px;
  color: #334155;
}

.vms-benefits-card-note{
  margin: 8px 0 0;
  font-size: 12px;
  color: #475569;
}

.vms-claims-account-status{
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
}

.vms-claims-account-status-active{
  background: #ecfdf3;
  border-color: #86efac;
  color: #166534;
}

.vms-claims-account-status-reserved{
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.vms-claims-account-status-used{
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

.vms-claims-account-status-expired,
.vms-claims-account-status-revoked{
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}

.vms-benefits-recent-list{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vms-benefits-recent-email{
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Inline status box beneath the single primary CTA. */
.single-tribe_events .tribe-tickets__tickets-footer.vms-ticketing-footer-stack .vms-ticketing-action-stack > #vms-addons-direct-add-status,
.tribe-events-single .tribe-tickets__tickets-footer.vms-ticketing-footer-stack .vms-ticketing-action-stack > #vms-addons-direct-add-status{
  order: 40 !important;
  width: min(100%, 280px) !important;
  margin: 8px auto 0 !important;
}

.vms-addons-direct-add-status{
  font-size: 13px;
  line-height: 1.45;
  border-radius: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(248, 250, 252, 0.85);
  color: #0f172a;
}

.vms-addons-direct-add-status.is-error{
  border-color: rgba(220, 38, 38, 0.35);
  background: rgba(254, 226, 226, 0.68);
  color: #7f1d1d;
}

.vms-addons-direct-add-status.is-success{
  border-color: rgba(22, 163, 74, 0.35);
  background: rgba(187, 247, 208, 0.58);
  color: #14532d;
}

.vms-addons-direct-add-status a,
.vms-addons-direct-add-status a:visited{
  color: inherit;
  text-decoration: underline;
}

.vms-addons-direct-add-status a:hover,
.vms-addons-direct-add-status a:focus-visible{
  color: inherit;
  text-decoration: underline;
}

/* --- 60-cancelled-event.css --- */
/* Module: Cancelled Event UX */
/* ==============================
   Cancelled Event UX (public)
   ============================== */

.vms-event-status-banner{
  margin: 16px 0;
  padding: 14px 14px;
  border: 1px solid rgba(0,0,0,0.12);
  border-left-width: 6px;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
}

.vms-event-status-banner--cancelled{
  border-left-color: rgba(220, 38, 38, 0.75);
  background: rgba(254, 242, 242, 0.86);
}

.vms-event-status-banner__title{
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
}

.vms-event-status-banner__body{
  margin-top: 6px;
  font-size: 1rem;
  line-height: 1.35;
}

.vms-event-status-banner__meta{
  margin-top: 6px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.vms-event-status-banner__actions{
  margin-top: 10px;
}

.vms-event-status-banner__link{
  display: inline-block;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.14);
  text-decoration: none;
  font-weight: 700;
}

.vms-event-status-banner__link:hover,
.vms-event-status-banner__link:focus-visible{
  text-decoration: underline;
}

.vms-cancelled-thumb{
  position: relative;
  display: block;
}

.vms-cancelled-thumb__label{
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  background: rgba(220, 38, 38, 0.92);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

/* --- 70-ticket-ui-v2.css --- */
/* Module: Ticket Flow Container + UI V2 + Safe Mode */
/* Ticketing flow: tickets, add-ons, Get Tickets (single-column). */
.vms-ticketing-flow {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}

/* Prevent nested card styling when we wrap the TEC form in our unified flow container. */
.vms-ticketing-flow .tribe-tickets__tickets-form,
.vms-ticketing-flow .tribe-tickets__tickets {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.vms-ticketing-flow .vms-addon-mount {
  margin-top: 12px;
}

.vms-ticketing-flow #vms-ticketing-action-stack {
  margin-top: 12px;
}

/* When we move the VMS action stack outside the TEC footer, collapse the empty footer safely. */
.vms-ticketing-flow .tribe-tickets__tickets-footer[data-vms-stack-moved="1"] {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ==============================
   Ticket UI V2 (feature-flagged)
   ============================== */
.vms-ticket-ui.vms-ticket-ui-v2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-section {
  margin: 0;
  padding: 0;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets {
  clear: both;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-title {
  clear: both !important;
  display: block !important;
  line-height: 1.08 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 110px !important;
  grid-template-areas: "title right" !important;
  column-gap: 12px !important;
  row-gap: 2px !important;
  align-items: start !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-content-title-container {
  grid-area: title !important;
  min-width: 0 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 2px !important;
  align-self: start !important;
  margin: 0 !important;
  padding: 0 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .vms-ticket-right-stack {
  grid-area: right !important;
  width: 110px !important;
  min-width: 110px !important;
  justify-self: end !important;
  align-self: start !important;
  display: grid !important;
  grid-template-columns: auto auto !important;
  grid-template-areas:
    "qty price"
    "avail ." !important;
  justify-content: end !important;
  justify-items: end !important;
  align-items: flex-end !important;
  align-content: start !important;
  column-gap: 10px !important;
  row-gap: 3px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-quantity {
  width: 100% !important;
  min-width: 0 !important;
  justify-self: stretch !important;
  align-self: start !important;
  margin: 0 !important;
  padding: 0 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra {
  text-align: right !important;
  display: contents !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-quantity {
  grid-area: qty !important;
  display: flex !important;
  justify-content: flex-end !important;
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-price,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-price * {
  grid-area: price !important;
  margin: 0 !important;
  line-height: 1.08 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-available {
  grid-area: avail !important;
  justify-self: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets [class*="tickets-item"] {
  margin-bottom: 10px !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-addons #vms-reserved-addons,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-addons .vms-entitlements-block {
  margin: 0 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar {
  margin: 20px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar .tribe-tickets__tickets-footer,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar [class*="tickets-footer"] {
  margin: 0 !important;
  padding: 8px 0 0 !important;
  background: #fff;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack {
  width: 100%;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-subtotal {
  width: 100%;
  margin: 12px 0 8px !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar .vms-ticketing-subtotal__line{
  gap: 12px !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar .vms-ticketing-subtotal__line--subtotal{
  font-size: 1.04em;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-addon-controls,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-addon-minus,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-addon-plus,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-addon-input,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-addon-qty-select {
  position: relative;
  z-index: 2;
}

@media (max-width: 782px) {
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar {
    position: sticky;
    bottom: 0;
    z-index: 31;
    background: #fff;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -6px 14px rgba(0, 0, 0, 0.10);
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar .tribe-tickets__tickets-footer,
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar [class*="tickets-footer"] {
    padding: 6px 8px calc(5px + env(safe-area-inset-bottom, 0px)) !important;
  }


  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar,
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar .tribe-tickets__tickets-footer,
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar [class*="tickets-footer"],
  .vms-ticket-ui.vms-ticket-ui-v2 #vms-ticketing-action-stack {
    pointer-events: none !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > #tribe-tickets__tickets-submit,
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > .tribe-tickets__tickets-buy,
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > #vms-addons-direct-add-status {
    pointer-events: auto !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 #vms-ticketing-action-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 #vms-ticketing-subtotal {
    display: none !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticketing-subtotal__addons,
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticketing-subtotal__addon-list,
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticketing-subtotal__line,
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticketing-subtotal__note {
    display: none !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > #tribe-tickets__tickets-submit,
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > .tribe-tickets__tickets-buy {
    order: 10 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > #vms-addons-direct-add-status {
    order: 20 !important;
    width: 100% !important;
    margin: 0 !important;
    font-size: 12px;
    line-height: 1.35;
    padding: 6px 8px;
  }

  /* Reserve space for a compact sticky button-first bar without obscuring add-on rows. */
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-addons {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }
}

/* Safe Mode (TEC-only) fallback */
.vms-ticket-ui-safe-mode-hidden {
  display: none !important;
}

.vms-ticket-ui-safe-mode-notice {
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid rgba(202, 138, 4, 0.4);
  border-left-width: 4px;
  border-radius: 8px;
  background: rgba(255, 251, 235, 0.9);
  color: #713f12;
  font-size: 13px;
  line-height: 1.4;
}

/* Final live-page hardening: admin-preview/classic flows do not always mount the V2 wrapper. */
.single-tribe_events .tribe-tickets__tickets-form,
.tribe-events-single .tribe-tickets__tickets-form {
  clear: both !important;
  margin-top: 34px !important;
  padding-top: 22px !important;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
}

.single-tribe_events .tribe-tickets__tickets-title,
.tribe-events-single .tribe-tickets__tickets-title {
  clear: both !important;
  display: block !important;
  line-height: 1.08 !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
}

/* V2 visibility pass: make the unified flow read as a distinct purchase UI, not a lightly-restyled TEC block. */
.vms-ticket-ui.vms-ticket-ui-v2 {
  gap: 14px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets {
  margin-top: 24px;
  padding-top: 22px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-title {
  margin-bottom: 14px !important;
  font-size: clamp(1.9rem, 2vw, 2.3rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas:
    "title"
    "right" !important;
  row-gap: 12px !important;
  padding: 16px 18px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(59, 130, 246, 0.22) !important;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.86) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05) !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-content-title-container {
  gap: 6px !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-content-title,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-title {
  margin: 0 !important;
  font-size: clamp(1.55rem, 1.55rem + 0.35vw, 2rem) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-description,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-content-description,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .vms-ticket-desc {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: rgba(15, 23, 42, 0.78) !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .vms-ticket-right-stack {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: auto !important;
  justify-self: end !important;
  align-self: start !important;
  display: grid !important;
  grid-template-columns: auto auto !important;
  grid-template-areas:
    "qty price"
    "avail ." !important;
  column-gap: 12px !important;
  row-gap: 4px !important;
  justify-content: end !important;
  justify-items: end !important;
  align-items: flex-end !important;
  align-content: start !important;
  text-align: right !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-price,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-price * {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-available {
  color: rgba(15, 23, 42, 0.72) !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-quantity {
  width: auto !important;
  justify-self: end !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-quantity button {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 12px !important;
  font-size: 24px !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-quantity-number-input {
  width: 52px !important;
  min-width: 52px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 8px !important;
  border-radius: 12px !important;
  text-align: center !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary {
  display: flex;
  justify-content: flex-end;
  margin: 6px 0 0;
}

.vms-ticket-ui.vms-ticket-ui-v2 #vms-ticketing-summary-stack {
  width: min(100%, 320px);
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary #vms-ticketing-subtotal {
  width: 100% !important;
  margin: 0 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar {
  margin: 18px 0 0;
  padding: 0;
  border-top: 0;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar .tribe-tickets__tickets-footer,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar [class*="tickets-footer"] {
  padding: 0 !important;
  background: transparent;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > #tribe-tickets__tickets-submit,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > .tribe-tickets__tickets-buy,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > #vms-addons-direct-add-status {
  width: min(100%, 320px) !important;
  margin: 0 auto !important;
}

@media (max-width: 782px) {
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-title {
    font-size: clamp(1.75rem, 6vw, 2.1rem) !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item {
    padding: 14px 16px !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary {
    justify-content: center;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 #vms-ticketing-summary-stack {
    width: min(100%, 340px);
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary #vms-ticketing-subtotal {
    display: block !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary .vms-ticketing-subtotal__line {
    display: contents !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary .vms-ticketing-subtotal__addons,
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary .vms-ticketing-subtotal__addon-list,
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary .vms-ticketing-subtotal__note {
    display: block !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar {
    position: sticky;
    bottom: 0;
    z-index: 31;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 22px rgba(15, 23, 42, 0.10);
    backdrop-filter: saturate(160%) blur(12px);
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar .tribe-tickets__tickets-footer,
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar [class*="tickets-footer"] {
    padding: 0 8px !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-addons {
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  }
}

/* --- 80-ticket-ui-rewrite.css --- */
.single-tribe_events .tribe-tickets__tickets-form[data-vms-ticketing-rewrite="1"],
.tribe-events-single .tribe-tickets__tickets-form[data-vms-ticketing-rewrite="1"],
#tribe-tickets form[data-vms-ticketing-rewrite="1"] {
  display: block;
}

.single-tribe_events .vms-rw-addons,
.tribe-events-single .vms-rw-addons,
#tribe-tickets .vms-rw-addons {
  margin: 18px 0 0;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  background: #fff;
}

.vms-ticketing-flow .vms-addon-mount .vms-rw-addons {
  margin-top: 0;
}

.single-tribe_events .vms-rw-addons__header,
.tribe-events-single .vms-rw-addons__header,
#tribe-tickets .vms-rw-addons__header {
  margin-bottom: 12px;
}

.single-tribe_events .vms-rw-addons__title,
.tribe-events-single .vms-rw-addons__title,
#tribe-tickets .vms-rw-addons__title {
  margin: 0 0 4px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.single-tribe_events .vms-rw-addons__intro,
.tribe-events-single .vms-rw-addons__intro,
#tribe-tickets .vms-rw-addons__intro {
  margin: 0;
  font-size: 0.94rem;
  opacity: 0.78;
}

.single-tribe_events .vms-rw-addons__message,
.tribe-events-single .vms-rw-addons__message,
#tribe-tickets .vms-rw-addons__message {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.single-tribe_events .vms-rw-addons__message.is-error,
.tribe-events-single .vms-rw-addons__message.is-error,
#tribe-tickets .vms-rw-addons__message.is-error {
  background: rgba(180, 35, 24, 0.08);
  color: #7a1e18;
}

.single-tribe_events .vms-rw-addons__message.is-success,
.tribe-events-single .vms-rw-addons__message.is-success,
#tribe-tickets .vms-rw-addons__message.is-success {
  background: rgba(28, 110, 54, 0.08);
  color: #185d2e;
}

.single-tribe_events .vms-rw-addon-list,
.tribe-events-single .vms-rw-addon-list,
#tribe-tickets .vms-rw-addon-list {
  display: grid;
  gap: 12px;
}

.single-tribe_events .vms-rw-addon,
.tribe-events-single .vms-rw-addon,
#tribe-tickets .vms-rw-addon {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
}

.single-tribe_events .vms-rw-addon.is-selected,
.tribe-events-single .vms-rw-addon.is-selected,
#tribe-tickets .vms-rw-addon.is-selected {
  border-color: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.single-tribe_events .vms-rw-addon__image img,
.tribe-events-single .vms-rw-addon__image img,
#tribe-tickets .vms-rw-addon__image img {
  display: block;
  width: 100%;
  max-width: 120px;
  height: auto;
  border-radius: 12px;
}

.single-tribe_events .vms-rw-addon__head,
.tribe-events-single .vms-rw-addon__head,
#tribe-tickets .vms-rw-addon__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.single-tribe_events .vms-rw-addon__title,
.tribe-events-single .vms-rw-addon__title,
#tribe-tickets .vms-rw-addon__title {
  display: block;
  font-size: 1rem;
  line-height: 1.3;
}

.single-tribe_events .vms-rw-addon__price,
.tribe-events-single .vms-rw-addon__price,
#tribe-tickets .vms-rw-addon__price {
  white-space: nowrap;
  font-weight: 700;
}

.single-tribe_events .vms-rw-addon__main,
.tribe-events-single .vms-rw-addon__main,
#tribe-tickets .vms-rw-addon__main {
  min-width: 0;
}

.single-tribe_events .vms-rw-addon__main .vms-ent-descline,
.tribe-events-single .vms-rw-addon__main .vms-ent-descline,
#tribe-tickets .vms-rw-addon__main .vms-ent-descline {
  margin-top: 8px;
}

.single-tribe_events .vms-rw-addon__note,
.tribe-events-single .vms-rw-addon__note,
#tribe-tickets .vms-rw-addon__note {
  margin-top: 8px;
  font-size: 0.9rem;
  opacity: 0.78;
}

.single-tribe_events .vms-rw-addon__side,
.tribe-events-single .vms-rw-addon__side,
#tribe-tickets .vms-rw-addon__side {
  display: grid;
  gap: 8px;
  align-content: start;
}

.single-tribe_events .vms-rw-stepper,
.tribe-events-single .vms-rw-stepper,
#tribe-tickets .vms-rw-stepper {
  display: inline-grid;
  grid-template-columns: 44px minmax(58px, 70px) 44px;
  align-items: stretch;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 12px;
  overflow: hidden;
  width: max-content;
}

.single-tribe_events .vms-rw-stepper__btn,
.tribe-events-single .vms-rw-stepper__btn,
#tribe-tickets .vms-rw-stepper__btn,
.single-tribe_events .vms-rw-stepper__input,
.tribe-events-single .vms-rw-stepper__input,
#tribe-tickets .vms-rw-stepper__input {
  min-height: 44px;
  border: 0;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}

.single-tribe_events .vms-rw-stepper__btn,
.tribe-events-single .vms-rw-stepper__btn,
#tribe-tickets .vms-rw-stepper__btn {
  background: #f6f6f6;
  color: inherit;
  font-size: 1.1rem;
  font-weight: 700;
}

.single-tribe_events .vms-rw-stepper__input,
.tribe-events-single .vms-rw-stepper__input,
#tribe-tickets .vms-rw-stepper__input {
  width: 100%;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  padding: 0 6px;
  background: #fff;
  -moz-appearance: textfield;
}

.single-tribe_events .vms-rw-stepper__input::-webkit-outer-spin-button,
.single-tribe_events .vms-rw-stepper__input::-webkit-inner-spin-button,
.tribe-events-single .vms-rw-stepper__input::-webkit-outer-spin-button,
.tribe-events-single .vms-rw-stepper__input::-webkit-inner-spin-button,
#tribe-tickets .vms-rw-stepper__input::-webkit-outer-spin-button,
#tribe-tickets .vms-rw-stepper__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.single-tribe_events .vms-rw-addon__status,
.tribe-events-single .vms-rw-addon__status,
#tribe-tickets .vms-rw-addon__status,
.single-tribe_events .vms-rw-addon__soldout,
.tribe-events-single .vms-rw-addon__soldout,
#tribe-tickets .vms-rw-addon__soldout {
  font-size: 0.88rem;
  opacity: 0.78;
}

@media (min-width: 700px) {
  .single-tribe_events .vms-rw-addon,
  .tribe-events-single .vms-rw-addon,
  #tribe-tickets .vms-rw-addon {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
  }

  .single-tribe_events .vms-rw-addon__side,
  .tribe-events-single .vms-rw-addon__side,
  #tribe-tickets .vms-rw-addon__side {
    justify-items: end;
  }
}

/* Final UI polish pass: keep the purchase surface coherent across tickets, add-ons, summary, and CTA. */
.vms-ticket-ui.vms-ticket-ui-v2 {
  --vms-ui-surface: #ffffff;
  --vms-ui-surface-soft: #f8fbff;
  --vms-ui-surface-strong: #eef6ff;
  --vms-ui-border: rgba(148, 163, 184, 0.26);
  --vms-ui-border-strong: rgba(96, 165, 250, 0.34);
  --vms-ui-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
  --vms-ui-shadow-soft: 0 5px 12px rgba(15, 23, 42, 0.035);
  --vms-ui-copy: rgba(15, 23, 42, 0.78);
  --vms-ui-muted: rgba(15, 23, 42, 0.64);
  --vms-ui-control-size: 42px;
  --vms-ui-control-radius: 12px;
  --vms-ui-input-width: 54px;
  --vms-ui-summary-rail-width: 320px;
  gap: 16px;
}

.vms-ticket-ui.vms-ticket-ui-v2.vms-ticketing-flow {
  border-color: rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.94) 100%);
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets {
  margin-top: 24px;
  padding-top: 20px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item {
  row-gap: 10px !important;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  border: 1px solid var(--vms-ui-border) !important;
  background: linear-gradient(180deg, rgba(232, 244, 255, 0.92) 0%, rgba(255, 255, 255, 0.99) 100%) !important;
  box-shadow: var(--vms-ui-shadow-soft) !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-content-title-container {
  gap: 5px !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-content-title,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-title {
  font-size: clamp(1.45rem, 1.32rem + 0.45vw, 1.85rem) !important;
  line-height: 1.08 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-description,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-content-description,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .vms-ticket-desc {
  color: var(--vms-ui-copy) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .vms-ticket-right-stack {
  column-gap: 12px !important;
  row-gap: 3px !important;
  align-items: center !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-quantity {
  align-self: center !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-price,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-price * {
  color: #0f172a !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-price {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-height: var(--vms-ui-control-size) !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-available {
  width: 54px !important;
  color: var(--vms-ui-muted) !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-quantity {
  gap: 8px !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-quantity button,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-stepper__btn,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-validate {
  min-height: var(--vms-ui-control-size) !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-quantity button {
  width: var(--vms-ui-control-size) !important;
  height: var(--vms-ui-control-size) !important;
  min-width: var(--vms-ui-control-size) !important;
  border: 1px solid rgba(15, 23, 42, 0.16) !important;
  border-radius: var(--vms-ui-control-radius) !important;
  background: #ffffff !important;
  box-shadow: none !important;
  font-size: 22px !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-quantity-number {
  width: var(--vms-ui-input-width) !important;
  min-width: var(--vms-ui-input-width) !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-quantity-number-input,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-stepper__input {
  width: var(--vms-ui-input-width) !important;
  min-width: var(--vms-ui-input-width) !important;
  max-width: var(--vms-ui-input-width) !important;
  height: var(--vms-ui-control-size) !important;
  min-height: var(--vms-ui-control-size) !important;
  border: 1px solid rgba(15, 23, 42, 0.16) !important;
  border-radius: var(--vms-ui-control-radius) !important;
  background: #ffffff !important;
  box-shadow: none !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  text-align: center !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .tribe-tickets__tickets-item-quantity button:disabled,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-stepper__btn:disabled,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-addon-plus:disabled,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-addon-minus:disabled {
  opacity: 0.42;
  background: rgba(241, 245, 249, 0.92) !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-lock-note {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 158, 11, 0.30);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.98) 0%, rgba(255, 247, 237, 0.96) 100%);
  box-shadow: none;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-lock-copy {
  color: var(--vms-ui-copy);
  font-size: 15px;
  line-height: 1.5;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-benefit-note {
  border-color: rgba(34, 197, 94, 0.24);
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.98) 0%, rgba(240, 253, 250, 0.96) 100%);
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-benefit-note .vms-ticket-lock-copy {
  color: #166534;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-lock-actions {
  margin-top: 10px;
  gap: 10px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-lock-actions .vms-ticket-lock-action {
  min-height: 38px;
  padding: 0 14px !important;
  border-radius: 999px !important;
  border-color: rgba(15, 23, 42, 0.18) !important;
  background: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-panel {
  margin-top: 10px !important;
  padding: 12px !important;
  border: 1px solid var(--vms-ui-border) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-head {
  margin-bottom: 12px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-title {
  font-size: 17px !important;
  line-height: 1.2 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-help,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-status {
  color: var(--vms-ui-copy) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-rows {
  gap: 12px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-row {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-label {
  margin-bottom: 8px !important;
  font-size: 14px !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-input-wrap {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-input {
  min-height: 44px !important;
  border: 1px solid rgba(15, 23, 42, 0.18) !important;
  border-radius: 12px !important;
  padding: 0 14px !important;
  background: #ffffff !important;
  font-size: 16px !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-validate {
  min-width: 108px !important;
  padding: 0 16px !important;
  border: 1px solid #0f172a !important;
  border-radius: 12px !important;
  background: #0f172a !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-validate:hover,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-validate:focus-visible {
  border-color: #1d4ed8 !important;
  background: #1d4ed8 !important;
  color: #ffffff !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-validate:disabled {
  border-color: rgba(15, 23, 42, 0.16) !important;
  background: rgba(226, 232, 240, 0.96) !important;
  color: rgba(15, 23, 42, 0.54) !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary {
  display: flex;
  justify-content: flex-end;
  margin: 8px 0 0;
}

.vms-ticket-ui.vms-ticket-ui-v2 #vms-ticketing-summary-stack {
  width: min(100%, var(--vms-ui-summary-rail-width));
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary #vms-ticketing-subtotal {
  box-sizing: border-box;
  width: 100% !important;
  margin: 0 !important;
  padding: 12px 14px;
  border: 1px solid var(--vms-ui-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--vms-ui-shadow-soft);
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary .vms-ticketing-subtotal__primary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  align-items: baseline;
  column-gap: 14px;
  row-gap: 8px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary .vms-ticketing-subtotal__line {
  display: contents;
  font-size: 15px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary .vms-ticketing-subtotal__line-label {
  min-width: 0;
  align-self: baseline;
  text-align: left;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary .vms-ticketing-subtotal__line-value {
  display: block;
  width: 100%;
  min-width: 0;
  align-self: baseline;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary .vms-ticketing-subtotal__secondary {
  margin-top: 10px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary .vms-ticketing-subtotal__addons-title {
  font-size: 13px;
  color: var(--vms-ui-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary .vms-ticketing-subtotal__addon-item {
  font-size: 14px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar {
  margin: 18px 0 0;
  padding: 0;
  border-top: 0;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar .tribe-tickets__tickets-footer.vms-ticketing-footer-stack {
  display: block !important;
  padding: 0 !important;
  background: transparent;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: min(100%, var(--vms-ui-summary-rail-width)) !important;
  margin: 0 0 0 auto !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > #tribe-tickets__tickets-submit,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > .tribe-tickets__tickets-buy,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > #vms-addons-direct-add-status {
  width: 100% !important;
  margin: 0 auto !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > #tribe-tickets__tickets-submit,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > .tribe-tickets__tickets-buy {
  min-height: 52px !important;
  border-radius: 14px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > #vms-addons-direct-add-status {
  padding: 10px 12px;
  border-radius: 14px;
  border-color: var(--vms-ui-border);
  background: rgba(248, 250, 252, 0.96);
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addons {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addons__header {
  margin-bottom: 14px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addons__title {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 1.2rem + 0.35vw, 1.65rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addons__intro {
  margin: 0;
  color: var(--vms-ui-muted);
  font-size: 14px;
  line-height: 1.45;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon-list {
  gap: 12px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "main side";
  gap: 10px 14px;
  align-items: start;
  padding: 13px 15px;
  border: 1px solid var(--vms-ui-border);
  border-radius: 14px;
  border-color: rgba(34, 197, 94, 0.22);
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.96) 0%, rgba(255, 255, 255, 0.99) 100%);
  box-shadow: var(--vms-ui-shadow-soft);
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon.is-selected {
  border-color: rgba(22, 163, 74, 0.34);
  background: linear-gradient(180deg, rgba(220, 252, 231, 0.96) 0%, rgba(255, 255, 255, 0.99) 100%);
  box-shadow: var(--vms-ui-shadow-soft);
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon:not(.vms-rw-addon--no-image) {
  grid-template-columns: 72px minmax(0, 1fr) auto;
  grid-template-areas: "image main side";
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon__image {
  grid-area: image;
  align-self: start;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon__image img {
  max-width: 72px;
  border-radius: 14px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon__main {
  grid-area: main;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon__head {
  gap: 8px 12px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon__title {
  font-size: 18px;
  line-height: 1.18;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon__price {
  font-size: 22px;
  line-height: 1.05;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon__main .vms-ent-descline {
  margin-top: 4px;
  color: var(--vms-ui-copy);
  font-size: 15px;
  line-height: 1.5;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon__note {
  margin-top: 6px;
  color: var(--vms-ui-muted);
  font-size: 14px;
  line-height: 1.42;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon__side {
  grid-area: side;
  justify-items: end;
  align-content: start;
  gap: 8px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  width: auto;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-stepper__btn {
  width: var(--vms-ui-control-size);
  min-width: var(--vms-ui-control-size);
  height: var(--vms-ui-control-size);
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: var(--vms-ui-control-radius);
  background: #ffffff;
  box-shadow: none;
  font-size: 20px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-stepper__input {
  padding: 0 8px;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon__status,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon__soldout {
  color: var(--vms-ui-muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

@media (max-width: 782px) {
  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticketing-flow {
    padding: 14px;
    border-radius: 18px;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "title"
      "right" !important;
    row-gap: 12px !important;
    padding: 16px !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .vms-ticket-right-stack {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "qty price"
      "avail avail" !important;
    column-gap: 12px !important;
    row-gap: 2px !important;
    align-items: start !important;
    justify-content: stretch !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-quantity {
    grid-area: qty !important;
    justify-self: stretch !important;
    align-self: start !important;
    justify-content: flex-end !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra {
    display: contents !important;
    align-self: start !important;
    text-align: right !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-price {
    grid-area: price !important;
    justify-self: end !important;
    min-height: 0 !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-available {
    grid-area: avail !important;
    justify-self: end !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 112px !important;
    text-align: right !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-summary {
    justify-content: center;
    margin-top: 8px;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 #vms-ticketing-summary-stack {
    width: min(100%, var(--vms-ui-summary-rail-width));
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar {
    position: sticky;
    bottom: 0;
    z-index: 31;
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 22px rgba(15, 23, 42, 0.10);
    backdrop-filter: saturate(160%) blur(12px);
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar .tribe-tickets__tickets-footer.vms-ticketing-footer-stack {
    padding: 0 8px !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack {
    margin: 0 auto !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > #tribe-tickets__tickets-submit,
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > .tribe-tickets__tickets-buy,
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-stickybar #vms-ticketing-action-stack > #vms-addons-direct-add-status {
    width: 100% !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-addons {
    padding-bottom: 0;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-lock-note,
  .vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-panel {
    padding: 14px !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-claim-seat-input-wrap {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "main"
      "side";
    padding: 14px 16px;
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon:not(.vms-rw-addon--no-image) {
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas:
      "image main"
      "side side";
  }

  .vms-ticket-ui.vms-ticket-ui-v2 .vms-rw-addon__image img {
    max-width: 56px;
  }
}

/* Server-controls desktop compact pass: keep V2 rows in a true two-column layout. */
@media (min-width: 783px) {
  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets {
    margin-top: 18px;
    padding-top: 14px;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-title {
    margin-bottom: 10px !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: "title right" !important;
    column-gap: 16px !important;
    row-gap: 8px !important;
    padding: 12px 16px !important;
    align-items: start !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item-content-title-container {
    gap: 3px !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item-content-title,
  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item-title {
    font-size: clamp(1.3rem, 1.2rem + 0.3vw, 1.6rem) !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item-description,
  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item-content-description,
  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .vms-ticket-desc {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .vms-ticket-right-stack {
    width: auto !important;
    min-width: 184px !important;
    max-width: none !important;
    align-self: start !important;
    display: grid !important;
    grid-template-columns: auto auto !important;
    grid-template-areas:
      "qty price"
      ". avail" !important;
    column-gap: 10px !important;
    row-gap: 1px !important;
    justify-content: end !important;
    justify-items: end !important;
    align-items: center !important;
    align-content: start !important;
    text-align: right !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra {
    display: contents !important;
    align-self: start !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item-quantity {
    grid-area: qty !important;
    justify-self: end !important;
    align-self: start !important;
    gap: 6px !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-price,
  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-price * {
    font-size: 20px !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-price {
    grid-area: price !important;
    min-height: 38px !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-available {
    grid-area: avail !important;
    width: auto !important;
    max-width: none !important;
    justify-self: end !important;
    align-self: start !important;
    margin-top: -1px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    text-align: right !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item,
  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets [class*="tickets-item"] {
    margin-bottom: 8px !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-lock-note,
  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-benefit-note,
  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-claim-seat-panel {
    margin-top: 8px !important;
    padding: 10px 12px !important;
  }
}


/* V2 add-on tone pass: restore a clearer pale-green distinction from ticket rows. */
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-addons .vms-entitlements-block.vms-entitlements--compact .vms-ent-row {
  border-color: rgba(22, 101, 52, 0.22) !important;
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.94) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
  box-shadow: 0 10px 24px rgba(21, 128, 61, 0.05) !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-addons .vms-entitlements-block.vms-entitlements--compact .vms-ent-row .vms-ent-img {
  border-color: rgba(22, 101, 52, 0.22) !important;
  background: rgba(255, 255, 255, 0.96) !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-addons .vms-entitlements-block.vms-entitlements--compact .vms-ent-title {
  color: #14532d !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-addons .vms-entitlements-block.vms-entitlements--compact .vms-ent-price,
.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-addons .vms-entitlements-block.vms-entitlements--compact .vms-ent-note {
  color: rgba(20, 83, 45, 0.86) !important;
}

.vms-ticket-ui.vms-ticket-ui-v2 .vms-ticket-ui-addons .vms-entitlements-block.vms-entitlements--compact .vms-ent--selected {
  border-color: rgba(22, 101, 52, 0.34) !important;
  background: linear-gradient(180deg, rgba(220, 252, 231, 0.98) 0%, rgba(240, 253, 244, 0.98) 100%) !important;
}

/* Final live-pass card cleanup for V2 server_controls only.
   Reset from the stable .283 base and tighten card padding/available-count spacing
   without changing protected stepper sizing or purchase-flow JS. */
.vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item {
  padding: 8px 10px !important;
  margin-bottom: 8px !important;
}

@media (max-width: 759px) {
  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item {
    row-gap: 6px !important;
    padding: 8px 10px !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item.vms-ticket-row--simple {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item-content-title-container {
    gap: 3px !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .vms-ticket-right-stack {
    width: max-content !important;
    min-width: 148px !important;
    grid-template-areas:
      "qty price"
      ". avail" !important;
    column-gap: 6px !important;
    row-gap: 0 !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-price {
    min-height: 34px !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .tribe-tickets__tickets-item-extra-available {
    width: max-content !important;
    min-width: 0 !important;
    max-width: none !important;
    justify-self: end !important;
    align-self: start !important;
    margin: -1px 0 0 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .vms-ticket-lock-note,
  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .vms-ticket-benefit-note,
  .vms-ticket-ui.vms-ticket-ui-v2.vms-ticket-ui--server-controls .vms-ticket-ui-tickets .vms-claim-seat-panel {
    margin-top: 5px !important;
    padding: 7px 9px !important;
  }
}
