:root {
    --red: #ea0003;
    --red-soft: #ffeaea;
    --black: #000000;
    --muted: #505454;
    --surface: #f5f5f5;
    --white: #ffffff;
    --ease: cubic-bezier(.22, 1, .36, 1);
  }


  .wholesale {
      .przyciskPrimarySmall{
        font-size: 16px;
        padding: 14px 17px;
      }
    width: 100%;
    background: var(--surface);
  }

  .wholesale-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    grid-template-areas:
      "copy image"
      "benefits image"
      "cta image";
    gap: 80px 40px;
    align-items: stretch;
    min-height: 600px;
    padding: 100px 40px;
  }

  .wholesale-copy {
    grid-area: copy;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 40px;
    align-self: start;
  }

  .eyebrow {
    margin: 0 0 -24px;
    color: var(--red);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
  }

  #wholesale-title {
    width: min(896px, 100%);
    margin: 0;
    color: var(--black);
    font-size: 56px;
    font-weight: 700;
    line-height: 64px;
    overflow-wrap: break-word;
  }

  .wholesale-lead {
    max-width: 960px;
    margin: 0;
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .wholesale-lead strong {
    font-weight: 600;
  }

  .wholesale-image {
    grid-area: image;
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 8px;
  }

  .wholesale-image img {
    position: absolute;
    inset: 0;
    width: 103.06%;
    height: 103.76%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: translate(-.21%, -1.88%);
  }

  .benefits {
    grid-area: benefits;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, max-content));
    gap: 80px;
    width: 100%;
    align-self: start;
  }

  .benefit {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .icon-box {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: var(--red-soft);
  }

  .icon-box img {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  .benefit-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 16px;
  }

  .benefit h2 {
    margin: 0;
    color: var(--black);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
  }

  .benefit p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
  }

  .cta {
    grid-area: cta;
      width: max-content;
  }


  @media (max-width: 1440px) {
    .wholesale-content {
      min-height: 560px;
    }

    #wholesale-title {
      font-size: 46px;
      line-height: 1.12;
    }

    .benefits {
      gap: 40px;
    }
  }

  @media (max-width: 1120px) {
    .wholesale-content {
      grid-template-columns: 1fr;
      grid-template-areas:
        "image"
        "copy"
        "benefits"
        "cta";
      gap: 56px;
      padding: 72px 32px;
    }

    .wholesale-image {
      min-height: 420px;
    }
  }

  @media (max-width: 760px) {
    .wholesale-content {
/*       width: 100%;
      max-width: 393px; */
      min-height: 852px;
      grid-template-areas:
        "copy"
        "image"
        "benefits"
        "cta";
      gap: 24px;
      padding: 32px 16px;
    }

    .wholesale-copy {
      gap: 16px;
    }

    .eyebrow {
      margin-bottom: -8px;
      font-size: 16px;
    }

    #wholesale-title {
      font-size: 28px;
      line-height: 1.2;
    }

    .wholesale-lead {
      width: 100%;
      max-width: 100%;
      font-size: 16px;
    }

    .wholesale-image {
      width: 100%;
      min-height: 0;
      height: 240px;
    }

    .wholesale-image img {
      left: -.54%;
      top: -1.71%;
      width: 102.99%;
      height: 103.29%;
      transform: none;
    }

    .benefits {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .benefit {
      flex-direction: row;
      align-items: center;
      gap: 16px;
    }

    .benefit-copy {
      gap: 8px;
    }

    .benefit h2 {
      font-size: 18px;
      white-space: normal;
    }

    .benefit p {
      font-size: 14px;
    }

    .cta {
      width: 100%;
      justify-self: stretch;
    }
  }

  @media (max-width: 360px) {
    .wholesale-content {
      gap: 22px;
      padding: 28px 12px;
    }

    .eyebrow {
      font-size: 14px;
    }

    #wholesale-title {
      font-size: 25px;
    }

    .wholesale-lead {
      max-width: 312px;
      font-size: 14px;
    }

    .wholesale-image {
      height: 220px;
    }

    .benefit {
      gap: 14px;
    }

    .benefit h2 {
      font-size: 17px;
    }

    .benefit p {
      font-size: 13px;
    }

    .cta {
      max-width: 312px;
      font-size: 15px;
    }
  }

  @media (max-width: 420px) {
    .wholesale-lead {
      max-width: 320px;
    }

    .cta {
      max-width: 328px;
    }
  }

  @media (min-width: 640px) and (max-width: 760px) {
    body {
      background: #e9e9e9;
    }

    .wholesale-content {
      margin-right: auto;
      margin-left: auto;
      box-shadow: 0 18px 60px rgb(0 0 0 / 14%);
    }
  }
  
  @media (min-width: 1600px) and (max-width: 1919px) {
      #wholesale-title{
          font-size: 50px;
      }
      .benefits{
          gap: 30px;
      }
      .wholesale-content{
          gap: 40px;
      }
}

@media (min-width: 1280px) and (max-width: 1599px) {
    #wholesale-title{
          font-size: 40px;
      }
      .benefits{
          h2{
              white-space: normal;
              font-size: 18px;
          }
          p{
              font-size: 15px;
          }
          gap: 15px;
      }
      .wholesale-content{
          gap: 30px;
      }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .wholesale{
            #wholesale-title{
            font-size: 36px;
        }
        .wholesale-content{
            display: flex;
            flex-direction: column;
        }
        .wholesale-copy{
            order: 1;
        }
        .wholesale-image{
            order: 2;
        }
        .benefits{
            order: 3;
        }
        .przyciskPrimarySmall{
            order: 4;
            margin: 0 auto;
        }
    }
    
  }
  
@media (min-width: 800px) and (max-width: 1023px) {
    .wholesale{
           #wholesale-title{
            font-size: 28px;
        }
        .eyebrow{
          font-size: 19px;
        }
        .wholesale-content{
            display: flex;
            flex-direction: column;
        }
        .wholesale-copy{
            order: 1;
            gap: 30px;
        }
        .wholesale-image{
            order: 2;
        }
        .benefits{
            order: 3;
        }
        .przyciskPrimarySmall{
            order: 4;
            margin: 0 auto;
        }
    }
     
  }
  
  @media (min-width: 480px) and (max-width: 799px) {
      .wholesale-content{
          .cta{
              width: auto;
                padding: 4px 17px;
          }
          gap: 15px;
          padding: 20px 17px;
      }
      .wholesale{
          .wholesale-image{
            img{
                position: relative;
                left: 0;
                top: 0;
                height: 100% !important;
            }
            height: auto;
        }
      }
  }
  
    @media (max-width: 479px) {
      .wholesale-content{
          .cta{
              width: auto;
                padding: 4px 17px;
          }
          gap: 15px;
            padding: 20px 17px;
      }
      .wholesale{
          .wholesale-image{
            img{
                position: relative;
                left: 0;
                top: 0;
                height: 100% !important;
            }
            height: auto;
        }
        .cta{
            height: 42px;
        }
      }
        
  }