/**
 * Trishnaé Fit Quiz Frontend UI v1.4.2
 * Approved direction: minimal, elegant, calm, clear and conversion-friendly.
 */
:root {
  --tfq-green: #20645A;
  --tfq-green-dark: #063B34;
  --tfq-ivory: #FFFDF8;
  --tfq-soft-ivory: #F6F1EA;
  --tfq-border: rgba(32, 100, 90, 0.16);
  --tfq-border-neutral: rgba(0, 0, 0, 0.12);
  --tfq-text: #111111;
  --tfq-muted: #5f5f5f;
  --tfq-warning: #9B6A18;
  --tfq-success: #20645A;
  --tfq-error: #8A1F1F;
  --tfq-heading-font: "Canela", "Instrument Serif", Georgia, serif;
  --tfq-body-font: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tfq-radius-lg: 12px;
  --tfq-radius-md: 8px;
  --tfq-shadow: 0 22px 70px rgba(0, 0, 0, 0.20);
  --tfq-modal-width: 520px;
}

.tfq-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
}

.tfq-modal-overlay[hidden] {
  display: none !important;
}

.tfq-modal {
  position: relative;
  width: min(var(--tfq-modal-width), 100%);
  max-height: min(90vh, 920px);
  overflow: auto;
  background: var(--tfq-ivory);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--tfq-radius-lg);
  box-shadow: var(--tfq-shadow);
  color: var(--tfq-text);
  font-family: var(--tfq-body-font);
  -webkit-overflow-scrolling: touch;
}

.tfq-modal__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--tfq-text);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  z-index: 2;
}

.tfq-modal__content {
  padding: 44px 42px 32px;
}

.tfq-input-section,
.tfq-result-section {
  scroll-margin-top: 24px;
}

.tfq-title {
  margin: 0;
  font-family: var(--tfq-heading-font);
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-align: center;
}

.tfq-intro {
  max-width: 380px;
  margin: 18px auto 24px;
  color: var(--tfq-text);
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
}

.tfq-divider {
  height: 1px;
  margin: 24px 0 20px;
  background: var(--tfq-border-neutral);
}

.tfq-form {
  margin: 0;
}

.tfq-unit-toggle {
  display: inline-flex;
  gap: 0;
  align-items: center;
  justify-content: center;
  padding: 3px;
  margin: 0 auto 20px;
  border: 1px solid var(--tfq-border-neutral);
  border-radius: 999px;
  background: rgba(246, 241, 234, 0.6);
}

.tfq-unit-toggle-wrap {
  display: flex;
  justify-content: center;
}

.tfq-unit-button {
  min-width: 54px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--tfq-muted);
  font-family: var(--tfq-body-font);
  font-size: 14px;
  cursor: pointer;
}

.tfq-unit-button.is-active {
  background: #ffffff;
  color: var(--tfq-text);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.tfq-fields {
  display: grid;
  gap: 15px;
}

.tfq-field-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  align-items: center;
}

.tfq-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--tfq-text);
  font-size: 15px;
  font-weight: 600;
}

.tfq-help-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 50%;
  color: var(--tfq-muted);
  font-size: 11px;
  font-weight: 400;
}

.tfq-input-group,
.tfq-height-group {
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 54px;
  overflow: hidden;
  border: 1px solid var(--tfq-border-neutral);
  border-radius: var(--tfq-radius-md);
  background: #ffffff;
}

.tfq-height-group {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border: 0;
  background: transparent;
}

.tfq-height-group .tfq-input-select,
.tfq-height-group .tfq-input {
  min-height: 54px;
  border: 1px solid var(--tfq-border-neutral);
  border-radius: var(--tfq-radius-md);
  background: #ffffff;
}

.tfq-input,
.tfq-input-select {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  background: #ffffff;
  color: var(--tfq-text);
  font-family: var(--tfq-body-font);
  font-size: 16px;
  line-height: 1.4;
  outline: none;
}

.tfq-input:focus,
.tfq-input-select:focus {
  box-shadow: inset 0 0 0 1.5px var(--tfq-green);
}

.tfq-unit-suffix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: 0 15px;
  border-left: 1px solid var(--tfq-border-neutral);
  color: var(--tfq-text);
  font-size: 15px;
  background: #ffffff;
}

.tfq-tip-card,
.tfq-note,
.tfq-action-card {
  border: 1px solid var(--tfq-border);
  border-radius: var(--tfq-radius-md);
  background: rgba(255, 255, 255, 0.64);
}

.tfq-tip-card {
  margin: 26px 0 20px;
  padding: 16px 18px;
  color: var(--tfq-text);
  font-size: 14px;
  line-height: 1.45;
}

.tfq-tip-card a {
  color: var(--tfq-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tfq-loading,
.tfq-error {
  margin: 16px 0 0;
  font-size: 14px;
  text-align: center;
}

.tfq-error {
  color: var(--tfq-error);
}

.tfq-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 7px;
  font-family: var(--tfq-body-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease, background-color 120ms ease;
}

.tfq-button:hover {
  transform: translateY(-1px);
}

.tfq-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.tfq-button--primary {
  border: 1px solid var(--tfq-green-dark);
  background: var(--tfq-green-dark);
  color: #ffffff;
}

.tfq-button--secondary {
  border: 1px solid rgba(0, 0, 0, 0.55);
  background: transparent;
  color: var(--tfq-text);
}

.tfq-privacy {
  margin: 22px 0 0;
  color: var(--tfq-text);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.tfq-privacy::before {
  content: "♢";
  display: inline-block;
  margin-right: 8px;
  font-size: 13px;
}

.tfq-result-section {
  padding-top: 8px;
}

.tfq-size-card {
  margin: 28px 0;
  padding: 23px 24px 22px;
  border: 1px solid var(--tfq-border);
  border-radius: var(--tfq-radius-md);
  background: rgba(255, 255, 255, 0.48);
  text-align: center;
}

.tfq-size-card__label {
  margin: 0 0 14px;
  color: var(--tfq-text);
  font-size: 15px;
  font-weight: 500;
}

.tfq-size-card__coord,
.tfq-size-card__single {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  color: var(--tfq-text);
}

.tfq-size-card__size {
  font-family: var(--tfq-heading-font);
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 400;
  line-height: 1;
}

.tfq-size-card__component {
  font-family: var(--tfq-heading-font);
  font-size: 21px;
  line-height: 1;
}

.tfq-size-card__divider {
  width: 1px;
  height: 34px;
  margin: 0 18px;
  background: var(--tfq-border-neutral);
}

.tfq-size-card__height {
  margin: 18px 0 0;
  color: var(--tfq-text);
  font-size: 15px;
}

.tfq-notes,
.tfq-action-cards {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.tfq-note,
.tfq-action-card {
  padding: 15px 17px;
  color: var(--tfq-text);
  font-size: 14px;
  line-height: 1.48;
}

.tfq-note--warning,
.tfq-action-card--notify {
  border-color: rgba(155, 106, 24, 0.25);
}

.tfq-action-card--available {
  border-color: rgba(32, 100, 90, 0.26);
}

.tfq-action-card p {
  margin: 0 0 14px;
}

.tfq-action-card p:last-child {
  margin-bottom: 0;
}

.tfq-section-title {
  margin: 28px 0 14px;
  font-size: 15px;
  font-weight: 700;
}

.tfq-measurements {
  margin: 26px 0 18px;
  padding-top: 18px;
  border-top: 1px solid var(--tfq-border-neutral);
}

.tfq-measurements__list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.tfq-measurements__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 14px;
}

.tfq-measurements__row dt {
  font-weight: 700;
}

.tfq-measurements__row dd {
  margin: 0;
}

.tfq-notify-form {
  display: grid;
  gap: 12px;
}

.tfq-notify-form .tfq-input {
  border: 1px solid var(--tfq-border-neutral);
  border-radius: var(--tfq-radius-md);
}

.tfq-form-message {
  margin: 0;
  color: var(--tfq-green);
  font-size: 13px;
}

.tfq-buttons {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.tfq-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .tfq-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .tfq-modal {
    width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
  }

  .tfq-modal__content {
    padding: 44px 24px 30px;
  }

  .tfq-modal__close {
    top: 16px;
    right: 16px;
  }

  .tfq-field-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tfq-height-group {
    grid-template-columns: 1fr 1fr;
  }

  .tfq-size-card {
    padding: 21px 16px;
  }

  .tfq-size-card__divider {
    margin: 0 10px;
  }
}

.tfq-size-card__size--no-match {
  font-family: var(--tfq-body-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.tfq-form-message {
  margin-top: 10px;
  font-size: 0.95rem;
}
.tfq-form-message.is-error {
  color: #8a2f18;
}
.tfq-form-message a {
  text-decoration: underline;
}

/* v0.2.4 UX corrections */
.tfq-modal [hidden],
.tfq-modal [data-tfq-unit-panel][hidden],
.tfq-modal [data-tfq-measurement-row][hidden] {
  display: none !important;
}

:root {
  --tfq-modal-width: 520px;
}

.tfq-modal__content {
  padding: 44px 42px 32px;
}

.tfq-title {
  font-size: clamp(30px, 4.6vw, 42px);
}

.tfq-intro {
  margin: 18px auto 24px;
}

.tfq-divider {
  margin: 24px 0 22px;
}

.tfq-fields {
  gap: 15px;
}

.tfq-tip-card {
  margin: 22px 0 18px;
}

.tfq-size-card__component-wrap {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  min-width: 90px;
}

.tfq-size-card__component-label {
  font-family: var(--tfq-body-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.tfq-size-card__no-match {
  font-family: var(--tfq-body-font);
  font-size: 14px;
  font-weight: 400;
  color: var(--tfq-muted);
  white-space: nowrap;
}

.tfq-notify-form,
.tfq-notify-form * {
  box-sizing: border-box;
}

.tfq-notify-form .tfq-input,
.tfq-notify-form .tfq-button {
  width: 100%;
  max-width: 100%;
}

.tfq-action-card {
  overflow: hidden;
}

@media (max-width: 640px) {
  .tfq-modal__content {
    padding: 42px 22px 28px;
  }

  .tfq-size-card__coord {
    gap: 6px;
  }

  .tfq-size-card__component-wrap {
    min-width: 72px;
  }

  .tfq-size-card__no-match {
    white-space: normal;
  }
}

/* v0.2.5 premium sizing refinement */
:root {
  --tfq-modal-width: 492px;
}

.tfq-modal__content {
  padding: 38px 36px 28px;
}

.tfq-title {
  font-size: clamp(29px, 4.2vw, 39px);
}

.tfq-intro {
  margin: 14px auto 20px;
  font-size: 14.5px;
}

.tfq-divider {
  margin: 20px 0 18px;
}

.tfq-fields {
  gap: 13px;
}

.tfq-field-row {
  grid-template-columns: 96px 1fr;
  gap: 12px;
}

.tfq-input-group,
.tfq-height-group,
.tfq-height-group .tfq-input-select,
.tfq-height-group .tfq-input {
  min-height: 49px;
}

.tfq-input,
.tfq-input-select {
  min-height: 49px;
  padding: 0 15px;
  font-size: 15px;
}

.tfq-button {
  min-height: 49px;
}

.tfq-tip-card {
  margin: 18px 0 16px;
  padding: 13px 15px;
}

.tfq-size-card {
  margin: 22px 0;
  padding: 20px 21px 19px;
}

.tfq-note,
.tfq-action-card {
  padding: 13px 15px;
}

@media (max-width: 640px) {
  .tfq-modal__content {
    padding: 38px 20px 26px;
  }

  .tfq-field-row {
    grid-template-columns: 1fr;
  }
}

/* v0.2.6 final local polish */
:root {
  --tfq-modal-width: 468px;
}
.tfq-modal__content {
  padding: 34px 32px 26px;
}
.tfq-title {
  font-size: clamp(27px, 3.9vw, 36px);
}
.tfq-title--no-match {
  font-size: clamp(23px, 3.3vw, 30px);
  line-height: 1.15;
}
.tfq-intro {
  margin: 12px auto 18px;
}
.tfq-divider {
  margin: 18px 0 16px;
}
.tfq-fields {
  gap: 12px;
}
.tfq-size-card {
  margin: 20px 0;
  padding: 18px 19px 17px;
}
.tfq-size-card__coord--count-1 .tfq-size-card__component-wrap {
  min-width: auto;
}
.tfq-note,
.tfq-action-card {
  padding: 12px 14px;
}
.tfq-notes,
.tfq-action-cards {
  gap: 10px;
  margin: 16px 0;
}
@media (max-width: 640px) {
  .tfq-modal__content {
    padding: 36px 20px 24px;
  }
}


/* v0.2.8 mobile modal refinement: keep phone layout feeling like a popup, not a new page */
@media (max-width: 640px) {
  .tfq-modal-overlay {
    align-items: center;
    justify-content: center;
    padding: 18px 14px;
  }

  .tfq-modal {
    width: min(92vw, 430px);
    max-height: calc(100dvh - 36px);
    border-radius: 16px;
  }

  .tfq-modal__content {
    padding: 34px 18px 22px;
  }

  .tfq-modal__close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 340px) {
  .tfq-modal-overlay {
    padding: 12px 8px;
  }

  .tfq-modal {
    width: 94vw;
    max-height: calc(100dvh - 24px);
    border-radius: 14px;
  }

  .tfq-modal__content {
    padding: 32px 16px 20px;
  }
}

/* v0.2.9.2 product-page waitlist / notify-me for manually selected unavailable variations */
.tfq-product-notify {
  margin: 18px 0 20px;
  clear: both;
}
.tfq-product-notify[hidden] {
  display: none !important;
}
.tfq-product-notify__content {
  border: 1px solid rgba(32, 100, 90, 0.24);
  border-radius: 12px;
  background: rgba(246, 241, 234, 0.55);
  padding: 16px 18px;
  max-width: 520px;
}
.tfq-product-notify__title {
  margin: 0 0 6px;
  font-weight: 700;
  color: #20645A;
  font-size: 15px;
  line-height: 1.35;
}
.tfq-product-notify__text {
  margin: 0 0 12px;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}
.tfq-product-notify__toggle,
.tfq-product-notify__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 9px;
  border: 1px solid #20645A;
  background: #20645A;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  padding: 0 20px;
  text-decoration: none;
}
.tfq-product-notify__toggle:hover,
.tfq-product-notify__submit:hover,
.tfq-product-notify__toggle:focus,
.tfq-product-notify__submit:focus {
  background: #174f47;
  border-color: #174f47;
  color: #fff;
}
.tfq-product-notify__form {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.tfq-product-notify__form[hidden] {
  display: none !important;
}
.tfq-product-notify__input {
  min-height: 42px;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  box-sizing: border-box;
}
.tfq-product-notify__message {
  margin: 2px 0 0;
  font-size: 13px;
  color: #20645A;
}
.tfq-product-notify__message.is-error {
  color: #a63a2c;
}
.tfq-product-notify__form.is-submitted .tfq-product-notify__input {
  display: none;
}
@media (max-width: 640px) {
  .tfq-product-notify {
    margin: 14px 0 16px;
  }
  .tfq-product-notify__content {
    max-width: none;
    padding: 14px 14px;
    border-radius: 11px;
  }
  .tfq-product-notify__toggle,
  .tfq-product-notify__submit {
    width: 100%;
    min-height: 44px;
  }
}

html.tfq-modal-open, html.tfq-modal-open body { overflow: hidden; }


/* Product page Fit Quiz CTA — Trishnaé brand styling */
.trishnae-fit-quiz-trigger,
.single-product .trishnae-fit-quiz-trigger,
.woocommerce div.product .trishnae-fit-quiz-trigger.button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 24px !important;
  border: 1px solid var(--tfq-green) !important;
  border-radius: 0;
  background: var(--tfq-green) !important;
  color: #ffffff !important;
  font-family: var(--tfq-body-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.trishnae-fit-quiz-trigger:hover,
.trishnae-fit-quiz-trigger:focus,
.single-product .trishnae-fit-quiz-trigger:hover,
.single-product .trishnae-fit-quiz-trigger:focus,
.woocommerce div.product .trishnae-fit-quiz-trigger.button:hover,
.woocommerce div.product .trishnae-fit-quiz-trigger.button:focus {
  border-color: var(--tfq-green-dark) !important;
  background: var(--tfq-green-dark) !important;
  color: #ffffff !important;
  outline: none;
  text-decoration: none !important;
}

.trishnae-fit-quiz-trigger:focus-visible {
  outline: 2px solid rgba(32, 100, 90, 0.35);
  outline-offset: 3px;
}

.trishnae-fit-quiz-trigger:active {
  transform: translateY(1px);
}


/* Smart placement slot for Elementor/WooCommerce Add To Cart widgets. */
.tfq-smart-cta-slot {
  display: block;
  width: 100%;
  margin: 14px 0 16px;
  clear: both;
}

.tfq-smart-cta-slot .trishnae-fit-quiz-trigger {
  margin: 0;
}

.tfq-local-wrap[data-tfq-smart-modal-source="1"] {
  margin: 0;
  padding: 0;
}


/* v0.2.9.9.4 — Stable CTA placement and refined modal heading hierarchy */
.tfq-smart-cta-slot {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin: 16px 0 18px;
  clear: both;
}

.tfq-smart-cta-slot .trishnae-fit-quiz-trigger {
  margin: 0 !important;
}

.tfq-result-inner .tfq-title {
  max-width: 440px;
  margin: 0 auto 10px;
  color: var(--tfq-green);
  font-family: var(--tfq-heading-font);
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.tfq-result-inner .tfq-title--no-match {
  color: var(--tfq-text);
  font-size: clamp(30px, 4.6vw, 42px);
}

.tfq-result-inner .tfq-intro {
  max-width: 390px;
  margin: 12px auto 22px;
  color: var(--tfq-muted);
  font-family: var(--tfq-body-font);
  font-size: 15px;
  line-height: 1.55;
}

.tfq-result-inner .tfq-size-card {
  margin-top: 16px;
}

.tfq-result-inner .tfq-section-title {
  margin: 0 0 10px;
  color: var(--tfq-muted);
  font-family: var(--tfq-body-font);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tfq-result-inner .tfq-measurements {
  margin: 22px 0 16px;
  padding: 15px 16px;
  border: 1px solid var(--tfq-border);
  border-radius: var(--tfq-radius-md);
  background: rgba(246, 241, 234, 0.42);
}

.tfq-result-inner .tfq-measurements__list {
  gap: 8px;
}

.tfq-result-inner .tfq-measurements__row {
  grid-template-columns: minmax(86px, 0.85fr) 1fr;
  gap: 12px;
  color: var(--tfq-text);
  font-size: 13px;
  line-height: 1.35;
}

.tfq-result-inner .tfq-measurements__row dt {
  color: var(--tfq-muted);
  font-weight: 600;
}

.tfq-result-inner .tfq-measurements__row dd {
  color: var(--tfq-text);
  font-weight: 500;
}

@media (max-width: 640px) {
  .tfq-smart-cta-slot {
    margin: 14px 0 16px;
  }

  .tfq-result-inner .tfq-title {
    font-size: clamp(30px, 8vw, 38px);
  }

  .tfq-result-inner .tfq-measurements {
    padding: 14px;
  }
}


/* v0.2.9.9.4 — stable shortcode placement + stronger elegant modal headings */
.tfq-local-wrap[data-tfq-smart-modal-source="1"] {
  margin: 0;
  padding: 0;
}

.trishnae-fit-quiz-trigger[data-tfq-shortcode-placement="stable"] {
  margin-top: 12px !important;
  margin-bottom: 14px !important;
}

/* Main modal heading: "Find your best fit" */
.tfq-modal .tfq-input-section > .tfq-title,
.tfq-modal .tfq-title#tfq-title,
.tfq-modal .tfq-title {
  font-family: var(--tfq-heading-font) !important;
  font-size: clamp(42px, 6.2vw, 58px) !important;
  line-height: 1.02 !important;
  font-weight: 400 !important;
  letter-spacing: -0.035em !important;
  color: var(--tfq-green) !important;
  text-align: center !important;
}

/* Result heading: "Here’s your best fit" */
.tfq-modal .tfq-result-inner > .tfq-title,
.tfq-modal .tfq-result-section .tfq-title {
  max-width: 480px !important;
  margin: 0 auto 12px !important;
  font-family: var(--tfq-heading-font) !important;
  font-size: clamp(42px, 6.4vw, 60px) !important;
  line-height: 1.02 !important;
  font-weight: 400 !important;
  letter-spacing: -0.035em !important;
  color: var(--tfq-green) !important;
  text-align: center !important;
}

/* No confident match heading should still feel elegant but slightly calmer. */
.tfq-modal .tfq-result-inner > .tfq-title.tfq-title--no-match,
.tfq-modal .tfq-result-section .tfq-title.tfq-title--no-match {
  max-width: 500px !important;
  font-size: clamp(36px, 5.7vw, 52px) !important;
  color: var(--tfq-text) !important;
}

/* Keep supporting copy visibly secondary to the main heading. */
.tfq-modal .tfq-input-section > .tfq-intro,
.tfq-modal .tfq-result-inner > .tfq-intro,
.tfq-modal .tfq-result-section .tfq-intro {
  max-width: 410px !important;
  margin-top: 14px !important;
  font-family: var(--tfq-body-font) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: var(--tfq-muted) !important;
  text-align: center !important;
}

@media (max-width: 640px) {
  .tfq-modal .tfq-input-section > .tfq-title,
  .tfq-modal .tfq-result-inner > .tfq-title,
  .tfq-modal .tfq-result-section .tfq-title {
    font-size: clamp(34px, 10.5vw, 44px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
  }

  .tfq-modal .tfq-result-inner > .tfq-title.tfq-title--no-match,
  .tfq-modal .tfq-result-section .tfq-title.tfq-title--no-match {
    font-size: clamp(31px, 9.5vw, 40px) !important;
  }
}


/* v0.2.9.9.5 — final modal heading sizing refinement */
.tfq-modal .tfq-input-section > .tfq-title,
.tfq-modal .tfq-title#tfq-title,
.tfq-modal .tfq-title {
  font-size: clamp(38px, 5.6vw, 54px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.032em !important;
}

.tfq-modal .tfq-result-inner > .tfq-title,
.tfq-modal .tfq-result-section .tfq-title {
  font-size: clamp(38px, 5.8vw, 58px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.032em !important;
}

.tfq-modal .tfq-result-inner > .tfq-title.tfq-title--no-match,
.tfq-modal .tfq-result-section .tfq-title.tfq-title--no-match {
  font-size: clamp(34px, 5.2vw, 48px) !important;
}

@media (max-width: 640px) {
  .tfq-modal .tfq-input-section > .tfq-title,
  .tfq-modal .tfq-result-inner > .tfq-title,
  .tfq-modal .tfq-result-section .tfq-title {
    font-size: clamp(34px, 9.5vw, 42px) !important;
    line-height: 1.06 !important;
  }
}


/* v0.2.9.11 — product-page waitlist polish and duplicate CTA prevention */
.tfq-product-notify {
  margin: 16px 0 18px;
  clear: both;
}

.tfq-product-notify[hidden] {
  display: none !important;
}

.tfq-product-notify__content {
  width: min(100%, 440px);
  max-width: 440px;
  padding: 18px 20px 19px;
  border: 1px solid rgba(32, 100, 90, 0.20);
  border-radius: 0;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: none;
}

.tfq-product-notify__eyebrow {
  margin: 0 0 7px;
  color: rgba(32, 100, 90, 0.82);
  font-family: var(--tfq-body-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tfq-product-notify__title {
  margin: 0 0 6px;
  color: var(--tfq-green);
  font-family: var(--tfq-heading-font);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.tfq-product-notify__text {
  max-width: 360px;
  margin: 0 0 14px;
  color: rgba(17, 17, 17, 0.76);
  font-family: var(--tfq-body-font);
  font-size: 13px;
  line-height: 1.55;
}

.tfq-product-notify__toggle,
.tfq-product-notify__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 168px;
  padding: 0 18px;
  border-radius: 0;
  border: 1px solid var(--tfq-green);
  font-family: var(--tfq-body-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.tfq-product-notify__toggle {
  background: transparent;
  color: var(--tfq-green);
}

.tfq-product-notify__submit {
  background: var(--tfq-green);
  color: #ffffff;
}

.tfq-product-notify__toggle:hover,
.tfq-product-notify__toggle:focus {
  background: var(--tfq-green);
  border-color: var(--tfq-green);
  color: #ffffff;
  outline: none;
}

.tfq-product-notify__submit:hover,
.tfq-product-notify__submit:focus {
  background: var(--tfq-green-dark);
  border-color: var(--tfq-green-dark);
  color: #ffffff;
  outline: none;
}

.tfq-product-notify.is-expanded .tfq-product-notify__toggle,
.tfq-product-notify.is-submitted .tfq-product-notify__toggle {
  display: none !important;
}

.tfq-product-notify__form {
  max-width: 360px;
  margin-top: 13px;
  display: grid;
  gap: 10px;
}

.tfq-product-notify__form[hidden] {
  display: none !important;
}

.tfq-product-notify__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.tfq-product-notify__input {
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid rgba(32, 100, 90, 0.20);
  border-radius: 0;
  background: #ffffff;
  color: var(--tfq-text);
  font-family: var(--tfq-body-font);
  font-size: 13px;
  line-height: 1.2;
  box-sizing: border-box;
  box-shadow: none;
}

.tfq-product-notify__input::placeholder {
  color: rgba(17, 17, 17, 0.46);
}

.tfq-product-notify__input:focus {
  border-color: var(--tfq-green);
  outline: none;
  box-shadow: 0 0 0 1px rgba(32, 100, 90, 0.16);
}

.tfq-product-notify__message {
  margin: 1px 0 0;
  color: var(--tfq-green);
  font-family: var(--tfq-body-font);
  font-size: 12px;
  line-height: 1.45;
}

.tfq-product-notify__message.is-error {
  color: #8A1F1F;
}

.tfq-product-notify__form.is-submitted .tfq-product-notify__fields,
.tfq-product-notify__form.is-submitted .tfq-product-notify__submit {
  display: none !important;
}

@media (max-width: 640px) {
  .tfq-product-notify__content {
    width: 100%;
    max-width: none;
    padding: 16px 16px 17px;
  }

  .tfq-product-notify__text,
  .tfq-product-notify__form {
    max-width: none;
  }

  .tfq-product-notify__toggle,
  .tfq-product-notify__submit {
    width: 100%;
    min-height: 42px;
  }
}


/* v0.3.0 — Trishnaé Product Purchase Panel */
.tfq-purchase-panel {
  --tfq-panel-line: rgba(32, 100, 90, 0.18);
  --tfq-panel-soft: rgba(246, 241, 234, 0.58);
  width: 100%;
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--tfq-text);
  font-family: var(--tfq-body-font);
}

.tfq-purchase-panel--notice {
  border: 1px solid #dcdcde;
  padding: 12px 14px;
  background: #fff8e5;
  color: #5f3b00;
}

.tfq-purchase-panel__size-guide {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--tfq-text);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.tfq-purchase-panel__size-guide::before {
  content: "◇";
  color: var(--tfq-green);
  font-size: 15px;
  line-height: 1;
}

.tfq-purchase-panel__selectors {
  display: grid;
  gap: 17px;
  margin: 0 0 18px;
}

.tfq-purchase-panel__group {
  display: grid;
  gap: 8px;
}

.tfq-purchase-panel__label {
  color: var(--tfq-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.tfq-purchase-panel__options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tfq-purchase-panel__option {
  min-width: 54px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(17, 17, 17, 0.26);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--tfq-text);
  font-family: var(--tfq-body-font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.tfq-purchase-panel__option:hover,
.tfq-purchase-panel__option:focus {
  border-color: var(--tfq-green);
  outline: none;
}

.tfq-purchase-panel__option.is-selected {
  border-color: var(--tfq-green);
  background: var(--tfq-green);
  color: #fff;
  box-shadow: 0 5px 14px rgba(32, 100, 90, 0.16);
}

.tfq-purchase-panel__fit-button.trishnae-fit-quiz-trigger {
  width: 100%;
  margin: 4px 0 14px !important;
}

.tfq-purchase-panel__status {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 7px;
  background: rgba(32, 100, 90, 0.075);
  color: rgba(17, 17, 17, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.tfq-panel-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 8px 1px 0;
  border-radius: 999px;
  vertical-align: middle;
}

.tfq-panel-dot--ok { background: #1f7a43; }
.tfq-panel-dot--no { background: #bf2f2f; margin-left: 8px; }

.tfq-purchase-panel__actions {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
}

.tfq-panel-action {
  width: 100%;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-family: var(--tfq-body-font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.tfq-panel-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.tfq-panel-action--primary {
  border: 1px solid var(--tfq-green);
  background: var(--tfq-green);
  color: #fff;
}

.tfq-panel-action--primary:hover,
.tfq-panel-action--primary:focus {
  border-color: var(--tfq-green-dark);
  background: var(--tfq-green-dark);
  color: #fff;
  outline: none;
}

.tfq-panel-action--secondary {
  border: 1px solid var(--tfq-green);
  background: transparent;
  color: var(--tfq-green);
}

.tfq-panel-action--secondary:hover,
.tfq-panel-action--secondary:focus {
  background: var(--tfq-green);
  color: #fff;
  outline: none;
}

.tfq-panel-waitlist {
  padding: 16px 18px 18px;
  border: 1px solid rgba(32, 100, 90, 0.18);
  border-radius: 0;
  background: rgba(255, 253, 248, 0.72);
}

.tfq-panel-waitlist__title {
  margin: 0 0 12px;
  color: var(--tfq-text);
  font-family: var(--tfq-body-font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.tfq-panel-waitlist__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 0 0 10px;
}

.tfq-panel-waitlist__input {
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid rgba(32, 100, 90, 0.18);
  border-radius: 0;
  background: #fff;
  color: var(--tfq-text);
  font-size: 13px;
  box-sizing: border-box;
}

.tfq-panel-waitlist__input:focus {
  border-color: var(--tfq-green);
  outline: none;
  box-shadow: 0 0 0 1px rgba(32, 100, 90, 0.15);
}

.tfq-panel-waitlist__message {
  margin: 9px 0 0;
  color: var(--tfq-green);
  font-size: 12px;
  line-height: 1.45;
}

.tfq-panel-waitlist__message.is-error {
  color: #8A1F1F;
}

.tfq-panel-waitlist.is-submitted .tfq-panel-waitlist__fields,
.tfq-panel-waitlist.is-submitted .tfq-panel-action {
  display: none;
}

.tfq-purchase-panel__guidance {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--tfq-panel-line);
  color: rgba(17, 17, 17, 0.66);
  font-size: 12px;
  line-height: 1.55;
}

.tfq-purchase-panel__guidance::before {
  content: "✦";
  margin-right: 7px;
  color: #9B6A18;
}

.tfq-purchase-panel__tax-note {
  margin: 22px 0 0;
  color: rgba(17, 17, 17, 0.74);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .tfq-purchase-panel {
    max-width: none;
  }

  .tfq-purchase-panel__options {
    gap: 8px;
  }

  .tfq-purchase-panel__option {
    min-width: 52px;
  }

  .tfq-panel-waitlist__fields {
    grid-template-columns: 1fr;
  }
}

/* v0.3.0 — inline field validation in Fit Quiz modal */
.tfq-field-row.has-error .tfq-input,
.tfq-field-row.has-error .tfq-input-select {
  border-color: #8A1F1F !important;
  box-shadow: 0 0 0 1px rgba(138, 31, 31, 0.14);
}

.tfq-field-error {
  display: block;
  margin: 6px 0 0;
  color: #8A1F1F;
  font-size: 12px;
  line-height: 1.35;
}


/* v0.3.1 — Purchase Panel Visual Polish + Size Guide Drawer */
.tfq-purchase-panel {
  max-width: 500px;
  margin-top: 18px;
}

.tfq-purchase-panel__size-guide {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tfq-text);
  font-family: var(--tfq-body-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}

.tfq-purchase-panel__size-guide::before {
  content: "◇";
  color: var(--tfq-green);
  font-size: 13px;
  line-height: 1;
}

.tfq-purchase-panel__selectors {
  gap: 14px;
  margin-bottom: 16px;
}

.tfq-purchase-panel__group {
  gap: 7px;
}

.tfq-purchase-panel__label {
  color: var(--tfq-text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.005em;
}

.tfq-purchase-panel__options {
  gap: 8px;
}

.tfq-purchase-panel__option {
  min-width: 44px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 7px;
  border-color: rgba(17, 17, 17, 0.24);
  background: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 650;
}

.tfq-purchase-panel__option.is-selected {
  border-color: var(--tfq-green);
  background: var(--tfq-green);
  color: #fff;
  box-shadow: 0 4px 10px rgba(32, 100, 90, 0.13);
}

.tfq-purchase-panel__fit-button.trishnae-fit-quiz-trigger,
.woocommerce div.product .tfq-purchase-panel__fit-button.trishnae-fit-quiz-trigger.button {
  width: auto !important;
  min-width: 190px;
  max-width: 230px;
  min-height: 40px;
  margin: 5px 0 14px !important;
  padding: 11px 20px !important;
  border-radius: 8px !important;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.tfq-purchase-panel__status {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 420px;
  margin: 0 0 13px;
  padding: 8px 11px;
  border: 1px solid rgba(32, 100, 90, 0.13);
  border-radius: 7px;
  background: rgba(32, 100, 90, 0.06);
  color: rgba(17, 17, 17, 0.72);
  font-size: 12px;
  line-height: 1.45;
}

.tfq-purchase-panel__status.is-success {
  background: rgba(32, 100, 90, 0.08);
  color: var(--tfq-green);
}

.tfq-purchase-panel__status a {
  margin-left: 8px;
  color: var(--tfq-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tfq-purchase-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  max-width: 420px;
  margin-bottom: 14px;
}

.tfq-panel-action {
  width: auto;
  min-width: 162px;
  min-height: 42px;
  flex: 1 1 0;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.075em;
}

.tfq-purchase-panel__actions > .tfq-panel-waitlist {
  flex: 0 0 100%;
}

.tfq-panel-waitlist {
  max-width: 420px;
  padding: 15px 16px 16px;
  border-color: rgba(32, 100, 90, 0.16);
  background: rgba(255, 253, 248, 0.75);
}

.tfq-panel-waitlist__title {
  font-size: 12.5px;
  margin-bottom: 10px;
}

.tfq-panel-waitlist__fields {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tfq-panel-waitlist__input {
  min-height: 36px;
  font-size: 12.5px;
}

.tfq-purchase-panel__guidance {
  max-width: 420px;
  margin-top: 16px;
  padding-top: 14px;
  font-size: 11.5px;
}

.tfq-purchase-panel__tax-note {
  margin-top: 20px;
  font-size: 11.5px;
}

/* Size guide drawer */
html.tfq-size-guide-open,
html.tfq-size-guide-open body {
  overflow: hidden;
}

.tfq-size-guide-drawer[hidden] {
  display: none !important;
}

.tfq-size-guide-drawer {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.tfq-size-guide-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.52);
}

.tfq-size-guide-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(560px, 92vw);
  height: 100%;
  overflow-y: auto;
  background: #fffdf8;
  color: var(--tfq-text);
  box-shadow: -20px 0 40px rgba(17, 17, 17, 0.16);
  outline: none;
}

.tfq-size-guide-drawer__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 30px 22px;
  border-bottom: 1px solid rgba(32, 100, 90, 0.14);
  background: #fffdf8;
}

.tfq-size-guide-drawer__header h2 {
  margin: 0;
  color: var(--tfq-green);
  font-family: var(--tfq-heading-font);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.tfq-size-guide-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(32, 100, 90, 0.08);
  color: var(--tfq-green);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.tfq-size-guide-drawer__close:hover,
.tfq-size-guide-drawer__close:focus {
  background: rgba(32, 100, 90, 0.14);
  outline: none;
}

.tfq-size-guide-drawer__body {
  padding: 30px;
}

.tfq-size-guide-section {
  margin: 0 0 34px;
}

.tfq-size-guide-section:last-child {
  margin-bottom: 0;
}

.tfq-size-guide-section h3 {
  margin: 0 0 13px;
  color: var(--tfq-green);
  font-family: var(--tfq-heading-font);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.tfq-size-guide-section p,
.tfq-size-guide-section li,
.tfq-size-guide-measure dd {
  color: rgba(17, 17, 17, 0.72);
  font-family: var(--tfq-body-font);
  font-size: 14px;
  line-height: 1.68;
}

.tfq-size-guide-section p {
  margin: 0 0 14px;
}

.tfq-size-guide-section ul {
  margin: 0 0 14px 20px;
  padding: 0;
}

.tfq-size-guide-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(32, 100, 90, 0.14);
}

.tfq-size-guide-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
  background: #fff;
}

.tfq-size-guide-table th,
.tfq-size-guide-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(32, 100, 90, 0.12);
  border-right: 1px solid rgba(32, 100, 90, 0.10);
  text-align: left;
  color: rgba(17, 17, 17, 0.74);
  font-size: 13px;
  line-height: 1.45;
  vertical-align: top;
}

.tfq-size-guide-table th {
  color: var(--tfq-text);
  font-weight: 800;
  background: rgba(246, 241, 234, 0.40);
}

.tfq-size-guide-table td:first-child,
.tfq-size-guide-table th:first-child {
  font-weight: 800;
}

.tfq-size-guide-table tr:last-child td {
  border-bottom: 0;
}

.tfq-size-guide-table--dense {
  min-width: 650px;
}

.tfq-size-guide-measure {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 18px 18px;
  border: 1px solid rgba(32, 100, 90, 0.14);
  background: rgba(246, 241, 234, 0.32);
}

.tfq-size-guide-measure dt {
  margin-top: 7px;
  color: var(--tfq-text);
  font-size: 13px;
  font-weight: 800;
}

.tfq-size-guide-measure dt:first-child {
  margin-top: 0;
}

.tfq-size-guide-measure dd {
  margin: 0;
}

@media (max-width: 640px) {
  .tfq-purchase-panel__fit-button.trishnae-fit-quiz-trigger,
  .woocommerce div.product .tfq-purchase-panel__fit-button.trishnae-fit-quiz-trigger.button {
    width: 100% !important;
    max-width: none;
  }

  .tfq-purchase-panel__actions {
    max-width: none;
  }

  .tfq-panel-action {
    flex-basis: 100%;
    width: 100%;
  }

  .tfq-panel-waitlist,
  .tfq-purchase-panel__status,
  .tfq-purchase-panel__guidance {
    max-width: none;
  }

  .tfq-panel-waitlist__fields {
    grid-template-columns: 1fr;
  }

  .tfq-size-guide-drawer__panel {
    top: auto;
    bottom: 0;
    width: 100%;
    height: min(88vh, 760px);
    border-radius: 18px 18px 0 0;
  }

  .tfq-size-guide-drawer__header {
    padding: 22px 22px 18px;
  }

  .tfq-size-guide-drawer__header h2 {
    font-size: 26px;
  }

  .tfq-size-guide-drawer__body {
    padding: 24px 22px 28px;
  }

  .tfq-size-guide-section h3 {
    font-size: 31px;
  }
}


/* v0.3.2 — Purchase panel refinement, quantity controls, and premium size guide polish */

/* Selector spacing: more room between complete selector groups only */
.tfq-purchase-panel__selectors {
  gap: 20px;
}

.tfq-purchase-panel__group {
  gap: 7px;
}

.tfq-purchase-panel__label {
  font-size: 14.5px;
  line-height: 1.18;
}

/* Measuring-tape size guide icon */
.tfq-purchase-panel__size-guide::before {
  content: none !important;
}

.tfq-purchase-panel__size-guide {
  gap: 7px;
  margin-bottom: 19px;
}

.tfq-purchase-panel__size-guide-icon {
  display: inline-flex;
  width: 15px;
  height: 15px;
  color: var(--tfq-green);
}

.tfq-purchase-panel__size-guide-icon svg {
  display: block;
  width: 15px;
  height: 15px;
}

/* Add a little breathing room before the Fit Quiz CTA without widening it */
.tfq-purchase-panel__fit-button.trishnae-fit-quiz-trigger,
.woocommerce div.product .tfq-purchase-panel__fit-button.trishnae-fit-quiz-trigger.button {
  margin-top: 7px !important;
  margin-bottom: 15px !important;
}

/* Availability/status note: independent compact block, not stuck to adjacent controls */
.tfq-purchase-panel__status {
  display: flex !important;
  align-items: center;
  width: fit-content;
  max-width: 430px;
  margin: 3px 0 16px;
  padding: 9px 12px;
  clear: both;
  white-space: normal;
}

.tfq-panel-dot--no {
  margin-left: 10px;
}

.tfq-purchase-panel__status.is-success {
  margin-top: 8px;
}

/* Action row with quantity on the left */
.tfq-purchase-panel__actions {
  display: grid;
  gap: 12px;
  max-width: 430px;
  margin-bottom: 15px;
}

.tfq-panel-action-row {
  display: grid;
  grid-template-columns: 124px minmax(150px, 1fr) minmax(130px, 0.85fr);
  gap: 10px;
  align-items: stretch;
  width: 100%;
}

.tfq-panel-action-row .tfq-panel-action {
  min-width: 0;
  width: 100%;
}

.tfq-panel-action-row:has(.tfq-panel-action:nth-child(2):last-child) {
  grid-template-columns: 124px minmax(170px, 1fr);
}

.tfq-panel-quantity {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(32, 100, 90, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.tfq-panel-quantity__button {
  width: 38px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--tfq-text);
  font-size: 19px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
}

.tfq-panel-quantity__button:hover,
.tfq-panel-quantity__button:focus {
  color: var(--tfq-green);
  outline: none;
}

.tfq-panel-quantity__input {
  width: 100%;
  min-width: 32px;
  height: 42px;
  border: 0 !important;
  background: transparent !important;
  color: var(--tfq-text);
  font-family: var(--tfq-body-font);
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
  box-shadow: none !important;
}

.tfq-panel-quantity__input::-webkit-outer-spin-button,
.tfq-panel-quantity__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.tfq-panel-action {
  min-height: 42px;
  border-radius: 8px;
}

/* Remove old internal guidance row from visual flow if any old markup remains cached */
.tfq-purchase-panel__guidance {
  display: none !important;
}

/* Tax note slightly more readable */
.tfq-purchase-panel__tax-note {
  margin-top: 20px;
  color: rgba(17, 17, 17, 0.78);
  font-size: 13px;
  line-height: 1.58;
}

/* Waitlist field consistency */
.tfq-panel-waitlist {
  max-width: 430px;
}

.tfq-panel-waitlist__input,
.tfq-panel-waitlist input.tfq-panel-waitlist__input,
.tfq-panel-waitlist input.tfq-panel-waitlist__input[type="text"],
.tfq-panel-waitlist input.tfq-panel-waitlist__input[type="email"] {
  border: 1px solid rgba(32, 100, 90, 0.20) !important;
  background: #ffffff !important;
  box-shadow: none !important;
  color: var(--tfq-text) !important;
}

/* Size guide drawer: more premium spacing and clearer heading placement */
.tfq-size-guide-drawer__panel {
  width: min(600px, 92vw);
  background:
    linear-gradient(180deg, rgba(246, 241, 234, 0.38) 0%, rgba(255, 253, 248, 1) 160px),
    #fffdf8;
}

.tfq-size-guide-drawer__header {
  padding: 42px 36px 24px;
  border-bottom: 1px solid rgba(32, 100, 90, 0.13);
  background: rgba(255, 253, 248, 0.96);
}

.tfq-size-guide-drawer__header h2 {
  font-size: 34px;
  line-height: 1.05;
}

.tfq-size-guide-drawer__body {
  padding: 34px 36px 40px;
}

.tfq-size-guide-section {
  margin-bottom: 38px;
}

.tfq-size-guide-section:first-child {
  padding: 24px 24px 22px;
  border: 1px solid rgba(32, 100, 90, 0.12);
  background: rgba(255, 255, 255, 0.58);
}

.tfq-size-guide-section h3 {
  margin-bottom: 14px;
  font-size: 39px;
}

.tfq-size-guide-section p,
.tfq-size-guide-section li,
.tfq-size-guide-measure dd {
  max-width: 470px;
  font-size: 14px;
  line-height: 1.74;
}

.tfq-size-guide-table-wrap {
  border-color: rgba(32, 100, 90, 0.13);
  background: #fff;
}

.tfq-size-guide-table th,
.tfq-size-guide-table td {
  padding: 14px 15px;
}

.tfq-size-guide-table th {
  background: rgba(246, 241, 234, 0.50);
  color: var(--tfq-green);
}

.tfq-size-guide-measure {
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 20px 21px;
  background: rgba(246, 241, 234, 0.40);
}

.tfq-size-guide-measure dt {
  color: var(--tfq-green);
  font-size: 14px;
}

@media (max-width: 860px) {
  .tfq-panel-action-row {
    grid-template-columns: 116px minmax(145px, 1fr);
  }

  .tfq-panel-action-row .tfq-panel-action:nth-of-type(2) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .tfq-purchase-panel__selectors {
    gap: 18px;
  }

  .tfq-purchase-panel__status {
    width: 100%;
    max-width: none;
  }

  .tfq-panel-action-row,
  .tfq-panel-action-row:has(.tfq-panel-action:nth-child(2):last-child) {
    grid-template-columns: 1fr;
  }

  .tfq-panel-quantity {
    width: 142px;
  }

  .tfq-size-guide-drawer__header {
    padding: 30px 24px 20px;
  }

  .tfq-size-guide-drawer__body {
    padding: 28px 24px 34px;
  }

  .tfq-size-guide-section:first-child {
    padding: 20px 18px 18px;
  }

  .tfq-size-guide-section h3 {
    font-size: 32px;
  }
}


/* v0.3.4 — Luxury Visual Hierarchy Polish */

/* Reduce green heaviness: selected size/height = refined border, not filled block */
.tfq-purchase-panel__option.is-selected,
.woocommerce div.product .tfq-purchase-panel__option.is-selected {
  border-color: var(--tfq-green) !important;
  background: rgba(246, 241, 234, 0.56) !important;
  color: var(--tfq-green) !important;
  box-shadow: inset 0 0 0 1px rgba(32, 100, 90, 0.34), 0 3px 10px rgba(32, 100, 90, 0.05) !important;
}

.tfq-purchase-panel__option.is-selected::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 7px;
  border-radius: 999px;
  background: var(--tfq-green);
  vertical-align: middle;
}

/* More air only between the height selector block and Fit Quiz CTA */
.tfq-purchase-panel__selectors {
  margin-bottom: 22px;
}

/* Product-page Fit Quiz CTA becomes an elegant secondary action */
.tfq-purchase-panel__fit-button.trishnae-fit-quiz-trigger,
.woocommerce div.product .tfq-purchase-panel__fit-button.trishnae-fit-quiz-trigger.button {
  min-width: 205px;
  max-width: 250px;
  min-height: 42px;
  margin-top: 9px !important;
  margin-bottom: 20px !important;
  border: 1px solid var(--tfq-green) !important;
  background: transparent !important;
  color: var(--tfq-green) !important;
  box-shadow: none !important;
}

.tfq-purchase-panel__fit-button.trishnae-fit-quiz-trigger:hover,
.tfq-purchase-panel__fit-button.trishnae-fit-quiz-trigger:focus,
.woocommerce div.product .tfq-purchase-panel__fit-button.trishnae-fit-quiz-trigger.button:hover,
.woocommerce div.product .tfq-purchase-panel__fit-button.trishnae-fit-quiz-trigger.button:focus {
  background: rgba(32, 100, 90, 0.075) !important;
  border-color: var(--tfq-green-dark) !important;
  color: var(--tfq-green-dark) !important;
}

/* Stock availability message: cleaner separation, no cramped punctuation */
.tfq-purchase-panel__status {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  width: fit-content;
  max-width: 470px;
  margin: 2px 0 22px;
  padding: 10px 13px;
}

.tfq-panel-status-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.tfq-panel-dot {
  flex: 0 0 auto;
  margin: 0 8px 0 0;
}

.tfq-panel-dot--no {
  margin-left: 0;
}

/* Wider, more graceful action row: Add to Cart never wraps */
.tfq-purchase-panel__actions {
  max-width: 490px;
  gap: 14px;
}

.tfq-panel-action-row {
  grid-template-columns: 124px minmax(220px, 1.25fr) minmax(190px, 1fr);
  gap: 16px;
  max-width: 490px;
}

.tfq-panel-action-row:has(.tfq-panel-action:nth-child(2):last-child) {
  grid-template-columns: 124px minmax(240px, 1fr);
  max-width: 420px;
}

.tfq-panel-action {
  white-space: nowrap;
  min-width: 0;
  letter-spacing: 0.09em;
}

/* Full availability hierarchy: Buy Now is primary, Add to Cart is outlined */
.tfq-panel-action[data-tfq-panel-cart-action="add-set"],
.tfq-panel-action[data-tfq-panel-cart-action="add-single"] {
  border-color: var(--tfq-green) !important;
  background: transparent !important;
  color: var(--tfq-green) !important;
}

.tfq-panel-action[data-tfq-panel-cart-action="add-set"]:hover,
.tfq-panel-action[data-tfq-panel-cart-action="add-set"]:focus,
.tfq-panel-action[data-tfq-panel-cart-action="add-single"]:hover,
.tfq-panel-action[data-tfq-panel-cart-action="add-single"]:focus {
  background: rgba(32, 100, 90, 0.075) !important;
  color: var(--tfq-green-dark) !important;
  border-color: var(--tfq-green-dark) !important;
}

.tfq-panel-action[data-tfq-panel-cart-action="buy-now-set"],
.tfq-panel-action[data-tfq-panel-cart-action="buy-now-single"] {
  border-color: var(--tfq-green) !important;
  background: var(--tfq-green) !important;
  color: #ffffff !important;
}

.tfq-panel-action[data-tfq-panel-cart-action="buy-now-set"]:hover,
.tfq-panel-action[data-tfq-panel-cart-action="buy-now-set"]:focus,
.tfq-panel-action[data-tfq-panel-cart-action="buy-now-single"]:hover,
.tfq-panel-action[data-tfq-panel-cart-action="buy-now-single"]:focus {
  border-color: var(--tfq-green-dark) !important;
  background: var(--tfq-green-dark) !important;
  color: #ffffff !important;
}

/* Partial availability: available component remains strong because it is the only purchase action */
.tfq-panel-action[data-tfq-panel-cart-action="add-top"],
.tfq-panel-action[data-tfq-panel-cart-action="add-bottom"] {
  border-color: var(--tfq-green) !important;
  background: var(--tfq-green) !important;
  color: #ffffff !important;
}

.tfq-panel-action[data-tfq-panel-cart-action="add-top"]:hover,
.tfq-panel-action[data-tfq-panel-cart-action="add-top"]:focus,
.tfq-panel-action[data-tfq-panel-cart-action="add-bottom"]:hover,
.tfq-panel-action[data-tfq-panel-cart-action="add-bottom"]:focus {
  border-color: var(--tfq-green-dark) !important;
  background: var(--tfq-green-dark) !important;
  color: #ffffff !important;
}

@media (max-width: 1180px) {
  .tfq-panel-action-row {
    grid-template-columns: 118px minmax(190px, 1.2fr) minmax(165px, 1fr);
    gap: 12px;
  }
}

@media (max-width: 860px) {
  .tfq-panel-action-row,
  .tfq-panel-action-row:has(.tfq-panel-action:nth-child(2):last-child) {
    grid-template-columns: 116px minmax(180px, 1fr);
    max-width: 100%;
  }

  .tfq-panel-action-row .tfq-panel-action:nth-of-type(2) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .tfq-purchase-panel__option.is-selected::after {
    width: 3px;
    height: 3px;
    margin-left: 5px;
  }

  .tfq-purchase-panel__fit-button.trishnae-fit-quiz-trigger,
  .woocommerce div.product .tfq-purchase-panel__fit-button.trishnae-fit-quiz-trigger.button {
    width: 100% !important;
    max-width: none;
  }

  .tfq-purchase-panel__status {
    width: 100%;
    max-width: none;
  }

  .tfq-panel-status-item {
    white-space: normal;
  }

  .tfq-panel-action-row,
  .tfq-panel-action-row:has(.tfq-panel-action:nth-child(2):last-child) {
    grid-template-columns: 1fr;
  }
}


/* v0.3.4 — remove selected-option dot for a cleaner luxury finish */
.tfq-purchase-panel__option.is-selected::after,
.woocommerce div.product .tfq-purchase-panel__option.is-selected::after {
  content: none !important;
  display: none !important;
}


/* ==========================================================
   Fit Profile v0.3.5
   ========================================================== */
.tfq-profile-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(32, 100, 90, .22);
  border-radius: 10px;
  background: #f7f4e8;
  color: #355f58;
  font-size: 14px;
  line-height: 1.55;
}
.tfq-profile-status p { margin: 0; }
.tfq-profile-review { margin-top: 9px; padding-top: 9px; border-top: 1px solid rgba(32,100,90,.14); }
.tfq-profile-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 12px; }
.tfq-profile-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: #20645A;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.tfq-profile-link:hover, .tfq-profile-link:focus-visible { color: #154a43; }
.tfq-profile-prompt {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(91, 75, 67, .18);
  border-radius: 12px;
  background: #F3EFE4;
  color: #5B4B43;
}
.tfq-profile-prompt.is-loading { opacity: .68; pointer-events: none; }
.tfq-profile-prompt p { margin: 0 0 8px; }
.tfq-profile-prompt__title { color: #20645A; font-family: "Instrument Serif", Georgia, serif; font-size: 20px; line-height: 1.25; }
.tfq-profile-prompt__quiet, .tfq-profile-prompt__success { margin: 0 !important; color: #20645A; }
.tfq-profile-prompt__error { margin-top: 10px !important; color: #9b2f2f; }
.tfq-profile-changes { margin: 10px 0 0 18px; padding: 0; }
.tfq-profile-changes li { margin: 4px 0; }

@media (max-width: 680px) {
  .tfq-profile-actions { align-items: flex-start; flex-direction: column; }
  .tfq-profile-actions .tfq-button { width: 100%; }
}


/* v0.3.5.1 — sticky-header-safe modal, compact profile prompts and luxury Fit Profile */
.tfq-modal-overlay {
  z-index: 2147483000 !important;
  width: 100vw;
  height: 100dvh;
  isolation: isolate;
  box-sizing: border-box;
}
.tfq-modal {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 32px);
  overflow: hidden;
}
.tfq-modal__content {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
body > .tfq-modal-overlay { position: fixed !important; inset: 0 !important; }

.tfq-profile-prompt {
  margin-top: 15px;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.42;
}
.tfq-profile-prompt p { margin: 0 0 6px; }
.tfq-profile-prompt__title {
  margin-bottom: 6px !important;
  font-size: 16.5px;
  line-height: 1.22;
}
.tfq-profile-actions { gap: 8px 12px; margin-top: 9px; }
.tfq-profile-prompt .tfq-button {
  min-height: 38px;
  padding: 9px 16px !important;
  font-size: 13px;
}
.tfq-profile-prompt .tfq-profile-link { font-size: 13px; }
.tfq-profile-changes { margin: 7px 0 0 17px; font-size: 12.5px; }

@media (max-width: 480px) {
  .tfq-modal-overlay { padding: 10px !important; }
  .tfq-modal { max-height: calc(100dvh - 20px) !important; }
  .tfq-modal__content { max-height: calc(100dvh - 20px); }
}

/* v0.3.6 — fresh My Fit Profile frontend */
.tfq-profile-v4,
.tfq-profile-v4 * { box-sizing: border-box; }

/* Elementor text widgets may run wpautop over endpoint output. The rebuilt
   component uses block wrappers, and these defensive rules neutralise any
   empty formatting nodes that are still injected. */
.tfq-profile-v4 br,
.tfq-profile-v4 p:empty { display: none !important; }

.woocommerce .woocommerce-MyAccount-content .tfq-profile-v4,
.tfq-profile-v4 {
  width: min(100%, 660px);
  max-width: 660px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(32,100,90,.16);
  border-radius: 16px;
  background: #FFFDF8;
  color: #5B4B43;
  box-shadow: 0 15px 40px rgba(91,75,67,.07);
}
.tfq-profile-v4__header {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 4px 16px;
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(91,75,67,.14);
}
.tfq-profile-v4__eyebrow {
  margin: 0 0 2px;
  color: #20645A;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.tfq-profile-v4 h2 {
  margin: 0 !important;
  color: #5B4B43;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.08;
}
.tfq-profile-v4__updated {
  margin: 0 0 2px;
  color: #8B6F63;
  font-size: 10.5px;
  line-height: 1.3;
  white-space: nowrap;
}
.tfq-profile-v4__intro {
  grid-column: 1 / -1;
  max-width: 560px;
  margin-top: 5px;
  color: #6F625B;
  font-size: 12px;
  line-height: 1.42;
}
.tfq-profile-v4__form { display: grid !important; gap: 10px; margin: 0 !important; }
.tfq-profile-v4__card {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(91,75,67,.13);
  border-radius: 12px;
  background: #F7F3E9;
}
.tfq-profile-v4__card--preferences {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
}
.tfq-profile-v4__section-copy,
.tfq-profile-v4__section-heading { min-width: 0; }
.tfq-profile-v4__section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.tfq-profile-v4 h3 {
  margin: 0 !important;
  color: #20645A;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.08;
}
.tfq-profile-v4__helper {
  margin-top: 2px;
  color: #85776E;
  font-size: 10.5px;
  line-height: 1.35;
}
.tfq-profile-v4__section-heading .tfq-profile-v4__helper { margin: 0; text-align: right; }

.tfq-profile-v4__unit {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  width: auto;
  margin: 0;
  padding: 3px;
  border: 1px solid rgba(32,100,90,.20);
  border-radius: 999px;
  background: #FFFDF8;
}
.woocommerce .tfq-profile-v4 button.tfq-profile-v4__unit-button,
.tfq-profile-v4 button.tfq-profile-v4__unit-button {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  min-width: 44px !important;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 5px 9px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #75675F !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
  cursor: pointer;
}
.woocommerce .tfq-profile-v4 button.tfq-profile-v4__unit-button.is-active,
.tfq-profile-v4 button.tfq-profile-v4__unit-button.is-active { background: #20645A !important; color: #fff !important; }
.tfq-profile-v4__unit-button:focus-visible { outline: 2px solid #20645A !important; outline-offset: 2px; }

.tfq-profile-v4__body-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.tfq-profile-v4__field {
  display: grid !important;
  grid-template-columns: minmax(0,1fr);
  align-content: start;
  min-width: 0;
  gap: 5px;
  margin: 0 !important;
}
.tfq-profile-v4__field label,
.tfq-profile-v4__height-title {
  display: block !important;
  margin: 0 !important;
  color: #5B4B43;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}
.woocommerce .woocommerce-MyAccount-content .tfq-profile-v4 input[type="number"],
.woocommerce .woocommerce-MyAccount-content .tfq-profile-v4 select,
.tfq-profile-v4 input[type="number"],
.tfq-profile-v4 select {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 7px 10px !important;
  border: 1px solid rgba(91,75,67,.24) !important;
  border-radius: 8px !important;
  background-color: #fff !important;
  color: #382F2A !important;
  font-family: inherit !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  text-indent: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
.tfq-profile-v4 input[type="number"]:focus,
.tfq-profile-v4 select:focus { border-color: #20645A !important; outline: 2px solid rgba(32,100,90,.12) !important; outline-offset: 0; }

.tfq-profile-v4__height {
  display: grid !important;
  grid-template-columns: 52px minmax(0,150px) minmax(0,150px);
  align-items: end;
  gap: 10px;
  margin-top: 13px;
}
.tfq-profile-v4__height-title { align-self: center; }
.tfq-profile-v4__height--cm { grid-template-columns: 52px minmax(0,180px); }
.tfq-profile-v4__input-unit { position: relative; display: block; }
.tfq-profile-v4__input-unit input { padding-right: 35px !important; }
.tfq-profile-v4__input-unit span {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #85776E;
  font-size: 11px;
  pointer-events: none;
}
.tfq-profile-v4 [hidden][data-tfq-profile-unit-panel] { display: none !important; }

.tfq-profile-v4__actions {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 1px;
}
.tfq-profile-v4__privacy {
  max-width: 455px;
  color: #75675F;
  font-size: 10.5px;
  line-height: 1.4;
}
.woocommerce .tfq-profile-v4 button.tfq-profile-v4__save,
.tfq-profile-v4 button.tfq-profile-v4__save {
  min-height: 38px !important;
  margin: 0 !important;
  padding: 8px 18px !important;
  border-radius: 999px !important;
  background: #20645A !important;
  color: #fff !important;
  font-size: 12px !important;
}
.tfq-profile-v4__delete {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 10px 0 0 !important;
  padding: 10px 0 0 !important;
  border-top: 1px solid rgba(91,75,67,.14);
}
.tfq-profile-v4__delete-copy {
  display: grid !important;
  justify-items: start;
  gap: 1px;
  min-width: 0;
  text-align: left;
}
.tfq-profile-v4__delete-copy strong {
  margin: 0;
  color: #5B4B43;
  font-size: 11.5px;
  line-height: 1.3;
  text-align: left;
}
.tfq-profile-v4__delete-copy span {
  margin: 0;
  color: #85776E;
  font-size: 10.5px;
  line-height: 1.35;
  text-align: left;
}
.woocommerce .tfq-profile-v4 button.tfq-profile-v4__delete-button,
.tfq-profile-v4 button.tfq-profile-v4__delete-button {
  min-height: 32px !important;
  margin: 0 !important;
  padding: 6px 12px !important;
  border: 1px solid rgba(138,31,31,.35) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #8A1F1F !important;
  font-size: 11px !important;
}

@media (max-width: 720px) {
  .woocommerce .woocommerce-MyAccount-content .tfq-profile-v4,
  .tfq-profile-v4 { max-width: 100%; padding: 16px; }
}
@media (max-width: 540px) {
  .tfq-profile-v4__header { grid-template-columns: 1fr; }
  .tfq-profile-v4__updated { white-space: normal; }
  .tfq-profile-v4__card--preferences { grid-template-columns: 1fr; }
  .tfq-profile-v4__section-heading { display: block; }
  .tfq-profile-v4__section-heading .tfq-profile-v4__helper { margin-top: 3px; text-align: left; }
  .tfq-profile-v4__body-grid { gap: 8px; }
  .tfq-profile-v4__height { grid-template-columns: 48px repeat(2,minmax(0,1fr)); }
  .tfq-profile-v4__height--cm { grid-template-columns: 48px minmax(0,1fr); }
  .tfq-profile-v4__actions { grid-template-columns: 1fr; }
  .woocommerce .tfq-profile-v4 button.tfq-profile-v4__save,
  .tfq-profile-v4 button.tfq-profile-v4__save { width: 100%; }
}
@media (max-width: 410px) {
  .tfq-profile-v4 { padding: 14px; border-radius: 14px; }
  .tfq-profile-v4__card { padding: 12px; }
  .tfq-profile-v4__body-grid { grid-template-columns: 1fr; }
  .tfq-profile-v4__height,
  .tfq-profile-v4__height--cm { grid-template-columns: 1fr; gap: 6px; }
  .tfq-profile-v4__delete { align-items: start; }
}

/* v0.3.6.2 — unified technical configuration state */
.tfq-purchase-panel__status.is-error {
  background: rgba(191, 47, 47, 0.06);
  border: 1px solid rgba(191, 47, 47, 0.16);
  color: rgba(17, 17, 17, 0.84);
}

