/* v100: sticky buy bar, Split monthly line, trust links (product page only). */







.fs-buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8600;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(12, 13, 18, 0.97);
  border-top: 1px solid rgba(255, 65, 54, 0.35);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
  transform: translateY(110%);
  transition: transform 0.2s ease;
}

@media (max-width: 1024px) {
  .fs-buybar { display: flex; }
}

.fs-buybar.is-visible { transform: translateY(0); }

.fs-buybar__price {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.fs-buybar__total {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.fs-buybar__month {
  color: #b8bcc8;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-buybar__button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff4136, #c81e2c);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.fs-buy-split-line {
  margin: 4px 0 10px;
  color: #b8bcc8;
  font-size: 13px;
  line-height: 1.35;
}

.fs-buy-split-line:empty { display: none; }

body[data-theme-template="product"] .fs-product-trust__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body[data-theme-template="product"] .fs-product-trust__ask {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* AI chat launcher: lifted above the sticky bar while it is shown. */
@media (max-width: 767px) {
  html.fs-buybar-open .fs-ai-chat:not(.is-open) .fs-ai-chat__launcher {
    top: auto;
    bottom: 150px;
    transform: none;
  }
}
