/* HSE Elements | Online Training quantity controls (v1.2.44)
   Scoped to the Online Training catalogue and simple Online Training products.
   The selected quantity is the number of ADDITIONAL seats, not a replacement cart total. */
.hse-ot .hse-ot__course-quantity {
  display:flex; align-items:center; flex-wrap:wrap; gap:9px 12px;
  margin-top:16px; padding:12px 13px; border:1px solid rgba(240,197,116,.34);
  border-radius:10px; background:rgba(255,255,255,.055);
}
.hse-ot .hse-ot__course-quantity[hidden] { display:none!important; }
.hse-ot .hse-ot__course-quantity-current,
.hse-sp .hse-ot__course-quantity-current {
  margin-left:auto; color:rgba(255,255,255,.78);
  font:600 10px/1.4 'Oxanium',Arial,sans-serif; letter-spacing:.035em;
}
.hse-ot .hse-ot__course-quantity-current[hidden],
.hse-sp .hse-ot__course-quantity-current[hidden],
.hse-ot .hse-ot__quantity-view-cart[hidden],
.hse-sp .hse-ot__quantity-view-cart[hidden] { display:none!important; }

/* One continuous square-ended number field with integrated custom arrows. */
.hse-ot .hse-ot__quantity-stepper,
.hse-sp .hse-ot__quantity-stepper {
  display:grid; grid-template-columns:minmax(0,1fr) 31px;
  align-items:stretch; flex:0 0 106px; width:106px; height:46px;
  border:1px solid rgba(240,197,116,.8); border-radius:10px;
  background:#F5F5F3; overflow:hidden;
  transition:border-color .25s ease,box-shadow .25s ease;
}
.hse-ot .hse-ot__quantity-stepper:focus-within,
.hse-sp .hse-ot__quantity-stepper:focus-within {
  border-color:#F0C574; box-shadow:0 0 0 3px rgba(216,155,43,.2);
}
.hse-ot .hse-ot__quantity-stepper input[type='number'],
.hse-sp .hse-ot__quantity-stepper input.qty {
  box-sizing:border-box!important; display:block!important; flex:none!important;
  width:100%!important; min-width:0!important; max-width:none!important;
  height:100%!important; min-height:0!important; margin:0!important; padding:4px!important;
  border:0!important; border-radius:0!important; outline:0!important;
  background:#F5F5F3!important; color:#0B0B0B!important; -webkit-text-fill-color:#0B0B0B!important;
  font:600 17px/1.25 'Oxanium',Arial,sans-serif!important;
  text-align:center!important; box-shadow:none!important;
  appearance:textfield; -moz-appearance:textfield;
}
.hse-ot .hse-ot__quantity-stepper input[type='number']::-webkit-inner-spin-button,
.hse-ot .hse-ot__quantity-stepper input[type='number']::-webkit-outer-spin-button,
.hse-sp .hse-ot__quantity-stepper input.qty::-webkit-inner-spin-button,
.hse-sp .hse-ot__quantity-stepper input.qty::-webkit-outer-spin-button {
  -webkit-appearance:none; margin:0;
}
.hse-ot .hse-ot__quantity-stepper input[type='number']:focus-visible,
.hse-sp .hse-ot__quantity-stepper input.qty:focus-visible {
  outline:0!important; border:0!important; box-shadow:none!important;
}
.hse-ot .hse-ot__quantity-arrows,
.hse-sp .hse-ot__quantity-arrows {
  display:flex; flex-direction:column; width:31px; min-width:0; height:100%;
  border-left:1px solid rgba(240,197,116,.6); background:rgba(216,155,43,.15);
}
.hse-ot .hse-ot__quantity-arrow,
.hse-sp .hse-ot__quantity-arrow {
  display:grid; place-items:center; flex:1 1 50%; width:100%; min-height:0;
  margin:0; padding:0; border:0; border-radius:0;
  background:transparent; color:#D89B2B;
  cursor:pointer; box-shadow:none;
  transition:background-color .28s ease,color .28s ease,transform .3s cubic-bezier(.22,1,.36,1);
}
.hse-ot .hse-ot__quantity-arrow + .hse-ot__quantity-arrow,
.hse-sp .hse-ot__quantity-arrow + .hse-ot__quantity-arrow {
  border-top:1px solid rgba(240,197,116,.35);
}
.hse-ot .hse-ot__quantity-arrow:hover,
.hse-sp .hse-ot__quantity-arrow:hover {
  background:rgba(240,197,116,.38); color:#111; transform:translateY(-1px);
}
.hse-ot .hse-ot__quantity-arrow:active,
.hse-sp .hse-ot__quantity-arrow:active {
  background:#F0C574; color:#0B0B0B; transform:translateY(0);
}
.hse-ot .hse-ot__quantity-arrow:focus-visible,
.hse-sp .hse-ot__quantity-arrow:focus-visible {
  outline:2px solid #F0C574; outline-offset:-2px;
}
.hse-ot .hse-ot__quantity-pending { opacity:.65; cursor:progress!important; pointer-events:none; }
.hse-ot .hse-ot__woo-products li.product > .hse-ot__quantity-status,
.hse-sp .hse-ot__quantity-status {
  margin:10px 0 0!important; padding:0; color:#F0C574;
  font:500 13px/1.45 'Sulphur Point',Arial,sans-serif;
}
.hse-sp .hse-ot__quantity-status--single { color:#FAD995; }
.hse-ot .hse-ot__quantity-status.is-error,
.hse-sp .hse-ot__quantity-status.is-error { color:#FFE3DB; }
.hse-ot .hse-ot__quantity-status[hidden],
.hse-sp .hse-ot__quantity-status[hidden] { display:none!important; }

/* Main Online Training: initial/hover unchanged, lighter-amber pressed state. */
.hse-ot .hse-ot__woo-products ul.products li.product > a.button.product_type_simple:active {
  background:#F0C574!important; color:#0B0B0B!important;
  border-color:rgba(216,155,43,.8)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 0 3px rgba(216,155,43,.24)!important;
  transform:translateY(0);
}

/* View Cart styles: same initial/hover; page-specific pressed states below. */
.hse-ot .hse-ot__woo-products ul.products li.product > a.hse-ot__quantity-view-cart,
.hse-sp .hse-ot__quantity-view-cart {
  box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
  min-height:46px; padding:12px 17px; border:1px solid rgba(255,255,255,.64);
  border-radius:10px; background:rgba(0,0,0,.57); color:#fff;
  font:700 11px/1.25 'Oxanium',Arial,sans-serif; letter-spacing:.025em;
  text-align:center; text-decoration:none; cursor:pointer;
  -webkit-backdrop-filter:blur(15px); backdrop-filter:blur(15px);
  transition:transform .34s cubic-bezier(.22,1,.36,1),background-color .3s ease,
    border-color .3s ease,box-shadow .3s ease,color .3s ease;
}
.hse-ot .hse-ot__woo-products ul.products li.product > a.hse-ot__quantity-view-cart {
  width:100%; margin-top:11px;
}
.hse-ot .hse-ot__woo-products ul.products li.product > a.hse-ot__quantity-view-cart:hover,
.hse-sp a.hse-ot__quantity-view-cart:hover {
  background:#fff; color:#0A0A0A; border-color:#0A0A0A;
  transform:translateY(-2px);
}
.hse-ot .hse-ot__woo-products ul.products li.product > a.hse-ot__quantity-view-cart:active {
  background:rgba(255,255,255,.18); color:#fff;
  border-color:rgba(255,255,255,.64); transform:translateY(0);
  box-shadow:inset 0 1px rgba(255,255,255,.22);
}
.hse-sp a.hse-ot__quantity-view-cart:active {
  background:rgba(255,255,255,.2); color:#F0C574;
  border-color:#0B0B0B; transform:translateY(0);
  box-shadow:inset 0 1px rgba(255,255,255,.25);
}
.hse-ot .hse-ot__quantity-view-cart:focus-visible,
.hse-sp .hse-ot__quantity-view-cart:focus-visible {
  outline:2px solid #F0C574; outline-offset:3px;
}

/* Single product: one card containing row of quantities and full-width twin CTAs. */
.hse-sp .hse-sp__info form.cart.hse-ot__single-qty-ready {
  display:flex; flex-direction:column; align-items:stretch; gap:0;
}
.hse-sp .hse-sp__info .hse-ot__single-quantity-row {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  grid-template-areas:'quantity current' 'status status' 'actions actions';
  align-items:center; gap:12px; width:100%; min-width:0;
  padding:16px; border:1px solid rgba(240,197,116,.34);
  border-radius:10px; background:rgba(255,255,255,.055);
}
.hse-sp .hse-ot__single-quantity-left {
  grid-area:quantity; display:flex; align-items:center; min-width:0;
}
.hse-sp .hse-ot__single-quantity-controls {
  display:flex; align-items:center; flex-wrap:nowrap; gap:0;
}
.hse-sp .hse-ot__single-quantity-controls .quantity > label.screen-reader-text {
  position:absolute!important; width:1px!important; height:1px!important; padding:0!important;
  overflow:hidden!important; clip-path:inset(50%)!important; white-space:nowrap!important;
}
.hse-sp .hse-ot__single-quantity-controls .quantity {
  display:inline-flex; align-items:center; flex:none; width:auto; margin:0;
}
.hse-sp .hse-ot__single-quantity-right {
  grid-area:current; display:flex; align-items:center; justify-content:flex-end; min-width:0;
}
.hse-sp .hse-ot__single-quantity-right .hse-ot__course-quantity-current {
  margin:0; text-align:right;
}
.hse-sp .hse-ot__single-quantity-row > .hse-ot__quantity-status {
  grid-area:status; margin:0!important; text-align:left;
}
.hse-sp .hse-ot__single-quantity-row > .hse-ot__quantity-status[hidden] { display:none!important; }
.hse-sp .hse-ot__single-actions {
  grid-area:actions; display:grid; grid-template-columns:minmax(0,1fr); gap:12px;
  min-width:0; width:100%;
}
.hse-sp .hse-ot__single-actions.has-cart { grid-template-columns:repeat(2,minmax(0,1fr)); }
.hse-sp .hse-sp__info .hse-ot__single-actions > button.single_add_to_cart_button,
.hse-sp .hse-ot__single-actions > a.hse-ot__quantity-view-cart {
  box-sizing:border-box; align-self:stretch; width:100%; min-width:0;
  min-height:49px; margin:0; padding:12px 10px;
  font:700 12px/1.25 'Oxanium',Arial,sans-serif;
  letter-spacing:.025em; text-transform:uppercase;
}
/* Individual product Add to Cart: preserve initial and hover, amber-frosted pressed state. */
.hse-sp .hse-sp__info .hse-ot__single-actions > button.single_add_to_cart_button:not(:disabled):active {
  border-radius:10px!important; background:rgba(216,155,43,.24); color:#F0C574;
  border-color:rgba(240,197,116,.85);
  box-shadow:0 0 0 3px rgba(216,155,43,.17),inset 0 1px rgba(255,255,255,.15);
  transform:translateY(0);
}

@media (max-width:480px) {
  .hse-ot .hse-ot__course-quantity { gap:8px; }
  .hse-ot .hse-ot__course-quantity-current,
  .hse-sp .hse-ot__course-quantity-current { font-size:10px; }
  .hse-sp .hse-sp__info .hse-ot__single-quantity-row { gap:12px 8px; padding:12px; }
  .hse-sp .hse-ot__single-actions { gap:8px; }
  .hse-sp .hse-sp__info .hse-ot__single-actions > button.single_add_to_cart_button,
  .hse-sp .hse-ot__single-actions > a.hse-ot__quantity-view-cart { font-size:12px; padding-inline:5px; }
}
@media (prefers-reduced-motion:reduce) {
  .hse-ot .hse-ot__quantity-stepper,
  .hse-sp .hse-ot__quantity-stepper,
  .hse-ot .hse-ot__quantity-arrow,
  .hse-sp .hse-ot__quantity-arrow,
  .hse-ot .hse-ot__quantity-view-cart,
  .hse-sp .hse-ot__quantity-view-cart { transition:none!important; }
}
