/* Advanced FAQ demo CMS page. Scoped to avoid affecting catalog and FAQ pages. */
body.cms-qoliber-extension-demo-home .page-title-wrapper { display: none; }
body.cms-qoliber-extension-demo-home .page-main { max-width: none; margin: 0; padding: 0; }
body.cms-qoliber-extension-demo-home #maincontent { max-width: none; width: 100%; margin: 0; padding: 0; }
body.cms-qoliber-extension-demo-home .columns { max-width: none; width: 100%; margin: 0; padding: 0; }
body.cms-qoliber-extension-demo-home .columns .column.main { width: 100%; padding: 0; }
body.cms-qoliber-extension-demo-home .page-wrapper { background: #fff; }
/* Style the native Hyvä header; keep its menus, search and drawers intact. */
body.cms-qoliber-extension-demo-home #header {
  color: #173b38;
  border-color: #dce5df;
  box-shadow: none;
}
body.cms-qoliber-extension-demo-home #header > .container {
  width: min(1240px, calc(100% - 96px));
  max-width: none;
  min-height: 88px;
  padding: 0;
  gap: 28px;
}
body.cms-qoliber-extension-demo-home #header > .container > div:first-child {
  width: auto;
  padding: 0;
  order: 0;
  flex-shrink: 0;
}
body.cms-qoliber-extension-demo-home #header > .container > div:first-child img {
  width: 142px;
  height: 50px;
  object-fit: contain;
}
body.cms-qoliber-extension-demo-home #header > .container > div:last-child {
  order: 2;
  margin: 0 0 0 auto;
  gap: 4px;
  flex-shrink: 0;
}
body.cms-qoliber-extension-demo-home #header :is(#menu-search-icon, #customer-menu, #menu-cart-icon) {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 50%;
  color: #173b38;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
body.cms-qoliber-extension-demo-home #header :is(#menu-search-icon, #customer-menu, #menu-cart-icon):hover {
  background: #edf5ee;
}
body.cms-qoliber-extension-demo-home #header :is(#menu-search-icon, #customer-menu, #menu-cart-icon) svg {
  width: 23px;
  height: 23px;
}
@media (min-width: 768px) {
  body.cms-qoliber-extension-demo-home #header > .container { flex-wrap: wrap; }
  body.cms-qoliber-extension-demo-home #header > .container > [x-data="initMobileMenu"] { display: none; }
  body.cms-qoliber-extension-demo-home #header > .container > .navigation {
    display: flex;
    order: 3;
    flex-basis: 100%;
    width: 100%;
    border-top: 1px solid #edf1ec;
  }
  body.cms-qoliber-extension-demo-home #header > .container > .navigation > div {
    display: block;
    width: 100%;
    padding-inline: 0;
  }
  body.cms-qoliber-extension-demo-home #header .navigation nav > ul {
    padding-block: 6px;
    column-gap: 24px;
    flex-wrap: nowrap;
  }
  body.cms-qoliber-extension-demo-home #header .navigation .level-0 > span {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
  }
  body.cms-qoliber-extension-demo-home #header .navigation li.level-0 { border: 0; }
  body.cms-qoliber-extension-demo-home #header .navigation a.level-0 { padding: 12px 0; }
  body.cms-qoliber-extension-demo-home #header .navigation a.level-0:hover { color: #096b55; }
  body.cms-qoliber-extension-demo-home #header .navigation a.level-0[href$="/faq"] {
    color: #096b55;
    font-weight: 700;
  }
  body.cms-qoliber-extension-demo-home #header .navigation li.level-0 > ul {
    border: 1px solid #dce5df;
    background: #fff;
    margin-top: 0;
    box-shadow: 0 12px 24px -12px #173b3833;
  }
}
@media (min-width: 1101px) {
  body.cms-qoliber-extension-demo-home #header > .container { flex-wrap: nowrap; }
  body.cms-qoliber-extension-demo-home #header > .container > .navigation {
    order: 1;
    flex-basis: auto;
    width: auto;
    border: 0;
    margin-left: 36px;
  }
}
.af-demo { --af-ink: #173b38; --af-muted: #546966; --af-green: #096b55; --af-mint: #e8f3ec; --af-line: #dce5df; color: var(--af-ink); background: #fff; font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.af-demo *, .af-demo *::before, .af-demo *::after { box-sizing: border-box; }
.af-demo a { color: inherit; text-decoration: none; }
.af-demo a:hover { text-decoration: none; }
.af-demo a:focus-visible, .af-demo button:focus-visible, .af-demo summary:focus-visible, .af-demo input:focus-visible { outline: 3px solid #c56623; outline-offset: 4px; }
.af-demo h1, .af-demo h2, .af-demo h3, .af-demo p, .af-demo ul, .af-demo figure { margin: 0; }
.af-demo h1, .af-demo h2, .af-demo h3 { font-family: inherit; font-weight: 650; color: var(--af-ink); }
.af-demo h1 { font-size: clamp(42px, 4.6vw, 66px); line-height: 1.08; letter-spacing: -.055em; }
.af-demo h1 em { font-style: normal; color: var(--af-green); }
.af-demo h2 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.14; letter-spacing: -.045em; }
.af-demo h3 { font-size: 21px; line-height: 1.28; letter-spacing: -.025em; }
.af-demo p { color: var(--af-muted); }
.af-wrap { width: min(1240px, calc(100% - 96px)); margin: 0 auto; }
.af-text-link:hover { color: var(--af-green); text-decoration: underline; text-underline-offset: 5px; }
.af-hero { background: linear-gradient(115deg, #f3f7ed 0%, #e6f2ec 62%, #dceee3 100%); border-top: 1px solid #e8eee8; border-bottom: 1px solid var(--af-line); }
.af-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; padding: 76px 0 82px; }
.af-eyebrow { font-size: 11px; letter-spacing: .12em; font-weight: 750; text-transform: uppercase; color: var(--af-green) !important; margin-bottom: 18px !important; }
.af-lede { font-size: 18px; line-height: 1.7; max-width: 510px; margin-top: 25px !important; }
.af-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.af-btn { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 51px; padding: 13px 21px; background: var(--af-green); color: #fff !important; font-size: 13px; font-weight: 650; border: 1px solid var(--af-green); border-radius: 5px; transition: background .15s, transform .15s; }
.af-btn:hover { background: #08533f; transform: translateY(-2px); }
.af-btn-secondary { background: transparent; color: var(--af-ink) !important; border-color: #b5c9bc; }
.af-btn-secondary:hover { background: #d5e8da; }
.af-theme-switch { margin-top: 36px; display: flex; align-items: center; gap: 18px; font-size: 12px; color: var(--af-muted); flex-wrap: wrap; }
.af-theme-switch a { color: var(--af-ink); font-weight: 700; border-bottom: 1px solid #9aad9f; }
.af-preview { background: #fff; border: 1px solid #c8d8ce; border-radius: 12px; box-shadow: 0 26px 60px -30px #31594666; transform: rotate(1deg); }
.af-preview-chrome { border-bottom: 1px solid var(--af-line); background: #f5f7f4; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 15px 18px; border-radius: 12px 12px 0 0; font-size: 10px; color: #6a7a72; }
.af-window-dots { color: #c2cec5; font-size: 11px; letter-spacing: 2px; white-space: nowrap; }
.af-live { color: var(--af-green); font-size: 8px; font-weight: 750; letter-spacing: .09em; background: #e4f1e8; padding: 4px 6px; border-radius: 3px; white-space: nowrap; }
.af-preview-content { padding: 30px 29px 27px; }
.af-preview-content .af-eyebrow { font-size: 9px; margin-bottom: 9px !important; }
.af-preview-content h2 { font-size: 28px; letter-spacing: -.035em; }
.af-search { display: flex; align-items: center; border: 1px solid #cedbd2; border-radius: 5px; margin: 21px 0 14px; background: #fff; }
.af-demo .af-search input { background: transparent; box-shadow: none; border: 0; width: 100%; height: 46px; font: inherit; font-size: 12px; color: var(--af-ink); padding: 10px 13px; min-width: 0; margin: 0; border-radius: 5px; }
.af-demo .af-search button { background: transparent; box-shadow: none; border: 0; color: var(--af-green); padding: 10px 13px; margin: 0; display: flex; align-items: center; cursor: pointer; min-height: 44px; }
.af-topic-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 17px; }
.af-topic-chips a { font-size: 10px; font-weight: 650; padding: 6px 10px; background: #eff4ef; border-radius: 4px; }
.af-topic-chips a:hover { background: #dcebe0; }
.af-demo .qoliber-faq { margin: 0; font-family: inherit; }
.af-demo .qoliber-faq__item { margin: 0; padding: 0; border: 0; border-top: 1px solid var(--af-line); border-radius: 0; background: transparent; box-shadow: none; }
.af-demo .qoliber-faq__item:last-child { border-bottom: 1px solid var(--af-line); }
.af-demo .qoliber-faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; list-style: none; padding: 17px 0; background: transparent; color: var(--af-ink); font-size: 14px; font-weight: 600; cursor: pointer; min-height: 48px; }
.af-demo .qoliber-faq__item summary::-webkit-details-marker { display: none; }
.af-demo .qoliber-faq__chevron { flex-shrink: 0; color: var(--af-green); }
.af-demo details[open] .qoliber-faq__chevron { transform: rotate(180deg); }
.af-demo .qoliber-faq__answer { padding: 0 0 18px; margin: 0; color: var(--af-muted); font-size: 13px; line-height: 1.7; }
.af-demo .qoliber-faq__answer a { color: var(--af-green); text-decoration: underline; }
.af-demo .qoliber-faq__answer p + p { margin-top: 12px; }
.af-hero-widget summary { font-size: 12px !important; padding: 15px 0 !important; }
.af-hero-widget .qoliber-faq__answer { font-size: 12px; }
.af-text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; color: var(--af-green) !important; }
.af-preview-content > .af-text-link { margin-top: 19px; font-size: 11px; }
.af-preview-note { display: flex; align-items: center; gap: 12px; background: #f4f8f1; border-top: 1px solid var(--af-line); border-radius: 0 0 12px 12px; padding: 16px 25px; font-size: 10px; line-height: 1.6; color: var(--af-muted); }
.af-preview-note strong { color: var(--af-ink); font-weight: 650; }
.af-note-icon { font-size: 25px; color: var(--af-green); }
.af-platforms { padding: 25px 0; display: flex; gap: 35px; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--af-line); font-size: 12px; color: var(--af-muted); flex-wrap: wrap; }
.af-platforms strong { color: var(--af-ink); font-weight: 600; font-size: 14px; }
.af-platform-extra { border-left: 1px solid var(--af-line); padding-left: 25px; }
.af-section { padding: 83px 0; scroll-margin-top: 24px; }
.af-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; margin-bottom: 37px; }
.af-section-heading > p { max-width: 370px; font-size: 14px; line-height: 1.75; padding-bottom: 2px; }
.af-section-heading .af-eyebrow { margin-bottom: 14px !important; }
.af-tour-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.af-tour-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--af-line); border-radius: 7px; background: #fff; transition: border-color .18s, transform .18s, box-shadow .18s; }
.af-tour-card:hover { border-color: #7faaa0; transform: translateY(-3px); box-shadow: 0 10px 24px -18px #17423780; }
.af-tour-featured { background: #edf5ee; border-color: #cfdfd1; }
.af-card-top { display: flex; justify-content: space-between; align-items: center; color: var(--af-green); margin-bottom: 31px; }
.af-number { font-size: 10px; letter-spacing: .075em; font-weight: 700; color: var(--af-green); }
.af-tour-card h3 { max-width: 250px; margin-bottom: 14px; }
.af-tour-card p { font-size: 13px; line-height: 1.75; margin-bottom: 22px; }
.af-mini-topics { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 20px; }
.af-mini-topics span { font-size: 8px; background: #fff; border: 1px solid #dbe6dc; border-radius: 3px; padding: 4px 6px; }
.af-card-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--af-line); font-size: 11px; font-weight: 650; }
.af-feature-section { background: #f7f8f3; border-block: 1px solid #e9ede5; }
.af-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; row-gap: 42px; }
.af-feature-grid article { padding-top: 19px; border-top: 1px solid #dce4d8; }
.af-feature-symbol { font-size: 21px; color: var(--af-green); display: block; margin-bottom: 15px; font-weight: 600; line-height: 1; height: 25px; }
.af-feature-grid h3 { font-size: 19px; margin-bottom: 12px; }
.af-feature-grid p { font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
.af-feature-tag { display: inline-block; font-size: 9px; color: var(--af-muted); border: 1px solid #d6e0d1; border-radius: 3px; padding: 3px 7px; }
.af-feature-grid .af-text-link { font-size: 10px; }
.af-discovery { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; margin-top: 48px; padding: 30px; background: #eaf0e2; border: 1px solid #d8e2cf; border-radius: 6px; }
.af-discovery .af-eyebrow { margin-bottom: 9px !important; }
.af-discovery h3 { font-size: 20px; }
.af-discovery > p { font-size: 13px; }
.af-release { display: inline-block; background: #e4f0e7; color: var(--af-green); font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 4px; margin-right: 5px; }
.af-update-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.af-update-card { border-top: 2px solid #8eb4a0; padding-top: 23px; }
.af-update-card h3 { font-size: 19px; margin: 15px 0 12px; }
.af-update-card p { font-size: 13px; }
.af-bottom-section { padding-bottom: 65px; }
.af-questions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; border-top: 1px solid var(--af-line); padding: 65px 0 80px; }
.af-questions h2 { font-size: 36px; margin-bottom: 20px; }
.af-questions p { font-size: 14px; margin-bottom: 20px; }
.af-questions .af-eyebrow { margin-bottom: 15px !important; }
.af-cta { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 50px; border: 1px solid #c9dfcf; border-radius: 9px; background: #e5f0e5; }
.af-cta .af-eyebrow { margin-bottom: 12px !important; }
.af-cta h2 { font-size: 39px; margin-bottom: 18px; }
.af-cta p { max-width: 540px; font-size: 14px; }
.af-cta-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; flex-shrink: 0; }
.af-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: 1100px) {
  body.cms-qoliber-extension-demo-home #header > .container {
    width: calc(100% - 64px);
    padding-top: 12px;
    gap: 8px;
  }
  body.cms-qoliber-extension-demo-home #header > .container > div:first-child img { width: 125px; height: 44px; }
  .af-wrap { width: calc(100% - 64px); }
  .af-hero-grid { gap: 35px; padding: 60px 0; }
  .af-demo h1 { font-size: 51px; }
  .af-platforms { gap: 20px; }
  .af-tour-card { padding: 23px; }
  .af-feature-grid { column-gap: 30px; }
}
@media (max-width: 800px) {
  .af-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .af-demo h1 { font-size: 57px; max-width: 590px; }
  .af-lede { max-width: 570px; }
  .af-preview { transform: none; max-width: 560px; width: 100%; }
  .af-preview-content { padding: 30px; }
  .af-platforms { justify-content: flex-start; gap: 17px 25px; }
  .af-platforms > span:first-child { width: 100%; }
  .af-platform-extra { border-left: 0; padding-left: 0; }
  .af-section { padding: 60px 0; }
  .af-section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .af-section-heading > p { max-width: 580px; }
  .af-tour-grid, .af-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-discovery { grid-template-columns: 1fr; gap: 20px; }
  .af-update-grid { grid-template-columns: 1fr; gap: 30px; }
  .af-questions { grid-template-columns: 1fr; gap: 25px; padding: 50px 0; }
  .af-cta { flex-direction: column; align-items: flex-start; padding: 35px; gap: 30px; }
  .af-cta-actions { align-items: flex-start; }
}
@media (max-width: 767px) {
  body.cms-qoliber-extension-demo-home #header > .container {
    min-height: 76px;
    padding-block: 12px;
    flex-wrap: nowrap;
    gap: 8px;
  }
  body.cms-qoliber-extension-demo-home #header > .container > [x-data="initMobileMenu"] {
    order: -1;
    flex-shrink: 0;
    margin-left: -8px;
  }
  body.cms-qoliber-extension-demo-home #header > .container > div:first-child img {
    width: 120px;
    height: 42px;
  }
  body.cms-qoliber-extension-demo-home #header > .container > div:last-child { gap: 0; }
}
@media (max-width: 520px) {
  body.cms-qoliber-extension-demo-home #header > .container { width: calc(100% - 40px); }
  .af-wrap { width: calc(100% - 40px); }
  .af-hero-grid { padding: 43px 0 44px; gap: 34px; }
  .af-demo h1 { font-size: clamp(37px, 10.8vw, 49px); }
  .af-lede { font-size: 15px; margin-top: 20px !important; }
  .af-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 25px; }
  .af-btn { min-height: 48px; }
  .af-theme-switch { gap: 12px 17px; margin-top: 26px; font-size: 11px; }
  .af-theme-switch > span { width: 100%; }
  .af-preview-content { padding: 23px 20px; }
  .af-preview-chrome { padding: 12px 13px; font-size: 9px; }
  .af-live { font-size: 7px; }
  .af-preview-note { padding: 14px 20px; }
  .af-platforms { padding: 23px 0; gap: 12px 22px; }
  .af-platforms strong { font-size: 12px; }
  .af-platform-extra { font-size: 11px; }
  .af-section { padding: 46px 0; }
  .af-tour-grid, .af-feature-grid { grid-template-columns: 1fr; }
  .af-tour-card { padding: 24px; }
  .af-card-top { margin-bottom: 23px; }
  .af-feature-grid { gap: 30px; }
  .af-discovery { padding: 23px; margin-top: 35px; }
  .af-questions h2 { font-size: 31px; }
  .af-cta { padding: 28px 23px; }
  .af-cta h2 { font-size: 33px; }
  .af-cta-actions { width: 100%; align-items: stretch; }
  .af-cta-actions .af-text-link { justify-content: center; }
}
@media (max-width: 360px) {
  body.cms-qoliber-extension-demo-home #header > .container > div:first-child img { width: 100px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .af-demo * { transition: none !important; } }
