/* START PAGE */
#html-body {
  [class*="elfsight-app"] {
    max-width: 100vw;
    padding: 16px;
  }

  .guaranty li::before {
    display: block;
    content: '';
    height: 18px;
    width: 18px;
    background-image: url(../images/checkmark-brown.svg);
    background-repeat: no-repeat;
    background-size: contain;
  }
  
  /* START PAGE PRODUCT LISTING */
  .homeproduct,
  .page-bottom-outer {
    padding-top: 24px;
    padding-bottom: 16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-wrapper .widget-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px;
  }

  .block-products-list {
    margin: 0;
  }
  
  .product-item {
    width: 100%;
    min-width: 0;
    margin: 0;
    background: var(--white);
  }
  
  .product-item.first-li {
    grid-column: 1 / -1;

  }

  .first-li .product-item-details-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 24px;
  }
  
  .product-item.first-li .product-item-info {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
  }
  
  .product-item-details-center {
    padding: 32px 24px;
    position: relative;
  }

  .products-grid .product-item-info:hover,
  .products-grid .product-item-info.active,
  .products-grid .product-item-inner {
    background: none;
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0;
    position: static;
    z-index: unset;
    width: auto;
    height: auto;
    overflow: hidden;
  }

  .products-grid .product-item-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .product-item-link {
    text-decoration: none;
  }

  .product-image-container {
    height: 100%;
    width: 100%;
    aspect-ratio: 770 / 591;
    display: block;
  }

  .product-image-wrapper {
    height: 100%;
    width: 100%;

    img {
      height: 100%;
      width: 100%;
      object-fit: cover;
    }
  }

  .weightcalc {
    margin-top: 4px;
    font-family: var(--roboto);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
  }

  .product-image-photo {
    position: static;
  }

  .product-item-description:not(.first-li .product-item-description) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
  }
  
  .product-item-description {
    margin-top: 16px;
    margin-bottom: 32px;
  }

  .price-from,
  &.cms-index-index .price-box .price,
  &.cms-page-view .price-box .price,
  &.catalog-category-view .price-box .price {
    margin: 0;

    /* include .h3() */
    font-family: var(--roboto);
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    text-decoration: none;
  }

  .price-from .price-label {
    font-size: 24px;
    color: var(--earth-dark);
  }
  
  .arrow-link {
    display: flex;
    justify-content: flex-end;
    color: var(--green-light);
    margin-top: 32px;

    /* include .button-text() */
    font-family: "Roboto Condensed";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    letter-spacing: 0.36px;
  }

  .arrow-link::after {
    display: block;
    content: '';
    height: 24px;
    width: 24px;
    background-image: url(../images/arrow-right-green.svg);
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 8px;
  }

  .arrow-link:hover,
  .arrow-link:active,
  .arrow-link:visited,
  .arrow-link:focus {
    color: var(--green-light);
  }
  
  /* TABLET */
  @media (min-width: 770px) {
    .page-wrapper .widget-product-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  /* DESKTOP */
  @media (min-width: 1025px) {
    .homeproduct {
      padding-top: 32px;
      padding-bottom: 32px;
      padding-left: 24px;
      padding-right: 24px;
    }
    
    .page-bottom-outer {
      padding-top: 0px;
      padding-bottom: 32px;
      padding-left: 24px;
      padding-right: 24px;
    }

    .page-wrapper .widget-product-grid {
      grid-template-columns: 1fr 1fr 1fr;
    }

    .product-item.first-li .product-item-info {
      display: grid;
      grid-template-columns: minmax(auto, 55%) 1fr;
    }

    .first-li .product-item-details-center {
      padding: 64px;
    }

    .first-li .product-item-name {
      font-size: 44px;
    }

    .product-item-details-center {
      padding: 24px;
    }
  }
}