/* Public WooCommerce pages: cart, checkout, account, thank-you, product stick.
   Skipped when App Mode (?fy_app=1) is already painting the iframe.
   Never hide a cart/checkout ancestor (.wp-block-woocommerce-cart,
   .wc-block-cart, .woocommerce, .fy-cart-empty, etc.). Chrome-only
   hide rules below target headings, qty steppers, related, and wallets. */

body.fyds-woo-app.woocommerce-cart .woocommerce-breadcrumb,
body.fyds-woo-app.woocommerce-checkout .woocommerce-breadcrumb,
body.fyds-woo-app.woocommerce-account .woocommerce-breadcrumb,
body.fyds-woo-app.woocommerce-order-received .woocommerce-breadcrumb,
body.fyds-woo-app.woocommerce-cart .wc-block-breadcrumbs,
body.fyds-woo-app.woocommerce-checkout .wc-block-breadcrumbs,
body.fyds-woo-app.woocommerce-account .related.products,
body.fyds-woo-app.woocommerce-cart .related.products,
body.fyds-woo-app.woocommerce-checkout .related.products,
body.fyds-woo-app.woocommerce-order-received .related.products,
body.fyds-woo-app.woocommerce-cart .up-sells,
body.fyds-woo-app.woocommerce-checkout .up-sells,
body.fyds-woo-app.woocommerce-cart .upsells,
body.fyds-woo-app.woocommerce-checkout .upsells,
body.fyds-woo-app.woocommerce-cart .cross-sells,
body.fyds-woo-app.woocommerce-cart .cart-collaterals .cross-sells,
body.fyds-woo-app .fy-cart-perks,
body.fyds-woo-app .fy-empty-perks,
body.fyds-woo-app .fy-empty-cart-perks,
body.fyds-woo-app #fy-service-order-menu,
body.fyds-woo-app .fy-order-grid,
body.fyds-woo-app:not(.fyds-woo-empty) .fy-glow,
body.fyds-woo-app .fy-subtext,
body.fyds-woo-app .fy-logo-bar,
body.fyds-woo-app .fy-offers,
body.fyds-woo-app .fy-crypto-note,
body.fyds-woo-app.woocommerce-cart #trp_ald_modal_container,
body.fyds-woo-app.woocommerce-checkout #trp_ald_modal_container,
body.fyds-woo-app.woocommerce-order-received #trp_ald_modal_container,
body.fyds-woo-app .woocommerce-sticky-add-to-cart,
body.fyds-woo-app .sticky-add-to-cart,
body.fyds-woo-app [class*="sticky-add-to-cart"],
body.fyds-woo-app [class*="floating-atc"],
body.fyds-woo-app .woocommerce-MyAccount-navigation-link--downloads,
/* Hide charter qty steppers and Update cart. Do NOT hide
   .wc-block-cart-item__quantity — Woo Blocks puts Remove inside it. */
body.fyds-woo-app.woocommerce-cart th.product-quantity,
body.fyds-woo-app.woocommerce-cart td.product-quantity,
body.fyds-woo-app.woocommerce-cart .product-quantity .quantity,
body.fyds-woo-app.woocommerce-cart .product-quantity .qty,
body.fyds-woo-app.woocommerce-cart button[name="update_cart"],
body.fyds-woo-app.woocommerce-cart .wc-block-components-quantity-selector,
body.fyds-woo-app.woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector {
  display: none !important;
}

body.fyds-woo-app.woocommerce-cart .woocommerce,
body.fyds-woo-app.woocommerce-checkout .woocommerce,
body.fyds-woo-app.woocommerce-order-received .woocommerce {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 16px 28px;
}

/* Logged-in account / client hub: match the header island, not Elementor's 1140px box.
   Dashboard icons, headings, and the Miami locations block need that width. */
body.fyds-woo-app.woocommerce-account .woocommerce,
body.woocommerce-account .woocommerce {
  --container-max-width: 1460px;
  max-width: min(1460px, calc(100% - 48px)) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  body.woocommerce-account .woocommerce .e-con-inner,
  body.woocommerce-account .fy-login-hub,
  body.woocommerce-account [class*="login-hub"],
  body.woocommerce-account [class*="charter-hub"] {
    --container-max-width: 1460px;
    max-width: none !important;
    width: 100% !important;
  }
}

@media (min-width: 900px) {
  body.fyds-woo-app.woocommerce-checkout .woocommerce {
    max-width: 1100px;
  }
}

body.fyds-woo-app.woocommerce-cart input[type="text"],
body.fyds-woo-app.woocommerce-cart input[type="number"],
body.fyds-woo-app.woocommerce-cart input[type="email"],
body.fyds-woo-app.woocommerce-cart select,
body.fyds-woo-app.woocommerce-checkout input[type="text"],
body.fyds-woo-app.woocommerce-checkout input[type="email"],
body.fyds-woo-app.woocommerce-checkout input[type="tel"],
body.fyds-woo-app.woocommerce-checkout input[type="password"],
body.fyds-woo-app.woocommerce-checkout select,
body.fyds-woo-app.woocommerce-checkout textarea,
body.fyds-woo-app.woocommerce-account input[type="text"],
body.fyds-woo-app.woocommerce-account input[type="email"],
body.fyds-woo-app.woocommerce-account input[type="password"],
body.fyds-woo-app.woocommerce-account input[type="tel"],
body.fyds-woo-app.woocommerce-account select,
body.fyds-woo-app.woocommerce-checkout .wc-block-components-text-input input,
body.fyds-woo-app.woocommerce-checkout .wc-block-components-select select {
  min-height: 48px !important;
  padding: 10px 12px !important;
  border-radius: 16px !important;
  font-size: 16px !important;
  width: 100%;
  box-sizing: border-box;
}

body.fyds-woo-app .woocommerce-cart-form,
body.fyds-woo-app .cart_totals,
body.fyds-woo-app .woocommerce-checkout-review-order,
body.fyds-woo-app .woocommerce-billing-fields,
body.fyds-woo-app .woocommerce-additional-fields,
body.fyds-woo-app .woocommerce-order,
body.fyds-woo-app .wc-block-cart,
body.fyds-woo-app .wc-block-checkout {
  border: 1px solid var(--fy-border, #eef2f7);
  border-radius: 24px;
  background: #fff;
  padding: 16px;
}

/* Cart Remove: labeled FY pill. Qty stays hidden; this control stays on the row. */
body.fyds-woo-app.woocommerce-cart .wc-block-cart-item__quantity {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  width: auto !important;
  max-width: 100%;
  margin: 10px 0 0;
  padding: 0;
}

body.fyds-woo-app.woocommerce-cart .wc-block-cart-items__row,
body.fyds-woo-app.woocommerce-cart tr.cart_item {
  position: relative;
}

body.fyds-woo-app.woocommerce-cart a.remove,
body.fyds-woo-app.woocommerce-cart .product-remove a,
body.fyds-woo-app.woocommerce-cart .wc-block-cart-item__remove-link,
body.fyds-woo-app.woocommerce-cart a.fyds-cart-remove,
body.fyds-woo-app.woocommerce-cart button.fyds-cart-remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  min-height: 44px;
  min-width: 44px;
  width: auto !important;
  height: auto !important;
  padding: 10px 16px !important;
  margin: 0 !important;
  border: 1px solid var(--border, var(--fy-border, #eef2f7)) !important;
  border-radius: 999px !important;
  background: var(--chip, var(--fy-blush, #fff7fb)) !important;
  color: var(--accent-2, var(--fy-pink-deep, #d34c8b)) !important;
  box-shadow: none !important;
  font-family: var(--fy-font, inherit) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  text-indent: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  cursor: pointer;
}

body.fyds-woo-app.woocommerce-cart a.remove:not(.fyds-cart-remove) {
  font-size: 0 !important;
}

body.fyds-woo-app.woocommerce-cart a.remove:not(.fyds-cart-remove)::after {
  content: "Remove";
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

body.fyds-woo-app.woocommerce-cart a.remove:not(.fyds-cart-remove)::before,
body.fyds-woo-app.woocommerce-cart .fyds-cart-remove::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.5 3h5l.6 1.5H20v2H4v-2h4.9L9.5 3zM7 8h10l-.8 12.2A2 2 0 0 1 14.2 22H9.8a2 2 0 0 1-2-1.8L7 8zm3 2.5v8h1.5v-8H10zm3.5 0v8H15v-8h-1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.5 3h5l.6 1.5H20v2H4v-2h4.9L9.5 3zM7 8h10l-.8 12.2A2 2 0 0 1 14.2 22H9.8a2 2 0 0 1-2-1.8L7 8zm3 2.5v8h1.5v-8H10zm3.5 0v8H15v-8h-1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.fyds-woo-app.woocommerce-cart a.remove:hover,
body.fyds-woo-app.woocommerce-cart a.remove:focus-visible,
body.fyds-woo-app.woocommerce-cart .product-remove a:hover,
body.fyds-woo-app.woocommerce-cart .wc-block-cart-item__remove-link:hover,
body.fyds-woo-app.woocommerce-cart .wc-block-cart-item__remove-link:focus-visible,
body.fyds-woo-app.woocommerce-cart .fyds-cart-remove:hover,
body.fyds-woo-app.woocommerce-cart .fyds-cart-remove:focus-visible {
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent, var(--fy-pink, #e45c9c)), var(--accent-2, var(--fy-pink-deep, #d34c8b))) !important;
  border-color: transparent !important;
}

body.fyds-woo-app.woocommerce-cart td.product-remove {
  display: table-cell !important;
  width: auto;
  vertical-align: middle;
  padding: 12px 8px;
  white-space: nowrap;
}

@media (min-width: 900px) {
  body.fyds-woo-app.woocommerce-cart table.shop_table a.remove,
  body.fyds-woo-app.woocommerce-cart table.shop_table .fyds-cart-remove {
    white-space: nowrap;
  }
}

body.fyds-woo-app .woocommerce-message,
body.fyds-woo-app .woocommerce-info,
body.fyds-woo-app .woocommerce-error,
body.fyds-woo-app .wc-block-components-notice-banner {
  border-radius: 16px !important;
  border-left: 4px solid var(--fy-pink, #e45c9c) !important;
}

.fyds-steps {
  display: flex;
  justify-content: center;
  width: 100%;
  /* The site header floats over the top of the page, so the track needs
     room to clear it rather than tucking under it. */
  margin: clamp(18px, 3.4vw, 34px) auto clamp(20px, 3vw, 32px);
}

.fyds-steps__track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 8px 18px;
  list-style: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #fdf7ff 100%);
  border: 1px solid rgba(124, 58, 237, 0.16);
  box-shadow: 0 10px 26px rgba(27, 18, 64, 0.08);
}

.fyds-steps__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--fy-slate, #475569);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.fyds-steps__item::marker {
  content: "";
}

/* The rail between two steps, coloured up to wherever the guest has got. */
.fyds-steps__item + .fyds-steps__item::before {
  content: "";
  display: inline-block;
  width: clamp(18px, 4vw, 34px);
  height: 2px;
  margin: 0 10px;
  border-radius: 2px;
  background: rgba(124, 58, 237, 0.18);
}

.fyds-steps__item.is-done + .fyds-steps__item::before,
.fyds-steps__item.is-current::before {
  background: linear-gradient(90deg, var(--fy-purple, #7c3aed), var(--fy-pink, #e45c9c));
}

.fyds-steps__dot {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #F3E8FF;
  color: var(--fy-purple, #7c3aed);
  font-size: 11.5px;
  font-weight: 900;
  line-height: 1;
}

.fyds-steps__label {
  line-height: 1;
}

.fyds-steps__item.is-current {
  color: var(--fy-pink, #e45c9c);
}

.fyds-steps__item.is-current .fyds-steps__dot {
  background: linear-gradient(135deg, var(--fy-pink, #e45c9c), #d600d6);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(228, 92, 156, 0.16);
}

.fyds-steps__item.is-done {
  color: var(--fy-ink, #0f172a);
}

.fyds-steps__item.is-done .fyds-steps__dot {
  background: var(--fy-purple, #7c3aed);
  color: #fff;
}

@media (max-width: 480px) {
  .fyds-steps__track { padding: 7px 12px; }
  .fyds-steps__item { font-size: 12px; gap: 6px; }
  .fyds-steps__dot { width: 21px; height: 21px; font-size: 10.5px; }
  .fyds-steps__item + .fyds-steps__item::before { margin: 0 7px; }
}

.fyds-empty-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  max-width: 420px;
  margin: 8px auto 20px;
}

.fyds-empty-cta__lead {
  margin: 0 0 4px;
  color: var(--fy-ink, #0f172a);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.fyds-empty-cta__btn,
body.fyds-woo-app .fyds-empty-find,
body.fyds-woo-app .return-to-shop .button,
body.fyds-woo-app .fy-cart-empty__actions .fy-cart-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--fy-pink, #e45c9c), var(--fy-pink-deep, #d34c8b)) !important;
  box-shadow: 0 10px 22px rgba(228, 92, 156, 0.22);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-decoration: none !important;
}

.fyds-empty-cta__btn--ghost,
body.fyds-woo-app .fy-cart-empty__actions .fy-cart-btn:not(.fyds-empty-find):not(.fy-cart-btn--primary) {
  color: var(--fy-ink, #0f172a) !important;
  background: var(--fy-blush, #fff7fb) !important;
  box-shadow: none;
}

body.fyds-woo-empty .cart-empty,
body.fyds-woo-empty .return-to-shop,
body.fyds-woo-empty .wc-empty-cart-message {
  display: none !important;
}

body.fyds-woo-app.woocommerce-cart h1,
body.fyds-woo-app.woocommerce-checkout h1 {
  max-width: 18ch;
  padding-top: 8px;
}

body.fyds-woo-empty .fyds-empty-cta {
  position: relative;
  z-index: 2;
  margin-top: 12px;
}

body.fyds-woo-empty .fy-glow {
  display: block !important;
}

.fyds-recap,
.fyds-next-trip {
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid var(--fy-border, #eef2f7);
  border-radius: 24px;
  background: #fff;
}

.fyds-recap__title,
.fyds-next-trip__kicker {
  margin: 0 0 10px;
  color: var(--fy-pink, #e45c9c);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fyds-recap__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.fyds-recap__row + .fyds-recap__row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--fy-border, #eef2f7);
}

.fyds-recap__copy strong,
.fyds-next-trip strong {
  display: block;
  color: var(--fy-ink, #0f172a);
  font-size: 16px;
}

.fyds-recap__copy small,
.fyds-next-trip span {
  display: block;
  margin-top: 4px;
  color: var(--fy-slate, #475569);
  font-size: 13px;
  font-weight: 600;
}

.fyds-recap__amt {
  flex: 0 0 auto;
  color: var(--fy-ink, #0f172a);
  font-weight: 800;
}

.fyds-trust {
  margin: 12px 0 0;
  color: var(--fy-slate, #475569);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.fyds-next-trip {
  display: block;
  text-decoration: none !important;
}

body.fyds-woo-app .woocommerce-form-coupon-toggle .woocommerce-info,
body.fyds-woo-app .woocommerce-form-login-toggle .woocommerce-info {
  margin: 0 0 12px !important;
  padding: 12px 16px !important;
  background: var(--fy-blush, #fff7fb) !important;
}

body.fyds-woo-app form.checkout_coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 12px !important;
  border: 1px solid var(--fy-border, #eef2f7) !important;
  border-radius: 16px;
}

body.fyds-woo-app form.checkout_coupon .form-row {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.fyds-woo-app form.checkout_coupon .form-row-first {
  flex: 1 1 160px;
}

body.fyds-woo-app form.checkout_coupon .button,
body.fyds-woo-app.woocommerce-account button[name="login"],
body.fyds-woo-app.woocommerce-account button[name="register"],
body.fyds-woo-app.woocommerce-account button[name="save_account_details"],
body.fyds-woo-app.woocommerce-account button[name="save_address"],
body.fyds-woo-app.woocommerce-account .woocommerce-form-login__submit,
body.fyds-woo-app.woocommerce-account .woocommerce-form-register__submit,
body.fyds-woo-app.woocommerce-account .woocommerce-ResetPassword button {
  width: 100%;
  min-height: 52px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--fy-pink, #e45c9c), var(--fy-pink-deep, #d34c8b)) !important;
  font-weight: 800 !important;
}

body.fyds-woo-app.woocommerce-account form.woocommerce-form-login,
body.fyds-woo-app.woocommerce-account form.woocommerce-form-register,
body.fyds-woo-app.woocommerce-account form.lost_reset_password,
body.fyds-woo-app.woocommerce-account form.woocommerce-ResetPassword {
  max-width: 440px;
  margin: 0 auto 20px;
  padding: 20px;
  border: 1px solid var(--fy-border, #eef2f7);
  border-radius: 24px;
  background: #fff;
}

body.fyds-woo-app.woocommerce-account .u-columns.col2-set,
body.fyds-woo-app.woocommerce-account .u-column1,
body.fyds-woo-app.woocommerce-account .u-column2 {
  width: 100% !important;
  float: none !important;
  margin: 0 0 16px !important;
}

body.fyds-woo-app .woocommerce-MyAccount-navigation {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 0 16px !important;
}

body.fyds-woo-app .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
}

body.fyds-woo-app .woocommerce-MyAccount-navigation li {
  flex: 0 0 auto;
  margin: 0;
  list-style: none;
}

body.fyds-woo-app .woocommerce-MyAccount-navigation li a {
  display: block;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--fy-blush, #fff7fb);
  color: var(--fy-ink, #0f172a);
  font-weight: 800;
  font-size: 14px;
  line-height: 24px;
  text-decoration: none;
}

body.fyds-woo-app .woocommerce-MyAccount-navigation li.is-active a {
  color: #fff;
  background: linear-gradient(135deg, var(--fy-pink, #e45c9c), var(--fy-pink-deep, #d34c8b));
}

body.fyds-woo-app .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce-MyAccount-content {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-sizing: border-box;
}

body.fyds-woo-app .wc-block-components-checkout-order-summary__content {
  display: block !important;
}

@media (max-width: 899px) {
  body.fyds-woo-app .woocommerce-orders-table thead,
  body.fyds-woo-app .woocommerce-MyAccount-content table.woocommerce-orders-table thead {
    display: none !important;
  }

  body.fyds-woo-app .woocommerce-orders-table,
  body.fyds-woo-app .woocommerce-orders-table tbody,
  body.fyds-woo-app .woocommerce-MyAccount-content table.woocommerce-orders-table {
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
  }

  body.fyds-woo-app .woocommerce-orders-table tbody tr {
    display: block !important;
    margin: 0 0 12px;
    padding: 14px;
    border: 1px solid var(--fy-border, #eef2f7);
    border-radius: 20px;
    background: var(--fy-blush, #fff7fb);
  }

  body.fyds-woo-app .woocommerce-orders-table tbody td {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
    padding: 6px 0 !important;
    border: 0 !important;
  }

  body.fyds-woo-app .woocommerce-orders-table tbody td::before {
    content: attr(data-title);
    color: var(--fy-slate, #475569);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
  }
}

@media (min-width: 900px) {
  body.fyds-woo-app .woocommerce-orders-table,
  body.fyds-woo-app .woocommerce-MyAccount-content table {
    display: block !important;
    overflow-x: auto !important;
  }

  body.fyds-woo-app.woocommerce-checkout form.checkout,
  body.fyds-woo-app.woocommerce-checkout form.woocommerce-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
    gap: 24px;
    align-items: start;
  }

  body.fyds-woo-app.woocommerce-checkout #customer_details {
    grid-column: 1;
    width: 100% !important;
    float: none !important;
  }

  body.fyds-woo-app.woocommerce-checkout .fyds-pay-col {
    grid-column: 2;
    position: sticky;
    top: 88px;
  }

  body.fyds-woo-app.single-product .fy-pay-summary {
    position: sticky;
    top: 96px;
    z-index: 4;
  }
}

.fyds-extras-toggle {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0 0 12px;
  padding: 12px 16px;
  border: 1px solid var(--fy-border, #eef2f7);
  border-radius: 999px;
  background: var(--fy-blush, #fff7fb);
  color: var(--fy-ink, #0f172a);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
}

.fyds-extras-closed .fy-addon {
  display: none !important;
}

body.fyds-has-stick {
  padding-bottom: 92px;
}

body.fyds-dock-on.fyds-has-stick {
  padding-bottom: calc(var(--fyds-dock-stack, 72px) + var(--fyds-stick-h, 68px) + 24px);
}

body.single-product.fyds-has-stick.fyds-has-float,
body.single-product.fyds-has-stick.fyds-has-contact {
  padding-bottom: calc(var(--fyds-dock-stack, 72px) + var(--fyds-stick-h, 68px) + 24px) !important;
}

.fyds-stick {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10070;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(238, 242, 247, 0.95);
  background: rgba(255, 247, 251, 0.96);
  box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transform: translateY(120%);
  transition: transform 0.24s ease;
}

.fyds-stick.fyds-stick--on {
  transform: translateY(0);
}

.fyds-stick__meta {
  flex: 1;
  color: var(--fy-ink, #0f172a);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
}

.fyds-stick__meta small {
  display: block;
  color: var(--fy-slate, #475569);
  font-size: 11px;
  font-weight: 700;
}

.fyds-stick__btn {
  min-height: 50px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--fy-pink, #e45c9c), var(--fy-pink-deep, #d34c8b));
  box-shadow: 0 10px 22px rgba(228, 92, 156, 0.28);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.fyds-stick__btn:disabled {
  opacity: 0.55;
}

body.fyds-mobile-open .fyds-stick,
body.fyds-express-on .fyds-stick {
  display: none;
}

body.fyds-express-on.fyds-has-stick {
  padding-bottom: 0;
}

/* Cart keeps the FYDS sticky as the visible Proceed control.
   Checkout must NOT hide native Place Order — the stick is a second
   control, never a replacement. Suite may also force display:block. */
body.fyds-has-stick.woocommerce-cart .wc-proceed-to-checkout,
body.fyds-has-stick.woocommerce-cart .checkout-button,
body.fyds-has-stick.woocommerce-cart .wc-block-cart__submit-container {
  display: none !important;
}

/* Cart: GHL chat-widget is bottom-right at z-index 2147483000. Lift the
   checkout stick so they do not share a row. Do not hide the chat plugin. */
body.woocommerce-cart {
  --fyds-chat-fab: 76px;
}

body.woocommerce-cart.fyds-has-stick {
  padding-bottom: calc(var(--fyds-stick-h, 96px) + var(--fyds-chat-fab, 76px) + 20px + env(safe-area-inset-bottom, 0px));
}

body.woocommerce-cart .fyds-stick,
body.woocommerce-cart .fyds-stick.fyds-stick--cart {
  left: 0;
  right: 0;
  bottom: calc(var(--fyds-chat-fab, 76px) + 12px + env(safe-area-inset-bottom, 0px));
  padding: 12px 16px;
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

/* Phone: the two stick children — cart-total meta + Proceed — each 100% wide, one row each. */
@media (max-width: 899px) {
  body.woocommerce-cart .fyds-stick,
  body.woocommerce-cart .fyds-stick.fyds-stick--cart {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  body.woocommerce-cart .fyds-stick__meta,
  body.woocommerce-cart .fyds-stick__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    box-sizing: border-box;
    min-height: 44px;
    padding: 12px 20px;
    border-radius: 999px;
    white-space: nowrap;
  }

  body.woocommerce-cart .fyds-stick__meta {
    border: 1px solid var(--fy-border, #eef2f7);
    background: #fff;
    color: var(--fy-ink, #0f172a);
    text-align: center;
  }

  body.woocommerce-cart .fyds-stick__meta small {
    margin-left: 6px;
    display: inline;
  }

  body.woocommerce-cart .fyds-stick__btn {
    overflow: visible;
    text-overflow: clip;
  }
}

@media (min-width: 900px) {
  body.woocommerce-cart .fyds-stick,
  body.woocommerce-cart .fyds-stick.fyds-stick--cart {
    flex-direction: row;
    align-items: center;
    padding-right: calc(16px + env(safe-area-inset-right, 0px));
  }

  body.woocommerce-cart .fyds-stick__meta {
    flex: 1;
  }

  body.woocommerce-cart .fyds-stick__btn {
    width: auto;
    min-width: 12.5em;
    min-height: 44px;
    white-space: nowrap;
  }
}

/* Cart totals: wallets only. Pay step is not these selectors. */
body.woocommerce-cart .wp-block-woocommerce-cart-express-payment-block,
body.woocommerce-cart .wc-block-components-express-payment,
body.woocommerce-cart .wc-block-components-express-payment--cart,
body.woocommerce-cart .wc-block-cart-express-payment,
body.woocommerce-cart #wc-stripe-express-checkout-element,
body.woocommerce-cart .wc-stripe-express-checkout-element,
body.woocommerce-cart .stripe-express-checkout-element,
body.woocommerce-cart .wc-stripe-payment-request-wrapper,
body.woocommerce-cart .wc-stripe-payment-request-button-wrapper,
body.woocommerce-cart #wc-stripe-payment-request-wrapper,
body.woocommerce-cart .wc-stripe-payment-request-button-separator,
body.woocommerce-cart apple-pay-button,
body.woocommerce-cart .gpay-card-info-container,
body.woocommerce-cart .gpay-card-info-container-fill,
body.woocommerce-cart .gpay-button,
body.woocommerce-cart #amazon-pay-button,
body.woocommerce-cart .amazonpay-button,
body.woocommerce-cart .amazon-pay-button,
body.woocommerce-cart .wc-amazon-payments-advanced,
body.woocommerce-cart .wcpay-express-checkout,
body.woocommerce-cart [data-block-name="woocommerce/cart-express-payment-block"] {
  display: none !important;
}

html.fyds-lite-effects .fyds-stick,
.fyds-lite-effects .fyds-stick,
html.fyds-save-data .fyds-stick {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: #fff7fb;
}

@media (max-width: 899px) {
  body.fyds-has-stick.single-product .single_add_to_cart_button {
    display: none !important;
  }
}

body.fyds-woo-app .woocommerce-MyAccount-content:has(.fyds-next-trip) .woocommerce-orders-table {
  display: none !important;
}

@media (min-width: 900px) {
  body.fyds-woo-app.single-product .fyds-stick {
    display: none;
  }

  body.fyds-woo-app.single-product.fyds-has-stick {
    padding-bottom: 0;
  }
}

/* Product, cart, checkout: type follows the screen. Nothing bleeds off. */
body.single-product,
body.woocommerce-cart,
body.woocommerce-checkout,
body.fy-app-mode.woocommerce-cart,
body.fy-app-mode.woocommerce-checkout,
body.fy-app-mode.single-product {
  overflow-x: clip;
}

body.single-product .woocommerce,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.single-product div.product,
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart_totals,
body.woocommerce-checkout form.checkout,
body.fy-app-mode.woocommerce-cart .woocommerce,
body.fy-app-mode.woocommerce-checkout .woocommerce {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.woocommerce-cart table.shop_table,
body.woocommerce-checkout table.shop_table,
body.fy-app-mode.woocommerce-cart table.shop_table,
body.fy-app-mode.woocommerce-checkout table.shop_table {
  table-layout: fixed;
  width: 100% !important;
  max-width: 100% !important;
}

body.woocommerce-cart .cart_item,
body.woocommerce-cart .cart_item td,
body.woocommerce-cart .cart_item th,
body.woocommerce-cart .product-name,
body.woocommerce-cart .product-price,
body.woocommerce-cart .product-subtotal,
body.woocommerce-cart .variation,
body.woocommerce-checkout .shop_table td,
body.woocommerce-checkout .shop_table th,
body.fy-app-mode.woocommerce-cart .cart_item,
body.fy-app-mode.woocommerce-cart .product-name,
body.fy-app-mode.woocommerce-cart .product-price,
body.fy-app-mode.woocommerce-cart .variation {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-sizing: border-box;
}

@media (max-width: 899px) {
  body.single-product h1,
  body.woocommerce-cart h1,
  body.woocommerce-checkout h1,
  body.single-product .entry-title,
  body.woocommerce-cart .entry-title,
  body.woocommerce-checkout .entry-title {
    font-size: clamp(22px, 6.2vw, 32px) !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
    max-width: 100%;
  }

  body.single-product h2,
  body.woocommerce-cart h2,
  body.woocommerce-checkout h2,
  body.single-product .h2,
  body.woocommerce-cart .h2 {
    font-size: clamp(18px, 5vw, 26px) !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
    max-width: 100%;
  }

  body.single-product h3,
  body.woocommerce-cart h3,
  body.woocommerce-checkout h3 {
    font-size: clamp(16px, 4.4vw, 22px) !important;
    line-height: 1.25 !important;
  }

  body.woocommerce-cart .variation,
  body.woocommerce-checkout .variation,
  body.fy-app-mode.woocommerce-cart .variation {
    display: block !important;
    margin: 4px 0 0 !important;
  }

  body.woocommerce-cart .variation dt,
  body.woocommerce-cart .variation dd,
  body.woocommerce-cart .variation p,
  body.woocommerce-checkout .variation dt,
  body.woocommerce-checkout .variation dd,
  body.woocommerce-checkout .variation p,
  body.fy-app-mode.woocommerce-cart .variation dt,
  body.fy-app-mode.woocommerce-cart .variation dd,
  body.fy-app-mode.woocommerce-cart .variation p {
    display: inline !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(12px, 3.5vw, 14px) !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    overflow-wrap: anywhere;
  }

  body.woocommerce-cart .variation dd::after,
  body.woocommerce-checkout .variation dd::after,
  body.fy-app-mode.woocommerce-cart .variation dd::after {
    content: " ";
  }

  body.woocommerce-cart .product-name,
  body.woocommerce-cart .product-price,
  body.woocommerce-cart .product-subtotal,
  body.woocommerce-cart .amount,
  body.woocommerce-checkout .amount,
  body.fy-app-mode.woocommerce-cart .product-name,
  body.fy-app-mode.woocommerce-cart .product-price,
  body.fy-app-mode.woocommerce-cart .amount {
    font-size: clamp(13px, 3.8vw, 16px) !important;
    overflow-wrap: anywhere;
  }

  body.woocommerce-cart table.shop_table thead,
  body.fy-app-mode.woocommerce-cart table.shop_table thead {
    display: none !important;
  }

  body.woocommerce-cart table.shop_table,
  body.woocommerce-cart table.shop_table tbody,
  body.woocommerce-cart table.shop_table tr.cart_item,
  body.fy-app-mode.woocommerce-cart table.shop_table,
  body.fy-app-mode.woocommerce-cart table.shop_table tbody,
  body.fy-app-mode.woocommerce-cart table.shop_table tr.cart_item {
    display: block !important;
    width: 100% !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item,
  body.fy-app-mode.woocommerce-cart table.shop_table tr.cart_item {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px 12px;
    align-items: start;
    padding: 10px 0 !important;
    margin: 0 0 8px;
  }

  body.woocommerce-cart table.shop_table .product-thumbnail,
  body.fy-app-mode.woocommerce-cart table.shop_table .product-thumbnail {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 72px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body.woocommerce-cart table.shop_table .product-thumbnail img,
  body.fy-app-mode.woocommerce-cart table.shop_table .product-thumbnail img {
    width: 72px !important;
    height: 72px !important;
    object-fit: cover;
    border-radius: 12px;
  }

  body.woocommerce-cart table.shop_table .product-name,
  body.fy-app-mode.woocommerce-cart table.shop_table .product-name {
    display: block !important;
    grid-column: 2;
    grid-row: 1;
    width: auto !important;
    max-width: 100%;
    padding: 0 !important;
    border: 0 !important;
  }

  body.woocommerce-cart table.shop_table .product-price,
  body.fy-app-mode.woocommerce-cart table.shop_table .product-price {
    display: block !important;
    grid-column: 2;
    grid-row: 2;
    width: auto !important;
    max-width: 100%;
    padding: 0 !important;
    border: 0 !important;
  }

  body.woocommerce-cart table.shop_table .product-subtotal,
  body.fy-app-mode.woocommerce-cart table.shop_table .product-subtotal {
    display: block !important;
    grid-column: 2;
    grid-row: 3;
    width: auto !important;
    max-width: 100%;
    padding: 0 !important;
    border: 0 !important;
  }

  body.woocommerce-cart table.shop_table .product-quantity,
  body.fy-app-mode.woocommerce-cart table.shop_table .product-quantity {
    display: none !important;
  }

  body.fyds-woo-app.woocommerce-cart table.shop_table .product-remove,
  body.woocommerce-cart table.shop_table .product-remove,
  body.fy-app-mode.woocommerce-cart table.shop_table .product-remove {
    display: flex !important;
    grid-column: 2;
    grid-row: 4;
    justify-content: flex-start;
    align-items: center;
    width: auto !important;
    max-width: 100%;
    padding: 8px 0 0 !important;
    border: 0 !important;
    white-space: normal;
  }

  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout .woocommerce,
  body.fyds-woo-app.woocommerce-cart .woocommerce,
  body.fyds-woo-app.woocommerce-checkout .woocommerce {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart_totals,
  body.woocommerce-checkout .woocommerce-checkout-review-order,
  body.fyds-woo-app .woocommerce-cart-form,
  body.fyds-woo-app .cart_totals {
    padding: 12px !important;
  }
}

/* Login / register hub: keep Register + Log In visible, center the actions,
   and make Google an obvious second path. */
body.woocommerce-account .fy-login-hub {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  width: 100%;
  max-width: min(1100px, calc(100% - 24px));
  margin: 24px auto 48px;
  padding: 24px 20px 28px;
  border-radius: 28px;
  background: #fff;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  body.woocommerce-account .fy-login-hub {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
    max-width: min(1460px, calc(100% - 48px));
    gap: 40px;
    padding: 40px;
    align-items: start;
  }
}

body.woocommerce-account .fy-login-panel {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

body.woocommerce-account .fy-login-tabs {
  display: flex !important;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 20px;
}

body.woocommerce-account .fy-login-tabs br {
  display: none !important;
}

body.woocommerce-account .fy-login-tab[data-fy-show],
body.woocommerce-account .fy-login-hub .fy-login-tab {
  flex: 1 1 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 48px !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  border: 1px solid var(--fy-pink, #e45c9c) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--fy-ink, #0f172a) !important;
  box-shadow: none !important;
  font-weight: 800 !important;
  text-align: center;
  transform: none !important;
}

body.woocommerce-account .fy-login-tab.is-active {
  color: #fff !important;
  background: linear-gradient(135deg, var(--fy-pink, #e45c9c), var(--fy-pink-deep, #d34c8b)) !important;
  border-color: transparent !important;
}

body.woocommerce-account .fy-login-hub.is-login .fy-login-hero__title--register,
body.woocommerce-account .fy-login-hub.is-login .fy-login-hero__lead--register,
body.woocommerce-account .fy-login-hub.is-register .fy-login-hero__title--login,
body.woocommerce-account .fy-login-hub.is-register .fy-login-hero__lead--login,
body.woocommerce-account .fy-login-col > h2,
body.woocommerce-account .fy-register-col > h2 {
  display: none !important;
}

body.woocommerce-account .fy-login-hub.is-register .fy-login-col,
body.woocommerce-account .fy-login-hub:not(.is-login) .fy-login-col {
  display: none !important;
}

body.woocommerce-account .fy-login-hub.is-login .fy-register-col,
body.woocommerce-account .fy-login-hub:not(.is-register) .fy-register-col {
  display: none !important;
}

body.woocommerce-account .fy-login-hub.is-login .fy-login-col,
body.woocommerce-account .fy-login-hub.is-register .fy-register-col {
  display: block !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

body.woocommerce-account .fy-login-hub form.woocommerce-form-login,
body.woocommerce-account .fy-login-hub form.woocommerce-form-register {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.woocommerce-account .fy-login-hub .nsl-separator {
  display: none !important;
}

body.woocommerce-account .fyds-social-or {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 18px 0 14px;
  color: var(--fy-slate, #475569);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

body.woocommerce-account .fyds-social-or::before,
body.woocommerce-account .fyds-social-or::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--fy-border, #eef2f7);
}

body.woocommerce-account .fy-login-hub .nsl-container,
body.woocommerce-account .fy-login-hub [id^="nsl-custom-login-form"] .nsl-container {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
}

body.woocommerce-account .fy-login-hub .nsl-container-buttons,
body.woocommerce-account .fy-login-hub .nsl-container[data-align="left"] {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
}

body.woocommerce-account .fy-login-hub a[data-plugin="nsl"],
body.woocommerce-account .fy-login-hub .nsl-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: none !important;
  min-height: 52px;
  margin: 0 !important;
  border-radius: 999px !important;
  box-sizing: border-box;
}

body.woocommerce-account .fy-login-hub .nsl-button-label-container {
  text-align: center !important;
  word-break: normal !important;
}

body.woocommerce-account .password-input {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  min-height: 48px !important;
  height: auto !important;
  overflow: visible !important;
}

body.woocommerce-account .password-input input[type="password"],
body.woocommerce-account .password-input input[type="text"] {
  min-height: 48px !important;
  height: 48px !important;
  padding-right: 48px !important;
  border: 1px solid var(--fy-border, #eef2f7) !important;
  background: #fff !important;
}

body.woocommerce-account .show-password-input {
  position: absolute !important;
  top: 50% !important;
  right: 8px !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(-50%) !important;
}
