/* header */

#site-header {
  background-color: #fff;
  border-bottom: 1px solid var(--v4-neutral-color-3);

  >.wrap {
    display: flex;
    flex-flow: row;
    gap: 0.6rem;
    align-items: center;
    max-width: var(--v3-container-max-w);
    margin-inline: auto;
    padding-block: 1rem;

    @media (width < 1200px) {
      & {
        padding-inline: 1rem;
      }
    }
  }
}

#logo {
  padding: 0.6rem;
  flex-grow: 1;

  img {
    height: 40px;
  }

  @media (width <=768px) {
    & {
      padding-inline: 0;

      img {
        max-width: 80%;
      }
    }
  }
}

.mobile-menu .icon {
  font-size: 24px;
}

@media (width >=1200px) {
  .mobile-menu {
    display: none;
  }
}


.top-nav {
  .close {
    display: none;
  }

  >ul {
    display: flex;
    flex-flow: row;
    align-content: center;
    gap: max(1.5rem, 10px);

    >li {
      margin: 0;
      color: inherit;

      a {
        margin: 0;
        color: inherit;
      }
    }
  }
}

#page:has(#main-nav.active)::after {
  content: "";
  width: 100vw;
  height: 100vh;
  z-index: 999998;
  background: rgb(0, 0, 0, 0.5);
  display: block;
  position: fixed;
  top: 0;
  left: 0;
}

#main-nav {
  @media (width < 1200px) {
    &:not(.active) {
      /*display: none;*/
      visibility: hidden;
      pointer-events: none;
    }

    &.active {
      left: 0;
    }

    & {
      position: fixed;
      top: 0;
      left: -100%;
      z-index: 999999;
      width: clamp(200px, 300px, 80%);
      height: 100%;
      background: #fff;
      padding: max(1rem, 15px);
      transition: all 0.3s ease;

      .close {
        display: block;
        text-align: right;
        font-size: max(2rem, 24px);
        margin-bottom: max(1rem, 10px);
      }

      >ul {
        display: flex;
        flex-flow: column;
        gap: 0;

        li {
          border-top: 1px solid var(--v4-neutral-color-3);

          a {
            padding-block: max(0.5rem, 10px);
            display: block;
            text-decoration: none;
          }
        }
      }
    }
  }
}

#meta-nav {
  ul {
    justify-content: right;
    gap: 1.5rem;
    padding: 0;
    display: flex;
    flex-flow: row;

    @media (width < 1200px) {
      margin-right: 0;
    }

    li {
      margin: 0;
      position: relative;

      &:not(:last-child)::after {
        background: var(--v4-neutral-color-3);
        content: "";
        height: 0.75rem;
        width: 2px;
        position: absolute;
        right: -0.8rem;
        top: 0.4rem;
      }

      @media (width < 1200px) {
        &:not(:last-child)::after {
          height: 22px;
        }
      }

      a {
        @media (width < 1200px) {
          & {
            font-size: 0;
          }
        }

        &::before {
          aspect-ratio: 1;
          font-family: unset;
          content: "";
          width: 1.5em;
          display: inline-block;
          background-size: contain;
          background-repeat: no-repeat;
          background-color: #7b7b7b;
          margin: 0;
          vertical-align: top;
        }

        @media (width < 1200px) {
          &::before {
            width: 22px;
            margin-inline: 3px;
          }
        }
      }

      &:nth-child(1) a::before {
        mask: url("https://xxlpix-all.b-cdn.net/icons-huge/delivery-truck.svg") no-repeat center / contain;
        margin-right: 5px;
      }

      &:nth-child(2) a::before {
        mask: url("https://xxlpix-all.b-cdn.net/icons-huge/chatting.svg") no-repeat center / contain;
      }

      &:nth-child(3) a::before {
        mask: url("https://xxlpix-all.b-cdn.net/icons-huge/shopping-cart-02.svg") no-repeat center / contain;
      }
    }

    .js-count-cart {
      font-size: 12px;
      line-height: 20px;
      position: absolute;
      top: -10px;
      right: -10px;
      width: 20px;
      height: 20px;
      background: #e13333;
      color: #fff;
      text-align: center;
      font-weight: bold;
      border-radius: 100%;
    }

    .js-count-cart:empty {
      display: none;
    }

    span:not(.js-count-cart) {
      display: none;
    }
  }
}

@media (width > 960px) {
  & {
    width: fit-content;
  }
}


/*
#top-nav {
  pointer-events: none;
  display: flex;
  flex-flow: row;
  align-items: center;

  >* {
    pointer-events: all;
  }

  .close {
    font-size: 2rem;
    align-self: flex-start;
    width: fit-content;
    padding: 0.6rem;
    margin: -0.6rem;
  }

  a {
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
  }

  @media (width > 960px) {

    .close {
      display: none;
    }
  }

  @media (width <=960px) {
    & {
      display: none;
      opacity: 0;
      position: fixed;
      top: 0;
      right: 0;
      width: 85%;
      max-width: 360px;
      height: 100vh;

      background: #fff;
      overflow-y: auto;
      z-index: 1000;

      translate: 100vw 0;
      transition: translate 0.3s ease, display 0.3s ease, opacity 0.3s ease;
      transition-behavior: allow-discrete;

      &.is-open {
        opacity: 1;
        display: flex;
        flex-flow: column;
        gap: 0.6rem;
        translate: 0 0;
        padding: 1rem;

        @starting-style {
          opacity: 0;
          translate: 100vw 0;
        }
      }
    }
  }

}

#meta-nav {
  order: 2;
  padding: 0;

  ul {
    flex-grow: 1;
    justify-content: right;
    list-style: none;
    display: flex;
    flex-flow: row;
    gap: 0.6rem;
    padding: 0;

    li {
      margin: 0;
    }

    span:not(.icon, .js-count-cart) {
      display: none;
    }
  }

  @media (width > 960px) {
    & {
      width: fit-content;
    }
  }

  @media (width <=960px) {
    & {
      margin-top: 1rem;
    }

    ul {
      display: flex;
      flex-flow: column;
      justify-content: right;
      text-align: right;
    }
  }
}

#main-nav {
  .menu-item {
    margin: 0;

    a {
      color: inherit;
      padding: 0;
    }
  }

  @media (width > 960px) {
    & {
      flex-basis: 100%;
      display: flex;
      background-color: var(--secondary-color);
      justify-content: center;
      position: relative;
    }

    a,
    span {
      color: #fff;
      display: block;
    }

    ul {
      list-style: none;
      padding: 0;
    }

    >ul {
      display: flex;
      flex-flow: row;
      gap: 0.6rem;

      ul {
        display: none;
      }

      >li>a,
      >li>span {
        padding: 0.3rem 2rem;

        &:is(a):hover {
          text-decoration: underline;
        }
      }

      >li:hover>a,
      >li:hover>span {
        background-color: var(--secondary-color-hover);
      }

      >li:hover>ul {
        display: flex;
        flex-flow: wrap;
        background: #fff;
        position: absolute;
        z-index: 1;
        left: 1rem;
        top: 100%;
        width: calc(100% - 2rem);
        gap: clamp(1rem, 3rem, 3rem);
        border-bottom-right-radius: 10px;
        border-bottom-left-radius: 10px;
        padding: 1rem;
        justify-content: center;
        box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.5);

        >li>span {
          font-weight: 600;
        }

        a,
        span {
          color: #333;
        }

        >li>ul {
          display: flex;
          flex-flow: column;
        }
      }
    }
  }


  @media (width <=960px) {

    ul {
      list-style-type: none;
      display: flex;
      flex-flow: column;
      padding: 0;
      text-align: right;

      li {
        padding: 0.25rem 0;
        display: flex;
        flex-flow: wrap;
        align-items: center;

        &:has(ul)::before {
          content: "";
          width: 1em;
          height: 1em;
          display: inline-block;
          background-size: contain;
          background-repeat: no-repeat;
          background-color: #7b7b7b;
          mask: url("https://xxlpix-fce.b-cdn.net/icons/chevron-right-solid.svg") no-repeat center / contain;
          -webkit-mask: url("https://xxlpix-fce.b-cdn.net/icons/chevron-right-solid.svg") no-repeat center / contain;
        }

        &.active:has(ul)::before {
          mask: url("https://xxlpix-fce.b-cdn.net/icons/chevron-down-solid.svg") no-repeat center / contain;
          -webkit-mask: url("https://xxlpix-fce.b-cdn.net/icons/chevron-down-solid.svg") no-repeat center / contain;
        }

        >span {
          flex: 1;
          flex-basis: 70%;
        }
      }

      li:not(.active) ul {
        display: none;
      }

      ul {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        flex: 1;
      }
    }

    >ul>li {
      border-top: 1px solid #eee;
      padding: 0.5rem 0;

      &:last-child {
        border-bottom: 1px solid #eee;
      }

      >span {
        text-transform: uppercase;
        font-size: 1.2rem;
      }
    }

    >ul ul ul {
      border-right: 1px solid #666;
      padding-right: 0.75rem;
    }


  }
}
*/

#page .promotion-header {
  padding: 10px 0 12px 0;
  background-color: var(--v3-promo-color);

  @media (width <=768px) {
    & {
      font-size: 12px;

      .break,
      .icon {
        display: none;
      }
    }
  }
}


/* content */

#page .vh-wrap:has(.info-text) + #footer {
  margin-top: 0;
}

#content:has(hero),
#content:has(.hero) {
  margin-top: 0;
}

.font-serif {
  font-family: 'playfair', Times, serif;
}

.text-balance {
  text-wrap: balance;
}

benefit-bar {
  display: block;
  margin-bottom: 7rem;

  @media (width <=1200px) {
    & {
      z-index: -1;
      margin-bottom: max(60px, 7rem);
    }
  }

}

.js-product-widget.v2.overlay-bike {
  background-image: none !important;
  background-color: var(--v4-neutral-color-4);

  .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: min-content min-content;
    /* Rows so klein wie möglich */
    align-content: center;
    /* gesamtes Grid vertikal zentrieren */
    column-gap: 2rem;
    row-gap: .5rem;

    >* {
      width: auto;
    }

    &::before {
      opacity: 0.5;
    }
  }

  /* links */
  .wrap>h2,
  .wrap>.content {
    grid-column: 1;
  }

  /* rechts */
  .wrap>.image {
    grid-column: 2;
    grid-row: 1 / 3;
    /* über beide Reihen */
    align-self: center;
    /* Bildblock selbst mittig */
  }

  /* wichtig: default margins killen */
  .wrap>h2 {
    margin: 0;
  }

  /* oder margin-bottom: .5rem; */
  .wrap>.content {
    margin: 0;
  }

  /* falls da auch margins drin sind */

  .image img {
    max-width: 100%;
    height: auto;
    display: block;
  }


}

.info-text {
  background: var(--v4-neutral-color-4);
  border: 0;
  padding: max(40px, 4rem) max(20px, 2rem);
  width: 100vw;
  translate: -50% 0;
  margin-left: 50%;

  hr {
    max-width: var(--v3-container-max-w);
  }

  >div {
    max-width: var(--v3-container-max-w);
    margin-inline: auto;
  }

  h2 {
    text-align: center;
  }

  h3 {
    font-size: 1.3em;

    &:first-of-type {
      margin-top: 0;
    }
  }

  ul {
    padding: 0;
    margin-block: 2rem
  }

  h3+ul {
    margin-top: 0;
  }

  p,
  ul li,
  a {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    text-align: left;
    text-wrap: auto;
  }

  a {
    text-decoration: underline;
  }

  .link-box {
    ul {
      column-count: 2;
      gap: max(10px, 2rem);
      margin: 0;
    }
  }

  @media (width <=768px) {
    & {
      font-size: max(14px, 0.8rem);
      line-height: 1.5;

      [class*="col-"] {
        column-count: 1;
        text-align: center;
      }

      [class*="grid-"] {
        grid-template-columns: repeat(2, 1fr);
        gap: max(10px, 0.5rem) max(15px, 1.5rem);
      }
    }
  }
}

ul {
  &.t-center {
    width: max-content;
    text-align: left !important;
    margin-inline: auto;
  }

  &.passive {
    li::before {
      color: inherit;
    }
  }

  &.dash {
    list-style-type: "- ";
    padding-left: 40px;
    margin-block: 1rem;
  }

  &.no-indent {
    padding-left: 0.5rem;

    &.standard {
      padding-left: 1rem;
    }
  }

}

.shop-product-view>div:nth-child(1) {
  width: 100% !important;
}


/* footer */

#content:has(.info-text)~#footer {
  margin-top: 0;
}

.entry-footer {
  display: none;
}

#footer {
  padding: 1rem;
  margin-top: 140px;

  >div {
    max-width: var(--v3-container-max-w);
    margin-inline: auto;

    >section:not(:first-child) {
      border-top: 1px solid #888;
    }

    >section {
      padding-block: 1.5rem;
      display: flex;
      flex-flow: row;
      gap: 2rem;
      justify-content: center;

      &:nth-child(2) {
        >div {
          width: 50%;

          &:last-child {
            width: 100%;
            flex-grow: 1;
          }

          @media (width <=768px) {
            &:last-child {
              display: none;
            }
          }
        }

        p {
          font-size: max(12px, 0.9rem);
        }

      }

      &:nth-child(3) {
        >div {
          width: 50%;
        }
      }
    }

    p {
      font-size: max(14px, 1rem);
      line-height: 1.5;
    }

    strong {
      font-weight: 600;
    }

    .trustbar-payment {
      background-color: transparent !important;
      padding: 0;
      margin: 0 !important;

      >p {
        color: var(--v4-neutral-color-3);
        margin: 0;
      }
    }

    .trustbar-new {
      background-color: transparent !important;
      z-index: 0;
      margin: 0;
      position: static;
      max-width: 100%;
      overflow: auto;

      >.wrap {
        display: flex;
        justify-content: center;
        gap: max(10px, 2rem);
        flex-flow: wrap;
        max-width: none;
        margin: 0;

        img {
          filter: brightness(3) saturate(0%);
          opacity: 0.9;
          height: 40px;
          margin: 0;

          @media (width <=768px) {
            & {
              height: 25px;
            }
          }
        }
      }
    }
  }

  .social-icons {
    [class*=icon]::before {
      all: unset;
    }

    [class*=icon]::after {
      content: "";
      aspect-ratio: 1;
      height: 48px;
      margin: 0 auto;
      display: block;
      background-color: var(--v4-neutral-color-3);
    }
  }

  .social-icons .icon-facebook::after {
    mask: url('https://xxlpix-all.b-cdn.net/icons-huge/facebook-01.svg') no-repeat center / contain;
  }

  .social-icons .icon-twitter::after {
    mask: url('https://xxlpix-all.b-cdn.net/icons-huge/new-twitter.svg') no-repeat center / contain;
  }

  .social-icons .icon-pinterest::after {
    mask: url('https://xxlpix-all.b-cdn.net/icons-huge/pinterest.svg') no-repeat center / contain;
  }

}

ul.accordion {
  max-width: 768px;
  margin-inline: auto;

  h3 {
    padding-right: 1em;
  }

  div {
    line-height: 1.5;
  }
}


/* components */

three-steps {
  visibility: hidden;
}

print-size-preview-selector img {
  transition: all 0.3s ease;
}


.present-container {
  --border-radius: 10px;
  gap: 20px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 960px;
  margin-inline: auto;

  &>div {
    position: relative;
    display: flex;
    flex-direction: column;

    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    text-wrap: balance;
    hyphens: auto;
    transition:
      translate 0.3s ease,
      border-color 0.3s ease;

    &:not(.active):hover {
      translate: 0 -10px;
      border-color: #bbb;
    }

    &.active {
      border-color: #82b338;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .badge {
      position: absolute;
      top: 0;
      left: 50%;
      translate: -50% -50%;
      z-index: 2;

      display: inline-block;
      background: #82b338;
      color: #fff;
      font-weight: 600;
      font-size: 13px;
      line-height: 1.3;
      padding: 5px 10px;
      border-radius: var(--border-radius);
      white-space: nowrap;
    }

    .image {
      border-top-left-radius: var(--border-radius);
      border-top-right-radius: var(--border-radius);
      overflow: hidden;

      height: 225px;
      aspect-ratio: 1;

      img {
        vertical-align: top;
        max-width: none;
        max-height: none;
        height: 100%;
        width: 100%;
      }
    }

    h3 {
      line-height: 1.1;
      margin-bottom: 5px;
      margin-top: 5px;
    }

    .subtitle {
      text-transform: uppercase;
      margin-bottom: 20px;
    }

    .content {
      padding: 20px;
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: stretch;
    }

    .action {
      color: #82b338;
      width: 100%;
      margin-top: auto;
      font-size: 14px;

      a {
        text-decoration: none !important;
      }
    }
  }

  @media (max-width: 768px) {
    & {
      grid-template-columns: repeat(2, 1fr);

      &>div {
        text-wrap: balance;
        hyphens: auto;

        .content {
          padding: 20px;

          &>p:not(.subtitle) {
            --lines: 4;
            --line-height: 1.5em;

            position: relative;
            line-height: var(--line-height);
            max-height: calc(var(--lines) * var(--line-height));
            overflow: hidden;

            &::before {
              content: "";
              position: absolute;
              inset-inline: 0;
              bottom: 0;
              height: 3em;
              background: linear-gradient(to bottom,
                  rgba(255, 255, 255, 0) 0%,
                  rgba(255, 255, 255, 1) 50%,
                  rgba(255, 255, 255, 1) 100%);
              pointer-events: none;
            }

            &::after {
              border-top: 1px dashed #ddd;
              width: 100%;
              content: "▼";
              position: absolute;
              bottom: 0;
              left: 0;
              transform: scaleY(0.8);
              text-align: center;
            }

            &.extended {
              max-height: none;
              overflow: visible;

              &::before,
              &::after {
                display: none;
              }
            }
          }
        }

        .image {
          height: auto;
        }

        .action {
          width: 100%;
          margin-top: auto;
        }
      }
    }
  }
}

.cicon {
  --icon-color: var(--v3-text-color);
}

.three-steps-inline {
  background-color: #F6F6F6;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-flow: row;
  text-align: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.3;
  justify-content: center;

  [data-icon] {
    background-color: var(--v3-primary-color);
    width: 35px;
    margin-bottom: 5px;
  }
}

.color-primary {
  color: var(--v3-primary-color);
  --icon-color: var(--v3-primary-color);

  .cicon {
    --icon-color: var(--v3-primary-color);
  }
}

.color-secondary {
  color: var(--v3-secondary-color);
  --icon-color: var(--v3-secondary-color);

  .cicon {
    --icon-color: var(--v3-secondary-color);
  }
}

.color-text {
  color: var(--v3-text-color);
}

p.meta-headline {
  /*margin-bottom: 10px;*/
  color: var(--v3-secondary-color);
  display: block;
  margin-inline: auto;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;

  &+h2 {
    margin-top: 0;
  }
}

h2 {
  font-size: 36px;

  .cicon {
    max-width: 1em;
    vertical-align: center;
  }
}

.bg-color {
  background-color: var(--bg-color);
  padding-block: 40px;
  width: 100vw;
  translate: -50% 0;
  margin-left: 50%;

  &>* {
    width: var(--v3-container-max-w);
    margin-inline: auto;
  }
}

ul.checks {
  li+li {
    margin-top: 0.75em;
  }
}

.checks-v2 {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  width: 100% !important;
  gap: 40px;

  li {
    --icon-url: url("https://xxlpix-all.b-cdn.net/icons-huge/checkmark-circle-03.svg");
    --icon-color: var(--v3-primary-color);

    &::before {
      content: "";
      aspect-ratio: 1;
      font-family: unset;
      width: 1.5em;
      display: inline-block;
      background-size: contain;
      background-repeat: no-repeat;
      background-color: var(--icon-color, var(--text-color));
      mask: var(--icon-url) no-repeat center/contain;
      margin: 0;
      margin-right: 7px;
      vertical-align: top;
    }
  }
}

/*
.checks-v3 {
  --icon-size: 30px;
  --gap: 10px;
  --icon-url: url("https://xxlpix-all.b-cdn.net/icons-huge/checkmark-circle-02.svg");

  display: grid;
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 100%;

  >li {
    position: relative;
    min-height: var(--icon-size);
    padding-inline-start: calc(var(--icon-size) + var(--gap));

    &::before {
      content: "";
      position: absolute;
      inset-block-start: 0px;
      inset-inline-start: 0;
      inline-size: var(--icon-size);
      block-size: var(--icon-size);
      box-sizing: border-box;
      background-color: var(--v3-primary-color);
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      aspect-ratio: 1;
      mask: var(--icon-url) no-repeat center/contain;
    }

    >h3 {
      margin: 0;
      line-height: 1.2;
      font-size: 20px;
      font-weight: 600;
      color: var(--v3-primary-color);
    }

    >p {
      margin: 0;
    }
  }

  &.col-2 {
    gap: 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: max-content;
    margin: 0 auto;
  }

  &:is(.t-center .checks-v3) {
    display: grid !important;

    li {
      width: max-content;
      margin-inline: auto;
    }
  }

  @media (max-width: 600px) {
    --gap: 10px;
  }
}
*/

.checks-v3,
.checks-v4 {
  --icon-size: 30px;
  --gap: 10px;
  --icon-url: url("https://xxlpix-all.b-cdn.net/icons-huge/checkmark-circle-02.svg");

  display: grid;
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 100%;

  >li {
    position: relative;
    min-height: var(--icon-size);
    padding-inline-start: calc(var(--icon-size) + var(--gap));

    &::before {
      content: "";
      position: absolute;
      inset-block-start: 0px;
      inset-inline-start: 0;
      inline-size: var(--icon-size);
      block-size: var(--icon-size);
      box-sizing: border-box;
      background-color: var(--v3-primary-color);
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      aspect-ratio: 1;
      mask: var(--icon-url) no-repeat center/contain;
    }

    >h3 {
      margin: 0;
      line-height: 1.2;
      font-weight: 600;
    }

    >p {
      margin: 0;
    }
  }

  &.col-2 {
    gap: 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: max-content;
    margin: 0 auto;

  }

  @media (max-width: 600px) {
    --gap: 10px;
  }
}


.image-text-block {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 50px;

  @media (max-width: 1200px) {
    max-width: 100%;
    padding-inline: 20px;
  }

  .hidden.active {
    column-count: 2;
    column-gap: 2rem;
    display: block;
    padding-block: 40px;
  }

  >div {
    grid-column: span 6;

    &.fullsize {
      grid-column: 1 / -1;
    }

    img {
      border-radius: 10px;
    }

    &:has(img)+div {
      text-align: left;
    }

    &:has(+div img) {
      text-align: right;
    }
  }

  .bubble {
    background-color: #F6F6F6;
    color: var(--v3-secondary-color);
    border-radius: 100%;
    font-weight: bold;
    font-size: 26px;
    line-height: 1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;

    @media (max-width: 768px) {
      margin-inline: auto;
    }
  }

  p.no-margin+ul {
    margin-top: 10px;
  }

  .cicon:not(.btn.ghost .cicon) {
    --icon-color: var(--v3-primary-color);
  }

  .meta-headline:not(.fullsize .meta-headline) {
    margin-bottom: 0;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-align: inherit;

    &+h3 {
      margin-top: 0;
    }

    .cicon {
      width: 2.5em;
    }
  }

  h3:first-child {
    margin-top: 0;
  }

  h3 {
    font-size: 24px;
    font-weight: bold;
  }

  &+.image-text-block {
    margin-top: 40px;
  }

  &>.fullsize:nth-child(1) h2 {
    margin-top: 0;
  }

  @media (max-width: 768px) {
    & {
      gap: 30px;

      +.image-text-block {
        margin-top: 90px;
      }

      >div {
        grid-column: 1 / -1;
        text-align: center !important;

        &:not(:has(img)) {
          order: 2;
        }
      }

      .hidden.active {
        column-count: 1;
        padding-top: 0;
      }
    }
  }
}

.divider-howto,
.divider-text {
  border-top: 2px dashed var(--v3-primary-color);
  position: relative;
  margin-block: 100px 50px;
  text-align: center;
  color: var(--v3-primary-color);

  >div {
    font-weight: 600;
    display: inline-flex;
    gap: 10px;
    flex-flow: row;
    align-items: center;
    border: 1px solid transparent;
    background-color: #fff;
    border-radius: 100px;
    padding: 10px 20px;
    line-height: 1.3;
    translate: 0 calc(-50% - 1px);
    text-align: left;
  }

  &.divider-howto>div {
    border-color: var(--v3-primary-color);
  }

  &.highlight>div {
    background-color: #F3F8EC;
    font-weight: normal;
  }

  .cicon {
    background-color: var(--v3-primary-color);
  }

  p {
    margin: 0;
  }

  &.arrow {
    --arrow-size: 60px;
    margin-top: 110px;

    &::after {
      content: "";
      --icon-url: url("https://xxlpix-all.b-cdn.net/icons-huge/arrow-down-02.svg");
      --icon-color: var(--v3-primary-color);
      --icon-size: var(--arrow-size);
      aspect-ratio: 1;
      font-family: unset;
      width: var(--icon-size);
      display: inline-block;
      background-size: contain;
      background-repeat: no-repeat;
      background-color: var(--icon-color, var(--text-color));
      mask: var(--icon-url) no-repeat center/contain;
      margin: 0;
      vertical-align: top;
      position: absolute;
      top: calc(0px - var(--icon-size) - (var(--arrow-size) / 2));
      left: calc(50% - (var(--icon-size) / 2));
    }
  }
}

.new-tip-box {
  background-color: #F6F6F6;
  border-radius: 10px;
  padding: 40px;
  display: flex;
  flex-flow: row;
  align-items: center;
  gap: 40px;
  margin-block: 50px;

  [data-icon] {
    width: 40px;
    height: 40px;
    --icon-color: var(--v3-primary-color);
  }

  p:last-child {
    margin-bottom: 0;
  }

  &.content-width {
    max-width: 768px;
    margin-inline: auto;
  }

  &.bg-soft-primary {
    background-color: #82B3381A;
  }

  @media (max-width: 768px) {
    & {
      flex-flow: column;
      justify-content: center;
      text-align: center;
      gap: 20px;
    }
  }
}

.badge {
  display: inline-block;
  text-transform: uppercase;
  background-color: var(--v3-highlight-color);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border-radius: 999px;
  padding: 5px 10px;
}

.three-steps-v4 {
  --arrow-size: 60px;

  >div {
    padding-inline: calc(var(--arrow-size) / 2);

    p {}
  }

  >div:not(:first-child) {
    position: relative;

    &::before {
      content: "";
      --icon-url: url("https://xxlpix-all.b-cdn.net/icons-huge/arrow-right-02.svg");
      --icon-color: var(--v3-primary-color);
      aspect-ratio: 1;
      font-family: unset;
      width: var(--arrow-size);
      display: inline-block;
      background-size: contain;
      background-repeat: no-repeat;
      background-color: var(--icon-color, var(--text-color));
      mask: var(--icon-url) no-repeat center/contain;
      margin: 0;
      vertical-align: top;
      position: absolute;
      left: calc(0px - var(--arrow-size) / 2);
      /*top: calc(50% - var(--arrow-size) / 2);*/
      top: calc(var(--arrow-size) / 2 - 10px);
    }
  }

  p:last-child {
    margin-top: 10px;
  }

  @media (max-width: 768px) {
    & {}
  }
}

.mosaic-price-cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;

  >div {
    grid-column: span 4;
    border: 1px solid #E3E3E3;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 7px #00000008;
    overflow: hidden;
    text-align: center;

    &.empty {
      border: 0;
      box-shadow: none;
      grid-column: 1 / -1;
      margin-bottom: 40px;
    }

    .marker {
      background-color: #C00000;
      color: #fff;
      padding: 5px 15px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
      width: max-content;
      display: flex;
      align-items: center;
      gap: 5px;

      &.secondary {
        background-color: var(--v3-primary-color);
        color: #fff;
      }

      .cicon {
        width: 15px;
        height: 15px;
        --icon-color: #fff;
      }
    }

    .image {
      position: relative;

      .marker {
        position: absolute;
        top: -15px;
        left: 50%;
        translate: -50% 0;
      }
    }

    &:not(.featured):has(.marker) {
      overflow: visible;
    }

    &.featured {
      border-color: var(--v3-primary-color);
      grid-column: span 12;
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      overflow: hidden;

      &:not(:has(+.empty)) {
        margin-bottom: 80px;

        @media (max-width: 768px) {
          & {
            margin-bottom: 10px;
          }
        }
      }

      .image {
        grid-column: span 9;
        position: relative;
        anchor-name: --image;
        overflow: hidden;

        img {
          /*position: absolute;*/
          position: static;
          top: 0;
          left: 0;
          height: auto;
          width: 100%;
          max-height: none;
        }
      }

      .banner {
        background-color: var(--v3-primary-color);
        color: #fff;
        border-radius: 10px;
        padding: 20px 40px;
        display: flex;
        flex-flow: row;
        align-items: center;
        text-align: left;
        gap: 20px;
        position: absolute;
        position-anchor: --image;
        top: anchor(bottom);
        left: anchor(center);
        translate: -50% -50%;
        max-width: 760px;

        .cicon {
          width: 50px;
          height: 50px;
          --icon-color: #fff;
        }
      }

      .content {
        grid-column: span 3;
        text-align: left;

        h3 {
          margin-bottom: 5px;
          margin-top: 10px;
        }
      }


    }

    .content {
      padding: 20px;

      h3 {
        font-size: 24px;
        font-weight: bold;
      }

      .subheadline {
        color: var(--v3-secondary-color);
        font-weight: 600;
      }

      .price {
        line-height: 1.1;

        span {
          /*font-size: 34px;*/
          font-size: 46px;
          font-weight: bold;
          white-space: nowrap;
        }
      }

      .stars-v4 {
        display: block !important;
      }

    }

    &:has(:not(.featured)) {
      .content {
        h3 {
          margin-top: 20px;
        }
      }
    }

  }

  &[data-theme="2"] {

    &>div {
      box-shadow: none;
    }

    .featured {
      border-color: #ddd;

      .image {
        grid-column: span 6;

        img {
          border-radius: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: right center;
        }
      }

      .content {
        grid-column: span 6;
        padding: 40px 60px;

        .price {
          margin-bottom: 0;
        }
      }
    }

    .content {
      .headline strong {
        font-size: 18px;
      }

      h3 {
        margin-bottom: 0;
      }
    }

    .image img {
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
    }

    &>div:not(.featured):has(.marker) {
      border-color: var(--v3-secondary-color);
      border-width: 2px;
    }

    .marker {
      background-color: var(--v3-primary-color);
      color: #fff;
      font-size: 16px;
      border-radius: 999px;
    }
  }

  &[data-theme="3"] {
    .headline {
      font-size: 1.5em;
    }
  }

  @media (max-width: 768px) {
    & {
      >div {
        position: relative;

        &.featured {
          margin: 0;
          overflow: visible;

          .banner {
            display: none;
          }

          >div,
          .image,
          .content {
            grid-column: 1 / -1;
            text-align: center;
          }

          .image {
            overflow: hidden;
            border-radius: 10px;
            border-bottom-right-radius: 0;
            border-bottom-left-radius: 0;

            img {
              position: static;
            }
          }
        }

        &.featured,
        & {
          grid-column: span 6;
        }

        .marker {
          position: absolute;
          top: -15px;
          left: 50%;
          translate: -50% 0;
        }
      }
    }
  }

  @media (max-width: 600px) {
    & {
      >div {

        &.featured,
        & {
          grid-column: 1 / -1;
          max-width: 360px;
          margin-inline: auto;
        }
      }
    }
  }
}

.bg-color-v4 {
  background-color: var(--bg-color);
  padding: 40px;
  border-radius: 10px;

  >*:first-child {
    margin-top: 0;
  }
}

.text-banner {
  display: flex;
  flex-flow: row;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;

  .bg {
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: right center;
    }
  }

  .content {
    min-width: var(--content-w, auto);
    gap: 20px;
    display: flex;
    flex-flow: column;
    padding: 20px;

    h2,
    h3 {
      margin: 0;
    }
  }

  .buttons {
    gap: 15px;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
  }
}

.how-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 60px;

  >div {
    grid-column: span 4;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;

    &:nth-child(1)::after,
    &:nth-child(2)::after {
      position: absolute;
      position-anchor: --symbol;
      margin: 0;
      top: calc(anchor(center) - 15px);
      right: calc(anchor(right) - 42px);
      font-size: 60px;
      font-weight: 600;
      color: var(--v3-primary-color);
      width: 30px;
      height: 30px;
      line-height: 30px;
    }

    &:nth-child(1)::after {
      content: "+";
    }

    &:nth-child(2)::after {
      content: "=";
    }

    h3 {
      font-size: 24px;
    }

    img {
      border-radius: 10px;
      display: block;
      max-width: 100%;
      height: auto;
      anchor-name: --symbol;
    }

    img:not(:first-child) {
      margin-top: auto;
    }
  }

  @media (max-width: 768px) {
    & {
      display: flex;
      flex-flow: column;

      >div {
        grid-column: 1 / -1;
        position: relative;

        &:nth-child(1)::after,
        &:nth-child(2)::after {
          top: unset;
          bottom: calc(anchor(bottom) - 60px);
          right: calc(anchor(center) - 15px);
        }

        img {
          margin-top: 0 !important;
          max-width: 260px;
        }
      }
    }
  }
}

.image-text[data-id] {
  position: relative;

  p {
    position: absolute;
  }

  &[data-id="1"] {
    p {
      width: 200px;
    }

    p:nth-child(1) {
      left: 0;
      bottom: 15%;
      text-align: right;
    }

    p:nth-child(2) {
      right: 0;
      bottom: 30%;
    }

    .cicon {
      width: 40px;
    }
  }
}

.feedback-home-new {
  display: flex;
  flex-flow: row;
  gap: 20px;

  >div {
    border: 1px solid #E3E3E3;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 7px #00000008;
    overflow: hidden;

    .title {
      font-size: 24px;
      font-weight: 600;
    }

    .content>p:last-child {
      strong {
        font-weight: unset;
      }

      font-style: oblique;
    }

    .rating {
      background: none;
      width: auto;
      display: flex;
      gap: 10px;
      height: auto;
      margin-bottom: 20px;

      .stars {
        display: flex;
        flex-flow: row;
        width: auto;
        gap: 2px;
        color: #ffd200;

        .icon::before {
          margin: 0;
        }
      }
    }

    .content {
      padding: 20px;
    }
  }

  @media (max-width: 768px) {
    & {
      flex-flow: column;

      >div {
        max-width: 360px;
        margin-inline: auto;
      }
    }
  }
}

/************/

.no-margin {
  margin: 0;
}

.jump-menu {
  display: flex;
  width: 100%;
  min-width: max-content;
  margin-block: 40px;
  padding: 6px 0;
  list-style: none;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
  position: sticky;
  z-index: 1;
  /*top: 40px;*/
  top: 10px;

  >li {
    position: relative;

    flex: 1 0 auto;

    &+li::before {
      content: "";
      position: absolute;
      z-index: 2;

      top: 0;
      bottom: 0;
      left: 0;

      width: 1px;
      background: #ddd;
    }
  }

  a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    padding-inline: clamp(12px, 1.875cqw, 18px);
    gap: clamp(7px, 0.85cqw, 9px);

    color: #777;
    font-size: clamp(16px, 16px, 20px);
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;

    transition: color 150ms ease, background-color 150ms ease;

    .cicon {
      width: clamp(21px, 2.5cqw, 24px);
      height: clamp(21px, 2.5cqw, 24px);

      transition: background-color 150ms ease;
    }

    &.active,
    &[aria-current="page"],
    &:hover {
      --icon-color: var(--v3-primary-color);
      color: var(--v3-primary-color);

      .cicon {
        --icon-color: var(--v3-primary-color);
      }
    }

    &:focus-visible {
      color: var(--v3-primary-color);
      outline: 2px solid var(--v3-primary-color);
      outline-offset: -3px;
    }
  }

  @container (max-width: 740px) {
    & {
      width: max-content;

      >li {
        flex-grow: 0;
      }

      a {
        padding-inline: 14px;
        gap: 7px;
        font-size: 16px;

        .cicon {
          width: 21px;
          height: 21px;
        }
      }
    }
  }

  @media (width <=768px) {
    & {
      position: sticky;
      top: 10px;
      min-width: unset;
    }
  }
}

.price-table-v4 {
  margin-top: 21px;
  padding: 13px 0;
  overflow: visible;
  scrollbar-width: thin;

  @media (max-width: 850px) {
    & {
      padding-inline: 11px;
      overflow-x: auto;
      overflow-y: hidden;
    }
  }

  @media (max-width: 560px) {
    & {
      margin-top: 18px;
    }
  }


  &>div {
    position: relative;
    z-index: 0;
    width: calc(100% - 1px);
    min-width: 820px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #fff;
    overflow: visible;

    margin-top: 21px;
    scrollbar-width: thin;

    &::before {
      /*
      top: -14px;
      bottom: -15px;
      */
      content: "";
      position: absolute;
      z-index: 2;
      top: 0;
      bottom: 0;
      left: calc((100% / var(--cols) * var(--highlight)) + 15.5px);
      width: calc((100% / var(--cols)) - 25px);
      background: rgba(130, 179, 56, 0.1);
      pointer-events: none;
    }

    &::after {
      content: "";
      position: absolute;
      z-index: 0;
      top: -1px;
      right: -1px;
      bottom: 0;
      left: -1px;
      border: 1px solid var(--v3-divider-color);
      border-radius: 10px;
      box-shadow:
        inset 0 1px 0 #f2f2f2,
        0 1px 0 #fbfbfb;
      pointer-events: none;
    }

    table {
      position: relative;
      z-index: 1;
      width: 100%;
      table-layout: fixed;
      border-collapse: separate;
      border-spacing: 0;
      color: var(--v3-text-color);
      margin: 0;

      th,
      td {
        position: relative;
        padding: 0;
        text-align: center;
        vertical-align: middle;
        background: transparent;
      }

      thead {
        tr {
          height: 74px;
        }

        th {
          border-bottom: 0;
          font-weight: 400;

          &::after {
            content: "";
            position: absolute;
            right: 0;
            bottom: -1px;
            left: 0;
            height: 1px;
            background: var(--v4-neutral-color-4);
            box-shadow: 0 1px 0 #fbfbfb;
            pointer-events: none;
          }
        }
      }

      tbody {
        tr {
          height: 39px;

          &:first-child th,
          &:first-child td {
            border-top: 0;
          }

          &.selected th,
          &.selected td {
            border-top: 0;
            border-bottom: 0;

            &::before {
              content: "";
              position: absolute;
              z-index: 2;
              top: 0;
              right: 0;
              left: 0;
              height: 1px;
              background: var(--v3-primary-color);
              pointer-events: none;
            }

            &::after {
              content: "";
              position: absolute;
              z-index: 2;
              right: 0;
              bottom: -1px;
              left: 0;
              height: 1px;
              background: var(--v3-primary-color);
              pointer-events: none;
            }
          }

          &.selected {

            &> :first-child::before,
            &> :first-child::after {
              left: 1px;
            }

            &> :last-child::before,
            &> :last-child::after {
              right: 1px;
            }

            &+tr th,
            &+tr td {
              border-top: 0;
            }
          }

          &:not(.selected):not(:first-child) {

            th,
            td {
              border-top-color: #eaeaea;
            }
          }
        }

        &:last-child {

          &td::before,
          &th::before {
            content: "";
            position: absolute;
            top: -1px;
            right: 0;
            left: 0;
            height: 1px;
            background: #fbfbfb;
            pointer-events: none;
          }
        }

        th,
        td {
          border-top: 1px solid #fbfbfb;
        }
      }
    }

    .size-title {
      display: block;
      margin-bottom: 0;
      position: relative;
      top: 3px;
      color: var(--v3-primary-color);
      font-size: 18px;
      font-weight: 700;
      line-height: 1.5;
    }

    .size-note {
      display: block;
      position: relative;
      top: -1px;
      color: #8c8c8c;
      font-size: 11px;
      font-weight: 400;
      line-height: 17px;
      white-space: nowrap;
    }

    .size-dimensions {
      display: block;
      color: #777;
      font-size: 14px;
      font-weight: 400;
      line-height: 20px;
      white-space: nowrap;

      strong {
        font-weight: 700;
      }
    }

    .product {
      padding-left: 1px;
      color: #777;
      font-size: 18px;
      font-weight: 700;
      line-height: 20px;
    }

    .price {
      display: inline-block;
      color: #7f7f7f;
      font-size: 18px;
      font-weight: 400;
      line-height: 20px;
      white-space: nowrap;
    }

    .badge {
      min-width: 40px;
      height: 20px;
      padding: 0 10px;
      border-radius: 999px;
      background: var(--v3-highlight-color);
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      line-height: 20px;
      text-align: center;
      white-space: nowrap;
      margin-inline: 5px;
    }
  }
}

.dkdai-v4 {
  --space: 20px;
  display: flex;
  flex-flow: row;
  justify-content: space-evenly;
  margin-block: 40px;
  gap: var(--space);

  >div {
    width: 100%;
    text-align: left;
    position: relative;

    &+div {
      padding-left: var(--space);

      /*
      &::after {
        content: "";
        display: block;
        left: 0;
        position: absolute;
        border-left: 1px solid #ddd;
        height: 100%;
        width: 1px;
        top: 0;
      }
       */
    }
  }

  @media (max-width: 768px) {
    >div {


      &+div {
        padding: 0;

        &::after {
          display: none;
        }
      }
    }
  }

  a {
    display: block;
    color: var(--v3-text-color);
    /*border-bottom: 1px solid #ddd;*/
    padding: 5px 10px;
    position: relative;
    text-decoration: underline;

    /*
    &::after {
      --icon-url: url("https://xxlpix-all.b-cdn.net/icons-huge/arrow-right.svg");
      --icon-color: var(--v3-primary-color);
      content: "";
      aspect-ratio: 1;
      font-family: unset;
      width: 1.5em;
      display: inline-block;
      background-size: contain;
      background-repeat: no-repeat;
      background-color: var(--icon-color, var(--text-color));
      mask: var(--icon-url) no-repeat center/contain;
      margin: 0;
      right: 0;
      position: absolute;
    }
      */
  }

  @media (width < 768px) {
    & {
      flex-flow: wrap;
    }
  }
}

.tabify-wrapper.ghost {
  .navi,
  .content p {
    font-size: 18px;
    line-height: 1.3;
  }
}


.zoom-container-v3 {
  max-width: 640px;
  aspect-ratio: 1.5;
  margin-inline: auto;
}