/* Copied from storetasker-website/web/public/css/pages/pricing.css by tools/redesign/import-base.mjs.
   Element-level rules skip .st-legacy areas (old page bodies, hire panel); nothing else changed. */
/* pricing: custom CSS from the Webflow page embeds, in original order. */
  .hero-org-chart-svg {
    position: absolute;
    top: 0;
    left: 0;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
  }

  .hero-org-chart-svg path:where(:not(.st-legacy, .st-legacy *)) {
    fill: none;
    stroke: rgba(255, 255, 255, 0.55);
    stroke-width: 1.5px;
    stroke-linecap: round;
    opacity: 0; /* safe default before JS runs; GSAP takes over from here */
  }

  .hero-org-chart-svg path.hoc-flow {
    animation: hoc-dash-flow 1.4s linear infinite;
  }

  @keyframes hoc-dash-flow {
    to {
      stroke-dashoffset: -20;
    }
  }

  .pricing-hero-bottom,
  .pricing-hero-row1,
  .pricing-hero-row2,
  .pricing-hero-col,
  .pricing-hero-pill {
    position: relative;
    z-index: 1;
  }

  @media screen and (max-width: 767px) {
    .hero-org-chart-svg path:where(:not(.st-legacy, .st-legacy *)) {
      stroke-width: 1.25px;
    }
  }

  
  /* Text Marquee CSS */
@keyframes translateX { 
  to {
    transform: translateX(-100%);
  }
}

[data-css-marquee-list]:where(:not(.st-legacy, .st-legacy *)) {
  animation: translateX 30s linear;
  animation-iteration-count: infinite;
  animation-play-state: paused;
}

/* >=992px: do nothing — native Webflow flex row (28/44/28) handles desktop */

/* ===== Shared Flickity setup for everything 991px and down ===== */
@media screen and (max-width: 991px) {
  .box-lines.mobile-hide { display: block !important; }
  .customers_wrapper { display: block !important; }
  .customers_wrapper:after {
    content: 'flickity';
    display: none;
  }
}

/* ===== Card width: TABLET (991px down to 768px) ===== */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .customers_wrapper .customers_wrapper_experts,
  .customers_wrapper ._3-customers {
    width: 60%;   /* <-- edit tablet card width here */
  }
}

/* ===== Card width: MOBILE (767px and down) ===== */
@media screen and (max-width: 767px) {
  .customers_wrapper .customers_wrapper_experts,
  .customers_wrapper ._3-customers {
    width: 85%;   /* <-- edit mobile card width here */
  }
}

/* ── Examples Tab Switcher ─────────────────────────── */

/* Dim inactive pills, full opacity on active */
.list_left-right .div-block-70 .pill {
  transition: opacity 0.25s ease;
  opacity: 0.4;
  cursor: pointer;
}
.list_left-right .div-block-70 .pill.is-active {
  opacity: 1;
}

/* Stack all three collections on top of each other */
.list_right.examples {
  position: relative;
  overflow: hidden;
}

.list_right.examples .example-list_wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Active collection sits in flow and is fully visible */
.list_right.examples .example-list_wrapper.is-active {
  position: relative;
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
}

  /* ── Bottom fade gradient on the right list panel ─── */

.list_right.examples {
  position: relative; /* already set from tab code, just confirming */
}

.list_right.examples::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  pointer-events: none;
  z-index: 10;
}

  /* Stack all slides into one grid cell — container auto-sizes to the tallest slide */
  .hiw-content_list { display: grid; }
  .hiw-content_item {
    grid-area: 1 / 1 / 2 / 2;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .hiw-content_item.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  /* Fade transitions enabled only after init (prevents a flash of all slides on load) */
  .hiw-fade-ready .hiw-content_item {
    transition: opacity .5s ease, visibility 0s linear .5s;
  }
  .hiw-fade-ready .hiw-content_item.is-active {
    transition: opacity .5s ease, visibility 0s linear 0s;
  }
  /* Active logo at 100%; inactive logos keep Webflow's default 0.2 */
  .company_logos a.link-block-2 { transition: opacity .3s ease; }
  .company_logos a.link-block-2.is-active-logo { opacity: 1; }

  /* Stack all grid panels on top of each other */

  .cust-grid_list .cust-grid_item {
    grid-row: 1;
    grid-column: 1;
  }

  /* Always keep nav above the slides */

  .cust-grid-nav_wrapper {
    z-index: 10;
  }

  /* Nav: inactive links dimmed, no gap */

  .cust-grid-nav_item .feat-stories_link {
    opacity: 0.55;
    gap: 0;
    transition:
      opacity 0.3s ease,
      gap 0.4s ease;
  }

  .cust-grid-nav_item.is-active .feat-stories_link {
    opacity: 1;
    gap: 1em;
  }

  /* Fix logo to its natural size — no stretching or shrinking */

  .feat-stories_link img:where(:not(.st-legacy, .st-legacy *)) {
    width: auto;
    max-width: none;
    flex-shrink: 0;
  }

  /* Collapse "x" and expert details on inactive nav items */

  .cust-grid-nav_item .feat-stories_link .times,
  .cust-grid-nav_item .feat-stories_link .div-block-30 {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transform: translateX(-6px);
    transition:
      opacity 0.5s ease,
      max-width 0.5s ease,
      transform 0.5s ease;

    pointer-events: none;
  }

  /* Expand them on the active nav item */

  .cust-grid-nav_item.is-active .feat-stories_link .times,
  .cust-grid-nav_item.is-active .feat-stories_link .div-block-30 {
    opacity: 1;
    max-width: 300px;
    transform: translateX(0px);
    pointer-events: auto;
  }

  /* ── Mobile: make nav horizontally swipeable ── */

  @media screen and (max-width: 767px) {
    .cust-grid-nav_wrapper {
      left: 0;
      right: 0;
      inset-inline: 0;
      overflow: hidden;
    }

    .cust-grid-nav_list {
      overflow-x: auto;
      overflow-y: visible;
      -webkit-overflow-scrolling: touch;
      scroll-behavior: smooth;
      scrollbar-width: none;
      flex-wrap: nowrap;
      padding-right: 2em;
    }

    .cust-grid-nav_list::-webkit-scrollbar {
      display: none;
    }
  }

  /* FAQs CSS */
.accordion-css__item-bottom {
  transition: grid-template-rows 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}

[data-accordion-status="active"] .accordion-css__item-bottom {
  grid-template-rows: 1fr;
}

/* Animate Icon */
.accordion-css__item-icon {
  transition: transform 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}

[data-accordion-status="active"] .accordion-css__item-icon {
  transform: rotate(0.001deg);
}

  /* Remove border from last FAQ item */
.accordion-css__list > .accordion-css__item:last-child {
  border-bottom: none;
}
