/* Navbar dropdown menu */
@media (min-width: 992px) {
  .tso-nav-list {
    top: 100%;
    left: 0;
    min-width: 180px;
    background: white;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .tso-nav-list a {
    display: block;
  }
  /* --- Show on hover (desktop) --- */
  .tso-nav-item:hover .tso-nav-list {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
 }
  /* --- Mobile Toggle --- */
@media (max-width: 991px) {
  .tso-nav-list {
    position: static;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    pointer-events: none;
    height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .tso-nav-list.show {
    opacity: 1;
    transform: scaleY(1);
   	height: auto;
    pointer-events: auto;
  }
}
/* Nav menu CSS End */
/* Faq Css */
.tso-faq-item.active {
  background-color: #DED8ED;
}
.tso-faq-item .tso-faq-body {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease; /* Smooth open/close */
}
.tso-faq-item.active .faq-icon {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
/* list line css */
.icon-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  border-left: 3px dotted #000000;
}
.last-item .icon-line {
  display: none;
}
/* list line css */
/* Text wrap css */
.tso-blog-text,
.tso-blog-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Text wrap css */
/* back top Css */
.back-top-block.show {
  transform: translateX(0); /* slide in */
}
/* image clip css */
.tso-img-clip-wrap {
  overflow: hidden;
  clip-path: ellipse(100% 100% at 100% 100%); /* creates the curved shape */
}
.tso-img-clip-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 1280px) and (max-width: 1340px) {
.tso-hero-main {
padding-left: 40px;
padding-right: 40px;
}
.tso-nav-container,
.tso-hero-container {
	padding-left: 20px;
	padding-right: 20px;
}
.tso-nav-menu {
	gap: 0px;
}
.tso-nav-toggle,
.tso-nav-link {
	font-size: 15px;
  line-height: 20px;
}
.tso-nav-action-btn,
.tso-nav-login-btn {
	font-size: 14px;
  line-height: 20px;
}
}
@media (max-width: 1279px) {
  .tso-nav-link {
    font-size: 14px;
  }
  .tso-nav-login-btn {
    display: none;
  }
  .tso-nav-action-btn.hide-tab {
    font-size: 14px;
  }
  .tso-nav-item {
    font-size: 14px;
  }
}















.unit-price-wrapper:has(+.form-input-message.error:not(.d-none)) {
  border-color: #be274b;
}

.d-none {
  display: none !important;
}
.tso-faq-title {
  padding-top: 7px;
  font-size: 18px;
}
.tso-faq-toggle {
  padding: 14px 20px;
}
.tso-faq-text {
  font-size: 16px;
  line-height: 24px;
}
.faq-body-wrap {
  padding-top: 5px;
}

.tso-faq-item {
  cursor: default;
}
.tso-faq-toggle {
  cursor: pointer;
}

.tso-footer-link-wrap {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.tso-hero-serach-field {
  border-radius: 36px;
}
.suggestions-box {
  display: block;
}
form:has(+.suggestions-box) #search-input {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
form:has(+.suggestions-box.d-none) #search-input {
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}
.suggestion-item {
  padding-top: 12px;
  padding-bottom: 6px;
}
.suggestion-item:first-child {
  border-top: 1px solid #f0f0f0;
}
.suggestions-box {
  border: 0 !important;
  border-radius: 0 0 8px 8px !important;
}

.tso-results-block {
  display: block;
}
.tso-footer-logo {
  margin-top: -6px;
}

.tso-modal-wrapper {
  display: none;
}

#login-modal,
#signup-modal {
max-height: fit-content;
}

.tso-calculate-description-block .tso-tertriary-heading {
  font-size: 24px;
}
.tso-calculate-description-block .tso-cd-title {
  font-size: 18px;
}
.tso-calculate-description-block p,
.tso-calculate-description-block li,
.tso-calculate-description-block ul {
  font-size: 16px;
}
.tso-modals-wrapper {
  display: none;
}

@media (max-width: 1100px) and (min-width: 992px) {
  .tso-nav-link-text.tax-returns-link {
    display: none;
  }
}

  /* CSS variable for dynamic deadline banner height */
  :root {
    --deadline-banner-height: 0px;
  }

  .tso-navbar-block {
    position: fixed;
    top: 0;
    z-index: 999;
    left: 0;
    right: 0;
    height: 80px;
    transition: box-shadow 0.3s ease;
  }

  .tso-navbar-block.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  }
  .tso-header {
    padding-top: 80px;
  }


.or-separator {
  color: #76787F;
  font-size: 14px;
  font-style: normal;
  font-weight: 450;
  line-height: 26px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}
.or-separator span {
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 22px;
  min-width: 22px;
}
.or-separator::before, .or-separator::after {
  content: "";
  height: 1px;
  background-color: #E9ECEF;
  display: block;
  width: 50%;
}
.google-button {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  border: 1px solid var(--Action-Outline-Normal, #CFD6DD);
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(27, 36, 44, 0.12);
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}
.google-button .gb-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.google-button .gb-text {
  color: #4A545E;
  font-size: 14px;
  font-weight: 450;
  line-height: 24px;
  letter-spacing: 0.2px;
  padding-top: 6px;
}

@media (min-width: 768px) {
  .tso-mobile-footer-banner {
    display: none !important;
  }
}
.tso-mobile-footer-banner {
  display: none !important; /* Hidden per boss request */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 60px;
  padding: 10px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #EFF9D6;
  z-index: 998;
}
.tso-mfb-text {
  color: var(--Primary-Violet-2---2D1E54, #2D1E54);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 133.333% */
  letter-spacing: -0.36px; 
  padding-top: 6px;
}
.tso-mfb-button {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tso-mfb-button span {
  color: var(--Primary-Violet-2---2D1E54, #2D1E54);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 133.333% */
}
.tso-mfb-button .icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-top-block {
  z-index: 998;
}
@media screen and (max-width: 767px) {
    .back-top-block {
        bottom: 75px;
        right: 24px;
    }
}
.tso-nav-list-link {
  padding: 12px 16px 8px 16px;
}
.tso-nav-list-link.active {
  background-color: #F7F5FA;
}
@media (max-width: 991px) {
  .tso-nav-list {
    box-shadow: none;
    border: 1px solid #E5E5E5;
  }
  .tso-nav-menu {
    padding: 20px 30px;
  }
  


}
@media screen and (max-width: 991px) {
  .w-nav[data-collapse='medium'] .w-nav-menu {
    display: none;
    max-height: calc(100dvh - 80px);
  }
  .tso-nav-action-btn.hide-desktop.mt-5 {
    display: block;
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
  }
  .tso-nav-link.login-link {
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--secondary-color);
    border-radius: 999px;
    flex: none;
    justify-content: flex-start;
    align-items: center;
    height: 44px;
    padding: 10px 16px;
    font-weight: 600;
    transition: filter .25s;
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 90px;
    left: 30px;
    right: 30px;
  }
  .tso-nav-link {
    font-size: 16px;
    line-height: 1.8em;
  }
  .tso-nav-item {
    font-size: 16px;
    line-height: 1.8em;
  }


}
@media (max-width: 767px) {
  #login-modal, #signup-modal {
    max-height: none;
    border-radius: 0;
    width: 100%;
    max-width: 100dvw;
  }
  .fancybox__slide.has-html {
    padding: 0 !important;
  }
  .f-button.is-close-button {
    top: 10px !important;
    right: 10px !important;
    z-index: 10;
    color: #000;
  }
}

/* Claspo Widget Centering Fix */
/* DESKTOP: Center based on the known 600px width */
.cl-floating-box {
  left: calc(50% - 300px) !important;
  right: auto !important;
}

/* MOBILE: specific fix to prevent 600px width from breaking screens */
@media (max-width: 640px) {
  .cl-floating-box {
    left: 5% !important;
    width: 90% !important;
    margin-left: 0 !important;
  }

  /* Force inner content to shrink */
  .cl-floating-box sys-columns-static {
    min-width: auto !important;
    width: 100% !important;
  }
}