/* hide participants number selector */
.extra-resources.participant_section {
  display: none !important;
}

/* Hide when user is LOGGED IN */
.is-logged-in .hide-when-logged-in {
  display: none !important;
}

/* Hide when user is LOGGED OUT */
.is-logged-out .hide-when-logged-out {
  display: none !important;
}

.wc-block-components-product-details
  .wc-block-components-product-details__name {
  font-weight: 700;
}

/* 
make booking tab */

.rascals-recur-wrap .booking-wraper,
.rascals-recur-wrap .booking-wrapper,
.rascals-recur-wrap .booking-wrap,
.rascals-recur-wrap .ph-booking-wrapper {
  display: none !important;
}

.price {
  display: none;
}

/* Simplified inverted button – WooCommerce + Elementor (smaller, brand colour) */
.woocommerce-Button,
.button,
.elementor-button {
  appearance: none;
  display: inline-block;
  cursor: pointer;
  margin-top: 16px !important;

  /* Typography */
  font-family: "Quicksand", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  line-height: 1;

  /* Layout */
  padding: 12px 24px;
  min-height: 34px;
  border-radius: 22px;

  /* DEFAULT = filled */
  background-color: var(--e-global-color-secondary, #32c3e4);
  color: #ffffff;
  border: 1px solid var(--e-global-color-secondary, #32c3e4);

  /* Interaction */
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

/* Hover / focus = outline */
.woocommerce-Button:hover,
.button:hover,
.elementor-button:hover,
.woocommerce-Button:focus,
.button:focus,
.elementor-button:focus {
  background-color: #ffffff;
  color: var(--e-global-color-secondary, #32c3e4);
  border-color: var(--e-global-color-secondary, #32c3e4);
}

.woocommerce {
  font-family: Quicksand;
}

.woocommerce input,
.woocommerce select,
.woocommerce .input-text,
.woocommerce td,
.woocommerce th {
  border-color: var(--e-global-color-secondary, #32c3e4) !important;
}

#rascals-recurring-ui input,
#rascals-recurring-ui select,
#rascals-recurring-ui .input-text,
#rascals-recurring-ui td,
#rascals-recurring-ui th {
  border-color: var(--e-global-color-secondary, #32c3e4) !important;
}
/* =====================================================
   Elementor shortcode: Woo My Account layout fix
   Content LEFT, Nav RIGHT
   (Targets: .elementor-shortcode > .woocommerce)
   ===================================================== */

.elementor-shortcode .woocommerce {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 24px;
}

/* LEFT column: content */
.elementor-shortcode .woocommerce > .woocommerce-MyAccount-content {
  flex: 1 1 auto !important;
  order: 1 !important;
  min-width: 0;
}

/* RIGHT column: navigation */
.elementor-shortcode .woocommerce > .woocommerce-MyAccount-navigation {
  flex: 0 0 260px !important;
  order: 2 !important;
  width: 260px !important;
  max-width: 260px !important;
  float: none !important;
}

/* Mobile stack */
@media (max-width: 900px) {
  .elementor-shortcode .woocommerce {
    flex-direction: column !important;
  }
  .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-navigation {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    order: 1 !important;
  }
  .elementor-shortcode > .woocommerce .woocommerce-MyAccount-content {
    order: 2 !important;
  }
}
/* =====================================================
   My Account menu: small pill buttons
   ===================================================== */

.elementor-shortcode .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.elementor-shortcode .woocommerce-MyAccount-navigation li {
  margin: 0;
}

.elementor-shortcode .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 8px 14px;

  font-family: "Quicksand", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  text-align: center;

  border-radius: 18px;
  border: 1px solid var(--e-global-color-secondary, #32c3e4);
  background: #ffffff;
  color: var(--e-global-color-secondary, #32c3e4) !important;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.elementor-shortcode .woocommerce-MyAccount-navigation li a:hover,
.elementor-shortcode .woocommerce-MyAccount-navigation li a:focus,
.elementor-shortcode .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--e-global-color-secondary, #32c3e4);
  color: #ffffff;
  border-color: var(--e-global-color-secondary, #32c3e4);
}

.elementor-shortcode .woocommerce-MyAccount-navigation li a::before {
  display: none !important;
}

.elementor-shortcode .woocommerce {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 24px !important;
}

.elementor-shortcode .woocommerce > .woocommerce-MyAccount-navigation,
.elementor-shortcode .woocommerce > .woocommerce-MyAccount-content {
  float: none !important;
  clear: none !important;
  width: auto !important;
}

.elementor-shortcode .woocommerce > .woocommerce-MyAccount-content {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  order: 1 !important;
}

.elementor-shortcode .woocommerce > .woocommerce-MyAccount-navigation {
  flex: 0 0 260px !important;
  width: 260px !important;
  min-width: 260px !important;
  order: 2 !important;
}

/* LEFT: fluid, never collapses */
#e-n-tab-content-2549001431 > div > div > div > div > div > div {
  flex: 1 1 70% !important;
  min-width: 70% !important;
}

/* RIGHT: fixed percentage */
#e-n-tab-content-2549001431 .woocommerce-MyAccount-navigation {
  flex: 0 0 30% !important;
}

/* =====================================================
   1) FORCE THE TAB CONTENT AREA TO BE FULL WIDTH
   ===================================================== */

/* Make sure the tab pane itself can stretch */
#e-n-tab-content-2549001431 {
  width: 100% !important;
  max-width: 100% !important;
}

/* Force Elementor container chain to stretch full width */
#e-n-tab-content-2549001431 .e-con,
#e-n-tab-content-2549001431 .e-con-inner,
#e-n-tab-content-2549001431 .elementor-element,
#e-n-tab-content-2549001431 .elementor-widget,
#e-n-tab-content-2549001431 .elementor-shortcode,
#e-n-tab-content-2549001431 .woocommerce {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

/* IMPORTANT: if a parent flex container is centering/narrowing children */
#e-n-tab-content-2549001431 .e-con,
#e-n-tab-content-2549001431 .e-con-inner {
  align-items: stretch !important;
}

/* =====================================================
   2) NOW DO THE TWO COLUMNS (CONTENT LEFT, BUTTONS RIGHT)
   ===================================================== */

/* The Woo wrapper that contains both nav + content */
#e-n-tab-content-2549001431 .elementor-shortcode .woocommerce {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

/* LEFT column */
#e-n-tab-content-2549001431
  .elementor-shortcode
  .woocommerce
  > .woocommerce-MyAccount-content {
  flex: 0 0 70% !important;
  width: 70% !important;
  max-width: 70% !important;
  min-width: 0 !important;
  order: 1 !important;
}

/* RIGHT column (buttons) */
#e-n-tab-content-2549001431
  .elementor-shortcode
  .woocommerce
  > .woocommerce-MyAccount-navigation {
  flex: 0 0 30% !important;
  width: 30% !important;
  max-width: 30% !important;
  min-width: 240px !important; /* stops it getting silly narrow */
  order: 2 !important;

  float: none !important;
  clear: none !important;
}

/* Mobile stack */
@media (max-width: 900px) {
  #e-n-tab-content-2549001431 .elementor-shortcode .woocommerce {
    flex-direction: column !important;
  }
  #e-n-tab-content-2549001431
    .elementor-shortcode
    .woocommerce
    > .woocommerce-MyAccount-content,
  #e-n-tab-content-2549001431
    .elementor-shortcode
    .woocommerce
    > .woocommerce-MyAccount-navigation {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

/* =====================================================
   RASCALS – WooCommerce Button Theme (scoped, original look)
   Brand: var(--e-global-color-secondary, #32c3e4) (primary), #E63C39 (danger), Quicksand
   ===================================================== */
.ph-my-bookings-table .rascals-pill-link:hover {
  color: #fff !important;
}

.elementor-shortcode .woocommerce-MyAccount-navigation li a:hover {
  color: #fff !important;
}

/* 1) PRIMARY BUTTONS (Woo buttons only + booking buttons only inside booking tab) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce input[type="submit"],
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,

/* Booking / add-to-cart buttons ONLY inside your booking tab container */
#booking-tab .single_add_to_cart_button,
#booking-tab .add_to_cart_button,
#booking-tab .wc-bookings-booking-form-button,

/* Stripe Payment Element buttons ONLY in Woo contexts */
.woocommerce .wc-stripe-payment-element button,
.woocommerce-page .wc-stripe-payment-element button {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;

  margin-top: 16px !important;

  /* Typography (as you had it) */
  font-family: "Quicksand", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  line-height: 1 !important;

  /* Layout */
  padding: 12px 24px !important;
  min-height: 34px !important;
  border-radius: 22px !important;

  /* DEFAULT = filled */
  background-color: var(--e-global-color-secondary, #32c3e4) !important;
  color: #ffffff;
  border: 1px solid var(--e-global-color-secondary, #32c3e4) !important;

  /* Interaction */
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease,
    transform 0.15s ease !important;

  text-decoration: none !important;
}

/* Hover / focus = outline (same as your original) */
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:focus,
.woocommerce button.button:focus,
.woocommerce input.button:focus,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover,
#booking-tab .single_add_to_cart_button:hover,
#booking-tab .add_to_cart_button:hover,
#booking-tab .wc-bookings-booking-form-button:hover {
  background-color: #ffffff !important;
  color: var(--e-global-color-secondary, #32c3e4) !important;
  border-color: var(--e-global-color-secondary, #32c3e4) !important;
}

/* Active click */
.woocommerce a.button:active,
.woocommerce button.button:active,
.woocommerce-page a.button:active,
.woocommerce-page button.button:active,
#booking-tab .single_add_to_cart_button:active,
#booking-tab .add_to_cart_button:active,
#booking-tab .wc-bookings-booking-form-button:active {
  transform: translateY(1px) !important;
}

/* Disabled / loading */
.woocommerce button.button:disabled,
.woocommerce button.button.disabled,
.woocommerce a.button.disabled,
.woocommerce .single_add_to_cart_button.disabled,
#booking-tab .single_add_to_cart_button.disabled,
#booking-tab .wc-bookings-booking-form-button:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* 2) DANGER BUTTONS (remove/cancel) – Woo only */
.woocommerce a.remove,
.woocommerce-page a.remove {
  background-color: #e63c39 !important;
  border-color: #e63c39 !important;
  color: #ffffff;
  border-radius: 22px !important;
  padding: 10px 16px !important;
  text-decoration: none !important;
}

.woocommerce a.remove:hover,
.woocommerce-page a.remove:hover {
  background-color: #ffffff !important;
  color: #e63c39 !important;
}

/* 3) MY ACCOUNT NAV BUTTONS (keep as pills, separate from primary button styling) */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.woocommerce-MyAccount-navigation li {
  margin: 0;
}

.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 8px 14px;

  font-family: "Quicksand", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.9px !important;
  text-transform: uppercase !important;
  text-align: center;

  border-radius: 18px;
  border: 1px solid var(--e-global-color-secondary, #32c3e4);
  background: #ffffff;
  color: var(--e-global-color-secondary, #32c3e4) !important;

  text-decoration: none !important;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li a:focus,
.woocommerce-MyAccount-navigation li.is-active a {
  background: var(--e-global-color-secondary, #32c3e4);
  color: #ffffff;
  border-color: var(--e-global-color-secondary, #32c3e4);
}

.woocommerce-MyAccount-navigation li a::before {
  display: none !important;
}

/* 4) Stripe iframe safety */
iframe[name^="__privateStripeFrame"] {
  max-width: 100%;
}

/* Full width bookings table */
.ph-my-bookings-table {
  width: 100% !important;
  border-collapse: collapse;
  font-family: "Quicksand", sans-serif;
}

.ph-my-bookings-table th,
.ph-my-bookings-table td {
  padding: 12px 14px;
  vertical-align: top;
  border-color: var(--e-global-color-secondary, #32c3e4) !important;
}

/* Header row style */
.ph-my-bookings-table thead th {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* Order link styled like your pill buttons */
.ph-my-bookings-table .rascals-pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: "Quicksand", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.9px !important;
  text-transform: uppercase !important;

  padding: 8px 14px;
  border-radius: 18px;
  border: 1px solid var(--e-global-color-secondary, #32c3e4);
  background: #ffffff;
  color: var(--e-global-color-secondary, #32c3e4) !important;
  text-decoration: none !important;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.ph-my-bookings-table .rascals-pill-link:hover,
.ph-my-bookings-table .rascals-pill-link:focus {
  background: var(--e-global-color-secondary, #32c3e4);
  color: #ffffff;
  border-color: var(--e-global-color-secondary, #32c3e4);
}

/* Mobile: stack rows nicely */
@media (max-width: 700px) {
  .ph-my-bookings-table thead {
    display: none;
  }
  .ph-my-bookings-table tr {
    display: block;
    margin-bottom: 14px;
    border: 1px solid var(--e-global-color-secondary, #32c3e4);
    border-radius: 16px;
    overflow: hidden;
  }
  .ph-my-bookings-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border: none;
    border-bottom: 1px solid rgba(50, 195, 228, 0.35);
  }
  .ph-my-bookings-table td:last-child {
    border-bottom: none;
  }
  .ph-my-bookings-table td::before {
    content: attr(data-label);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 12px;
  }
}

/* =====================================================
   RASCALS – Bookings table (outer border only)
   ===================================================== */

.ph-my-bookings-table {
  width: 100% !important;
  border-collapse: separate; /* important: allows outer border only */
  border-spacing: 0; /* no gaps between cells */
  border: 1px solid var(--e-global-color-secondary, #32c3e4); /* OUTER border */
  border-radius: 20px;
  overflow: hidden; /* clips rounded corners */
  font-family: "Quicksand", sans-serif;
  background: #ffffff;
}

/* Remove all inner borders */
.ph-my-bookings-table th,
.ph-my-bookings-table td {
  border: none !important;
  padding: 14px 16px;
  vertical-align: middle;
}

/* Header styling */
.ph-my-bookings-table thead th {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  padding-top: 18px;
  padding-bottom: 18px;
}

/* Optional: subtle row separation via background (no borders) */
.ph-my-bookings-table tbody tr:nth-child(even) {
  background: rgba(50, 195, 228, 0.04);
}

/* Mobile: keep single outer border, card-style rows inside */
@media (max-width: 700px) {
  .ph-my-bookings-table {
    border-radius: 18px;
  }

  .ph-my-bookings-table thead {
    display: none;
  }

  .ph-my-bookings-table tr {
    display: block;
    padding: 12px 16px;
  }

  .ph-my-bookings-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
  }
}
/* Left-align bookings table column titles */
.ph-my-bookings-table thead th {
  text-align: left !important;
}

#order_review > table > tbody > tr > td.product-name > a {
  color: #fff !important;
  padding: 0px !important;
}

#order_review > table > tbody > tr > td.product-name > a:hover {
  color: #fff !important;
  padding: 0px !important;
  background-color: var(--e-global-color-secondary, #32c3e4) !important;
}

.elementor-shortcode .woocommerce-MyAccount-navigation li.is-active a {
  color: #fff !important;
}

#order_review > table > tbody > tr > td.product-name > strong {
  display: none;
}
.elementor-shortcode .woocommerce-MyAccount-navigation li a {
  font-size: 16px !important;
}

/* ===============================
   RASCALS – Kiosk UI (PIN + Tiles)
   Match Student Cards
   Brand: var(--e-global-color-secondary, #32c3e4) / Quicksand
   =============================== */

.rascals-kiosk {
  max-width: 720px;
  margin: 0 auto;
  font-family: "Quicksand", sans-serif;
}

/* Message */
.rascals-msg {
  font-weight: 800;
  margin: 12px 0 10px;
  min-height: 22px;
  color: #111827;
}

/* PIN input */
#rascalsPin {
  width: 100%;
  font-size: 28px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  outline: none;
}

#rascalsPin:focus {
  outline: 3px solid rgba(50, 195, 228, 0.35);
  outline-offset: 3px;
}

/* Keypad grid */
.rascals-keypad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

/* Keypad buttons */
.rascals-key {
  padding: 16px 12px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.rascals-key:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  background-color: #e63c39;
}

.rascals-key:active {
  transform: translateY(0px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.rascals-key:focus {
  outline: 3px solid rgba(50, 195, 228, 0.35);
  outline-offset: 3px;
}

/* Clear + Login emphasis */
#rascalsPinClear {
  background: #ffc959;
  color: #fff;
}

#rascalsPinGo {
  background: linear-gradient(
    135deg,
    var(--e-global-color-secondary, #32c3e4) 0%,
    #6fd8f0 100%
  );
  border: none;
  color: #ffffff;
}

/* Tiles grid */
.rascals-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

@media (min-width: 900px) {
  .rascals-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tile cards (buttons) */
.rascals-tile {
  text-align: left;
  width: 100%;
  border-radius: 22px;
  padding: 16px 16px 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.rascals-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  background-color: #ffc959;
}

.rascals-tile:focus {
  outline: 3px solid rgba(50, 195, 228, 0.35);
  outline-offset: 4px;
  background-color: #fff;
}

/* Tile content */
.rascals-tile .t-name {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.rascals-tile .t-status {
  margin-top: 10px;
  font-weight: 700;
  color: #1f2937;
}

.rascals-tile .t-hint {
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.7;
  color: #374151;
}

/* Status border accents */
.rascals-tile.none {
  border-color: rgba(0, 0, 0, 0.06);
}

.rascals-tile.in {
  border-color: rgba(10, 107, 43, 0.35);
}

.rascals-tile.out {
  border-color: rgba(0, 0, 0, 0.12);
  opacity: 0.92;
}

/* Selected state */
.rascals-tile.selected {
  outline: 4px solid rgba(50, 195, 228, 0.35);
  outline-offset: 2px;
  transform: translateY(-1px);
  background-color: #ffc959;
}

/* Primary action button (Sign In / Sign Out) */
.rascals-tiles-go {
  width: 100%;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 22px;
  border: none;
  font-weight: 800;
  font-size: 18px;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--e-global-color-secondary, #32c3e4) 0%,
    #6fd8f0 100%
  )!important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08)!important;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease!important;
}

.rascals-tiles-go:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.rascals-tiles-go:active {
  transform: translateY(0px);
}

.rascals-tiles-go:focus {
  outline: 3px solid rgba(50, 195, 228, 0.35);
  outline-offset: 3px;
}

.rascals-tiles-go:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* Empty state */
.rascals-empty {
  grid-column: 1 / -1;
  padding: 18px 20px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px dashed rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  color: #1f2937;
  font-weight: 700;
}

/* Mobile tidy */
@media (max-width: 480px) {
  #rascalsPin {
    font-size: 24px;
    padding: 14px 16px;
  }
  .rascals-key {
    font-size: 18px;
    padding: 14px 10px;
    border-radius: 16px;
  }
  .rascals-tile {
    border-radius: 18px;
    padding: 14px;
  }
  .rascals-tile .t-name {
    font-size: 18px;
    color: var(--e-global-color-secondary, #32c3e4);
  }
}

.rsa-refresh:hover,
.rsa-refresh:active,
.rsa-refresh:active {
  background-color: var(--e-global-color-secondary, #32c3e4);
}

/* recurring booking panel*/
.rascals-weekday.is-on {
  box-shadow: 0 0 0 4px rgba(50, 195, 228, 0.1) !important;
  border-color: rgba(50, 195, 228, 1) !important;
  color: var(--e-global-color-secondary, #32c3e4);
}
#rascals-recurring-ui > strong {
  display: none !important;
}

#rascals-recurring-ui {
  border: none !important;
  background-color: #f3f3f3;
}

.ph-calendar-container {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.ph-calendar-month {
  margin-top: -1px;
}
#product-1810
  > div
  > form
  > div.booking-wraper
  > div:nth-child(2)
  > div.booking-info-wraper {
  border-radius: 10px !important;
}

/* Desktop: keep both selects on one row */
@media (min-width: 768px) {
  #rascals-recurring-ui .rascals-recurring-row {
    flex-wrap: nowrap !important;
  }
  #rascals-recurring-ui .rascals-recurring-row > label {
    flex: 1 1 0;
    min-width: 0;
  }
  #rascals-recurring-ui .rascals-recurring-row select {
    width: 100%;
  }
}

/* 
text-align-left shortcode */
.elementor-widget-shortcode label,
.elementor-widget-shortcode .rascals-order-title,
.elementor-widget-shortcode .rascals-order-help,
.woocommerce-MyAccount-content {
  text-align: left !important;
}

.elementor-widget-shortcode {
  text-align: left !important;
}

#booking_price_text {
  display: none;
}

#booking_info_text {
  padding-bottom: 12px !important;
}

/* =====================================================
   RASCALS – WooCommerce BLOCK CHECKOUT (ONE BLOCK)
   - Pills everywhere
   - Force ALL buttons to brand blue
   - Remove red borders on Shipping/Billing address "Edit" + cards
   Brand: var(--e-global-color-secondary, #32c3e4) / Quicksand
   Paste at VERY BOTTOM of your CSS
   ===================================================== */

.wc-block-checkout,
.wc-block-checkout .wc-block-components-checkout-step,
.wc-block-checkout .wc-block-components-checkout-step__content {
  font-family: "Quicksand", sans-serif !important;
}

/* -------------------------------
   1) PRIMARY BUTTONS (Blocks)
   Place order + any blocks buttons
-------------------------------- */
.wc-block-checkout
  :is(
    .wc-block-components-button,
    button.wc-block-components-button,
    .wc-block-components-checkout-place-order-button,
    .wc-block-checkout__actions_row > button
  ) {
  /* pill */
  border-radius: 999px !important;
  padding: 14px 22px !important;
  min-height: 44px !important;

  /* typography */
  font-family: "Quicksand", sans-serif !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.1px !important;

  /* brand blue */
  background: var(--e-global-color-secondary, #32c3e4) !important;
  border: 1px solid var(--e-global-color-secondary, #32c3e4) !important;
  color: #fff !important;

  box-shadow: none !important;
  text-decoration: none !important;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease !important;
}

/* Inverted hover: white field, brand border + text */
.wc-block-checkout
  :is(
    .wc-block-components-button,
    button.wc-block-components-button,
    .wc-block-components-checkout-place-order-button,
    .wc-block-checkout__actions_row > button
  ):hover,
.wc-block-checkout
  :is(
    .wc-block-components-button,
    button.wc-block-components-button,
    .wc-block-components-checkout-place-order-button,
    .wc-block-checkout__actions_row > button
  ):focus {
  background: #fff !important;
  color: var(--e-global-color-secondary, #32c3e4) !important;
  border-color: var(--e-global-color-secondary, #32c3e4) !important;
  filter: none !important;
}

.wc-block-checkout
  :is(
    .wc-block-components-button,
    button.wc-block-components-button,
    .wc-block-components-checkout-place-order-button,
    .wc-block-checkout__actions_row > button
  ):active {
  background: #fff !important;
  color: var(--e-global-color-secondary, #32c3e4) !important;
  border-color: var(--e-global-color-secondary, #32c3e4) !important;
  filter: brightness(0.98) !important;
}

/* disabled */
.wc-block-checkout
  :is(
    .wc-block-components-button,
    button.wc-block-components-button,
    .wc-block-components-checkout-place-order-button,
    .wc-block-checkout__actions_row > button
  ):disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  filter: none !important;
}

/* -------------------------------
   2) ADDRESS CARDS + EDIT CONTROLS
   Kill red borders, make Edit pill-blue
-------------------------------- */

/* Address card wrappers (billing + shipping) */
.wc-block-checkout
  :is(
    .wc-block-components-address-card,
    .wc-block-components-address-card-wrapper,
    .wc-block-components-address-address-wrapper
  ) {
  border-color: rgba(50, 195, 228, 0.35) !important;
}

/* "Edit" / action controls inside the address card */
.wc-block-checkout :is(
  .wc-block-components-address-card__edit,
  .wc-block-components-address-card__actions button,
  .wc-block-components-address-card__actions a,
  .wc-block-components-address-card button,
  .wc-block-components-address-card a,
  /* your exact shipping selector includes a span */
  #shipping-fields .wc-block-components-address-card-wrapper span,
  #billing-fields  .wc-block-components-address-card-wrapper span
) {
  /* pill */
  border-radius: 999px !important;
  padding: 8px 14px !important;

  /* brand outline */
  border: 1px solid var(--e-global-color-secondary, #32c3e4) !important;
  background: #fff !important;
  color: var(--e-global-color-secondary, #32c3e4) !important;

  font-family: "Quicksand", sans-serif !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.9px !important;

  box-shadow: none !important;
}

/* hover = filled blue */
.wc-block-checkout
  :is(
    .wc-block-components-address-card__edit,
    .wc-block-components-address-card__actions button,
    .wc-block-components-address-card__actions a,
    .wc-block-components-address-card button,
    .wc-block-components-address-card a,
    #shipping-fields .wc-block-components-address-card-wrapper span,
    #billing-fields .wc-block-components-address-card-wrapper span
  ):hover {
  background: var(--e-global-color-secondary, #32c3e4) !important;
  border-color: var(--e-global-color-secondary, #32c3e4) !important;
  color: #fff !important;
}

/* -------------------------------
   3) IF RED BORDER IS FROM "ERROR" STYLES
   Override the danger palette *inside checkout*
   (keeps message text intact, just removes red accents)
-------------------------------- */
.wc-block-checkout {
  --wc-red: var(--e-global-color-secondary, #32c3e4);
  --wc-red-50: rgba(50, 195, 228, 0.12);
  --wc-red-10: rgba(50, 195, 228, 0.08);
}

/* Some themes set error borders on generic "has-error" wrappers */
.wc-block-checkout :is(.has-error, .wc-block-components-validation-error) {
  border-color: rgba(50, 195, 228, 0.55) !important;
}

/* focus ring */
.wc-block-checkout :focus {
  outline-color: rgba(50, 195, 228, 0.35) !important;
}

#content
  > div.page-content
  > div
  > div.wc-block-components-sidebar-layout.wc-block-checkout.is-large
  > div.wc-block-components-main.wc-block-checkout__main.wp-block-woocommerce-checkout-fields-block
  > form
  > div.wc-block-checkout__actions.wp-block-woocommerce-checkout-actions-block
  > div.wc-block-checkout__actions_row
  > a {
  display: none;
}

#addStudent
  > div
  > div.elementor-field-group.elementor-column.elementor-field-type-submit.elementor-col-30.e-form__buttons
  > button {
  width: auto !important; /* don't constrain to tiny column */
  min-width: 220px !important; /* bump as needed */
  white-space: nowrap !important; /* no line breaks */
  padding-left: 22px !important;
  padding-right: 22px !important;
  display: inline-flex !important;
  justify-content: center !important;
}

.rascals-label {
  text-align: left !important;
}

.alignwide {
  margin-inline: 0px;
}

.button.rascals-pay-full-term-btn {
  width: 100% !important;
}

.rascals-pay-full-term-spinner {
  display: none;
  vertical-align: middle;
}

.rascals-pay-full-term-spinner svg {
  display: block;
}

.rascals-pay-full-term-btn--loading .rascals-pay-full-term-spinner {
  display: inline-flex;
}

.rascals-pay-full-term-btn--loading .rascals-pay-full-term-button__label {
  display: none;
}

/* Product Image */

.wc-block-cart-item__image a,
.wc-block-components-order-summary-item__image {
  display: none !important;
}

.wc-block-components-order-summary
  .wc-block-components-order-summary-item__description {
  padding: 10px !important;
}

.wc-block-components-product-details__children-s,
.wc-block-components-product-details__asset,
.wc-block-components-product-details__participant-s {
  display: none !important;
}

.woocommerce-MyAccount-content .woocommerce-message {
  display: none !important;
}

/* My Account AJAX loading state */
.woocommerce-MyAccount-content.rascals-myaccount-loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}
.woocommerce-MyAccount-content.rascals-myaccount-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: rascals-myaccount-spin 0.6s linear infinite;
}
@keyframes rascals-myaccount-spin {
  to {
    transform: rotate(360deg);
  }
}

/* My Account custom dashboard (children, sessions, next booking) */
.rascals-my-account-dashboard {
  margin-top: 1em;
}
.rascals-dashboard-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
}
.rascals-dashboard-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  background: #f5f5f5;
  border-radius: 6px;
  min-width: 140px;
  max-width: 320px;
}
.rascals-dashboard-stat__title {
  margin: 0 0 0.25em;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #555;
}
.rascals-dashboard-stat__value {
  font-size: 1.5rem;
  font-weight: 600;
}
.rascals-dashboard-stat__value--names {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}
.rascals-dashboard-stat__label {
  font-size: 0.875rem;
  color: #666;
}
.rascals-dashboard-stat--next .rascals-dashboard-stat__detail,
.rascals-dashboard-stat--next .rascals-dashboard-stat__booking {
  font-size: 0.8125rem;
  color: #555;
}

/* Today reminder (WooCommerce is-info style + close) */
.rascals-dashboard-today-reminder {
  position: relative;
  padding-right: 2.5rem;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.rascals-dashboard-today-reminder--hidden-until-moved {
  display: none !important;
}
.rascals-dashboard-today-reminder--animating-in {
  opacity: 0;
}
.rascals-dashboard-today-reminder--dismissed {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.rascals-dashboard-today-reminder--dismissed-hidden {
  display: none !important;
}
.rascals-dashboard-today-reminder__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
  border-radius: 2px;
}
.rascals-dashboard-today-reminder__close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.08);
}
.rascals-dashboard-today-reminder__list {
  margin: 0;
  padding-left: 1.25rem;
}
.rascals-dashboard-today-reminder__list li {
  margin: 0.25em 0;
}
.rascals-dashboard-today-reminder__child-name {
  font-weight: 700;
}
