/* Fadeon design system: shared by MVC, Identity and admin views.
   Component selectors are scoped so existing forms and status colours keep working. */

:root {
  --fd-sun: #ffd21c;
  --fd-paper: #faf8f2;
  --fd-ink: #1d1d1d;
  --fd-muted: #6c716c;
  --fd-line: #e5e3db;
  --fd-heading: var(--fd-sans);
  --fd-sans: 'DM Sans',Arial,sans-serif;
  --fd-yellow: #ffd21c;
  --fd-page: #faf8f2;
  --fd-border: #e5e3db;
}

body.fd-design {
  margin: 0;
  background: var(--fd-paper);
  color: var(--fd-ink);
  font-family: var(--fd-sans);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.fd-design * {
  box-sizing: border-box;
}

.fd-design [hidden] {
  display: none!important;
}

.fd-design button,.fd-design input,.fd-design select,.fd-design textarea {
  font: inherit;
}

.fd-design button,.fd-design summary {
  cursor: pointer;
}

.fd-design a {
  color: inherit;
  text-decoration: none;
}

.fd-design :is(a,button,summary,input,select,textarea):focus-visible {
  outline: 3px solid #9e7a00;
  outline-offset: 4px;
}

.fd-design main:focus {
  outline: none;
}

.fd-design img {
  max-width: 100%;
}

.fd-design p {
  overflow-wrap: break-word;
}

.fd-design .font-\[Roboto\] {
  font-family: var(--fd-sans);
}

.fd-skip {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 2000;
  background: var(--fd-sun);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
}

.fd-skip:focus {
  top: 12px;
}

.fd-announcement {
  min-height: 32px;
  padding: 6px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--fd-ink);
  color: #fff;
  font-size: 11px;
  letter-spacing: .015em;
}

.fd-announcement>i {
  color: var(--fd-sun);
  font-size: 11px;
}

.fd-announcement>a {
  color: var(--fd-sun);
  margin-left: 18px;
  font-size: 10px;
}

.fd-site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid var(--fd-line);
  background: #ffffffef;
  backdrop-filter: blur(16px);
}

.fd-header-inner {
  max-width: 1400px;
  margin: auto;
  min-height: 88px;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fd-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.fd-brand>img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.fd-brand strong {
  display: block;
  font-family: var(--fd-heading);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -1.1px;
  font-weight: 700;
}

.fd-brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2.2px;
  margin-top: 6px;
  font-weight: 600;
}

.fd-brand-dot {
  color: #c59e00;
}

.fd-desktop-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.fd-desktop-links>a {
  position: relative;
  font-size: 12px;
  white-space: nowrap;
  padding: 10px 0;
}

.fd-desktop-links>a:hover {
  color: #8c6b00;
}

.fd-desktop-links>a[aria-current=page]::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fd-sun);
}

.fd-header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.fd-sign-in {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 12px;
}

.fd-design .fd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--fd-sun);
  color: #181b17;
  padding: 12px 22px;
  font-family: var(--fd-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  transition: background .16s,transform .16s;
  box-shadow: none;
}

.fd-design .fd-button:hover {
  background: #f0c211;
  transform: translateY(-1px);
}

.fd-design .fd-button-outline {
  border-color: var(--fd-line);
  background: transparent;
}

.fd-design .fd-button-outline:hover {
  background: #fff9d9;
}

.fd-design .fd-header-register {
  min-height: 42px;
  padding: 10px 18px;
  gap: 16px;
}

.fd-avatar-dot {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: var(--fd-sun);
  color: var(--fd-ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.fd-account-menu,.fd-mobile-menu {
  position: relative;
}

.fd-account-menu summary,.fd-mobile-menu summary {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  min-height: 44px;
}

.fd-design summary::-webkit-details-marker {
  display: none;
}

.fd-account-name {
  font-size: 12px;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fd-account-menu summary>i {
  font-size: 9px;
}

.fd-account-panel,.fd-mobile-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 240px;
  padding: 12px;
  border: 1px solid var(--fd-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 50px #171a1714;
}

.fd-account-panel>p {
  padding: 8px 10px 12px;
  border-bottom: 1px solid var(--fd-line);
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.fd-account-panel a,.fd-account-panel button,.fd-mobile-menu nav a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 6px;
  font-size: 12px;
  text-align: left;
}

.fd-account-panel button {
  border: 0;
  background: transparent;
}

.fd-account-panel :is(a,button):hover,.fd-mobile-menu nav a:hover {
  background: #faf7ec;
}

.fd-account-panel i {
  width: 16px;
  text-align: center;
}

.fd-mobile-menu {
  display: none;
}

.fd-mobile-dock {
  display: none;
}

.fd-site-footer {
  margin-top: 64px;
  background: #161616;
  color: #fff;
  padding: 55px max(24px,calc((100vw - 1320px)/2)) 0;
}

.fd-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding: 0 16px 50px;
}

.fd-site-footer .fd-brand strong {
  font-size: 32px;
}

.fd-site-footer .fd-brand small {
  color: #c6c9bc;
  font-size: 7px;
}

.fd-footer-about>p {
  font-size: 12px;
  line-height: 2;
  color: #b7beb2;
  margin-top: 20px;
}

.fd-site-footer h2 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.fd-site-footer :is(a,p) {
  font-size: 12px;
}

.fd-footer-grid>div>a:not(.fd-brand) {
  display: block;
  color: #b7beb2;
  margin: 9px 0;
}

.fd-footer-grid a:hover {
  color: var(--fd-sun);
}

.fd-footer-note>i {
  color: var(--fd-sun);
  font-size: 25px;
  margin-bottom: 15px;
}

.fd-footer-note>h2 {
  margin-bottom: 10px;
}

.fd-footer-note>p {
  color: #b7beb2;
  line-height: 1.9;
  max-width: 240px;
}

.fd-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 16px;
  border-top: 1px solid #ffffff1c;
  font-size: 10px;
  color: #b7beb2;
}

.fd-footer-bottom a {
  font-size: 10px;
}

/* Authentication. Real Identity fields and validation remain in the forms. */

.fd-auth-page .fd-site-footer {
  margin-top: 0;
}

.fd-auth-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 690px;
}

.fd-auth-photo {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background: #292929;
  color: #fff;
}

.fd-auth-photo>img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 40% center;
}

.fd-auth-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,#161b1614 15%,#12121280 62%,#101010e6);
}

.fd-auth-photo-copy {
  position: absolute;
  left: clamp(28px,5vw,80px);
  right: 30px;
  bottom: 80px;
  z-index: 1;
}

.fd-design .fd-eyebrow {
  font-size: 9px;
  letter-spacing: 2.1px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 20px;
}

.fd-auth-photo .fd-eyebrow {
  color: #f6e9ab;
  display: flex;
  align-items: center;
  gap: 12px;
}

.fd-auth-photo h2 {
  font-family: var(--fd-heading);
  font-size: clamp(36px,3.7vw,58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1px;
  margin: 0 0 20px;
}

.fd-auth-photo-copy>p:last-child {
  font-size: 12px;
  line-height: 1.95;
  color: #e1e3d8;
}

.fd-photo-index {
  position: absolute;
  z-index: 1;
  bottom: 28px;
  left: clamp(28px,5vw,80px);
  font-size: 8px;
  letter-spacing: 2px;
  color: #d2d6c6;
}

.fd-auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 44px;
  background: var(--fd-paper);
}

.fd-auth-form-inner {
  width: 100%;
  max-width: 385px;
}

.fd-auth-form-inner>h1 {
  font-family: var(--fd-heading);
  font-size: 46px;
  letter-spacing: -1px;
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 20px;
}

.fd-auth-lead {
  font-size: 12px;
  color: var(--fd-muted);
  line-height: 1.95;
  margin-bottom: 30px;
}

.fd-auth-form {
  display: grid;
  gap: 18px;
}

.fd-field>label,.fd-role-field legend {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 7px;
  color: #30372f;
}

.fd-input-wrap {
  position: relative;
}

.fd-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d9ddd1;
  border-radius: 5px;
  background: #fff;
  padding: 12px 14px;
  color: var(--fd-ink);
  font-size: 13px;
  transition: border-color .15s,box-shadow .15s;
  box-shadow: none;
}

.fd-field input::placeholder {
  color: #92968d;
  font-size: 12px;
}

.fd-input-wrap:has(button)>input {
  padding-right: 48px;
}

.fd-input-wrap>button {
  position: absolute;
  right: 2px;
  top: 2px;
  bottom: 2px;
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  border-radius: 4px;
  color: #71786b;
}

.fd-field input:focus {
  border-color: #b99508;
  outline: none;
  box-shadow: 0 0 0 3px #ffd21c26;
}

.fd-field-error {
  display: block;
  font-size: 11px;
  color: #a53030;
  margin-top: 5px;
}

.fd-field-error:empty {
  display: none;
}

.fd-validation.validation-summary-valid {
  display: none;
}

.fd-validation.validation-summary-errors {
  border: 1px solid #f1bebe;
  border-radius: 6px;
  background: #fff1ef;
  color: #a02127;
  padding: 12px 14px;
  font-size: 12px;
}

.fd-validation ul {
  padding-left: 16px;
  list-style: disc;
}

.fd-field .input-validation-error {
  border-color: #b54742;
}

.fd-form-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
}

.fd-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.fd-checkbox input {
  width: 15px;
  height: 15px;
  accent-color: #9e7a00;
}

.fd-form-between>a:hover,.fd-auth-switch a:hover {
  color: #8d6e00;
  text-decoration: underline;
}

.fd-design .fd-auth-submit {
  width: 100%;
  justify-content: space-between;
  margin-top: 3px;
  padding: 15px 20px;
  min-height: 48px;
}

.fd-auth-switch {
  text-align: center;
  font-size: 11px;
  color: var(--fd-muted);
  margin-top: 20px;
}

.fd-auth-switch a {
  font-weight: 600;
  color: var(--fd-ink);
  margin-left: 5px;
}

.fd-auth-foot {
  border-top: 1px solid var(--fd-line);
  margin-top: 30px;
  padding-top: 24px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  color: #525b4d;
}

.fd-auth-foot>i {
  color: #9c8d4c;
  font-size: 19px;
  margin-top: 4px;
}

.fd-auth-foot p {
  font-size: 11px;
  line-height: 1.8;
}

.fd-auth-foot p>span {
  font-size: 10px;
  color: var(--fd-muted);
}

.fd-auth-resend {
  display: block;
  text-align: center;
  margin-top: 18px;
  font-size: 10px;
  color: var(--fd-muted)!important;
  text-decoration: underline!important;
  text-underline-offset: 3px;
}

.fd-auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 14px;
  color: var(--fd-muted);
  font-size: 10px;
}

.fd-auth-divider::before,.fd-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--fd-line);
}

.fd-external-logins {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fd-external-logins>button {
  flex: 1;
}

.fd-role-field {
  min-width: 0;
  padding: 0;
  border: 0;
}

.fd-role-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fd-role-choice {
  position: relative;
}

.fd-role-choice>input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.fd-role-choice>span {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 2px 7px;
  min-height: 70px;
  padding: 12px 10px;
  border: 1px solid #d9ddd1;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.fd-role-choice i {
  grid-row: span 2;
  font-size: 17px;
  color: #706e54;
}

.fd-role-choice strong {
  font-size: 11px;
  font-weight: 600;
}

.fd-role-choice small {
  font-size: 9px;
  color: var(--fd-muted);
}

.fd-role-choice input:checked+span {
  border-color: #aa8a07;
  background: #fff9dc;
  box-shadow: 0 0 0 1px #aa8a07;
}

.fd-role-choice input:focus-visible+span {
  outline: 3px solid #9e7a00;
  outline-offset: 3px;
}

.fd-auth-register .fd-auth-photo {
  height: calc(100dvh - 88px);
  min-height: 690px;
  position: sticky;
  top: 88px;
}

.fd-auth-register .fd-auth-form-side {
  padding-block: 48px;
}

.fd-auth-register .fd-auth-form {
  gap: 15px;
}

.fd-auth-register .fd-auth-lead {
  margin-bottom: 25px;
}

.fd-auth-privacy {
  font-size: 10px;
  color: var(--fd-muted);
  text-align: center;
  margin-top: 24px;
  line-height: 1.9;
}

.fd-auth-privacy i {
  margin-right: 4px;
}

.fd-auth-privacy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Discovery. These selectors outweigh the existing customer stylesheet. */

body.fd-design .fd-customer {
  --fd-amber: #ffd21c;
  --fd-cream: #fff9df;
  --fd-border: #e5e3db;
  background: var(--fd-paper);
  font-family: var(--fd-sans);
}

body.fd-design .fd-customer .fd-page {
  width: min(100%,1400px);
  padding: 32px 40px 55px;
}

body.fd-design .fd-customer .fd-welcome-line {
  margin: 0 0 20px;
  font-size: 12px;
}

body.fd-design .fd-customer .fd-discovery-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  min-height: 540px;
  background: transparent;
  border-radius: 0;
  padding: 30px 0 48px;
  overflow: visible;
  border: 0;
  box-shadow: none;
}

body.fd-design .fd-customer .fd-discovery-copy {
  position: relative;
  z-index: 1;
  padding: 0;
  min-width: 0;
}

body.fd-design .fd-customer .fd-discovery-copy>.fd-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
  letter-spacing: 2px;
  font-size: 9px;
}

.fd-sun {
  font-size: 27px;
  color: #9c7a00;
  line-height: 1;
}

body.fd-design .fd-customer .fd-discovery-hero h1 {
  font-family: var(--fd-heading);
  font-size: clamp(45px,4.65vw,71px);
  line-height: 1.06;
  letter-spacing: -1.7px;
  font-weight: 700;
  margin: 0 0 26px;
  color: var(--fd-ink);
  max-width: none;
}

body.fd-design .fd-customer .fd-discovery-hero h1 em {
  font-weight: 400;
  font-style: normal;
  background: linear-gradient(transparent 94%,#d6b435 94%);
  padding-bottom: 5px;
}

body.fd-design .fd-customer .fd-discovery-description {
  font-size: 13px;
  line-height: 1.95;
  color: var(--fd-muted);
  max-width: 460px;
  margin: 0 0 25px;
}

body.fd-design .fd-customer .fd-discovery-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 490px;
  min-height: 57px;
  padding: 6px 6px 6px 18px;
  border: 1px solid #dcded2;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 5px 16px #171a1703;
}

body.fd-design .fd-customer .fd-discovery-search>i {
  font-size: 16px;
  color: #847641;
}

body.fd-design .fd-customer .fd-discovery-search>input {
  min-width: 0;
  flex: 1;
  width: 100%;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 12px;
  color: var(--fd-ink);
  outline-offset: 0;
}

body.fd-design .fd-customer .fd-discovery-search>button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  background: var(--fd-sun);
  color: var(--fd-ink);
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: none;
}

body.fd-design .fd-customer .fd-discovery-art {
  position: relative;
  width: 100%;
  height: 440px;
  min-height: 0;
  overflow: visible;
  margin: 0;
  background: #e4e4d6;
  transform: none;
  border-radius: 160px 20px 120px 20px;
}

body.fd-design .fd-customer .fd-discovery-art::before {
  content: '';
  position: absolute;
  inset: -12px -14px -14px 13px;
  background: #e8e2bf;
  transform: rotate(3deg);
  border-radius: 160px 20px 120px 20px;
}

body.fd-design .fd-customer .fd-discovery-art>img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
  border-radius: 160px 20px 120px 20px;
  opacity: 1;
}

.fd-art-star {
  position: absolute;
  right: 10px;
  top: -33px;
  font-family: Georgia,serif;
  font-size: 58px;
  color: #b59427;
  line-height: 1;
}

.fd-art-note {
  position: absolute;
  bottom: 5px;
  left: -35px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid #eeeee4;
  padding: 18px 22px;
  box-shadow: 0 10px 35px #1d1d1d0a;
  border-radius: 10px;
  max-width: calc(100% + 25px);
  z-index: 2;
}

.fd-art-note>i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff7d5;
  color: #887122;
  font-size: 18px;
}

.fd-art-note strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
}

.fd-art-note small {
  display: block;
  font-size: 9px;
  color: var(--fd-muted);
  margin-top: 4px;
}

.fd-art-tag {
  position: absolute;
  right: 26px;
  bottom: 46px;
  color: #fff;
  font-size: 7px;
  letter-spacing: 1.4px;
  writing-mode: vertical-rl;
  z-index: 1;
}

.fd-hero-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 17px;
}

body.fd-design .fd-customer .fd-hero-links>a {
  font-size: 10px;
  font-weight: 600;
}

.fd-hero-links>a:last-child {
  color: var(--fd-muted);
}

.fd-hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px!important;
  font-size: 10px;
  color: var(--fd-muted);
}

.fd-hero-note>i {
  font-size: 17px;
  color: #8b906a;
}

.fd-benefit-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  padding: 21px 25px;
  border: 1px solid var(--fd-line);
  border-radius: 8px;
  background: #fff;
  margin: 10px 0 32px;
}

.fd-benefit-strip>span {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.fd-benefit-strip b {
  font-family: var(--fd-heading);
  font-size: 22px;
  color: #a08b39;
  font-weight: 700;
}

body.fd-design .fd-customer .fd-category-row {
  gap: 10px;
  padding: 0 0 16px;
  margin-top: 0;
}

body.fd-design .fd-customer .fd-category {
  box-shadow: none;
  border: 1px solid var(--fd-line);
  background: transparent;
  border-radius: 5px;
  min-height: 41px;
  font-size: 10px;
  padding: 10px 17px;
}

body.fd-design .fd-customer .fd-category.is-selected {
  background: var(--fd-ink);
  border-color: var(--fd-ink);
  color: #fff;
}

body.fd-design .fd-customer .fd-section {
  margin-top: 44px;
}

body.fd-design .fd-customer .fd-section-heading {
  margin-bottom: 22px;
}

body.fd-design .fd-customer .fd-section-heading h2 {
  font-family: var(--fd-heading);
  font-size: 30px;
  letter-spacing: -.3px;
  font-weight: 700;
}

body.fd-design .fd-customer .fd-row-caption {
  font-size: 11px;
  color: var(--fd-muted);
  margin-top: 6px;
}

body.fd-design .fd-customer .fd-discovery-card {
  border: 1px solid var(--fd-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
  transition: transform .2s,box-shadow .2s;
}

body.fd-design .fd-customer .fd-discovery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px #1d1d1d0a;
}

body.fd-design .fd-customer .fd-discovery-image {
  border-radius: 0;
  aspect-ratio: 1.04;
  overflow: hidden;
  background: #edece5;
}

body.fd-design .fd-customer .fd-discovery-image>img {
  transition: transform .3s;
}

body.fd-design .fd-customer .fd-discovery-card:hover .fd-discovery-image>img {
  transform: scale(1.035);
}

body.fd-design .fd-customer .fd-discovery-details {
  padding: 16px;
}

body.fd-design .fd-customer .fd-discovery-details h3 {
  font-size: 14px;
  font-weight: 600;
}

body.fd-design .fd-customer .fd-business-byline {
  font-size: 11px;
  color: var(--fd-muted);
}

body.fd-design .fd-customer .fd-card-location {
  font-size: 10px;
  color: var(--fd-muted);
}

body.fd-design .fd-customer .fd-book-look {
  border-radius: 5px;
  box-shadow: none;
  background: #fff9db;
  border: 1px solid #eee0a7;
  font-size: 11px;
  min-height: 39px;
}

body.fd-design .fd-customer .fd-photo-badge {
  font-size: 9px;
  background: #ffffffed;
  box-shadow: none;
}

body.fd-design .fd-customer .fd-booking-note {
  font-size: 11px;
  border-radius: 8px;
  background: transparent;
  border-color: var(--fd-line);
}

body.fd-design .fd-customer .fd-appointment-card,body.fd-design .fd-customer .fd-panel {
  border: 1px solid var(--fd-line);
  border-radius: 12px;
  box-shadow: none;
  background: #fff;
}

body.fd-design .fd-customer .fd-page-heading h1 {
  font-family: var(--fd-heading);
  font-size: 42px;
  font-weight: 700;
}

body.fd-design .fd-customer .fd-button {
  border-radius: 6px;
  box-shadow: none;
  background: var(--fd-sun);
  font-size: 12px;
}

body.fd-design .fd-customer .fd-button-outline {
  border-color: var(--fd-line);
  background: transparent;
}

body.fd-design .fd-customer .fd-story-copy h2 {
  font-family: var(--fd-heading);
  font-weight: 700;
}

body.fd-design .fd-customer .fd-story-hero,body.fd-design .fd-customer .fd-story-image {
  border-radius: 12px;
}

body.fd-design .fd-customer .fd-cta {
  border-radius: 12px;
  background: #ede9d8;
}

.fd-design .fd-favourite-toast {
  z-index: 1200;
}

/* Explore and provider profiles. */

.fd-design .fe-explore {
  --fe-yellow: var(--fd-sun);
  max-width: 1400px;
  padding: 50px 40px 65px;
}

.fd-listing-intro {
  padding: 0 0 34px;
  max-width: 700px;
}

.fd-listing-intro h1 {
  font-family: var(--fd-heading);
  font-size: 46px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.fd-listing-intro>p:last-child {
  font-size: 12px;
  color: var(--fd-muted);
}

.fd-design .fe-search-header {
  max-width: 760px;
}

.fd-design .fe-search-box {
  border-radius: 7px;
  border: 1px solid #dcded2;
  box-shadow: none;
}

.fd-design .fe-section-heading h2 {
  font-family: var(--fd-heading);
  font-size: 28px;
  font-weight: 700;
}

.fd-design .fe-section-heading p {
  font-size: 11px;
  color: var(--fd-muted);
}

.fd-design .fe-results {
  gap: 22px;
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.fd-design .fe-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 1px solid var(--fd-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.fd-design .fe-card .fe-photo {
  display: flex;
  width: 100%;
  height: 220px;
  min-height: 220px;
  flex-basis: auto;
  border-radius: 0;
  background: #ecece2;
  overflow: hidden;
}

.fd-design .fe-card-content {
  padding: 20px;
  min-width: 0;
  width: 100%;
}

.fd-design .fe-card h2 {
  font-size: 16px;
  font-weight: 600;
  white-space: normal;
}

.fd-design .fe-location {
  font-size: 11px;
  margin-top: 8px;
}

.fd-design .fe-service {
  font-size: 12px;
}

.fd-design .fe-card-bottom {
  margin-top: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.fd-design .fe-price {
  font-size: 15px;
}

.fd-design .fe-price span {
  font-size: 10px;
}

.fd-design .fe-book,.fd-design .fe-apply {
  border-radius: 5px;
  box-shadow: none;
  background: var(--fd-sun);
  font-size: 11px;
  min-height: 42px;
}

.fd-design .fe-filter-panel {
  border-color: var(--fd-line);
  box-shadow: none;
}

.fd-design .fe-chip>span {
  border-radius: 5px;
  box-shadow: none;
}

.fd-design .fp-profile {
  --fp-yellow: var(--fd-sun);
  max-width: 1400px;
  padding: 32px 40px 60px;
}

.fd-design .fp-hero {
  height: 450px;
  border-radius: 18px 18px 0 0;
}

.fd-design .fp-sheet {
  margin: 0;
  padding: 35px;
  background: #fff;
  border: 1px solid var(--fd-line);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: none;
}

.fd-design .fp-heading h1 {
  font-family: var(--fd-heading);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.6px;
}

.fd-design .fp-service-card {
  border-color: var(--fd-line);
  border-radius: 10px;
  box-shadow: none;
}

.fd-design .fp-button {
  border-radius: 5px;
  font-size: 12px;
  background: var(--fd-sun);
}

.fd-design .fp-tabs a {
  font-size: 12px;
}

.fd-design .fp-section h2,.fd-design .fp-section-title h2 {
  font-family: var(--fd-heading);
  font-size: 26px;
  font-weight: 700;
}

.fd-design .fp-directions-card {
  background: #f9f7eb;
  border-color: #e8e1bd;
  box-shadow: none;
  border-radius: 8px;
}

.fd-design .fp-service-image {
  border-radius: 7px;
  background: #f0eee6;
}

/* Business workspace: existing actions, data and overlays keep their handlers. */

.fd-vendor-dashboard {
  max-width: 1400px;
  margin: auto;
}

.fd-dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--fd-line);
  padding: 0 0 28px;
  margin: 0 0 30px;
}

.fd-dashboard-hero h1 {
  font-family: var(--fd-heading);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
}

.fd-dashboard-hero .fd-eyebrow {
  margin-bottom: 12px;
}

.fd-dashboard-business {
  font-size: 15px;
  font-weight: 600;
}

.fd-dashboard-tagline {
  font-size: 12px;
  color: var(--fd-muted);
  margin-top: 4px;
}

.fd-dashboard-photo {
  position: relative;
  width: 245px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.fd-dashboard-photo>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fd-dashboard-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent,#1119);
}

.fd-dashboard-photo>span {
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 1;
  color: #fff;
  font-size: 7px;
  letter-spacing: 1.2px;
}

.fd-design .fd-vendor-dashboard .bg-white {
  border: 1px solid var(--fd-line);
  box-shadow: none;
}

.fd-design .fd-vendor-dashboard :is(h2,h3) {
  letter-spacing: -.2px;
}

.fd-design .fd-vendor-dashboard .rounded-2xl {
  border-radius: 10px;
}

.fd-design .fd-vendor-dashboard :is(button,a).rounded-full {
  border-radius: 6px;
  box-shadow: none;
  min-height: 42px;
  font-size: 11px;
}

.fd-design .fd-vendor-dashboard .grid>.bg-white h2 {
  font-size: 34px;
  font-weight: 600;
}

.fd-design .fd-vendor-dashboard .grid>.bg-white {
  padding: 20px;
}

.fd-design :is(.fd-route-vendorbookings,.fd-route-vendorcapacity) {
  background: var(--fd-paper);
}

/* Admin workspace. Sidebar behavior is retained in fadeon-admin-navigation.js. */

body.fd-design.fd-admin-body {
  background: var(--fd-paper);
  font-family: var(--fd-sans);
}

.fd-design-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 252px;
  padding: 30px 20px 20px;
  background: #161616;
  color: #eef0e6;
  overflow-y: auto;
  height: 100dvh;
}

.fd-sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
}

.fd-sidebar-brand .fd-brand>img {
  width: 40px;
  height: 40px;
}

.fd-sidebar-brand .fd-brand strong {
  font-size: 27px;
}

.fd-sidebar-brand .fd-brand small {
  font-size: 7px;
  letter-spacing: 1.8px;
  color: #a9b0a2;
}

.fd-sidebar-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff08;
  border: 1px solid #ffffff1f;
  border-radius: 6px;
  min-height: 42px;
  padding: 9px 12px;
  color: #b4bcac;
}

.fd-sidebar-search input {
  min-width: 0;
  width: 100%;
  background: transparent;
  border: 0;
  color: white;
  font-size: 11px;
}

.fd-sidebar-search input::placeholder {
  color: #a2aa9a;
}

.fd-sidebar-label {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #a5ae9a;
  margin: 28px 12px 14px;
}

.fd-sidebar-links {
  display: grid;
  gap: 5px;
  flex: 1;
  align-content: start;
  min-height: 0;
  overflow-y: auto;
}

.fd-sidebar-links>a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #b8c0b0;
  padding: 12px 14px;
  border-radius: 6px;
  min-height: 45px;
}

.fd-sidebar-links>a>i {
  width: 16px;
  text-align: center;
}

.fd-sidebar-links>a:hover {
  color: #fff;
  background: #ffffff0c;
}

.fd-sidebar-links>a[aria-current=page] {
  background: var(--fd-sun);
  color: #181c16;
  font-weight: 600;
}

.fd-sidebar-bottom {
  border-top: 1px solid #ffffff1f;
  margin-top: 22px;
  padding-top: 17px;
  flex-shrink: 0;
}

.fd-sidebar-bottom>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px 18px;
  font-size: 11px;
  color: #c7cebe;
}

.fd-admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 5px;
}

.fd-admin-user>span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.fd-admin-user strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.fd-admin-user small {
  display: block;
  font-size: 9px;
  color: #a5ae9a;
  margin-top: 2px;
}

.fd-admin-user button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #c7cebe;
}

.fd-design-admin-shell {
  min-width: 0;
  margin-left: 252px;
}

.fd-admin-topbar {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  border-bottom: 1px solid var(--fd-line);
  background: #ffffffa8;
  padding: 16px 38px;
}

.fd-admin-topbar>div {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 0;
}

.fd-admin-topbar>div>span {
  font-size: 11px;
  color: var(--fd-muted);
}

.fd-admin-topbar strong {
  font-weight: 500;
  color: var(--fd-ink);
}

.fd-admin-topbar>div>span>span {
  margin: 0 12px;
  color: #aaa;
}

.fd-admin-date {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--fd-muted);
  font-size: 10px;
}

.fd-design #adminMain {
  min-width: 0;
  padding: 35px 38px 55px;
  max-width: 1600px;
  margin: auto;
}

.fd-design.fd-admin-body .fd-admin-card {
  border: 1px solid var(--fd-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
}

.fd-design.fd-admin-body #adminMain h1 {
  font-family: var(--fd-heading);
  font-size: 35px;
  font-weight: 700;
  letter-spacing: -.5px;
}

.fd-design.fd-admin-body .fd-admin-card h2 {
  font-size: 14px;
  font-weight: 600;
}

.fd-design.fd-admin-body .fd-admin-card table {
  font-size: 11px;
}

.fd-design.fd-admin-body .fd-admin-card canvas {
  max-width: 100%;
}

.fd-design.fd-admin-body :is(.fd-admin-button,.fd-admin-btn) {
  box-shadow: none;
}

.fd-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--fd-line);
  border-radius: 6px;
  background: #fff;
  color: var(--fd-ink);
}

#openAdminSidebar,#closeAdminSidebar {
  display: none;
}

.fd-admin-backdrop {
  display: none;
}

/* Keep existing dashboard overlays above both navigation systems. */

body.fd-modal-open [data-fd-site-chrome] {
  visibility: hidden!important;
  pointer-events: none!important;
}

html.fd-modal-open,body.fd-modal-open {
  overflow: hidden!important;
  overscroll-behavior: none;
}

body>[data-fd-modal] {
  z-index: 1000!important;
}

.fd-design [data-fd-modal] input:not([type=checkbox]):not([type=radio]),.fd-design [data-fd-modal] select,.fd-design [data-fd-modal] textarea {
  border-color: #dadcd3;
  border-radius: 6px;
}

.fd-design [data-fd-modal] h3 {
  font-size: 18px;
  font-weight: 600;
}

@media(min-width:1440px) {
  body.fd-design .fd-customer .fd-discovery-hero {
    gap: 95px;
    min-height: 580px;
  }
  body.fd-design .fd-customer .fd-discovery-art {
    height: 470px;
  }
}

@media(max-width:1150px) {
  .fd-desktop-links {
    gap: 18px;
  }
  .fd-header-inner {
    padding-inline: 28px;
    gap: 20px;
  }
  .fd-header-actions {
    gap: 15px;
  }
  .fd-header-register {
    display: none!important;
  }
  body.fd-design .fd-customer .fd-discovery-hero {
    gap: 40px;
  }
  body.fd-design .fd-customer .fd-discovery-art {
    height: 400px;
  }
  .fd-art-note {
    left: -20px;
    padding: 15px;
  }
  body.fd-design .fd-customer .fd-discovery-hero h1 {
    font-size: 53px;
  }
  .fd-footer-grid {
    gap: 30px;
  }
  .fd-design .fe-results {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .fd-design #adminMain {
    padding: 28px 24px;
  }
  .fd-admin-topbar {
    padding-inline: 24px;
  }
}

@media(max-width:1023px) {
  .fd-design-sidebar {
    width: min(288px,calc(100vw - 32px));
    transform: translateX(-100%);
    transition: transform .2s;
  }
  .fd-design-sidebar.is-open {
    transform: translateX(0);
  }
  .fd-admin-backdrop.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: #141b155c;
    backdrop-filter: blur(3px);
  }
  .fd-design-admin-shell {
    margin-left: 0;
  }
  #openAdminSidebar,#closeAdminSidebar {
    display: inline-flex;
  }
  #closeAdminSidebar {
    background: transparent;
    color: white;
    border-color: #ffffff30;
  }
  .fd-auth-form-side {
    padding: 50px 30px;
  }
  .fd-auth-form-inner>h1 {
    font-size: 40px;
  }
  .fd-auth-photo h2 {
    font-size: 44px;
  }
}

@media(max-width:850px) {
  .fd-desktop-links {
    display: none;
  }
  .fd-mobile-menu {
    display: block;
  }
  .fd-header-inner {
    min-height: 76px;
    padding: 13px 24px;
  }
  .fd-brand strong {
    font-size: 27px;
  }
  .fd-brand small {
    font-size: 7px;
  }
  .fd-brand>img {
    width: 40px;
    height: 40px;
  }
  .fd-mobile-menu summary {
    justify-content: center;
    width: 44px;
    border: 1px solid var(--fd-line);
    border-radius: 6px;
  }
  .fd-auth-shell {
    grid-template-columns: .85fr 1fr;
  }
  .fd-auth-photo-copy {
    left: 28px;
    bottom: 80px;
    right: 20px;
  }
  .fd-auth-photo h2 {
    font-size: 38px;
  }
  .fd-auth-photo-copy>p:last-child {
    font-size: 11px;
  }
  .fd-auth-register .fd-auth-photo {
    top: 76px;
    height: calc(100dvh - 76px);
  }
  body.fd-design .fd-customer .fd-page {
    padding: 25px 26px 35px;
  }
  body.fd-design .fd-customer .fd-discovery-hero {
    gap: 30px;
    min-height: 440px;
    padding-block: 25px 35px;
  }
  body.fd-design .fd-customer .fd-discovery-hero h1 {
    font-size: 44px;
  }
  body.fd-design .fd-customer .fd-discovery-art {
    height: 350px;
    border-radius: 100px 15px 85px 15px;
  }
  body.fd-design .fd-customer .fd-discovery-art>img,body.fd-design .fd-customer .fd-discovery-art::before {
    border-radius: 100px 15px 85px 15px;
  }
  body.fd-design .fd-customer .fd-discovery-description {
    font-size: 12px;
  }
  .fd-art-note {
    left: -16px;
    bottom: -9px;
    gap: 9px;
    padding: 12px;
  }
  .fd-art-note>i {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
  .fd-art-note strong {
    font-size: 10px;
  }
  .fd-art-note small {
    font-size: 8px;
  }
  body.fd-design .fd-customer .fd-discovery-search {
    gap: 8px;
    padding-left: 12px;
  }
  body.fd-design .fd-customer .fd-discovery-search>button {
    padding-inline: 13px;
  }
  body.fd-design .fd-customer .fd-discovery-search>input {
    font-size: 11px;
  }
  .fd-hero-links {
    gap: 15px;
    flex-wrap: wrap;
  }
  .fd-benefit-strip {
    padding: 16px;
    gap: 15px;
  }
  .fd-benefit-strip>span {
    font-size: 9px;
    gap: 8px;
  }
  .fd-benefit-strip b {
    font-size: 19px;
  }
  .fd-footer-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 35px 45px;
  }
  .fd-site-footer {
    padding-top: 40px;
  }
  .fd-design .fe-explore {
    padding: 35px 26px 45px;
  }
  .fd-design .fp-profile {
    padding: 25px 26px 45px;
  }
  .fd-design .fp-hero {
    height: 340px;
  }
  .fd-design .fp-sheet {
    padding: 25px;
  }
  .fd-design .fp-heading h1 {
    font-size: 36px;
  }
  .fd-dashboard-hero h1 {
    font-size: 34px;
  }
}

@media(max-width:767px) {
  .fd-has-dock {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }
  .fd-mobile-dock {
    position: fixed;
    z-index: 80;
    bottom: 0;
    inset-inline: 0;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    gap: 1px;
    min-height: 67px;
    padding: 7px 9px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--fd-line);
    background: #fffffff5;
    backdrop-filter: blur(15px);
    box-shadow: 0 -5px 20px #171a1705;
  }
  .fd-mobile-dock>a,.fd-mobile-dock>form {
    flex: 1;
    min-width: 0;
  }
  .fd-mobile-dock a,.fd-mobile-dock button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    min-height: 50px;
    font-size: 9px;
    color: #737a6e;
    border: 0;
    background: transparent;
    width: 100%;
    border-radius: 6px;
  }
  .fd-mobile-dock i {
    font-size: 18px;
  }
  .fd-mobile-dock [aria-current=page] {
    background: #fff9dd;
    color: #6a5400;
    font-weight: 700;
  }
  .fd-dashboard-photo {
    width: 190px;
    height: 135px;
  }
  .fd-site-footer {
    margin-top: 35px;
  }
  .fd-footer-bottom {
    flex-wrap: wrap;
  }
  .fd-footer-bottom>span:nth-child(2) {
    display: none;
  }
  .fd-account-name {
    display: none;
  }
}

@media(max-width:640px) {
  .fd-announcement {
    min-height: 30px;
    font-size: 9px;
    padding-inline: 12px;
    gap: 7px;
  }
  .fd-announcement>a {
    display: none;
  }
  .fd-header-inner {
    min-height: 72px;
    padding: 12px 18px;
    gap: 15px;
  }
  .fd-brand>img {
    width: 37px;
    height: 37px;
  }
  .fd-brand {
    gap: 8px;
  }
  .fd-brand strong {
    font-size: 26px;
  }
  .fd-brand small {
    font-size: 6px;
    letter-spacing: 1.6px;
    margin-top: 4px;
  }
  .fd-header-actions {
    gap: 12px;
  }
  .fd-sign-in {
    font-size: 11px;
    gap: 7px;
  }
  .fd-mobile-menu summary {
    width: 38px;
    min-height: 38px;
  }
  .fd-mobile-menu nav {
    right: 0;
    width: 230px;
  }
  .fd-auth-shell {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .fd-auth-photo {
    min-height: 0;
    height: 240px;
    width: 100%;
    order: 0;
  }
  .fd-auth-photo>img {
    object-position: center 42%;
  }
  .fd-auth-photo-copy {
    left: 24px;
    bottom: 25px;
    right: 24px;
  }
  .fd-auth-photo-copy .fd-eyebrow {
    font-size: 7px;
    margin-bottom: 12px;
  }
  .fd-auth-photo h2 {
    font-size: 35px;
    margin-bottom: 0;
  }
  .fd-auth-photo-copy>p:last-child,.fd-photo-index {
    display: none;
  }
  .fd-auth-form-side {
    padding: 36px 24px 42px;
    order: 1;
  }
  .fd-auth-form-inner {
    max-width: 420px;
  }
  .fd-auth-form-inner>h1 {
    font-size: 39px;
    margin-bottom: 14px;
  }
  .fd-auth-form-inner>.fd-eyebrow {
    font-size: 8px;
    letter-spacing: 1.7px;
    margin-bottom: 14px;
  }
  .fd-auth-lead {
    font-size: 12px;
    margin-bottom: 25px;
  }
  .fd-auth-form {
    gap: 18px;
  }
  .fd-field input {
    font-size: 16px;
    min-height: 48px;
  }
  .fd-auth-register .fd-auth-photo {
    position: relative;
    top: auto;
    height: 210px;
    min-height: 0;
  }
  .fd-auth-register .fd-auth-form-side {
    padding-block: 32px;
  }
  .fd-auth-register .fd-auth-form {
    gap: 17px;
  }
  body.fd-design .fd-customer .fd-page {
    padding: 24px 20px 35px;
  }
  body.fd-design .fd-customer .fd-discovery-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 35px;
    min-height: 0;
    padding: 8px 0 35px;
  }
  body.fd-design .fd-customer .fd-discovery-copy>.fd-eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
    gap: 10px;
    margin-bottom: 18px;
  }
  .fd-sun {
    font-size: 23px;
  }
  body.fd-design .fd-customer .fd-discovery-hero h1 {
    font-size: 49px;
    letter-spacing: -1.2px;
    margin-bottom: 23px;
    max-width: none;
  }
  body.fd-design .fd-customer .fd-discovery-description {
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 22px;
    max-width: 390px;
  }
  .fd-desktop-break {
    display: none;
  }
  body.fd-design .fd-customer .fd-discovery-search {
    max-width: none;
    min-height: 57px;
  }
  body.fd-design .fd-customer .fd-discovery-search>input {
    font-size: 16px;
  }
  body.fd-design .fd-customer .fd-discovery-search>input::placeholder {
    font-size: 12px;
  }
  body.fd-design .fd-customer .fd-discovery-search>button {
    padding-inline: 16px;
    min-height: 44px;
  }
  .fd-hero-links {
    margin-top: 15px;
    gap: 22px;
  }
  .fd-hero-note {
    margin-top: 20px!important;
  }
  body.fd-design .fd-customer .fd-discovery-art {
    width: calc(100% - 15px);
    height: 310px;
    margin: 0 0 10px 0;
    max-width: none;
    border-radius: 110px 16px 85px 16px;
    display: block;
  }
  body.fd-design .fd-customer .fd-discovery-art>img,body.fd-design .fd-customer .fd-discovery-art::before {
    border-radius: 110px 16px 85px 16px;
  }
  .fd-art-star {
    right: 4px;
    top: -23px;
    font-size: 45px;
  }
  .fd-art-note {
    left: 12px;
    bottom: -13px;
    padding: 13px 16px;
    gap: 12px;
  }
  .fd-art-note strong {
    font-size: 10px;
  }
  .fd-art-note small {
    font-size: 9px;
  }
  .fd-art-note>i {
    width: 33px;
    height: 33px;
  }
  .fd-art-tag {
    font-size: 6px;
    right: 20px;
    bottom: 40px;
  }
  .fd-benefit-strip {
    display: grid;
    grid-template-columns: 1fr;
    padding: 15px 19px;
    gap: 13px;
    margin: 12px 0 28px;
  }
  .fd-benefit-strip>span {
    font-size: 11px;
    gap: 15px;
  }
  .fd-benefit-strip b {
    font-size: 19px;
  }
  body.fd-design .fd-customer .fd-category-row {
    margin-top: 0;
    gap: 8px;
  }
  body.fd-design .fd-customer .fd-category {
    font-size: 10px;
    min-height: 39px;
    padding: 9px 14px;
  }
  body.fd-design .fd-customer .fd-section {
    margin-top: 34px;
  }
  body.fd-design .fd-customer .fd-section-heading h2 {
    font-size: 26px;
  }
  body.fd-design .fd-customer .fd-section-heading {
    margin-bottom: 17px;
  }
  body.fd-design .fd-customer .fd-row-caption {
    font-size: 10px;
  }
  body.fd-design .fd-customer .fd-discovery-details {
    padding: 13px;
  }
  body.fd-design .fd-customer .fd-discovery-details h3 {
    font-size: 13px;
  }
  body.fd-design .fd-customer .fd-card-location {
    font-size: 10px;
  }
  body.fd-design .fd-customer .fd-page-heading h1 {
    font-size: 34px;
  }
  .fd-footer-grid {
    gap: 32px 24px;
    padding-inline: 0;
  }
  .fd-footer-about {
    grid-column: span 2;
  }
  .fd-footer-note {
    grid-column: span 2;
  }
  .fd-footer-note>p {
    max-width: 300px;
  }
  .fd-site-footer h2 {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .fd-footer-grid>div>a:not(.fd-brand) {
    font-size: 11px;
  }
  .fd-footer-bottom {
    padding-inline: 0;
    font-size: 9px;
    gap: 12px;
  }
  .fd-footer-bottom>a {
    font-size: 9px;
  }
  .fd-design .fe-explore {
    padding: 28px 20px 40px;
  }
  .fd-listing-intro {
    padding-bottom: 25px;
  }
  .fd-listing-intro h1 {
    font-size: 38px;
    margin-bottom: 14px;
  }
  .fd-listing-intro .fd-eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-bottom: 13px;
  }
  .fd-listing-intro>p:last-child {
    font-size: 11px;
  }
  .fd-design .fe-results {
    grid-template-columns: minmax(0,1fr);
    gap: 20px;
  }
  .fd-design .fe-card .fe-photo {
    height: 240px;
    min-height: 240px;
  }
  .fd-design .fe-card-content {
    padding: 18px;
  }
  .fd-design .fe-card h2 {
    font-size: 17px;
  }
  .fd-design .fe-location {
    font-size: 12px;
  }
  .fd-design .fe-service {
    font-size: 12px;
  }
  .fd-design .fe-price {
    font-size: 16px;
  }
  .fd-design .fe-price span {
    font-size: 11px;
  }
  .fd-design .fe-book {
    font-size: 12px;
    min-height: 44px;
    padding: 10px 18px;
  }
  .fd-design .fe-section-heading h2 {
    font-size: 26px;
  }
  .fd-design .fe-search-box input {
    font-size: 16px;
  }
  .fd-design .fp-profile {
    padding: 18px 16px 35px;
  }
  .fd-design .fp-hero {
    height: 280px;
    border-radius: 13px 13px 0 0;
  }
  .fd-design .fp-sheet {
    padding: 24px 18px;
    border-radius: 0 0 13px 13px;
  }
  .fd-design .fp-heading h1 {
    font-size: 35px;
  }
  .fd-design .fp-service-content h3 {
    font-size: 14px;
  }
  .fd-design .fp-service-bottom {
    flex-wrap: wrap;
    gap: 10px;
  }
  .fd-design .fp-button {
    min-height: 44px;
  }
  .fd-dashboard-hero {
    padding-bottom: 24px;
    margin-bottom: 25px;
  }
  .fd-dashboard-hero h1 {
    font-size: 33px;
    max-width: 290px;
  }
  .fd-dashboard-photo {
    display: none;
  }
  .fd-design .fd-vendor-dashboard .grid>.bg-white {
    padding: 16px;
  }
  .fd-design .fd-vendor-dashboard .grid>.bg-white h2 {
    font-size: 29px;
  }
  .fd-design #adminMain {
    padding: 25px 16px 45px;
  }
  .fd-admin-topbar {
    height: 74px;
    padding: 12px 16px;
    gap: 12px;
  }
  .fd-admin-date {
    display: none;
  }
  .fd-admin-topbar>div>span {
    font-size: 10px;
  }
  .fd-admin-topbar>div>span>span {
    margin: 0 7px;
  }
  .fd-design.fd-admin-body #adminMain h1 {
    font-size: 30px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .fd-design *,.fd-design *::before,.fd-design *::after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
}

/* Comfortable photograph sizes for the home rails. */

body.fd-design .fd-customer .fd-photo-rail {
  --fd-columns: 4;
  grid-auto-columns: calc((100% - 3 * 22px)/4);
  gap: 22px;
}

body.fd-design .fd-customer .fd-barber-preview-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 22px;
}

body.fd-design .fd-customer .fd-discovery-description {
  display: block;
}

body.fd-design .fd-customer .fd-discovery-search button span {
  display: inline;
}

body.fd-design .fd-customer .fd-discovery-details h3 {
  height: auto;
  min-height: 1.4em;
  margin-bottom: 4px;
}

body.fd-design .fd-customer .fd-discovery-details {
  gap: 6px;
}

body.fd-design .fd-customer .fd-art-note strong {
  color: var(--fd-ink);
}

body.fd-design .fd-customer .fd-category>i {
  font-size: 13px;
  color: inherit;
  text-shadow: none;
}

@media(max-width:1100px) {
  body.fd-design .fd-customer .fd-photo-rail {
    --fd-columns: 3;
    grid-auto-columns: calc((100% - 2 * 20px)/3);
    gap: 20px;
  }
  body.fd-design .fd-customer .fd-barber-preview-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
  }
}

@media(max-width:767px) {
  body.fd-design .fd-customer .fd-photo-rail {
    --fd-columns: 2;
    grid-auto-columns: calc((100% - 16px)/2);
    gap: 16px;
  }
  body.fd-design .fd-customer .fd-barber-preview-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
  }
}

@media(max-width:640px) {
  body.fd-design .fd-customer .fd-photo-rail {
    --fd-columns: 1.5;
    grid-auto-columns: 72%;
    gap: 16px;
    margin-right: 0;
    padding-right: 0;
  }
  body.fd-design .fd-customer .fd-category-row {
    margin-right: 0;
    padding-right: 0;
  }
  body.fd-design .fd-customer .fd-discovery-search button {
    width: auto;
    min-width: 83px;
  }
  body.fd-design .fd-customer .fd-barber-preview-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 22px;
  }
}

/* The booking calendar, prices and wallet still use their existing controls. */

body.fd-design .fd-bookings {
  background: var(--fd-paper);
  font-family: var(--fd-sans);
  --fd-yellow: var(--fd-sun);
  --fd-border: var(--fd-line);
}

body.fd-design .fd-bookings__heading h1 {
  font-family: var(--fd-heading);
  font-weight: 700;
  letter-spacing: -.6px;
}

body.fd-design .fd-bookings__container {
  max-width: 1240px;
}

body.fd-design .fd-wallet {
  border-radius: 12px;
  box-shadow: none;
  background: var(--fd-ink);
}

body.fd-design .fd-booking {
  border-radius: 12px;
  border-color: var(--fd-line);
  box-shadow: none;
}

body.fd-design .fd-bookings__discover,body.fd-design .fd-bookings__button {
  border-radius: 6px;
  box-shadow: none;
}

body.fd-design .fd-booking-panel {
  border: 1px solid var(--fd-line);
  background: #fff;
  border-radius: 12px;
  padding: 26px;
  min-width: 0;
}

body.fd-design .fd-booking-panel>h2 {
  font-family: var(--fd-heading);
  font-size: 27px;
  font-weight: 700;
}

body.fd-design .fd-booking-preview .fd-look {
  border-radius: 12px;
  border-color: var(--fd-line);
  box-shadow: none;
}

body.fd-design .fd-booking-preview .fd-look-heading h1 {
  font-family: var(--fd-heading);
  font-weight: 700;
}

body.fd-design .fd-booking-preview input,body.fd-design .fd-booking-preview select,body.fd-design .fd-booking-preview textarea {
  border-radius: 6px;
  box-shadow: none;
}

@media(max-width:640px) {
  body.fd-design .fd-booking-panel {
    padding: 19px;
  }
  body.fd-design .fd-booking-panel .fd-compact-calendar {
    padding: 12px;
  }
  body.fd-design .fd-booking-panel .calendar-day {
    width: 100%;
    min-width: 0;
  }
  body.fd-design .fd-booking-panel select {
    font-size: 16px;
  }
}

body.fd-design .fd-customer .fd-discovery-art {
  display: block;
}

/* Phone discovery: bring service filters and real haircut photographs into the first screen. */

@media (max-width: 767px) {
  body.fd-design .fd-customer .fd-home-v3 {
    display: flex;
    flex-direction: column;
    padding: 16px 20px 30px;
  }
  body.fd-design .fd-customer .fd-home-v3 > * {
    order: 2;
  }
  body.fd-design .fd-customer .fd-home-v3 > .fd-welcome-line {
    order: 0;
    margin-bottom: 12px;
  }
  body.fd-design .fd-customer .fd-home-v3 > .fd-discovery-hero {
    order: 1;
    display: block;
    min-height: 0;
    gap: 0;
    padding: 0 0 14px;
  }
  body.fd-design .fd-customer .fd-home-v3 .fd-discovery-art,
  body.fd-design .fd-customer .fd-home-v3 .fd-benefit-strip,
  body.fd-design .fd-customer .fd-home-v3 .fd-discovery-copy > .fd-eyebrow,
  body.fd-design .fd-customer .fd-home-v3 .fd-discovery-description,
  body.fd-design .fd-customer .fd-home-v3 .fd-hero-links,
  body.fd-design .fd-customer .fd-home-v3 .fd-hero-note {
    display: none;
  }
  body.fd-design .fd-customer .fd-home-v3 .fd-discovery-hero h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1px;
    margin: 0 0 14px;
  }
  body.fd-design .fd-customer .fd-home-v3 .fd-discovery-hero h1 em {
    background: none;
    padding-bottom: 0;
  }
  body.fd-design .fd-customer .fd-home-v3 .fd-discovery-search {
    min-height: 52px;
    padding: 5px 5px 5px 13px;
  }
  body.fd-design .fd-customer .fd-home-v3 .fd-discovery-search > button {
    height: 42px;
    min-height: 42px;
  }
  body.fd-design .fd-customer .fd-home-v3 > .fd-category-row {
    order: 2;
    padding: 0 0 8px;
    margin: 0;
    gap: 8px;
  }
  body.fd-design .fd-customer .fd-home-v3 > .fd-discovery-sections {
    order: 3;
  }
  body.fd-design .fd-customer .fd-home-v3 > .fd-real-appointments {
    order: 4;
  }
  body.fd-design .fd-customer .fd-home-v3 > .fd-booking-note {
    order: 5;
  }
  body.fd-design .fd-customer .fd-home-v3 .fd-section {
    margin-top: 20px;
  }
  body.fd-design .fd-customer .fd-home-v3 .fd-section-heading {
    margin-bottom: 12px;
  }
  body.fd-design .fd-customer .fd-home-v3 .fd-section-heading h2 {
    font-size: 22px;
    line-height: 1.25;
  }
  body.fd-design .fd-customer .fd-home-v3 .fd-row-caption {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.5;
  }
}

@media (max-width: 374px) {
  body.fd-design .fd-customer .fd-home-v3 {
    padding-inline: 16px;
  }
}
