.pgsc{font-family:inherit;box-sizing:border-box}
.pgsc-floating{position:fixed;right:24px;bottom:145px;z-index:99990;background:#fff;border:1px solid #d9e6e8;border-radius:12px;padding:9px 10px;box-shadow:0 8px 28px rgba(0,0,0,.14);max-width:210px}
.pgsc-label{display:block;font-size:10px;line-height:1.2;font-weight:800;text-transform:uppercase;letter-spacing:.7px;color:#087f8c;margin:0 0 4px}
.pgsc-select{width:100%;min-height:36px;border:1px solid #cbdcdf!important;border-radius:7px!important;background:#fff!important;color:#173f4b!important;font-size:13px!important;font-weight:700!important;padding:5px 27px 5px 8px!important}
.pgsc-note{display:none;font-size:10px;line-height:1.3;color:#687d84;margin-top:5px}
.pgsc:hover .pgsc-note,.pgsc:focus-within .pgsc-note{display:block}
.pgsc-inline{display:inline-flex;align-items:center;gap:8px}.pgsc-inline .pgsc-label{margin:0}.pgsc-inline .pgsc-note{display:none}
.pgsc-price-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.pgsc-converted{font-size:inherit!important;line-height:inherit!important;white-space:nowrap!important}
.pgsc-converted-primary{display:inline!important;color:inherit!important;font-weight:inherit!important;margin:0!important}
.pgsc-converted-plain{display:inline!important;color:#087f8c!important;font-size:.82em!important;font-weight:700!important;margin-left:3px!important}
.pgsc-checkout-notice{margin:10px 0;padding:10px 12px;background:#f4fafb;border-left:3px solid #087f8c;border-radius:5px;font-size:12px;line-height:1.45;color:#49656d}
@media(max-width:650px){.pgsc-floating{right:10px;bottom:130px;max-width:175px;padding:7px 8px}.pgsc-select{font-size:12px!important}.pgsc-converted-plain{font-size:.78em!important}}

/* v1.6 clearer customer-facing currency hierarchy */
.pgsc-converted-primary{display:inline-flex!important;flex-direction:column!important;vertical-align:middle!important;gap:1px!important}
.pgsc-foreign-main{font-size:inherit!important;font-weight:inherit!important;color:inherit!important;white-space:nowrap!important}
.pgsc-php-reference{display:block!important;font-size:10px!important;line-height:1.15!important;font-weight:500!important;color:#71848a!important;white-space:nowrap!important}
.pgsc-converted-plain{display:inline-flex!important;flex-direction:column!important;vertical-align:middle!important;margin-left:7px!important;gap:1px!important}
.pgsc-converted-plain .pgsc-foreign-main{font-size:1em!important;font-weight:800!important;color:#087f8c!important}
.pgsc-actual-charge{display:block!important;font-size:10px!important;line-height:1.15!important;font-weight:600!important;color:#657b83!important;white-space:nowrap!important}

/* v1.7 final customer-facing cleanup */
.pgsc-php-reference{display:none!important}
.pgsc-converted-primary{
  display:inline!important;
  margin:0!important;
  vertical-align:baseline!important;
}
.pgsc-converted-primary .pgsc-foreign-main{
  display:inline!important;
  font-size:inherit!important;
  line-height:inherit!important;
  font-weight:inherit!important;
  color:inherit!important;
}
.pgsc-converted-plain{
  display:inline-flex!important;
  flex-direction:column!important;
  vertical-align:middle!important;
  margin-left:8px!important;
  gap:1px!important;
}
.pgsc-converted-plain .pgsc-foreign-main{
  display:block!important;
  font-size:1em!important;
  line-height:1.1!important;
  font-weight:800!important;
  color:#087f8c!important;
}
.pgsc-actual-charge{
  display:block!important;
  font-size:10px!important;
  line-height:1.15!important;
  font-weight:600!important;
  color:#657b83!important;
  white-space:nowrap!important;
}
.pgsc-note{
  color:#60747b!important;
}

/* v1.8 verified Bus Booking Manager subtotal target:
   .mage_subtotal_figure remains live in the DOM for calculations. */
.pgsc-subtotal-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.pgsc-mage-subtotal-display{
  display:inline-flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:1px!important;
  margin:0!important;
  vertical-align:middle!important;
}
.pgsc-mage-subtotal-display .pgsc-foreign-main{
  display:block!important;
  color:#087f8c!important;
  font-size:14px!important;
  line-height:1.15!important;
  font-weight:800!important;
}
.pgsc-mage-subtotal-display .pgsc-actual-charge{
  display:block!important;
  color:#657b83!important;
  font-size:10px!important;
  line-height:1.15!important;
  font-weight:600!important;
  white-space:nowrap!important;
}

/* v1.9 checkout safety:
   PHP stays primary at checkout; foreign currency is reference only. */
.pgsc-checkout-approx{
  display:block!important;
  margin-top:2px!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:600!important;
  color:#087f8c!important;
  white-space:nowrap!important;
}
.woocommerce-checkout .pgsc-price-hidden,
.woocommerce-checkout .pgsc-subtotal-hidden{
  position:static!important;
  width:auto!important;
  height:auto!important;
  padding:initial!important;
  margin:initial!important;
  overflow:visible!important;
  clip:auto!important;
  white-space:normal!important;
  border:initial!important;
}

/* v1.9.1 final mobile-only sizing/positioning.
   No rate, booking, subtotal, WooCommerce or checkout logic changed. */
@media (max-width:650px){
  .pgsc-floating{
    right:10px!important;
    bottom:118px!important;
    width:148px!important;
    max-width:148px!important;
    padding:7px 8px!important;
    border-radius:10px!important;
    box-shadow:0 5px 18px rgba(0,0,0,.14)!important;
  }
  .pgsc-floating .pgsc-label{
    font-size:9px!important;
    line-height:1.1!important;
    margin-bottom:3px!important;
    letter-spacing:.55px!important;
  }
  .pgsc-floating .pgsc-select{
    width:100%!important;
    min-width:0!important;
    min-height:34px!important;
    height:34px!important;
    font-size:11px!important;
    line-height:1.1!important;
    padding:4px 23px 4px 6px!important;
    border-radius:6px!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }
  .pgsc-floating .pgsc-note{
    display:none!important;
  }
}
@media (max-width:380px){
  .pgsc-floating{
    width:138px!important;
    max-width:138px!important;
    right:8px!important;
  }
}

/* v1.10 tour cards + WPForms Grand Total */
.pgsc-tour-main{
  display:block!important;
  font:inherit!important;
  color:inherit!important;
}
.pgsc-tour-reference{
  display:block!important;
  margin-top:2px!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:600!important;
  color:#657b83!important;
}
.pgsc-wpforms-total-display{
  margin-top:7px!important;
  padding:9px 12px!important;
  border-radius:7px!important;
  background:#f4fafb!important;
  border:1px solid #d9e8eb!important;
  line-height:1.3!important;
}
.pgsc-wpforms-total-display strong{
  display:block!important;
  color:#123b4a!important;
  font-size:15px!important;
  font-weight:800!important;
}
.pgsc-wpforms-total-display span{
  display:block!important;
  margin-top:2px!important;
  color:#087f8c!important;
  font-size:12px!important;
  font-weight:700!important;
}
@media(max-width:650px){
  .pgsc-tour-reference{font-size:10px!important}
  .pgsc-wpforms-total-display{padding:8px 10px!important}
}


/* =========================================================
   v1.13 AVADA-SAFE HEADER CURRENCY BAR
   IMPORTANT: selector is intentionally OUTSIDE the Avada menu DOM.
========================================================= */

.pgsc-headerbar-mount{
  position:relative!important;
  z-index:50!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  width:100%!important;
  min-height:46px!important;
  padding:6px 28px!important;
  margin:0!important;
  background:#fff!important;
  border-top:1px solid #edf2f4!important;
  border-bottom:1px solid #e4ecef!important;
  box-sizing:border-box!important;
}

.pgsc-headerbar{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

.pgsc-headerbar .pgsc-label{
  display:block!important;
  margin:0!important;
  color:#5c7180!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  text-transform:uppercase!important;
  letter-spacing:.4px!important;
}

.pgsc-headerbar .pgsc-select{
  width:auto!important;
  min-width:154px!important;
  height:34px!important;
  min-height:34px!important;
  margin:0!important;
  padding:4px 30px 4px 10px!important;
  border:1px solid #168aa0!important;
  border-radius:18px!important;
  background:#fff!important;
  color:#063b5c!important;
  font-size:12px!important;
  font-weight:800!important;
  box-shadow:none!important;
  cursor:pointer!important;
}

.pgsc-headerbar .pgsc-note{
  display:none!important;
}

/* v1.13 must never behave as the old fixed floating control. */
.pgsc-floating{
  position:static!important;
}

@media(max-width:800px){
  .pgsc-headerbar-mount{
    min-height:52px!important;
    padding:7px 16px!important;
    justify-content:center!important;
  }

  .pgsc-headerbar{
    width:100%!important;
  }

  .pgsc-headerbar .pgsc-label{
    flex:0 0 auto!important;
  }

  .pgsc-headerbar .pgsc-select{
    flex:1 1 auto!important;
    width:100%!important;
    max-width:none!important;
    height:38px!important;
    min-height:38px!important;
    border-radius:9px!important;
    font-size:13px!important;
  }
}


/* =========================================================
   v1.13.1 FINAL UI POLISH
   CSS ONLY — currency/conversion logic unchanged.
========================================================= */

/* Desktop: preserve the proven right-aligned header position. */
@media(min-width:801px){
  .pgsc-headerbar-mount{
    min-height:44px!important;
    padding-top:5px!important;
    padding-bottom:5px!important;
  }

  .pgsc-headerbar .pgsc-select{
    min-width:150px!important;
    height:34px!important;
    min-height:34px!important;
  }
}

/* Mobile: compact, balanced header row without touching functionality. */
@media(max-width:800px){
  .pgsc-headerbar-mount{
    min-height:46px!important;
    padding:5px 16px!important;
  }

  .pgsc-headerbar{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
  }

  .pgsc-headerbar .pgsc-label{
    font-size:10px!important;
    letter-spacing:.45px!important;
    white-space:nowrap!important;
  }

  .pgsc-headerbar .pgsc-select{
    width:100%!important;
    height:36px!important;
    min-height:36px!important;
    padding-top:3px!important;
    padding-bottom:3px!important;
    border-radius:9px!important;
    font-size:12px!important;
  }
}

@media(max-width:380px){
  .pgsc-headerbar-mount{
    padding-left:12px!important;
    padding-right:12px!important;
  }

  .pgsc-headerbar{
    gap:7px!important;
  }

  .pgsc-headerbar .pgsc-label{
    font-size:9px!important;
  }

  .pgsc-headerbar .pgsc-select{
    font-size:11px!important;
  }
}
