.hero-section {
    max-width: unset;
    padding: 160px 0 0;
    margin: 0 auto;
}

.hero-section img {
    object-fit: cover;
    width: 100%;
    min-height: 300px;
}

@media (max-width: 600px) {
    .hero-section img {
        min-height: unset;
    }
}

body .storefront-breadcrumb {
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;

}

#content {
    padding-top: 0;
}

h1 {
    padding-top: 24px;
}

body .woocommerce-breadcrumb a:first-of-type::before {
    display: none;
}

body .woocommerce-breadcrumb {
    color: var(--primary);
    font-family: 'Lato', sans-serif;
    font-size: 19px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

body .woocommerce-breadcrumb a {
    color: var(--brown);
    font-family: 'Lato', sans-serif;
    font-size: 19px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    text-decoration: none;
}

body .woocommerce-breadcrumb .breadcrumb-separator::after {
    content: ">";
    color: var(--brown);
    font-family: 'Lato', sans-serif;
    font-size: 19px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    opacity: 1;
}

.storefront-breadcrumb .col-full {
    max-width: 100%;
    padding: 25px 0;
    margin: 0 auto;
    background: var(--gray-light);
}

.storefront-breadcrumb .col-full .woocommerce-breadcrumb {
    max-width: 1148px;
    padding: 0 20px;
    margin: 0 auto;
}

body h3 {
    padding-top: 50px;
    text-align: left;
}

body h4 {
    padding-top: 12px;
    text-align: center;
    color: var(--brown-80);
}

body .category__item h2 {
    padding-top: 12px;
    text-align: center;
    color: var(--brown-80);
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    text-transform: uppercase;
}

.category-section {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.category__item:hover > a > div:first-of-type:after {
    background: #B5243C;
}

.category__item > a > div:first-of-type {
    position: relative;
}

.category__item > a > div:last-of-type {
    max-width: 260px;
    margin: 0 auto;
    width: 100%;
}

.category__item > a > div:first-of-type:after {
    position: absolute;
    content: '';
    height: 8px;
    width: 100%;
    bottom: 0;
    background: transparent;
    transition: all 0.3s ease-out;
}

body section.catalogs {
    margin-top: 35px;
   padding-top: 64px;
   padding-bottom: 64px;
   background: #FFFDFA;
   position: relative;
}

.catalogs:before {
   z-index: -1;
   content: '';
   background: #FFFDFA;
   height: 100%;
   top: 0;
   left: -50vw;
   position: absolute;
   width: 100vw;
}

.catalogs:after {
   z-index: -1;
   content: '';
   background: #FFFDFA;
   height: 100%;
   top: 0;
   right: -50vw;
   position: absolute;
   width: 100vw;
}

.catalogs > div {
   display: flex;
}

.catalogs >div>div:first-of-type {
   width: 60%;
   padding-right: 20px;
   display: flex;
    flex-direction: column;
    justify-content: center;
}

.catalogs >div>div:last-of-type {
   width: 40%;
}

.catalogs-left >div>div:last-of-type {
   width: 60%;
   padding-left: 20px;
   display: flex;
    flex-direction: column;
    justify-content: center;
}

.catalogs-left >div>div:first-of-type {
   width: 40%;
   padding-right: 0;
}

.catalogs .buttons {
   display: flex;
   padding-top: 32px;
}

.catalogs img {
   width: 100%;
}

body section.logotypes-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background: var(--gray-light);
    margin-bottom: 40px;
    position: relative;
}

.logotypes-section:before {
   z-index: -1;
   content: '';
   background: var(--gray-light);
   height: 100%;
   top: 0;
   left: -50vw;
   position: absolute;
   width: 100vw;
}

.logotypes-section:after {
   z-index: -1;
   content: '';
   background: var(--gray-light);
   height: 100%;
   top: 0;
   right: -50vw;
   position: absolute;
   width: 100vw;
}

.logotypes {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 83px;
    padding-top: 43px;
}

.text-more {
    padding-top: 35px;
    max-height: 0;
    transition: max-height 0.6s ease-out;
    overflow: hidden;
}

.text-more.active {
    max-height: 2500px;
}

.text-more > * {
    color: var(--brown);
}

.text-more li {
    color: var(--brown);
   font-family: 'Lato', sans-serif;
   font-size: 18px;
   font-style: normal;
   font-weight: 300;
   line-height: 22px;
}

.text-more strong {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
   font-weight: 700;
   line-height: 22px;
   padding-bottom: 16px;
}

.text-more p {
    color: var(--brown);
   font-family: 'Lato', sans-serif;
   font-size: 24px;
   font-style: normal;
   font-weight: 300;
   line-height: 31.8px;
   letter-spacing: 0.48px;
}

.text-more p strong {
    color: var(--brown);
   font-family: 'Lato', sans-serif;
   font-size: 24px;
   font-style: normal;
   line-height: 31.8px;
   letter-spacing: 0.48px;
}

.read-more {
    color: var(--primary);
   font-family: 'Lato', sans-serif;
   font-size: 20px;
   font-style: normal;
   font-weight: 400;
   line-height: 31.8px;
   text-transform: uppercase;
   display: flex;
   align-items: center;
   gap: 6px;
   justify-content: flex-end;
   cursor: pointer;
}

.read-more img {
    transition: all 0.3s ease-out;
    transform: rotate(0);
}

.read-more.active img {
    transform: rotate(180deg);
}

.text-more ul {
    margin-bottom: 40px;
}

.logotypes .barima {
   width: 170px;
   max-width: 100%;
}

.logotypes .barbara {
   width: 218px;
   max-width: 100%;
}

.logotypes .inspiracja {
   width: 190px;
   max-width: 100%;
}

.logotypes .industry {
   width: 232px;
   max-width: 100%;
}

.page-template-czekolady .description {
    padding-top: 35px;
}

.page-template-czekolady .description p {
    color: var(--brown);
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 31.8px;
    letter-spacing: 0.48px;
}

.page-template-czekolady .products {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    max-width: 1440px;
    margin: 0 auto 70px;
    gap: 24px;
}

.page-template-czekolady h3 {
    padding-top: 0;
}

.page-template-czekolady .products .product-title-slider {
    color: var(--brown);
    font-family: 'Lato', sans-serif;
    font-size: 20px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: normal;
    text-transform: uppercase;
    padding-top: 25px;
    padding-bottom: 12px;
    display: flex;
    text-align: left;
    padding: 0;
    margin: 0;
    margin-bottom: 0.5407911001em;
}

.page-template-czekolady .product-item__image {
    position: relative;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    margin: 0 auto 1.618em;
}

.page-template-czekolady .product-item__image img {
    mix-blend-mode: multiply;
    aspect-ratio: 1/1;
}

@media (max-width: 767px) {
    .page-template-czekolady .products {
        display: flex;
        flex-wrap: wrap;
    }
    .page-template-czekolady .product-item {
        max-width: calc(100% / 2 - 12px);
    }
    body .category__item h2 {
        font-size: 20px;
    }
}

@media (min-width: 1301px) {
    .page-id-6126 .category__item {
        width: calc(100% / 4 - 18px);
    }
    .page-id-6126 .category-section > div:last-of-type img {
        aspect-ratio: 1/1;
        object-fit: contain;
    }

    .page-id-3722 .category-section > div:not(:last-of-type) img {
        max-width: 264px;
    }
}

@media (max-width: 1300px) {
    .category__item {
        width: calc(100% / 3 - 16px);
    }
    .category__item img {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }
}


@media (max-width: 767px) {
    .hero-section {
        padding-top: 0;
    }
    .category__item {
        width: calc(50% - 12px);
    }
   section:not(.hero-section) {
      padding: 0 26px;
   }
    .catalogs > div {
       flex-direction: column;
    }
    .catalogs-left > div {
       flex-direction: column-reverse;
    }

    .catalogs >div>div:first-of-type {
       width: 100%;
       padding-right: 0;
    }

    .catalogs >div>div:last-of-type {
       width: 100%;
    }

    .catalogs-left >div>div:last-of-type {
       width: 100%;
       padding-left: 0;
    }

    .catalogs-left >div>div:first-of-type {
       width: 100%;
       padding-right: 0;
    }
    .catalogs .buttons {
       padding-bottom: 32px;
    }
    .logotypes {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
}    


/*industry tabs*/

/* Offer */
.offer {
  margin-bottom: 40px !important;
}

.offer-tabs {
  margin-top: 24px;
}

.offer-tabs-header {
  border-bottom: 1px solid var(--primary);
}

.offer-tabs-header-inner {
  display: flex;
  gap: 32px;
}

.offer-tabs-button {
  padding: 24px 32px;
  border-radius: 10px 10px 0px 0px;
  border: 1px solid #f9f9f9;
  border-bottom: none;
  background-color: var(--gray-light);
  transition: 0.3s;
}

.offer-tabs-button:hover {
  background: var(--gray-60);
}

.offer-tabs-button.active {
  border: 1px solid var(--primary);
  border-bottom: none;
  -webkit-box-shadow: 0px 6px 0px 0px white;
  -moz-box-shadow: 0px 6px 0px 0px white;
  box-shadow: 0px 6px 0px 0px white;
  background-color: transparent;
}

.offer-tabs-button h3 {
  padding: 0;
  margin: 0;
  pointer-events: none;
  color: var(--brown);
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-transform: uppercase;
}

.reviews-omnibus {
  text-align: center;
  color: var(--brown);
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
}

/* Offer grids */
.offer-grid-container.offer-grid-categories .offer-grid-categories {
  display: flex;
}

.offer-grid-container.offer-grid-categories .offer-grid-products{
  display: none;
}

.offer-grid-container.offer-grid-products .offer-grid-categories {
  display: none;
}

.offer-grid-container.offer-grid-products .offer-grid-products {
  display: grid;
}

.offer-grid.offer-grid-products {
  display: grid;
}

.offer-grid-categories,
.offer-grid-products {
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0;
}

.description-alt {
    display: none;
}

@media (min-width: 768px) {
  .offer h2 {
    padding-top: 48px;
  }

  .offer-grid-categories,
  .offer-grid-products {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1064px) {
  .offer-grid-categories {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .offer-grid-products {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .offer-grid-categories,
  .offer-grid-products {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .offer-grid-categories,
  .offer-grid-products {
    grid-template-columns: 1fr 1fr;
  }
  .offer-grid-container.offer-grid-categories .offer-grid-categories .category-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .offer-grid-container.offer-grid-categories .offer-grid-categories .category-section .category__item {
    width: 100%;
  }
  .offer-tabs-header-inner {
    display: flex;
    gap: 12px;
  }
  .offer-tabs-button {
    padding: 14px 12px;
    width: 50%;
  }
  .offer-tabs-button h3 {
    font-size: 17px;
  }
}

/* == start == */
/* ... when active button is `trainingGroups` */
.offer-grid-categories .categories {
  display: block;
}

.offer-grid-categories .trainings {
  display: none;
}

/* ... when active tab is `trainings` */
.offer-grid-products .categories {
  display: none;
}

.offer-grid-products .trainings {
  display: block;
}
/* == end == */

.offer-item-img-wrapper {
  margin-bottom: 12px;
  background: var(--gray-light);
}

.offer-item-img-wrapper img {
  width: 100%;
  mix-blend-mode: multiply;
}

.offer-grid-industry__product-title {
    color: var(--brown);
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    padding-top: 25px;
    display: flex;
}
