/* FlashToner child-theme foundation. Keep structural overrides in the child. */
:root {
  --ft-ink: #101c22;
  --ft-ink-soft: #526168;
  --ft-paper: #fbfaf7;
  --ft-surface: #ffffff;
  --ft-mist: #e8f3f5;
  --ft-accent: #077f99;
  --ft-accent-strong: #05677a;
  --ft-radius-sm: 0.875rem;
  --ft-radius-md: 1.35rem;
  --ft-radius-lg: 2rem;
  --ft-shadow-soft: 0 20px 55px rgb(16 28 34 / 8%);
  --ft-motion: 500ms cubic-bezier(0.32, 0.72, 0, 1);
}

body {
  color: var(--ft-ink);
  background: var(--ft-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a,
button,
.btn {
  transition: color var(--ft-motion), background-color var(--ft-motion), box-shadow var(--ft-motion), transform var(--ft-motion);
}

.btn-primary,
.product-add-to-cart .add-to-cart {
  border: 0;
  border-radius: 999px;
  background: var(--ft-accent);
  box-shadow: 0 10px 28px rgb(7 127 153 / 20%);
  font-weight: 650;
}

.btn-primary:hover,
.product-add-to-cart .add-to-cart:hover {
  background: var(--ft-accent-strong);
  box-shadow: 0 14px 34px rgb(7 127 153 / 26%);
  transform: translateY(-2px);
}

.btn-primary:active,
.product-add-to-cart .add-to-cart:active {
  transform: scale(0.98);
}

.product-miniature .thumbnail-container,
.block-category,
.card {
  border: 0;
  border-radius: var(--ft-radius-md);
  background: var(--ft-surface);
  box-shadow: inset 0 0 0 1px rgb(16 28 34 / 6%), var(--ft-shadow-soft);
}

.product-miniature .thumbnail-container {
  overflow: hidden;
  transition: box-shadow var(--ft-motion), transform var(--ft-motion);
}

.product-miniature:hover .thumbnail-container {
  box-shadow: inset 0 0 0 1px rgb(7 127 153 / 12%), 0 26px 65px rgb(16 28 34 / 12%);
  transform: translateY(-5px);
}

.product-miniature img {
  transition: transform 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

.product-miniature:hover img {
  transform: scale(1.025);
}

input,
select,
textarea,
.form-control {
  border-color: transparent;
  border-radius: var(--ft-radius-sm);
  background: var(--ft-surface);
  box-shadow: inset 0 0 0 1px rgb(16 28 34 / 10%);
  transition: box-shadow var(--ft-motion), background-color var(--ft-motion);
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus {
  border-color: transparent;
  box-shadow: inset 0 0 0 1px var(--ft-accent), 0 0 0 4px rgb(7 127 153 / 12%);
}

::selection {
  color: var(--ft-ink);
  background: rgb(7 127 153 / 22%);
}

[data-ft-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 800ms cubic-bezier(0.32, 0.72, 0, 1), transform 800ms cubic-bezier(0.32, 0.72, 0, 1);
}

[data-ft-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-ft-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .product-miniature:hover .thumbnail-container,
  .product-miniature:hover img {
    transform: none;
  }
}

/* Keep the Back Office logo legible across ThemeVolty header layouts. */
#header .tv-header-logo img.logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(13.75rem, 100%);
  max-height: 3.5rem;
  object-fit: contain;
}

.page-home {
  --ft-gutter: clamp(1rem, 4vw, 4rem);
  overflow: clip;
}

.ft-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 1.25rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--ft-accent-strong);
  background: var(--ft-mist);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.ft-hero,
.ft-brand-shortcuts,
.ft-guide,
.ft-faq {
  width: min(100% - (2 * var(--ft-gutter)), 84rem);
  margin-inline: auto;
}

.ft-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(19rem, 0.75fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}

.ft-hero__copy h1,
.ft-section-heading h2,
.ft-brand-shortcuts h2,
.ft-guide h2,
.ft-faq h2 {
  color: var(--ft-ink);
  font-weight: 750;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.ft-hero__copy h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.8rem, 6.4vw, 6.2rem);
  line-height: 0.96;
}

.ft-hero__lede {
  max-width: 42rem;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0;
  color: var(--ft-ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.65;
}

.ft-printer-search {
  max-width: 46rem;
  padding: 0.55rem;
  border-radius: calc(var(--ft-radius-lg) + 0.35rem);
  background: rgb(16 28 34 / 5%);
  box-shadow: inset 0 0 0 1px rgb(16 28 34 / 5%);
}

.ft-printer-search > label {
  display: block;
  padding: 0.8rem 1rem 0.35rem;
  color: var(--ft-ink);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.ft-printer-search__control {
  display: flex;
  gap: 0.5rem;
  padding: 0.45rem;
  border-radius: var(--ft-radius-lg);
  background: var(--ft-surface);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 70%), 0 16px 45px rgb(16 28 34 / 8%);
}

.ft-printer-search input {
  flex: 1;
  min-width: 0;
  min-height: 3.65rem;
  padding-inline: 1rem;
  box-shadow: none;
  font-size: 1rem;
}

.ft-printer-search button {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  min-height: 3.65rem;
  padding: 0.35rem 0.4rem 0.35rem 1.35rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ft-accent);
  box-shadow: 0 12px 30px rgb(7 127 153 / 22%);
  font-weight: 750;
}

.ft-printer-search button:hover {
  color: #fff;
  background: var(--ft-accent-strong);
  transform: translateY(-2px);
}

.ft-button-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 14%);
  transition: transform var(--ft-motion);
}

.ft-printer-search button:hover .ft-button-icon {
  transform: translateX(0.18rem);
}

.ft-secondary-link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin-top: 1.25rem;
  color: var(--ft-ink);
  font-weight: 700;
}

.ft-hero__proof {
  display: grid;
  gap: 1rem;
  padding: 0.65rem;
  border-radius: calc(var(--ft-radius-lg) + 0.5rem);
  background: rgb(16 28 34 / 5%);
  box-shadow: inset 0 0 0 1px rgb(16 28 34 / 5%);
}

.ft-proof-card {
  min-height: 15rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--ft-radius-lg);
  background: var(--ft-surface);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 80%);
}

.ft-proof-card--accent {
  color: #fff;
  background: var(--ft-ink);
}

.ft-proof-card__number {
  display: block;
  margin-bottom: 3.5rem;
  color: var(--ft-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.ft-proof-card strong {
  display: block;
  margin-bottom: 0.6rem;
  color: inherit;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.025em;
}

.ft-proof-card p {
  margin: 0;
  color: inherit;
  line-height: 1.55;
  opacity: 0.72;
}

.ft-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  padding: 1.15rem var(--ft-gutter);
  color: #fff;
  background: var(--ft-ink);
  list-style: none;
}

.ft-trust-strip li {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ft-trust-strip span {
  color: #65c6d7;
}

.ft-brand-shortcuts,
.ft-guide,
.ft-faq {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.ft-brand-shortcuts {
  display: grid;
  grid-template-columns: minmax(16rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.ft-brand-shortcuts h2,
.ft-guide h2,
.ft-faq h2,
.ft-section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.02;
}

.ft-brand-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.ft-brand-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--ft-radius-md);
  color: var(--ft-ink);
  background: var(--ft-surface);
  box-shadow: inset 0 0 0 1px rgb(16 28 34 / 7%);
  font-size: 1.1rem;
  font-weight: 750;
}

.ft-brand-list a:hover {
  color: var(--ft-accent-strong);
  box-shadow: inset 0 0 0 1px rgb(7 127 153 / 22%), var(--ft-shadow-soft);
  transform: translateY(-3px);
}

.ft-catalog {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: #f1f5f5;
}

.ft-section-heading,
.ft-themevolty-content {
  width: min(100% - (2 * var(--ft-gutter)), 84rem);
  margin-inline: auto;
}

.ft-section-heading {
  margin-bottom: 2.5rem;
}

.ft-themevolty-content > .tvcmscustomer-services,
.ft-themevolty-content > .tvcmsblog-event {
  display: none;
}

.ft-themevolty-content .product-miniature .thumbnail-container,
.ft-themevolty-content .tvall-product-wrapper-info-box {
  border-radius: var(--ft-radius-md);
}

.ft-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: start;
}

.ft-guide__intro > p:last-child {
  max-width: 40rem;
  margin-top: 1.75rem;
  color: var(--ft-ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.ft-guide__steps {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0.65rem;
  border-radius: calc(var(--ft-radius-lg) + 0.4rem);
  background: rgb(16 28 34 / 5%);
  list-style: none;
}

.ft-guide__steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--ft-radius-lg);
  background: var(--ft-surface);
}

.ft-guide__steps li > span {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 50%;
  color: var(--ft-accent-strong);
  background: var(--ft-mist);
  font-weight: 800;
}

.ft-guide__steps strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ft-ink);
  font-size: 1.05rem;
}

.ft-guide__steps p {
  margin: 0;
  color: var(--ft-ink-soft);
  line-height: 1.55;
}

.ft-faq {
  display: grid;
  grid-template-columns: minmax(15rem, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 8vw, 8rem);
  border-top: 1px solid rgb(16 28 34 / 8%);
}

.ft-faq__items {
  display: grid;
  gap: 0.75rem;
}

.ft-faq details {
  padding: 1.35rem 1.5rem;
  border-radius: var(--ft-radius-md);
  background: var(--ft-surface);
  box-shadow: inset 0 0 0 1px rgb(16 28 34 / 7%);
}

.ft-faq summary {
  color: var(--ft-ink);
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.45;
}

.ft-faq details p {
  margin: 1rem 0 0;
  color: var(--ft-ink-soft);
  line-height: 1.7;
}

@media (max-width: 991.98px) {
  .ft-hero,
  .ft-brand-shortcuts,
  .ft-guide,
  .ft-faq {
    grid-template-columns: 1fr;
  }

  .ft-hero__proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ft-proof-card {
    min-height: 12rem;
  }

  .ft-proof-card__number {
    margin-bottom: 2rem;
  }

  .ft-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .ft-trust-strip li {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .ft-hero {
    padding-block: 3.5rem;
  }

  .ft-hero__copy h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .ft-printer-search__control,
  .ft-hero__proof,
  .ft-brand-list {
    grid-template-columns: 1fr;
  }

  .ft-printer-search__control {
    display: grid;
  }

  .ft-printer-search button {
    justify-content: space-between;
  }

  .ft-trust-strip {
    grid-template-columns: 1fr;
  }

  .ft-proof-card {
    min-height: auto;
  }

  .ft-guide__steps li {
    grid-template-columns: 2.6rem 1fr;
    padding: 1.15rem;
  }

  .ft-guide__steps li > span {
    width: 2.6rem;
    height: 2.6rem;
  }
}
