/* =========================================================================================================
   My account (/my-account/, inc/account.php). No Figma frame: the checkout's cards, fields and notices
   (checkout.css) and the confirmation table (.ftl-conf-table). Logged out: log in | booked as a guest.
   Logged in: menu 300 | gap 48 | content.
   ========================================================================================================= */

.elementor-widget-shortcode:has(> .elementor-shortcode > .ftl-acc) { width: 100%; }
.ftl-acc {
	width: 100%; font-family: var(--ftl-font-body); color: var(--ftl-navy);
	/* Eye for "show password" (Phosphor eye outline). */
	--ftl-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128 56C48 56 16 128 16 128s32 72 112 72 112-72 112-72-32-72-112-72Z' fill='none' stroke='%23000' stroke-width='16' stroke-linejoin='round'/%3E%3Ccircle cx='128' cy='128' r='40' fill='none' stroke='%23000' stroke-width='16'/%3E%3C/svg%3E");
}
.ftl-acc .woocommerce { width: 100%; }

/* ---------- Cards ---------- */
.ftl-acc__card { display: flex; flex-direction: column; gap: 22px; min-width: 0; padding: 32px; border: 1.5px solid #DDE5EC; border-radius: 28px; background: #fff; }
.ftl-acc__head { display: flex; align-items: flex-start; gap: 16px; }
.ftl-acc .ftl-acc__title { margin: 4px 0 0; padding-right: .06em; font-family: var(--ftl-font-display); font-style: italic; font-weight: 800; font-size: 24px; line-height: 30px; letter-spacing: 0; color: var(--ftl-navy); }
.ftl-acc__text { margin: 6px 0 0; font-size: 16px; line-height: 25px; color: #4A5B78; }
.ftl-acc a:not([class]) { font-weight: 600; color: var(--ftl-green); }

.ftl-acc .ftl-acc__btn, .ftl-acc .woocommerce-Button, .ftl-acc .woocommerce-button, .ftl-acc button.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; margin: 0; padding: 15px 26px;
	border: 0; border-radius: 999px; background: linear-gradient(90deg, #FF7A00 0%, #FFA300 100%); box-shadow: 0 12px 28px rgba(255, 122, 0, .24);
	font-family: var(--ftl-font-body); font-weight: 700; font-size: 16px; line-height: 20px; color: var(--ftl-navy); text-decoration: none; cursor: pointer;
	transition: transform .2s var(--ftl-ease), box-shadow .2s ease, border-color .2s ease;
}
.ftl-acc .ftl-acc__btn:hover, .ftl-acc .woocommerce-Button:hover, .ftl-acc .woocommerce-button:hover, .ftl-acc button.button:hover { transform: translateY(-1px); color: var(--ftl-navy); }
.ftl-acc .ftl-acc__btn svg { width: 18px; height: 18px; }
.ftl-acc .ftl-acc__btn--line { border: 1.5px solid #DDE5EC; background: #fff; box-shadow: none; }
.ftl-acc .ftl-acc__btn--line:hover { border-color: var(--ftl-navy); }
.ftl-acc .ftl-acc__btn:focus-visible, .ftl-acc .woocommerce-Button:focus-visible, .ftl-acc button.button:focus-visible, .ftl-acc a:focus-visible { outline: 3px solid var(--ftl-sky); outline-offset: 3px; }
.ftl-acc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.ftl-acc .ftl-acc__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; line-height: 20px; color: var(--ftl-green); text-decoration: none; }
.ftl-acc .ftl-acc__link:hover { text-decoration: underline; }
.ftl-acc .ftl-acc__link svg { width: 16px; height: 16px; }
.ftl-acc__hint { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; line-height: 22px; color: #4A5B78; }
.ftl-acc__hint svg { width: 18px; height: 18px; flex: 0 0 18px; color: #C75400; }

/* ---------- Logged out: log in | booked as a guest ---------- */
.ftl-acc__grid { display: grid; grid-template-columns: minmax(0, 640fr) minmax(0, 520fr); align-items: start; gap: 32px 48px; }
.ftl-acc__grid > .woocommerce-error, .ftl-acc__grid > .woocommerce-message, .ftl-acc__grid > .woocommerce-info { grid-column: 1 / -1; }
.ftl-acc__login > h2 { display: none; } /* WooCommerce's own "Login" heading: the card has its own */
.ftl-acc form.woocommerce-form-login, .ftl-acc form.woocommerce-ResetPassword { display: flex; flex-direction: column; gap: 22px; margin: 0; padding: 0; border: 0; }
.ftl-acc .woocommerce-ResetPassword > p:first-child { margin: 0; font-size: 16px; line-height: 25px; color: #4A5B78; }
.ftl-acc .form-row { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; float: none; width: auto; min-width: 0; }
.ftl-acc .form-row > label { display: block; margin: 0; padding: 0; font-weight: 700; font-size: 14px; line-height: 17px; color: var(--ftl-navy); }
.ftl-acc .form-row .required { margin-left: 2px; border: 0; font-weight: 600; text-decoration: none; color: #C75400; }
.ftl-acc .input-text, .ftl-acc input[type="password"], .ftl-acc input[type="email"], .ftl-acc input[type="text"] {
	box-sizing: border-box; display: block; width: 100%; height: 52px; margin: 0; padding: 15px 16px;
	border: 1.5px solid #DDE5EC; border-radius: 14px; background: #fff; box-shadow: none;
	font-family: var(--ftl-font-body); font-weight: 500; font-size: 16px; line-height: 20px; color: var(--ftl-navy);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.ftl-acc .input-text:focus, .ftl-acc input:focus { border-color: var(--ftl-sky); box-shadow: 0 0 0 4px rgba(10, 175, 241, .18); outline: none; }
.ftl-acc .password-input { position: relative; display: block; }
.ftl-acc .show-password-input { position: absolute; top: 50%; right: 12px; width: 30px; height: 30px; margin: -15px 0 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.ftl-acc .show-password-input::before { content: ""; display: block; width: 20px; height: 20px; margin: 5px; background: #8796AD; -webkit-mask: var(--ftl-eye) center / contain no-repeat; mask: var(--ftl-eye) center / contain no-repeat; }
.ftl-acc .show-password-input.display-password::before { background: var(--ftl-sky); }
.ftl-acc .woocommerce-form-login > .form-row:not(.form-row-wide) { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ftl-acc .form-row > label.woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; font-size: 15px; line-height: 20px; color: var(--ftl-navy); cursor: pointer; }
.ftl-acc input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--ftl-green); }
.ftl-acc .woocommerce-form-login__submit { order: 2; }
.ftl-acc .lost_password { margin: -6px 0 0; font-size: 15px; line-height: 20px; }
.ftl-acc .lost_password a { font-weight: 600; color: var(--ftl-green); }
.ftl-acc .clear { display: none; }
.ftl-acc .woocommerce-ResetPassword button.button { align-self: flex-start; }
.ftl-acc .woocommerce-ResetPassword .form-row:has(> button) { align-items: flex-start; }

.ftl-acc__guest { background: #FFFBF0; border-color: #FBE6B5; }
.ftl-acc__list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ftl-acc__list li { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-weight: 500; font-size: 16px; line-height: 24px; color: var(--ftl-navy); }
.ftl-acc__list svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; color: #C75400; }

/* Notices (checkout.css styles them inside .ftl-co-wrap only). A notice with a button: text left, button right. */
.ftl-acc .woocommerce-error, .ftl-acc .woocommerce-message, .ftl-acc .woocommerce-info {
	display: flex; flex-direction: column; gap: 4px; margin: 0 0 24px; padding: 16px 20px; border-radius: 16px; list-style: none;
	font-weight: 600; font-size: 15px; line-height: 22px;
}
.ftl-acc .woocommerce-error { border: 1.5px solid #F5C2B4; background: #FFF3EF; color: #8A2A0A; }
.ftl-acc .woocommerce-message, .ftl-acc .woocommerce-info { border: 1.5px solid #BFE5F6; background: #E1F4FD; color: var(--ftl-navy); }
.ftl-acc .woocommerce-error li { margin: 0; }
.ftl-acc .woocommerce-error a, .ftl-acc .woocommerce-message a, .ftl-acc .woocommerce-info a { color: inherit; font-weight: 700; }
/* Plain text flow (a flex row splits text around <strong> into separate pieces); WooCommerce prints the button first, so it floats right. */
.ftl-acc .woocommerce-info, .ftl-acc .woocommerce-message { display: flow-root; }
.ftl-acc .woocommerce-info a.button, .ftl-acc .woocommerce-message a.button { float: right; margin: -9px 0 -9px 20px; display: inline-flex; align-items: center; min-height: 40px; padding: 10px 18px; border: 1.5px solid #BFE5F6; border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; line-height: 18px; color: var(--ftl-navy); text-decoration: none; }
.ftl-acc .woocommerce-info a.button:hover, .ftl-acc .woocommerce-message a.button:hover { border-color: var(--ftl-navy); }
@media (max-width: 600px) { /* Phones: the button sits under the text. */
	.ftl-acc .woocommerce-info:has(> a.button), .ftl-acc .woocommerce-message:has(> a.button) { position: relative; padding-bottom: 72px; }
	.ftl-acc .woocommerce-info > a.button, .ftl-acc .woocommerce-message > a.button { float: none; position: absolute; left: 20px; bottom: 16px; margin: 0; }
}

/* A payment's booking box (WooCommerce Bookings). */
.ftl-acc .wc-booking-summary { margin: 10px 0 0 !important; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1.5px solid #DDE5EC; }
.ftl-acc .wc-booking-summary-number { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 14px; color: #4A5B78; }
.ftl-acc .wc-booking-summary .wc-booking-summary-number span { float: none; margin: 0; padding: 4px 10px; border-radius: 999px; background: #E8F5DF !important; font-weight: 700; font-size: 12px; line-height: 14px; color: var(--ftl-green) !important; }
.ftl-acc .wc-booking-summary .wc-booking-summary-number .status-cancelled { background: #EEF2F6 !important; color: #4A5B78 !important; }
.ftl-acc .wc-booking-summary-list { margin: 8px 0 0; padding: 0; list-style: none; font-weight: 700; font-size: 15px; color: var(--ftl-navy); }
.ftl-acc .woocommerce-order-details { display: flex; flex-direction: column; gap: 12px; }
.ftl-acc .woocommerce-order-details__title { margin: 0; }

/* ---------- Logged in: menu | content ---------- */
.ftl-acc--in > .woocommerce { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; gap: 32px 48px; }
.ftl-acc__side { position: sticky; top: 132px; display: flex; flex-direction: column; gap: 18px; padding: 22px; border-radius: 24px; background: #F3F7F2; }
.ftl-acc__who { display: flex; align-items: center; gap: 12px; padding: 0 2px; }
.ftl-acc__who .ftl-tone-chip { width: 44px; height: 44px; flex-basis: 44px; background: #fff; }
.ftl-acc__who .ftl-tone-chip svg { width: 22px; height: 22px; }
.ftl-acc__who-label { margin: 0; font-weight: 600; font-size: 13px; line-height: 16px; color: #4A5B78; }
.ftl-acc__who-name { margin: 2px 0 0; font-weight: 800; font-size: 16px; line-height: 20px; color: var(--ftl-navy); overflow-wrap: anywhere; }
.ftl-acc .woocommerce-MyAccount-navigation { float: none; width: auto; }
.ftl-acc .woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ftl-acc .woocommerce-MyAccount-navigation li { margin: 0; }
.ftl-acc .woocommerce-MyAccount-navigation a {
	display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
	font-weight: 600; font-size: 16px; line-height: 20px; color: var(--ftl-navy); text-decoration: none; transition: background-color .15s ease;
}
.ftl-acc .woocommerce-MyAccount-navigation a::before {
	content: ""; width: 20px; height: 20px; flex: 0 0 20px; background: #4A5B78;
	-webkit-mask: var(--ftl-ico) center / contain no-repeat; mask: var(--ftl-ico) center / contain no-repeat;
}
.ftl-acc .woocommerce-MyAccount-navigation a:hover { background: #fff; }
.ftl-acc .woocommerce-MyAccount-navigation .is-active a { background: #fff; font-weight: 800; color: var(--ftl-green); box-shadow: 0 6px 18px rgba(5, 36, 89, .06); }
.ftl-acc .woocommerce-MyAccount-navigation .is-active a::before { background: var(--ftl-green); }
.ftl-acc .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px; padding-top: 6px; border-top: 1px solid #DDE5EC; }
.ftl-ico-house-line { --ftl-ico: url("../icons/phosphor/house-line.svg"); }
.ftl-ico-calendar-blank { --ftl-ico: url("../icons/phosphor/calendar-blank.svg"); }
.ftl-ico-receipt { --ftl-ico: url("../icons/phosphor/receipt.svg"); }
.ftl-ico-user-circle { --ftl-ico: url("../icons/phosphor/user-circle.svg"); }
.ftl-ico-door-open { --ftl-ico: url("../icons/phosphor/door-open.svg"); }

.ftl-acc .woocommerce-MyAccount-content { float: none; width: auto; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ftl-acc .woocommerce-MyAccount-content > * { margin-top: 0; margin-bottom: 0; }
.ftl-acc__section-head { display: flex; flex-direction: column; gap: 0; order: -1; } /* above WooCommerce's notices and intro line */
.ftl-acc .ftl-acc__h2 { margin: 0; padding-right: .06em; font-family: var(--ftl-font-display); font-style: italic; font-weight: 900; font-size: 34px; line-height: 40px; letter-spacing: -.3px; color: var(--ftl-navy); }
.ftl-acc__label { margin: 6px 0 -8px; font-family: var(--ftl-font-display); font-weight: 700; font-size: 12px; line-height: 15px; letter-spacing: .14em; text-transform: uppercase; color: #4A5B78; }

/* Visit cards */
.ftl-acc__visits { display: flex; flex-direction: column; gap: 20px; }
.ftl-acc__visit { gap: 20px; }
.ftl-acc__visit.is-featured { border-color: #BFE5F6; box-shadow: 0 18px 40px rgba(5, 36, 89, .07); }
.ftl-acc__visit-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ftl-acc__eyebrow { margin: 0 0 6px; font-weight: 700; font-size: 14px; line-height: 18px; color: #0A7FC0; }
.ftl-acc .ftl-acc__visit-when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; padding-right: .06em; font-family: var(--ftl-font-display); font-style: italic; font-weight: 800; font-size: 26px; line-height: 32px; letter-spacing: 0; color: var(--ftl-navy); }
.ftl-acc__visit-when span { font-family: var(--ftl-font-body); font-style: normal; font-weight: 700; font-size: 17px; line-height: 22px; color: #4A5B78; }
.ftl-acc__pill { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; line-height: 16px; white-space: nowrap; }
.ftl-acc__pill--green { background: #E8F5DF; color: var(--ftl-green); }
.ftl-acc__pill--sun { background: #FFF4D6; color: #C75400; }
.ftl-acc__pill--mist { background: #EEF2F6; color: #4A5B78; }
.ftl-acc__table .ftl-conf-table__row { grid-template-columns: 150px minmax(0, 1fr); min-height: 52px; padding: 14px 22px; }

/* Overview tiles */
.ftl-acc__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ftl-acc__tiles li { margin: 0; }
.ftl-acc .ftl-acc__tile { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; height: 100%; padding: 22px; border: 1.5px solid #DDE5EC; border-radius: 22px; background: #fff; color: var(--ftl-navy); text-decoration: none; transition: border-color .15s ease, transform .2s var(--ftl-ease); }
.ftl-acc .ftl-acc__tile:hover { border-color: var(--ftl-navy); transform: translateY(-2px); }
.ftl-acc__tile .ftl-tone-chip { width: 44px; height: 44px; flex-basis: 44px; }
.ftl-acc__tile .ftl-tone-chip svg { width: 22px; height: 22px; }
.ftl-acc__tile-text { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; }
.ftl-acc__tile-text strong { font-weight: 800; font-size: 17px; line-height: 22px; }
.ftl-acc__tile-text span { font-weight: 500; font-size: 14px; line-height: 20px; color: #4A5B78; }
.ftl-acc__tile > svg { width: 18px; height: 18px; color: var(--ftl-green); }

/* Payments (orders table) and a payment's details */
.ftl-acc .woocommerce-orders-table, .ftl-acc .woocommerce-table--order-details, .ftl-acc .shop_table {
	width: 100%; margin: 0; border: 1.5px solid #DDE5EC; border-collapse: separate; border-spacing: 0; border-radius: 24px; overflow: hidden; background: #fff;
	font-size: 15px; line-height: 22px;
}
.ftl-acc .shop_table th, .ftl-acc .shop_table td { padding: 16px 20px; border: 0; text-align: left; vertical-align: middle; }
.ftl-acc .shop_table thead th { background: var(--ftl-navy); font-family: var(--ftl-font-display); font-weight: 700; font-size: 12px; line-height: 15px; letter-spacing: .14em; text-transform: uppercase; color: #C9D6EE; }
.ftl-acc .shop_table tbody td, .ftl-acc .shop_table tbody th, .ftl-acc .shop_table tfoot td, .ftl-acc .shop_table tfoot th { background: #fff; } /* the theme stripes tables grey */
.ftl-acc .shop_table tbody tr:nth-child(even) td, .ftl-acc .shop_table tbody tr:nth-child(even) th { background: #F3F7F2; }
.ftl-acc .shop_table tbody th, .ftl-acc .shop_table td { font-weight: 600; color: var(--ftl-navy); }
.ftl-acc .shop_table tfoot th, .ftl-acc .shop_table tfoot td { border-top: 1px solid #DDE5EC; font-weight: 700; }
.ftl-acc .shop_table a { font-weight: 700; color: var(--ftl-green); text-decoration: none; }
.ftl-acc .woocommerce-orders-table__cell-order-actions { text-align: right; }
.ftl-acc .woocommerce-orders-table .button { min-height: 38px; padding: 9px 18px; border: 1.5px solid #DDE5EC; background: #fff; box-shadow: none; font-size: 14px; }
.ftl-acc .woocommerce-order-details__title, .ftl-acc .woocommerce-column__title, .ftl-acc .woocommerce-customer-details h2 { margin: 8px 0 12px; font-family: var(--ftl-font-display); font-style: italic; font-weight: 800; font-size: 22px; line-height: 28px; color: var(--ftl-navy); }
.ftl-acc .woocommerce-MyAccount-content > p:first-child, .ftl-acc .woocommerce-MyAccount-content mark { background: transparent; font-weight: 700; color: var(--ftl-navy); }
.ftl-acc .woocommerce-customer-details address { padding: 20px 22px; border: 1.5px solid #DDE5EC; border-radius: 20px; font-style: normal; line-height: 26px; }
.ftl-acc .woocommerce-pagination { display: flex; gap: 12px; }

/* Account details */
.ftl-acc form.woocommerce-EditAccountForm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; margin: 0; padding: 32px; border: 1.5px solid #DDE5EC; border-radius: 28px; background: #fff; }
.ftl-acc .woocommerce-EditAccountForm > *:not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; }
.ftl-acc .woocommerce-EditAccountForm fieldset { display: grid; gap: 18px; margin: 6px 0 0; padding: 22px; border: 1.5px solid #DDE5EC; border-radius: 20px; }
.ftl-acc .woocommerce-EditAccountForm legend { padding: 0 8px; font-weight: 800; font-size: 15px; color: var(--ftl-navy); }
.ftl-acc .woocommerce-EditAccountForm em { display: block; margin-top: 2px; font-style: normal; font-size: 13px; line-height: 18px; color: #4A5B78; }
.ftl-acc .woocommerce-EditAccountForm > p:last-of-type { flex-direction: row; }

@media (max-width: 1024px) {
	.ftl-acc__grid { grid-template-columns: minmax(0, 1fr); }
	.ftl-acc--in > .woocommerce { grid-template-columns: minmax(0, 1fr); }
	.ftl-acc__side { position: static; }
	.ftl-acc .woocommerce-MyAccount-navigation ul { flex-direction: row; flex-wrap: wrap; }
	.ftl-acc .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 0; padding-top: 0; border-top: 0; }
	.ftl-acc__tiles { grid-template-columns: minmax(0, 1fr); }
	.ftl-acc .ftl-acc__tile { flex-direction: row; align-items: center; }
}
@media (max-width: 767px) {
	.ftl-acc__card { gap: 18px; padding: 22px 18px; border-radius: 22px; }
	.ftl-acc__head { gap: 12px; }
	.ftl-acc .ftl-acc__title { font-size: 21px; line-height: 26px; }
	.ftl-acc__text { font-size: 15px; line-height: 23px; }
	.ftl-acc__actions { flex-direction: column; align-items: stretch; }
	.ftl-acc .ftl-acc__h2 { font-size: 28px; line-height: 34px; }
	.ftl-acc__side { padding: 16px; }
	.ftl-acc .woocommerce-MyAccount-navigation ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ftl-acc .woocommerce-MyAccount-navigation a { padding: 10px 12px; font-size: 15px; }
	.ftl-acc__visit-head { flex-direction: column-reverse; align-items: flex-start; gap: 10px; }
	.ftl-acc .ftl-acc__visit-when { font-size: 22px; line-height: 28px; }
	.ftl-acc__table .ftl-conf-table__row { grid-template-columns: minmax(0, 1fr); padding: 12px 16px; }
	.ftl-acc .shop_table thead { display: none; }
	.ftl-acc .shop_table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 8px 0; }
	.ftl-acc .shop_table th, .ftl-acc .shop_table td { display: block; padding: 6px 18px; background: transparent !important; }
	.ftl-acc .shop_table td::before { content: attr(data-title); display: block; font-weight: 600; font-size: 12px; color: #4A5B78; }
	.ftl-acc .shop_table tbody tr:nth-child(even) { background: #F3F7F2; }
	.ftl-acc form.woocommerce-EditAccountForm { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
}
