/* =========================================================
   InkFireBook Account — My Account area
   Fonts and colors of the landing pages: Fraunces (titles), DM Sans (text),
   orange #FF6638, ink #101828, peach #FFF4EC.
   Everything hangs from #ifb-account so it wins over the older
   "page-id-170" rules in Additional CSS without touching them.
   Icons: Lucide (ISC license).
   ========================================================= */

.ifb-acc,
#ifb-account {
  --ifb-ink: #101828;
  --ifb-text: #344054;
  --ifb-muted: #475467;
  --ifb-soft: #667085;
  --ifb-line: #EAECF0;
  --ifb-field: #D0D5DD;
  --ifb-orange: #FF6638;
  --ifb-orange-dark: #EF5528;
  --ifb-orange-ink: #C2410C;
  --ifb-peach: #FFF4EC;
  --ifb-peach-2: #FFE8DA;
  --ifb-cream: #FFFAF7;
  --ifb-gray: #F9FAFB;
  --ifb-serif: 'Fraunces', Georgia, serif;
  --ifb-sans: 'DM Sans', Arial, sans-serif;
  --ifb-r: 20px;
}

/* Page background like the landing hero */
body.ifb-acc .uicore-content,
body.ifb-acc #content {
  background: linear-gradient(180deg, var(--ifb-peach) 0, #fff 520px) !important;
}
body.ifb-acc .elementor-170 .e-con,
body.ifb-acc .elementor-170 .elementor-widget-container { background: transparent; }
/* (0,4,2): stronger than the old "body.page-id-170.logged-in .elementor-170 .woocommerce" grid */
body.ifb-acc.woocommerce-account.woocommerce-page div.woocommerce {
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
  max-width: 1224px !important; /* 1180 px of content, like the rest of the site */
  margin: 0 auto !important;
  padding: 0 22px !important;
  box-sizing: border-box;
}
body.ifb-acc #ifb-account { width: 100%; grid-column: 1 / -1 !important; }
/* Wide screens: the My Account page has its own 1200 px Elementor box; the content is 1180 px inside it,
   so it lines up with the header (363..1543 px on a 1920 px screen) */
@media (min-width: 768px) {
  body.ifb-acc.woocommerce-account.woocommerce-page div.woocommerce { max-width: 1180px !important; padding: 0 !important; }
}

#ifb-account,
#ifb-account input,
#ifb-account select,
#ifb-account textarea,
#ifb-account button,
body.ifb-acc .woocommerce-notices-wrapper,
body.ifb-acc .woocommerce-error,
body.ifb-acc .woocommerce-message,
body.ifb-acc .woocommerce-info {
  font-family: var(--ifb-sans) !important;
}
#ifb-account {
  color: var(--ifb-text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
#ifb-account *,
#ifb-account *::before,
#ifb-account *::after { box-sizing: border-box; }

/* ---------- shared pieces ---------- */

#ifb-account .ifb-eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px !important;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--ifb-peach-2);
  border-radius: 999px;
  background: #fff;
  color: var(--ifb-ink);
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.3;
}
#ifb-account .ifb-eyebrow span {
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ifb-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

#ifb-account .ifb-title,
#ifb-account h1,
#ifb-account h2,
#ifb-account h3 {
  font-family: var(--ifb-serif) !important;
  color: var(--ifb-ink) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  text-transform: none !important;
}
#ifb-account .ifb-title {
  margin: 0 0 12px !important;
  font-size: clamp(34px, 3.4vw, 46px) !important;
  line-height: 1.05 !important;
}
#ifb-account .ifb-title em {
  font: inherit !important;
  font-style: normal !important;
  color: var(--ifb-orange) !important;
  vertical-align: baseline !important;
}
#ifb-account h2 { font-size: 28px !important; line-height: 1.15 !important; margin: 0 0 16px !important; }
#ifb-account h3 { font-size: 21px !important; line-height: 1.2 !important; margin: 0 0 12px !important; }

#ifb-account .ifb-lead {
  margin: 0 0 28px !important;
  max-width: 460px;
  color: var(--ifb-muted);
  font-size: 17px !important;
  line-height: 1.55;
}

/* Buttons: orange pill with glow, ghost pill with ink border (as on the landing) */
#ifb-account .ifb-btn,
#ifb-account .button,
#ifb-account button[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px !important;
  width: auto;
  margin: 0 !important;
  padding: 0 26px !important;
  border: 2px solid var(--ifb-orange) !important;
  border-radius: 999px !important;
  background: var(--ifb-orange) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
  box-shadow: 0 6px 18px rgba(255, 102, 56, .28) !important;
  cursor: pointer;
  transition: box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
#ifb-account .ifb-btn:hover,
#ifb-account .button:hover,
#ifb-account button[type="submit"]:hover {
  background: var(--ifb-orange) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(255, 102, 56, .4) !important;
}
#ifb-account .ifb-btn.is-ghost {
  background: #fff !important;
  border-color: var(--ifb-ink) !important;
  color: var(--ifb-ink) !important;
  box-shadow: none !important;
}
#ifb-account .ifb-btn.is-ghost:hover { background: var(--ifb-ink) !important; color: #fff !important; }
#ifb-account .ifb-btn:focus-visible,
#ifb-account .button:focus-visible,
#ifb-account a:focus-visible,
#ifb-account button:focus-visible {
  outline: 3px solid rgba(255, 102, 56, .45) !important;
  outline-offset: 3px;
}

#ifb-account a { color: var(--ifb-orange-ink); }
#ifb-account .ifb-link,
#ifb-account .ifb-switch a,
#ifb-account .ifb-signout a {
  color: var(--ifb-orange-ink) !important;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(194, 65, 12, .35);
  text-underline-offset: 3px;
}
#ifb-account .ifb-link:hover,
#ifb-account .ifb-switch a:hover { text-decoration-color: currentColor; }

/* Fields */
#ifb-account .form-row,
#ifb-account p.form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
#ifb-account label {
  display: block;
  margin: 0 0 7px !important;
  color: var(--ifb-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
#ifb-account .required { color: var(--ifb-orange-ink); text-decoration: none; border: 0; }
#ifb-account input.input-text,
#ifb-account input[type="text"],
#ifb-account input[type="email"],
#ifb-account input[type="password"],
#ifb-account input[type="tel"],
#ifb-account select,
#ifb-account textarea,
#ifb-account .select2-container .select2-selection--single {
  width: 100% !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--ifb-field) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--ifb-ink) !important;
  font-size: 16px !important;
  line-height: 48px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05) !important;
  transition: border-color .15s, box-shadow .15s;
}
#ifb-account textarea { height: auto !important; min-height: 120px; padding: 12px 16px !important; line-height: 1.5; }
#ifb-account .select2-container .select2-selection--single .select2-selection__rendered { line-height: 48px; padding: 0; color: var(--ifb-ink); }
#ifb-account .select2-container .select2-selection--single .select2-selection__arrow { height: 48px; right: 10px; }
#ifb-account input.input-text:focus,
#ifb-account input[type="text"]:focus,
#ifb-account input[type="email"]:focus,
#ifb-account input[type="password"]:focus,
#ifb-account input[type="tel"]:focus,
#ifb-account select:focus,
#ifb-account textarea:focus {
  outline: none !important;
  border-color: var(--ifb-orange) !important;
  box-shadow: 0 0 0 4px rgba(255, 102, 56, .16) !important;
}
#ifb-account .password-input { position: relative; display: block; }
#ifb-account .password-input input { padding-right: 52px !important; }
#ifb-account .show-password-input {
  position: absolute !important;
  top: 50% !important;
  right: 6px !important;
  width: 40px !important;
  height: 40px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ifb-soft) !important;
  transform: translateY(-50%);
}
#ifb-account .show-password-input:hover { background: var(--ifb-gray) !important; }
#ifb-account .show-password-input::after { color: currentColor !important; }

#ifb-account input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  box-sizing: border-box !important;
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1.5px solid var(--ifb-field) !important;
  border-radius: 6px !important;
  background: #fff center / 14px no-repeat !important;
  cursor: pointer;
  vertical-align: middle;
}
#ifb-account input[type="checkbox"]:checked {
  border-color: var(--ifb-orange) !important;
  background-color: var(--ifb-orange) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") !important;
}
#ifb-account input[type="checkbox"]:focus-visible { outline: 3px solid rgba(255, 102, 56, .4); outline-offset: 2px; }

/* =========================================================
   LOG IN / SIGN UP / PASSWORD
   ========================================================= */

/* One column: the log in card alone, centered */
#ifb-account.ifb-auth {
  max-width: 540px;
  margin: 56px auto 96px;
  padding: 16px;
  border: 1px solid var(--ifb-line);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(16, 24, 40, .18);
}
#ifb-account .ifb-auth-form {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 36px 8px 32px;
}

/* Hide the old two-column titles and the Italian Google box of the old snippet */
body.ifb-acc #customer_login > div > h2,
#ifb-account .inkfire-google-login { display: none !important; }

#ifb-account .ifb-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 0 30px;
  padding: 4px;
  border-radius: 14px;
  background: var(--ifb-gray);
  border: 1px solid var(--ifb-line);
}
#ifb-account .ifb-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 10px;
  color: var(--ifb-muted) !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
#ifb-account .ifb-tabs a:hover { color: var(--ifb-ink) !important; }
#ifb-account .ifb-tabs a[aria-selected="true"] {
  background: #fff;
  color: var(--ifb-ink) !important;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .1), 0 1px 2px rgba(16, 24, 40, .06);
}
#ifb-account .ifb-panel[hidden] { display: none !important; }

#ifb-account .ifb-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--ifb-field);
  border-radius: 999px;
  background: #fff;
  color: var(--ifb-ink) !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  transition: background-color .15s, border-color .15s;
}
#ifb-account .ifb-google:hover { background: var(--ifb-gray); border-color: #98A2B3; }
#ifb-account .ifb-google svg { flex: 0 0 auto; }

#ifb-account .ifb-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 !important;
  color: var(--ifb-soft);
  font-size: 14px !important;
}
#ifb-account .ifb-or::before,
#ifb-account .ifb-or::after { content: ""; flex: 1; height: 1px; background: var(--ifb-line); }

#ifb-account form.login,
#ifb-account form.register,
#ifb-account form.lost_reset_password {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  max-width: none !important;
}
#ifb-account .ifb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 0 24px;
  font-size: 15px;
}
#ifb-account .woocommerce-form-login__rememberme {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  color: var(--ifb-text) !important;
  cursor: pointer;
}
#ifb-account .woocommerce-form-login__rememberme span { font-size: 15px; }
#ifb-account.ifb-auth .ifb-btn,
#ifb-account.ifb-auth button[type="submit"] { width: 100% !important; min-height: 52px !important; }
#ifb-account .ifb-note,
#ifb-account .woocommerce-privacy-policy-text p {
  margin: 0 0 18px !important;
  color: var(--ifb-muted);
  font-size: 14px !important;
  line-height: 1.5;
}
#ifb-account .ifb-switch {
  margin: 26px 0 0 !important;
  color: var(--ifb-muted);
  font-size: 15px !important;
  text-align: center;
}

/* =========================================================
   LOGGED IN: menu on the left, page on the right
   ========================================================= */

#ifb-account.ifb-acc-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin: 48px auto 96px;
}
body.ifb-acc.logged-in .woocommerce::before,
body.ifb-acc.logged-in .woocommerce::after { display: none !important; }

#ifb-account .ifb-side {
  position: sticky;
  top: 110px;
  padding: 16px;
  border: 1px solid var(--ifb-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 40px -28px rgba(16, 24, 40, .2);
}
#ifb-account .ifb-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--ifb-line);
}
#ifb-account .ifb-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ifb-peach);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--ifb-peach-2);
  color: var(--ifb-orange-ink);
  font-family: var(--ifb-serif);
  font-size: 18px;
  font-weight: 700;
}
#ifb-account .ifb-avatar.has-photo { overflow: hidden; background: #fff; }
#ifb-account .ifb-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
#ifb-account .ifb-profile-text { min-width: 0; line-height: 1.35; }
#ifb-account .ifb-profile-text b {
  display: block;
  overflow: hidden;
  color: var(--ifb-ink);
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#ifb-account .ifb-profile-text span {
  display: block;
  overflow: hidden;
  color: var(--ifb-soft);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#ifb-account .woocommerce-MyAccount-navigation {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  position: static !important;
}
#ifb-account .woocommerce-MyAccount-navigation::before { display: none !important; }
#ifb-account .woocommerce-MyAccount-navigation ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border: 0 !important;
  background: none !important;
  overflow: visible !important;
}
#ifb-account .woocommerce-MyAccount-navigation li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  list-style: none !important;
}
#ifb-account .woocommerce-MyAccount-navigation li::before { display: none !important; }
#ifb-account .woocommerce-MyAccount-navigation li > a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 44px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ifb-text) !important;
  font-family: var(--ifb-sans) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap;
  transition: background-color .15s, color .15s;
}
#ifb-account .woocommerce-MyAccount-navigation li > a:hover {
  background: var(--ifb-gray) !important;
  color: var(--ifb-ink) !important;
}
#ifb-account .woocommerce-MyAccount-navigation li.is-active > a {
  background: var(--ifb-peach) !important;
  color: var(--ifb-orange-ink) !important;
  font-weight: 700 !important;
}
#ifb-account .woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid var(--ifb-line) !important;
}
#ifb-account .woocommerce-MyAccount-navigation-link--customer-logout > a { color: var(--ifb-muted) !important; }
#ifb-account .woocommerce-MyAccount-navigation-link--ifb-studio > a { color: var(--ifb-ink) !important; }

/* Icons (one mask per page, a dot for pages added by other plugins) */
#ifb-account .woocommerce-MyAccount-navigation li > a::before,
#ifb-account .ifb-tile-ico {
  content: "";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask: var(--ifb-i, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")) center / contain no-repeat;
  mask: var(--ifb-i, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")) center / contain no-repeat;
  opacity: .9;
}
#ifb-account .woocommerce-MyAccount-navigation li.is-active > a::before { background-color: var(--ifb-orange); opacity: 1; }

#ifb-account .woocommerce-MyAccount-navigation-link--dashboard { --ifb-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8'/%3E%3Cpath d='M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
#ifb-account .woocommerce-MyAccount-navigation-link--service-orders,
#ifb-account .ifb-ico--service-orders { --ifb-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v14'/%3E%3Cpath d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3C/svg%3E"); }
#ifb-account .woocommerce-MyAccount-navigation-link--orders,
#ifb-account .ifb-ico--orders { --ifb-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z'/%3E%3Cpath d='M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8'/%3E%3Cpath d='M12 17.5v-11'/%3E%3C/svg%3E"); }
#ifb-account .woocommerce-MyAccount-navigation-link--downloads,
#ifb-account .ifb-ico--downloads { --ifb-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M12 15V3'/%3E%3C/svg%3E"); }
#ifb-account .woocommerce-MyAccount-navigation-link--edit-address,
#ifb-account .ifb-ico--edit-address { --ifb-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
#ifb-account .woocommerce-MyAccount-navigation-link--edit-account,
#ifb-account .ifb-ico--edit-account { --ifb-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662'/%3E%3C/svg%3E"); }
#ifb-account .woocommerce-MyAccount-navigation-link--payment-methods { --ifb-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='5' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E"); }
#ifb-account .woocommerce-MyAccount-navigation-link--ifb-studio { --ifb-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z'/%3E%3C/svg%3E"); }
#ifb-account .woocommerce-MyAccount-navigation-link--customer-logout { --ifb-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 17 5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3C/svg%3E"); }

/* Page area */
#ifb-account .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 36px 40px !important;
  border: 1px solid var(--ifb-line) !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 20px 40px -28px rgba(16, 24, 40, .2) !important;
}
#ifb-account .woocommerce-MyAccount-content > p:first-child:not(.ifb-eyebrow),
#ifb-account .woocommerce-MyAccount-content p { color: var(--ifb-text); font-size: 16px; }

/* Overview: the dashboard is the page itself, no outer card */
#ifb-account .woocommerce-MyAccount-content:has(> .ifb-hero) {
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

#ifb-account .ifb-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 44px 44px;
  border: 1px solid var(--ifb-peach-2);
  border-radius: 28px;
  background:
    radial-gradient(120% 120% at 100% 0, rgba(255, 102, 56, .16) 0, rgba(255, 102, 56, 0) 55%),
    linear-gradient(160deg, #fff 0, var(--ifb-peach) 100%);
}
#ifb-account .ifb-hero .ifb-title { font-size: clamp(36px, 3.6vw, 52px) !important; }
#ifb-account .ifb-hero .ifb-lead { margin-bottom: 28px !important; }
#ifb-account .ifb-actions { display: flex; flex-wrap: wrap; gap: 12px; }

#ifb-account .ifb-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
#ifb-account .ifb-tile { margin: 0 !important; padding: 0 !important; list-style: none !important; }
#ifb-account .ifb-tile::before { display: none !important; }
#ifb-account .ifb-tile a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 22px 22px 24px;
  border: 1px solid var(--ifb-line);
  border-radius: var(--ifb-r);
  background: #fff;
  color: var(--ifb-muted) !important;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none !important;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
#ifb-account .ifb-tile a::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 22px;
  width: 18px;
  height: 18px;
  background: var(--ifb-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%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' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: background-color .2s, transform .2s;
}
#ifb-account .ifb-tile a:hover {
  border-color: #FFD3BF;
  box-shadow: 0 16px 32px -20px rgba(255, 102, 56, .45);
  transform: translateY(-2px);
}
#ifb-account .ifb-tile a:hover::after { background: var(--ifb-orange); transform: translate(2px, -2px); }
#ifb-account .ifb-tile b { color: var(--ifb-ink); font-size: 17px; font-weight: 700; }
#ifb-account .ifb-tile-ico {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--ifb-peach);
  -webkit-mask: none;
  mask: none;
  opacity: 1;
  position: relative;
}
#ifb-account .ifb-tile-ico::before {
  content: "";
  position: absolute;
  inset: 12px;
  background: var(--ifb-orange);
  -webkit-mask: var(--ifb-i) center / contain no-repeat;
  mask: var(--ifb-i) center / contain no-repeat;
}

#ifb-account .ifb-studio {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 32px;
  margin-top: 24px;
  padding: 16px 36px 16px 16px;
  border: 1px solid var(--ifb-line);
  border-radius: 28px;
  background: var(--ifb-cream);
}
#ifb-account .ifb-studio img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: left top; /* the Studio window runs off the right and bottom edges */
  border-radius: 18px;
}
#ifb-account .ifb-studio h2 { font-size: 27px !important; margin: 0 0 10px !important; }
#ifb-account .ifb-studio p { margin: 0 0 20px; color: var(--ifb-muted); font-size: 16px; }
#ifb-account .ifb-kicker {
  margin: 0 0 8px !important;
  color: var(--ifb-orange-ink) !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#ifb-account .ifb-signout { margin: 24px 4px 0 !important; color: var(--ifb-soft) !important; font-size: 14px !important; }
#ifb-account .ifb-signout b { color: var(--ifb-text); font-weight: 600; }

/* Other pages: tables, addresses, forms, notices */
#ifb-account table.shop_table,
#ifb-account table.woocommerce-orders-table,
#ifb-account table.woocommerce-table {
  width: 100%;
  margin: 0 0 24px !important;
  border: 1px solid var(--ifb-line) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 16px !important;
  overflow: hidden;
  background: #fff;
  font-size: 15px;
}
#ifb-account table.shop_table th,
#ifb-account table.shop_table td {
  padding: 14px 16px !important;
  border: 0 !important;
  border-top: 1px solid var(--ifb-line) !important;
  background: transparent !important;
  color: var(--ifb-text) !important;
  text-align: left;
  vertical-align: middle;
}
#ifb-account table.shop_table thead th {
  border-top: 0 !important;
  background: var(--ifb-gray) !important;
  color: var(--ifb-muted) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .02em;
  text-transform: none !important;
}
#ifb-account table.shop_table tbody tr:hover td { background: var(--ifb-cream) !important; }
#ifb-account table.shop_table td a:not(.button) { color: var(--ifb-ink) !important; font-weight: 600; text-decoration: none; }
#ifb-account table.shop_table .button {
  min-height: 38px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  box-shadow: none !important;
  background: #fff !important;
  color: var(--ifb-ink) !important;
  border: 1px solid var(--ifb-field) !important;
}
#ifb-account table.shop_table .button:hover { border-color: var(--ifb-orange) !important; color: var(--ifb-orange-ink) !important; background: var(--ifb-peach) !important; }
#ifb-account table.shop_table td .button + .button { margin-left: 6px !important; }
#ifb-account mark { padding: 2px 8px; border-radius: 999px; background: var(--ifb-peach); color: var(--ifb-orange-ink); font-weight: 600; }

#ifb-account .woocommerce-Addresses,
#ifb-account .u-columns.addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
#ifb-account .woocommerce-Addresses::before,
#ifb-account .woocommerce-Addresses::after { display: none !important; }
#ifb-account .woocommerce-Address {
  float: none !important;
  width: auto !important;
  padding: 22px !important;
  border: 1px solid var(--ifb-line);
  border-radius: var(--ifb-r);
  background: var(--ifb-gray);
}
#ifb-account .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
#ifb-account .woocommerce-Address-title h2,
#ifb-account .woocommerce-Address-title h3 { margin: 0 !important; font-size: 20px !important; }
#ifb-account .woocommerce-Address-title .edit { color: var(--ifb-orange-ink) !important; font-weight: 600; font-size: 14px; }
#ifb-account address { font-style: normal; color: var(--ifb-text); line-height: 1.6; }

/* Forms: two columns for first/last name, everything else full width */
#ifb-account form.woocommerce-EditAccountForm,
#ifb-account .woocommerce-address-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
#ifb-account form.woocommerce-EditAccountForm > *,
#ifb-account .woocommerce-address-fields__field-wrapper > * { grid-column: 1 / -1; }
#ifb-account form.woocommerce-EditAccountForm > .form-row-first,
#ifb-account form.woocommerce-EditAccountForm > .form-row-last,
#ifb-account .woocommerce-address-fields__field-wrapper > .form-row-first,
#ifb-account .woocommerce-address-fields__field-wrapper > .form-row-last { grid-column: auto; }
#ifb-account form.woocommerce-EditAccountForm > .clear { display: none; }
#ifb-account form.woocommerce-EditAccountForm > span em { display: block; margin: -10px 0 18px; }
#ifb-account fieldset {
  margin: 12px 0 24px;
  padding: 24px !important;
  border: 1px solid var(--ifb-line) !important;
  border-radius: var(--ifb-r);
  background: var(--ifb-gray);
}
#ifb-account legend { padding: 0 8px; font-family: var(--ifb-serif); font-size: 20px; font-weight: 700; color: var(--ifb-ink); }
#ifb-account em,
#ifb-account .description { color: var(--ifb-soft); font-size: 14px; }

/* =========================================================
   Smaller screens
   ========================================================= */

@media (max-width: 1100px) {
  #ifb-account.ifb-acc-shell { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  #ifb-account .woocommerce-MyAccount-content { padding: 28px !important; }
  #ifb-account .ifb-hero { padding: 32px; }
  #ifb-account .ifb-studio { grid-template-columns: 1fr; padding: 16px 16px 28px; gap: 22px; }
  #ifb-account .ifb-studio > div { padding: 0 12px; }
  #ifb-account .ifb-studio img { min-height: 0; aspect-ratio: 3 / 2; height: auto; }
}

@media (max-width: 900px) {
  body.ifb-acc.woocommerce-account.woocommerce-page div.woocommerce { padding: 0 16px !important; }
  #ifb-account.ifb-auth { margin: 24px auto 56px; padding: 8px; border-radius: 24px; }
  #ifb-account .ifb-auth-form { padding: 28px 16px 24px; }

  #ifb-account.ifb-acc-shell { grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 24px auto 64px; }
  #ifb-account .ifb-side { min-width: 0; position: static; padding: 12px; border-radius: 20px; }
  #ifb-account .ifb-profile { padding: 4px 4px 12px; margin-bottom: 8px; }
  #ifb-account .woocommerce-MyAccount-navigation ul {
    flex-direction: row !important;
    gap: 6px !important;
    overflow-x: auto !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  #ifb-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
  #ifb-account .woocommerce-MyAccount-navigation li > a { width: auto !important; min-height: 40px !important; padding: 0 14px !important; background: var(--ifb-gray) !important; }
  #ifb-account .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0 !important; padding: 0 !important; border: 0 !important; }
  #ifb-account .woocommerce-MyAccount-content { padding: 22px 18px !important; border-radius: 20px !important; }
  #ifb-account .ifb-hero { padding: 26px 22px 28px; border-radius: 22px; }
  #ifb-account .ifb-actions .ifb-btn { flex: 1 1 auto; }
  #ifb-account .ifb-tiles { grid-template-columns: 1fr; gap: 10px; }
  #ifb-account table.shop_table_responsive { border: 0 !important; border-radius: 0 !important; background: none !important; overflow: visible; }
  #ifb-account table.shop_table_responsive thead { display: none; }
  #ifb-account table.shop_table_responsive tbody tr {
    display: block;
    margin: 0 0 12px !important;
    padding: 6px 0 !important;
    border: 1px solid var(--ifb-line) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: none !important;
  }
  #ifb-account table.shop_table_responsive tr th,
  #ifb-account table.shop_table_responsive tr td { padding: 10px 16px !important; border: 0 !important; background: none !important; }
  #ifb-account table.shop_table_responsive tr td { display: flex !important; justify-content: space-between; gap: 12px; text-align: right !important; }
  #ifb-account table.shop_table_responsive tr td::before { content: attr(data-title); color: var(--ifb-muted); font-weight: 600; text-align: left; }
  #ifb-account table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions { justify-content: flex-end; }
  #ifb-account form.woocommerce-EditAccountForm,
  #ifb-account .woocommerce-address-fields__field-wrapper { grid-template-columns: minmax(0, 1fr) !important; }
}

@media (prefers-reduced-motion: reduce) {
  #ifb-account *,
  #ifb-account *::before,
  #ifb-account *::after { transition: none !important; }
}

/* Profile photo (Account details) */
#ifb-account .ifb-photo-field {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid var(--ifb-line);
  border-radius: var(--ifb-r);
  background: var(--ifb-gray);
}
#ifb-account .ifb-photo-preview {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--ifb-peach);
  box-shadow: 0 0 0 1px var(--ifb-peach-2);
  color: var(--ifb-orange-ink);
  font: 700 30px/1 var(--ifb-serif);
}
#ifb-account .ifb-photo-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#ifb-account .ifb-photo-preview.has-photo .ifb-photo-initials { visibility: hidden; }
#ifb-account .ifb-photo-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#ifb-account .ifb-photo-body > b { color: var(--ifb-ink); font-size: 16px; font-weight: 700; }
#ifb-account .ifb-photo-help { color: var(--ifb-soft); font-size: 14px; line-height: 1.45; }
#ifb-account .ifb-photo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 8px; }
#ifb-account #ifb_photo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#ifb-account .ifb-btn.is-small { min-height: 40px !important; padding: 0 18px !important; font-size: 14px !important; border-width: 1.5px !important; }
#ifb-account #ifb_photo:focus-visible + .ifb-btn { outline: 3px solid rgba(255, 102, 56, .45) !important; outline-offset: 3px; }
#ifb-account .ifb-photo-remove { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; color: var(--ifb-text) !important; font-size: 14px !important; font-weight: 500 !important; cursor: pointer; }
#ifb-account .ifb-photo-remove input { width: 16px; height: 16px; margin: 0; accent-color: var(--ifb-orange); }
#ifb-account .ifb-photo-name { color: var(--ifb-soft); font-size: 13px; overflow-wrap: anywhere; }
#ifb-account .ifb-photo-name:empty { display: none; }
@media (max-width: 480px) {
  #ifb-account .ifb-photo-field { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; }
}
#ifb-account .woocommerce-notices-wrapper:empty { display: none; }

/* =========================================================
   Notices (sent, saved, errors): one look on every account page.
   The site's Additional CSS centers them, hides their icon and colors them in its own way; "body:is(#ifba-a#ifba-b, body)"
   gives these rules the weight of two ids so they win, without matching anything else.
   ========================================================= */
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-notices-wrapper { max-width: none !important; margin: 0 !important; padding: 0 !important; text-align: left !important; }
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-notices-wrapper:empty { display: none !important; }
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-message,
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-info,
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-error {
  --ifba-n-ink: #344054; --ifba-n-bg: #F9FAFB; --ifba-n-line: #EAECF0; --ifba-n-dot: #667085;
  position: relative !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 4px 14px !important;
  width: auto !important;
  margin: 0 0 20px !important;
  padding: 14px 18px 14px 54px !important;
  border: 1px solid var(--ifba-n-line) !important;
  border-radius: 16px !important;
  background: var(--ifba-n-bg) !important;
  box-shadow: none !important;
  color: var(--ifba-n-ink) !important;
  font: 500 15px/1.5 var(--ifb-sans) !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  list-style: none !important;
}
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-message { --ifba-n-ink: #085D3A; --ifba-n-bg: #ECFDF3; --ifba-n-line: #ABEFC6; --ifba-n-dot: #079455; --ifba-n-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-info { --ifba-n-ink: #9A3412; --ifba-n-bg: var(--ifb-peach); --ifba-n-line: #FFD3BF; --ifba-n-dot: var(--ifb-orange); --ifba-n-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='5.6' r='2.4' fill='%23000'/%3E%3Cpath d='M12 10.5v9' stroke='%23000' stroke-width='3.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-error { --ifba-n-ink: #912018; --ifba-n-bg: #FEF3F2; --ifba-n-line: #FECDCA; --ifba-n-dot: #D92D20; --ifba-n-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4.5v9' stroke='%23000' stroke-width='3.6' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='18.4' r='2.4' fill='%23000'/%3E%3C/svg%3E"); flex-direction: column !important; align-items: flex-start !important; }
/* the icon: a small round badge drawn here (the font icon of WooCommerce is hidden by the site). "i" and "!" are
   drawn bold (14/11/2026: the thin "i" was hard to read) */
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-message::before,
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-info::before,
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-error::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 14px !important;
  left: 18px !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: var(--ifba-n-dot) !important;
  -webkit-mask: none !important;
  mask: none !important;
}
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-message::after,
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-info::after,
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-error::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 18px !important;
  left: 22px !important;
  width: 16px !important;
  height: 16px !important;
  background: #fff !important;
  -webkit-mask: var(--ifba-n-icon) center / contain no-repeat !important;
  mask: var(--ifba-n-icon) center / contain no-repeat !important;
  clear: none !important;
}
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-error li { margin: 0 !important; padding: 0 !important; list-style: none !important; color: inherit !important; }
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-message a:not(.button),
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-info a:not(.button),
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-error a:not(.button) { color: inherit !important; font-weight: 700 !important; text-decoration: underline !important; text-underline-offset: 2px; }
/* a link-button inside the notice ("View cart", "Undo"...) sits at the end of the line */
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-message .button,
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-info .button {
  order: 2;
  float: none !important;
  margin: 0 0 0 auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--ifba-n-ink) !important;
  font: 700 14px/1.4 var(--ifb-sans) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
/* Logged out (log in, password help): the notice sits above the card, as wide as the card, without overlapping it */
body.ifb-acc:is(#ifba-a#ifba-b, body):not(.logged-in) .woocommerce > .woocommerce-notices-wrapper:not(:empty),
body.ifb-acc:is(#ifba-a#ifba-b, body):not(.logged-in) .woocommerce > .woocommerce-message,
body.ifb-acc:is(#ifba-a#ifba-b, body):not(.logged-in) .woocommerce > .woocommerce-info,
body.ifb-acc:is(#ifba-a#ifba-b, body):not(.logged-in) .woocommerce > .woocommerce-error { max-width: 540px !important; margin: 48px auto 0 !important; }
body.ifb-acc:is(#ifba-a#ifba-b, body):not(.logged-in) .woocommerce-notices-wrapper > :last-child { margin-bottom: 0 !important; }
body.ifb-acc:is(#ifba-a#ifba-b, body):not(.logged-in) .woocommerce:has(> .woocommerce-notices-wrapper:not(:empty), > .woocommerce-message, > .woocommerce-info, > .woocommerce-error) > #ifb-account.ifb-auth { margin-top: 16px !important; }
@media (max-width: 900px) {
  body.ifb-acc:is(#ifba-a#ifba-b, body):not(.logged-in) .woocommerce > .woocommerce-notices-wrapper:not(:empty),
  body.ifb-acc:is(#ifba-a#ifba-b, body):not(.logged-in) .woocommerce > .woocommerce-message,
  body.ifb-acc:is(#ifba-a#ifba-b, body):not(.logged-in) .woocommerce > .woocommerce-info,
  body.ifb-acc:is(#ifba-a#ifba-b, body):not(.logged-in) .woocommerce > .woocommerce-error { margin-top: 24px !important; }
}

/* "Your next book" card (service delivered): two buttons, centered text when they fill the width */
#ifb-account .ifb-studio .ifb-actions { margin: 0; }
#ifb-account .ifb-studio .ifb-actions .ifb-btn { justify-content: center; text-align: center; white-space: nowrap; }
@media (max-width: 480px) {
  #ifb-account .ifb-studio .ifb-actions .ifb-btn { padding-left: 16px; padding-right: 16px; }
}

/* =========================================================
   Phones and tablets (1.0.11)
   ========================================================= */
#ifb-account .ifb-nav-toggle { display: none; }

@media (max-width: 900px) {
  /* Menu: one button with the current page, the full list opens under it */
  #ifb-account .woocommerce-MyAccount-navigation.has-toggle .ifb-nav-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--ifb-line);
    border-radius: 14px;
    background: var(--ifb-gray);
    color: var(--ifb-ink);
    font: 700 15px/1.3 var(--ifb-sans);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  #ifb-account .ifb-nav-toggle-ico {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background: var(--ifb-orange);
    -webkit-mask: var(--ifb-i) center / contain no-repeat;
    mask: var(--ifb-i) center / contain no-repeat;
  }
  #ifb-account .ifb-nav-toggle-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #ifb-account .ifb-nav-toggle-more { display: inline-flex; align-items: center; gap: 6px; color: var(--ifb-muted); font-size: 14px; font-weight: 600; }
  #ifb-account .woocommerce-MyAccount-navigation.is-open .ifb-nav-toggle { border-color: var(--ifb-field); background: #fff; }
  #ifb-account .ifb-nav-toggle-more::after {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%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' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .2s;
  }
  #ifb-account .woocommerce-MyAccount-navigation.is-open .ifb-nav-toggle-more::after { transform: rotate(180deg); }
  #ifb-account .woocommerce-MyAccount-navigation.has-toggle:not(.is-open) ul { display: none !important; }
  #ifb-account .woocommerce-MyAccount-navigation.has-toggle ul { flex-direction: column !important; gap: 2px !important; margin: 8px 0 0 !important; overflow: visible !important; }
  #ifb-account .woocommerce-MyAccount-navigation.has-toggle li > a { width: 100% !important; min-height: 46px !important; padding: 0 14px !important; background: transparent !important; }
  #ifb-account .woocommerce-MyAccount-navigation.has-toggle li.is-active > a { background: var(--ifb-gray) !important; color: var(--ifb-ink) !important; }
  #ifb-account .woocommerce-MyAccount-navigation.has-toggle .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px !important; padding-top: 6px !important; border-top: 1px solid var(--ifb-line) !important; }

  /* Addresses: title above the "Add / Edit" link */
  #ifb-account .woocommerce-Address-title { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (max-width: 600px) {
  /* Date pill on one line */
  #ifb-account .ifb-eyebrow { gap: 8px; margin-bottom: 18px !important; font-size: 13px !important; white-space: nowrap; }
  #ifb-account .ifb-eyebrow span { font-size: 12px; padding: 4px 9px; }

}
@media (max-width: 600px) {
  /* Order page: the page panel is already a card, so the sections inside lose their own frame */
  #ifb-account .woocommerce-MyAccount-content { padding: 20px 16px !important; }
  #ifb-account .woocommerce-MyAccount-content .woocommerce-order-details,
  #ifb-account .woocommerce-MyAccount-content .woocommerce-customer-details { padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
  #ifb-account .woocommerce-MyAccount-content .woocommerce-customer-details { margin-top: 28px !important; }
  #ifb-account .woocommerce-order-details__title,
  #ifb-account .woocommerce-column__title { font-size: 24px !important; }
}
@media (max-width: 900px) {
  /* Orders: "Total" on the left, "$249.00 for 1 item" together on the right */
  #ifb-account table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-total { display: block !important; text-align: right !important; }
  #ifb-account table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-total::before { float: left; margin-right: 12px; }
}
@media (max-width: 600px) {
  /* Account details: full-width save button, lighter password box */
  #ifb-account form.woocommerce-EditAccountForm button[type="submit"] { width: 100%; justify-content: center; }
  #ifb-account form.woocommerce-EditAccountForm fieldset { padding: 18px 16px !important; }
  #ifb-account form.woocommerce-EditAccountForm fieldset legend { font-size: 20px !important; padding: 0 6px !important; }
}

/* Project tabs and table, every width */
/* Project tabs (Active / Completed / Cancelled): one row of equal buttons */
#ifb-account .woo-service-status-tabs {
  display: inline-grid !important;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 4px !important;
  margin: 0 0 16px !important;
  padding: 4px !important;
  border: 1px solid var(--ifb-line) !important;
  border-radius: 14px !important;
  background: var(--ifb-gray) !important;
  list-style: none !important;
}
#ifb-account .woo-service-status-tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; list-style: none !important; }
#ifb-account .woo-service-status-tabs li::before { display: none !important; }
#ifb-account .woo-service-status-tabs a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 6px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--ifb-muted) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap;
}
#ifb-account .woo-service-status-tabs li.active-tab a { background: #fff !important; box-shadow: 0 1px 2px rgba(16, 24, 40, .08) !important; color: var(--ifb-orange-ink) !important; }
/* The person who works on the project is always InkFireBook: no "Vendor admin" row */
#ifb-account table.wss-manage-table td[data-title="Vendor"],
#ifb-account table.wss-manage-table th.woocommerce-orders-table__header-order-customer { display: none !important; }

#ifb-account .woo-service-status-tabs a { padding: 0 16px !important; }
@media (max-width: 900px) {
  #ifb-account .woo-service-status-tabs { display: grid !important; }
  #ifb-account .woo-service-status-tabs a { padding: 0 6px !important; }
  /* Dashboard cards: compact rows, icon on the left */
  #ifb-account .ifb-tile a {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    padding: 16px 44px 16px 16px;
  }
  #ifb-account .ifb-tile-ico { grid-row: 1 / span 2; width: 40px; height: 40px; margin: 0; align-self: start; }
  #ifb-account .ifb-tile-ico::before { inset: 10px; }
  #ifb-account .ifb-tile b { font-size: 16px; }
  #ifb-account .ifb-tile a::after { top: 50%; right: 16px; margin-top: -9px; }
  #ifb-account .ifb-tile a:hover { transform: none; }
}
/* Menu button: focus ring only for keyboard users */
#ifb-account .ifb-nav-toggle:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
#ifb-account .ifb-nav-toggle:focus-visible { outline: 3px solid rgba(255, 102, 56, .45) !important; outline-offset: 2px; }

/* =========================================================
   Next step card (Overview, 1.1.0)
   ========================================================= */
#ifb-account .ifb-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 26px 30px;
  border: 1px solid var(--ifb-peach-2);
  border-radius: 24px;
  background: var(--ifb-peach);
}
#ifb-account .ifb-next h2 { margin: 0 0 6px !important; font-size: 26px !important; }
#ifb-account .ifb-next p { margin: 0; color: var(--ifb-text); font-size: 16px; line-height: 1.5; }
#ifb-account .ifb-next .ifb-next-meta { margin-top: 8px; color: var(--ifb-soft); font-size: 14px; }
#ifb-account .ifb-next .ifb-actions { flex: 0 0 auto; margin: 0; }
#ifb-account .ifb-next.is-working { border-color: var(--ifb-line); background: var(--ifb-cream); }
#ifb-account .ifb-page-title { display: none; }
#ifb-account .ifb-tabbar { display: none; }

@media (max-width: 900px) {
  #ifb-account .ifb-next { flex-direction: column; align-items: stretch; gap: 18px; padding: 22px 20px; border-radius: 20px; }
  #ifb-account .ifb-next h2 { font-size: 23px !important; }
  #ifb-account .ifb-next .ifb-actions { flex-direction: column; }
  #ifb-account .ifb-next .ifb-actions .ifb-btn { width: 100%; justify-content: center; }

  /* =========================================================
     App-style bar at the bottom: the account menu on phones and tablets
     ========================================================= */
  #ifb-account.ifb-acc-shell:has(.ifb-tabbar) .ifb-side { display: none !important; }
  #ifb-account.ifb-acc-shell:has(.ifb-tabbar) { margin-top: 16px !important; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  #ifb-account .ifb-page-title { display: block; margin: 0 0 18px !important; font-size: 30px !important; line-height: 1.1 !important; }
  #ifb-account .ifb-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    display: grid;
    grid-template-columns: repeat(var(--ifb-tabs, 4), minmax(0, 1fr));
    padding: 0 6px env(safe-area-inset-bottom);
    border-top: 1px solid var(--ifb-line);
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    transition: transform .2s ease;
  }
  body.ifb-typing #ifb-account .ifb-tabbar { transform: translateY(110%); }
  #ifb-account .ifb-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 62px;
    padding: 8px 2px 6px;
    color: var(--ifb-muted) !important;
    font: 600 12px/1.2 var(--ifb-sans);
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
  }
  #ifb-account .ifb-tab-ico {
    width: 24px;
    height: 24px;
    background: var(--ifb-text);
    -webkit-mask: var(--ifb-i) center / contain no-repeat;
    mask: var(--ifb-i) center / contain no-repeat;
  }
  #ifb-account .ifb-tab-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #ifb-account .ifb-tab.is-active { color: var(--ifb-orange-ink) !important; font-weight: 700; }
  #ifb-account .ifb-tab.is-active .ifb-tab-ico { background: var(--ifb-orange); }
  #ifb-account .ifb-tab.is-active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 32px;
    height: 3px;
    margin-left: -16px;
    border-radius: 0 0 3px 3px;
    background: var(--ifb-orange);
  }
  #ifb-account .ifb-tab:focus-visible { outline: 3px solid rgba(255, 102, 56, .45); outline-offset: -3px; border-radius: 12px; }
  #ifb-account .ifb-tab-dot {
    position: absolute;
    top: 9px;
    left: calc(50% + 7px);
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--ifb-orange);
  }
}
#ifb-account .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Welcome without buttons (the Next step card has them): no empty space under the text */
#ifb-account .ifb-hero:not(:has(.ifb-actions)) .ifb-lead { margin-bottom: 0 !important; }
@media (max-width: 900px) {
  #ifb-account .ifb-hero:not(:has(.ifb-actions)) { padding-bottom: 24px; }
  #ifb-account .ifb-hero .ifb-title { font-size: 36px !important; }
}
/* Two or three shortcut cards always fill the row */
#ifb-account .ifb-tiles { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }


/* "Your projects" on the Overview: one card per service project, sliding sideways */
#ifb-account .ifb-projects { margin-top: 28px; }
#ifb-account .ifb-projects-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
#ifb-account .ifb-projects-head h2 { margin: 0 !important; font-size: 22px !important; }
#ifb-account .ifb-projects-head a { color: var(--ifb-orange-ink) !important; font-size: 15px; font-weight: 600; text-decoration: none !important; }
#ifb-account .ifb-projects-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 12px;
  margin: 0 !important;
  padding: 2px 2px 8px !important;
  overflow-x: auto;
  list-style: none !important;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
#ifb-account .ifb-projects-list li { margin: 0 !important; padding: 0 !important; list-style: none !important; scroll-snap-align: start; }
#ifb-account .ifb-projects-list li::before { display: none !important; }
#ifb-account .ifb-projects-list a {
  display: flex;
  gap: 14px;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--ifb-line);
  border-radius: 18px;
  background: #fff;
  color: var(--ifb-ink) !important;
  text-decoration: none !important;
  transition: border-color .2s;
}
#ifb-account .ifb-projects-list a:hover { border-color: #FFD3BF; }
#ifb-account .ifb-projects-book {
  position: relative;
  flex: 0 0 44px;
  height: 58px;
  border-radius: 4px 7px 7px 4px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .18) 0 4px, transparent 4px), var(--ifb-peach-2);
}
#ifb-account .ifb-projects-book::after {
  content: "";
  position: absolute;
  inset: 14px 10px 14px 14px;
  background: var(--ifb-orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h10'/%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' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h10'/%3E%3C/svg%3E") center / contain no-repeat;
}
#ifb-account .ifb-projects-text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
#ifb-account .ifb-projects-text b { font-size: 15px; font-weight: 700; line-height: 1.3; }
#ifb-account .ifb-projects-order { color: var(--ifb-soft); font-size: 13px; }
#ifb-account .ifb-pill { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--ifb-peach); color: var(--ifb-orange-ink); font-size: 12px; font-weight: 700; }
#ifb-account .ifb-pill.is-done { background: #ECFDF3; color: #067647; }
#ifb-account .ifb-pill.is-working { background: var(--ifb-gray); color: var(--ifb-text); }

@media (max-width: 900px) {
  #ifb-account .ifb-projects-list { grid-auto-columns: minmax(78%, 1fr); }
}

/* =========================================================
   Overview 1.1.3: short greeting with bell, Next step with progress in the colors of the welcome card
   ========================================================= */
#ifb-account .ifb-hero.ifb-greet { padding: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
#ifb-account .ifb-greet-row { display: flex; align-items: center; gap: 16px; }
#ifb-account .ifb-greet .ifb-avatar { flex: 0 0 56px; width: 56px; height: 56px; font-size: 20px; }
#ifb-account .ifb-greet-text { flex: 1 1 auto; min-width: 0; }
#ifb-account .ifb-greet-date { margin: 0 0 2px !important; color: var(--ifb-soft); font-size: 14px; }
#ifb-account .ifb-greet .ifb-title { margin: 0 !important; font-size: clamp(28px, 3vw, 40px) !important; line-height: 1.1 !important; }
#ifb-account .ifb-bell {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ifb-line);
  border-radius: 14px;
  background: #fff;
  color: var(--ifb-ink) !important;
}
#ifb-account .ifb-bell:hover { border-color: var(--ifb-field); }
#ifb-account .ifb-bell.has-news::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 10px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--ifb-orange);
}
#ifb-account .ifb-greet .ifb-actions { margin-top: 20px; }

#ifb-account .ifb-next {
  display: block;
  margin-top: 24px;
  padding: 26px 28px 28px;
  border: 1px solid var(--ifb-peach-2);
  border-radius: 24px;
  background:
    radial-gradient(120% 120% at 100% 0, rgba(255, 102, 56, .16) 0, rgba(255, 102, 56, 0) 55%),
    linear-gradient(160deg, #fff 0, var(--ifb-peach) 100%);
  color: var(--ifb-ink);
}
#ifb-account .ifb-next-head { display: flex; align-items: center; gap: 12px; }
#ifb-account .ifb-next-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--ifb-peach-2); color: var(--ifb-orange); }
#ifb-account .ifb-next-kicker { margin: 0 !important; color: var(--ifb-orange-ink) !important; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
#ifb-account .ifb-next h2 { margin: 16px 0 4px !important; color: var(--ifb-ink) !important; font-size: 30px !important; line-height: 1.15 !important; }
#ifb-account .ifb-next .ifb-next-name { margin: 0; color: var(--ifb-text) !important; font-size: 15px; font-weight: 600; }
#ifb-account .ifb-next .ifb-next-text { margin: 10px 0 0; max-width: 560px; color: var(--ifb-muted) !important; font-size: 16px; line-height: 1.5; }
#ifb-account .ifb-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 20px 0 22px !important; padding: 0 !important; list-style: none !important; }
#ifb-account .ifb-steps li { margin: 0 !important; padding: 0 !important; list-style: none !important; color: var(--ifb-soft); font-size: 13px; font-weight: 600; }
#ifb-account .ifb-steps li::before { content: ""; display: block; height: 6px; margin-bottom: 8px; border-radius: 3px; background: #FFD3BF; }
#ifb-account .ifb-steps li.is-now::before { background: var(--ifb-orange); }
#ifb-account .ifb-steps li.is-done::before { background: var(--ifb-orange); }
#ifb-account .ifb-steps li.is-now { color: var(--ifb-orange-ink); font-weight: 700; }
#ifb-account .ifb-steps li.is-done { color: var(--ifb-text); }
#ifb-account .ifb-next .ifb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

@media (max-width: 900px) {
  #ifb-account .ifb-greet .ifb-avatar { flex-basis: 46px; width: 46px; height: 46px; font-size: 17px; }
  #ifb-account .ifb-greet-date { font-size: 13px; }
  #ifb-account .ifb-greet .ifb-title { font-size: 26px !important; }
  #ifb-account .ifb-greet .ifb-actions { flex-direction: column; }
  #ifb-account .ifb-greet .ifb-actions .ifb-btn { width: 100%; }
  #ifb-account .ifb-next { margin-top: 20px; padding: 20px 20px 22px; border-radius: 22px; }
  #ifb-account .ifb-next h2 { margin-top: 14px !important; font-size: 25px !important; }
  #ifb-account .ifb-next .ifb-next-text { font-size: 15px; }
  #ifb-account .ifb-steps li { font-size: 12px; }
  #ifb-account .ifb-next .ifb-actions { flex-direction: column; }
  #ifb-account .ifb-next .ifb-actions .ifb-btn { width: 100%; }
}

/* Overview 1.1.4: the big welcome card on computers, the short greeting on phones and tablets */
#ifb-account .ifb-hero.ifb-greet { display: none; }
@media (max-width: 900px) {
  #ifb-account .ifb-hero.ifb-hero-desk { display: none; }
  #ifb-account .ifb-hero.ifb-greet { display: block; }
}

/* =========================================================
   Settings on phones and tablets (1.1.5): profile in the middle, the form opens one part at a time
   ========================================================= */
#ifb-account .ifb-settings,
#ifb-account .ifb-set-head { display: none; }
@media (max-width: 900px) {
  #ifb-account.ifb-set-on .ifb-settings { display: block; }
  #ifb-account.ifb-set-on .ifb-settings.is-away { display: none; }
  #ifb-account.ifb-set-on .ifb-page-title:has(+ .woocommerce-notices-wrapper + .ifb-settings),
  #ifb-account.ifb-set-on .woocommerce-MyAccount-content:has(.ifb-settings) > .ifb-page-title { display: none; }
  #ifb-account.ifb-set-on form.woocommerce-EditAccountForm:not([data-open]) { display: none !important; }
  #ifb-account.ifb-set-on form.woocommerce-EditAccountForm[data-open] > .ifb-set-off { display: none !important; }
  #ifb-account.ifb-set-on form.woocommerce-EditAccountForm[data-open="password"] > [data-ifb-sec="password"] { display: block !important; margin-top: 0 !important; }
  #ifb-account.ifb-set-on form.woocommerce-EditAccountForm[data-open="password"] > fieldset > legend { display: none; }
  #ifb-account.ifb-set-on form.woocommerce-EditAccountForm[data-open] > .ifb-set-head { display: block !important; grid-column: 1 / -1; margin: 0 0 18px; }
  #ifb-account.ifb-set-on form.woocommerce-EditAccountForm[data-open] { display: block !important; padding-top: 18px !important; }

  #ifb-account .ifb-set-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 10px;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--ifb-orange-ink);
    font: 600 15px/1.2 var(--ifb-sans);
    cursor: pointer;
  }
  #ifb-account .ifb-set-back span {
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%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' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  #ifb-account .ifb-set-title { margin: 0 !important; font-size: 26px !important; outline: none; }

  #ifb-account .ifb-set-profile { display: flex; flex-direction: column; align-items: center; padding: 8px 0 22px; text-align: center; }
  #ifb-account .ifb-set-profile .ifb-avatar { width: 88px; height: 88px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--ifb-peach-2); font-size: 30px; }
  #ifb-account .ifb-set-name { margin: 14px 0 0 !important; color: var(--ifb-ink); font: 600 23px/1.2 var(--ifb-serif); }
  #ifb-account .ifb-set-email { margin: 4px 0 16px !important; color: var(--ifb-soft); font-size: 15px; overflow-wrap: anywhere; }
  #ifb-account .ifb-set-profile .ifb-btn { min-height: 44px !important; padding: 0 22px !important; font-size: 15px !important; border-width: 2px !important; }

  #ifb-account .ifb-set-group { margin: 0 0 14px; overflow: hidden; border: 1px solid var(--ifb-line); border-radius: 18px; background: #fff; }
  #ifb-account .ifb-set-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 60px;
    margin: 0;
    padding: 10px 16px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--ifb-text) !important;
    font: 500 16px/1.3 var(--ifb-sans);
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  #ifb-account .ifb-set-row + .ifb-set-row { border-top: 1px solid #F2F4F7; }
  #ifb-account .ifb-set-row:hover { background: var(--ifb-gray); }
  #ifb-account .ifb-set-row:focus-visible { outline: 3px solid rgba(255, 102, 56, .45); outline-offset: -3px; }
  #ifb-account .ifb-set-row > span:nth-child(2) { flex: 1 1 auto; }
  #ifb-account .ifb-set-ico { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; background: var(--ifb-peach); color: var(--ifb-orange); }
  #ifb-account .ifb-set-chev {
    flex: 0 0 18px;
    height: 18px;
    background: var(--ifb-field);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%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' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  #ifb-account .ifb-set-row.is-logout { color: #B42318 !important; }
  #ifb-account .ifb-set-row.is-logout .ifb-set-ico { background: #FEF3F2; color: #D92D20; }
}
/* The site menu (burger) covers the page: the account bar steps aside so the menu stays readable */
body:has([data-ifbh].is-open) #ifb-account .ifb-tabbar,
body.ifb-menu-open #ifb-account .ifb-tabbar { display: none !important; }
/* Settings profile: round photo, clear name size */
@media (max-width: 900px) {
  #ifb-account .ifb-set-profile .ifb-avatar { flex: none; aspect-ratio: 1; }
  #ifb-account .ifb-set-name { font-size: 23px !important; }
}

/* Password strength, design A (14/11/2026): word in the strength color, a 6px bar above it that fills and changes
   color (very weak 25% red, weak 50% orange, medium 75% amber, strong 100% green), one short gray tip. 16px between
   the password field and the bar (Claudia). Texts: account.js. */
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-password-strength {
  position: relative !important;
  display: block !important;
  margin: 16px 0 0 !important;
  padding: 18px 0 0 !important;
  border: 0 !important;
  background: none !important;
  color: var(--ifba-pw-t, #475467) !important;
  font-family: 'DM Sans', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-align: left !important;
}
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-password-strength::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, var(--ifba-pw-c, #D0D5DD) 0 var(--ifba-pw-p, 0%), #EAECF0 var(--ifba-pw-p, 0%)) !important;
  transition: background .2s !important;
}
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-password-strength.short { --ifba-pw-c: #F04438; --ifba-pw-p: 25%; --ifba-pw-t: #B42318; }
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-password-strength.bad { --ifba-pw-c: #F79009; --ifba-pw-p: 50%; --ifba-pw-t: #B54708; }
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-password-strength.good { --ifba-pw-c: #EAAA08; --ifba-pw-p: 75%; --ifba-pw-t: #A15C07; }
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-password-strength.strong { --ifba-pw-c: #12B76A; --ifba-pw-p: 100%; --ifba-pw-t: #067647; }
body.ifb-acc:is(#ifba-a#ifba-b, body) .woocommerce-password-hint {
  display: block !important;
  margin: 4px 0 0 !important;
  color: #667085 !important;
  font-family: 'DM Sans', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

/* =========================================================
   My Projects (1.1.9): one card per project instead of a table, on computers and phones.
   Only the customer list (it has the Vendor column); the seller's list keeps its table
   name, order · date, status pill, total, Open project
   ========================================================= */
#ifb-account .account-orders-table-wrapper:has(table.wss-manage-table td[data-title="Vendor"]) { overflow: visible !important; border: 0 !important; box-shadow: none !important; background: none !important; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) { display: block !important; width: 100% !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; overflow: visible !important; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) thead { display: none !important; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) tbody { display: grid !important; gap: 12px; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) tbody tr {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 176px 92px auto; /* fixed status and total columns: they line up from card to card */
  grid-template-areas:
    "svc  status total action"
    "meta status total action";
  align-items: center;
  column-gap: 24px;
  row-gap: 4px;
  margin: 0 !important;
  padding: 18px 20px !important;
  border: 1px solid var(--ifb-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: border-color .15s ease;
}
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) tbody tr:hover { border-color: var(--ifb-peach-2) !important; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) tbody tr:hover td { background: none !important; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) tbody td {
  display: block !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  text-align: left !important;
  white-space: normal !important;
}
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) tbody td::before { content: none !important; display: none !important; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) tbody td { width: auto !important; max-width: none !important; justify-content: flex-start !important; }
/* the child theme wraps cell text in .ink-mobile-value on phones (right-aligned): back to normal text */
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td > .ink-mobile-value,
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td > span { display: inline !important; max-width: none !important; margin: 0 !important; text-align: inherit !important; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td > .ifb-pstatus { display: inline-flex !important; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Vendor"] { display: none !important; }

#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Service"] { grid-area: svc; color: var(--ifb-ink) !important; font: 600 17px/1.3 var(--ifb-sans) !important; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td.ifb-pmeta { grid-area: meta; color: var(--ifb-soft) !important; font-size: 14px !important; line-height: 1.4 !important; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td.ifb-pmeta a { color: inherit !important; font-weight: 500 !important; text-decoration: none !important; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td.ifb-pmeta a:hover { color: var(--ifb-orange-ink) !important; }
/* without the script the order and the date still show, one after the other */
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Order"],
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Date"] { grid-area: meta; color: var(--ifb-soft) !important; font-size: 14px !important; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Date"] { display: none !important; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Status"] { grid-area: status; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Total"] { grid-area: total; color: var(--ifb-ink) !important; font: 600 16px/1.2 var(--ifb-sans) !important; text-align: right !important; white-space: nowrap !important; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Actions"] { grid-area: action; text-align: right !important; }
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Actions"] .button {
  display: inline-flex !important; align-items: center; justify-content: center;
  min-height: 42px !important; margin: 0 !important; padding: 0 20px !important;
  border: 0 !important; border-radius: 999px !important;
  background: var(--ifb-orange) !important; color: #fff !important;
  font: 700 14px/1 var(--ifb-sans) !important; white-space: nowrap !important; box-shadow: none !important;
}
#ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Actions"] .button:hover { background: #E8552A !important; color: #fff !important; }

#ifb-account .ifb-pstatus { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--ifb-gray); color: var(--ifb-text); font: 700 13px/1.2 var(--ifb-sans); white-space: nowrap; }
#ifb-account .ifb-pstatus::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .8; }
#ifb-account .ifb-pstatus.is-send,
#ifb-account .ifb-pstatus.is-review { background: var(--ifb-peach); color: var(--ifb-orange-ink); }
#ifb-account .ifb-pstatus.is-working { background: #EFF4FF; color: #1849A9; }
#ifb-account .ifb-pstatus.is-done { background: #ECFDF3; color: #067647; }
#ifb-account .ifb-pstatus.is-cancelled { background: var(--ifb-gray); color: var(--ifb-soft); }

/* empty tab (no completed or cancelled projects) */
#ifb-account .account-orders-table-wrapper:has(table.wss-manage-table td[data-title="Vendor"]) + p,
#ifb-account .woocommerce-MyAccount-content:has(.woo-service-status-tabs) .woocommerce-info { border-radius: 18px !important; }

@media (min-width: 901px) { /* computers: status and total under the name, the name on one line */
  #ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) tbody tr {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "svc    svc   action"
      "meta   meta  action"
      "status total action";
    row-gap: 6px;
  }
  #ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Status"],
  #ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Total"] { margin-top: 6px !important; }
  #ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Total"] { padding-left: 14px !important; text-align: left !important; }
}
@media (max-width: 900px) { /* phones and tablets: the card stacks */
  #ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) tbody tr {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "svc    svc"
      "meta   meta"
      "status total"
      "action action";
    row-gap: 6px;
    padding: 16px !important;
  }
  #ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Status"] { margin-top: 8px !important; }
  #ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Total"] { margin-top: 8px !important; }
  #ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Actions"] { margin-top: 10px !important; }
  #ifb-account table.wss-manage-table.shop_table:has(td[data-title="Vendor"]) td[data-title="Actions"] .button { display: flex !important; width: 100% !important; max-width: none !important; min-width: 0 !important; min-height: 46px !important; font-size: 15px !important; }
}
