/**
 * @file
 * Breakpoints
 *
 * With these breakpoints we will define how the page layout works.
 * For reference, below are the grid default breakpoints and max-widths defined by Bootstrap 4.
 * https://getbootstrap.com/docs/4.4/layout/grid/#grid-tiers
 *
 * $grid-breakpoints: (
 *   xs: 0,
 *   sm: 576px,
 *   md: 768px,
 *   lg: 992px,
 *   xl: 1200px
 * );
 *
 * $container-max-widths: (
 *   sm: 540px,
 *   md: 720px,
 *   lg: 960px,
 *   xl: 1140px
 * );
 *
 */

/*
 * Usage:
 * @include breakpoint(md){
 *   background: blue;
 * }
 */

/*
example for $data argument
each breakpoint has a pair of corresponding values
$breakpoints-data: (
  breakpoints: (365px + 20px, 767px, 1023px, 1199px, 1440px - 20px, 1440px + 20px, 1600px),
  values: ((190px, 190px), (400px, 190px), (261px, 194px), (230px, 243px), (266px, 266px), (266px, 266px), (300px, 300px))
);
*/

/*
 * Usage:
 * @include breakpoint(md, 700px){
 *   background: blue;
 * }
 */

.brands-page {
  position: relative;
}

.brands-page__container {
  position: relative;
}

.brands-page__hero {
  min-height: 620px;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  padding-block: 40px;
  margin-bottom: 50px;
}

.brands-page__hero[data-brand=cat-clow] {
  background: url("/themes/custom/trim_the_tail_th/assets/images/cat-chow/cat-chow__hero-bg.webp"), url("/themes/custom/trim_the_tail_th/assets/images/cat-chow/cat-chow__hero-cat.webp");
  background-size: auto 100%, auto 500px;
  background-position: right center, right -100px bottom -124px;
  background-repeat: no-repeat, no-repeat;
  background-color: #F1E6D8;
}

.brands-page__hero[data-brand=cat-clow] .brands-page__hero-logo {
  width: 100px;
  height: 100px;
}

.brands-page__hero[data-brand=darling] {
  color: #FFFFFF;
  background-color: #E40A14;
  background-image: url("/themes/custom/trim_the_tail_th/new_dist/images/brands-pages/darling__hero.webp");
  position: relative;
}

.brands-page__hero[data-brand=darling] .brands-page__hero-logo {
  position: absolute;
  right: 60px;
  top: 125%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.brands-page__hero[data-brand=darling] .brands-page__hero-logo img {
  width: 150%;
  height: 150%;
  max-width: 150%;
}

.brands-page__hero[data-brand=darling][data-animal=dogs]:before,
.brands-page__hero[data-brand=darling][data-animal=cats]:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position-y: bottom;
  background-position-x: 75%;
  background-size: 34%;
}

.brands-page__hero[data-brand=darling][data-animal=cats]:before {
  background-image: url("/themes/custom/trim_the_tail_th/new_dist/images/brands-pages/darling__hero-cat.webp");
}

.brands-page__hero[data-brand=darling][data-animal=dogs]:before {
  background-image: url("/themes/custom/trim_the_tail_th/new_dist/images/brands-pages/darling__hero-dog.webp");
}

.brands-page__hero-container {
  width: 100%;
  max-width: 1320px;
  padding-inline: 15px;
  margin-inline: auto;
  position: relative;
}

.brands-page__hero-title {
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  max-width: 750px;
}

.brands-page__hero-description {
  margin-top: 30px;
  font-size: 18px;
  line-height: 30px;
}

.brands-page__advantage-container {
  width: 100%;
  margin-block: 50px;
}

.brands-page__advantage-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 30px;
  overflow-x: auto;
  padding: 0;
  margin-bottom: 0;
  padding-inline: 15px;
  max-width: 1320px;
  margin-inline: auto;
  box-sizing: content-box;
  scrollbar-width: none;
}

.brands-page__advantage-list::-webkit-scrollbar {
  display: none;
}

.brands-page__advantage-list[data-lenght="3"] .brands-page__advantage-item {
  max-width: 420px;
}

.brands-page__advantage-list[data-lenght="5"] .brands-page__advantage-item {
  max-width: 240px;
}

.brands-page__advantage-list[data-brand=darling] .brands-page__advantage-icon-wrapper {
  background-color: #FBD8D9;
  border-radius: 50%;
}

.brands-page__advantage-list[data-brand=darling] .brands-page__advantage-text {
  color: #3A3533;
}

.brands-page__advantage-list[data-brand=darling] .brands-page__advantage-item {
  border-color: #FBD8D9;
}

.brands-page__advantage-list[data-brand=darling] .brands-page__advantage-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: contain;
  z-index: 6;
}

.brands-page__advantage-list[data-brand=clow] .brands-page__advantage-icon-wrapper:before {
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  background-color: #F8F3ED;
}

.brands-page__advantage-list[data-brand=clow] .brands-page__advantage-icon-wrapper:after {
  width: 100%;
  height: 100%;
  background-color: #314982;
}

.brands-page__advantage-list[data-brand=clow] .brands-page__advantage-text {
  color: #1D3A7F;
}

.brands-page__advantage-list[data-brand=clow] .brands-page__advantage-item {
  border-color: #C0A398;
}

.brands-page__advantage-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 32px 12px 20px;
  border-width: 3px;
  border-style: solid;
  border-radius: 30px;
  background-color: #fff;
  min-width: 150px;
}

.brands-page__advantage-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 70px;
  height: 70px;
}

.brands-page__advantage-icon-wrapper:before,
.brands-page__advantage-icon-wrapper:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 12px;
}

.brands-page__advantage-text {
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}

.brands-page__advantage-icon {
  position: relative;
}

.brands-page__advantage-icon--no-coloring {
  background-image: url("/themes/custom/trim_the_tail_th/new_dist/images/brands-pages/no-coloring.svg");
  background-position: center;
  background-repeat: no-repeat;
}

.brands-page__advantage-icon--balance {
  background-image: url("/themes/custom/trim_the_tail_th/new_dist/images/brands-pages/balance.svg");
  background-position: center;
  background-repeat: no-repeat;
}

.brands-page__advantage-icon--microelements {
  background-image: url("/themes/custom/trim_the_tail_th/new_dist/images/brands-pages/microelements.svg");
  background-position: center;
  background-repeat: no-repeat;
}

.brands-page__products {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 50px;
}

.brands-page__products-container,
.brands-page__products .view-filters {
  width: 100%;
  max-width: 1320px;
  padding-inline: 15px;
  margin-inline: auto;
  position: relative;
}

.brands-page__products .view-filters._show {
  display: block;
}

.brands-page__products .view-content {
  width: 100%;
  max-width: 1320px;
  padding-inline: 0;
  margin-inline: auto;
  position: relative;
}

.brands-page__products-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.brands-page__products-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.brands-page__products-title {
  font-weight: 400;
  line-height: 1.2;
  font-size: 40px;
}

.brands-page__products-description {
  font-weight: 300;
  font-size: 14px;
  line-height: 26px;
}

.brands-page__products-slider-wrapper {
  width: 100%;
}

.brands-page__products-slider-wrapper .btn-show {
  display: flex;
  border: 1px solid #E3000B;
  border-radius: 16px;
  gap: 10px;
  width: 100%;
  justify-content: center;
  height: 45px;
  align-items: center;
  font-size: 14px;
  line-height: 30px;
}

.brands-page__products-slider-wrapper .btn-show__container {
  width: 100%;
  max-width: 1320px;
  padding-inline: 15px;
  margin-inline: auto;
  position: relative;
}

.brands-page__products [data-drupal-selector=edit-actions],
.brands-page__products #edit-actions {
  display: none;
}

.brands-page__products .form-wrapper {
  background-color: #F5F5F5;
  align-items: center;
  height: 68px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  border-radius: 16px;
  padding: 0 30px;
  margin-bottom: 50px;
}

.brands-page__products .form-wrapper .fieldset-wrapper,
.brands-page__products .form-wrapper legend {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.brands-page__products .form-wrapper .form-radios {
  display: flex;
}

.brands-page__products .form-wrapper legend {
  margin-right: 30px;
}

.brands-page__products .form-wrapper #edit-actions,
.brands-page__products .form-wrapper .input__wrapper-submit,
.brands-page__products .form-wrapper .input__wrapper-radio {
  display: none;
}

.brands-page__products .form-wrapper span,
.brands-page__products .form-wrapper label {
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  color: #3A3533;
}

.brands-page__products .form-wrapper .input__wrapper + label {
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
  white-space: nowrap;
}

.brands-page__products .form-wrapper .form--inline .form-item {
  margin: 0;
}

.brands-page__products .form-wrapper .form--inline .form-item .option {
  padding: 8px 10px;
}

.brands-page__products .form-wrapper .form-type-radio .input__wrapper-radio:has(.form-radio:checked) + .option {
  color: #FFFFFF;
  padding: 8px 20px;
  border-radius: 16px;
  background-color: #E3000B;
}

.brands-page__about {
  width: 100%;
  max-width: 1320px;
  padding-inline: 15px;
  margin-inline: auto;
  position: relative;
  margin-block: 50px;
}

.brands-page__about-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.brands-page__about-slider {
  min-width: 0;
  overflow: hidden;
}

.brands-page__about-slider .swiper-navigation {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.brands-page__about-slider .swiper-button-next,
.brands-page__about-slider .swiper-button-prev {
  display: none;
  position: relative;
  left: unset;
  right: unset;
  width: 67px;
  height: 60px;
  border-radius: 15px;
  background-color: #F5F5F5;
  cursor: pointer;
}

.brands-page__about-slider .swiper-button-next:before,
.brands-page__about-slider .swiper-button-prev:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 7px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='17' fill='none'%3E%3Cpath stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m8.5 1.5-7 7 7 7'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}

.brands-page__about-slider .swiper-button-next:after,
.brands-page__about-slider .swiper-button-prev:after {
  display: none;
}

.brands-page__about-slider .swiper-button-next {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
  -webkit-transform-origin: center;
          transform-origin: center;
}

.brands-page__about-image {
  order: -1;
}

.brands-page__about-image img {
  max-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.brands-page__about-slide {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brands-page__about-slide-title {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 400;
}

.brands-page__about-slide-description {
  font-weight: 300;
  font-size: 14px;
  line-height: 26px;
}

.brands-page__components {
  width: 100%;
  max-width: 1320px;
  padding-inline: 0;
  margin-inline: auto;
  position: relative;
  margin-bottom: 50px;
}

.brands-page__components-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: #E40A14;
  background-image: url("/themes/custom/trim_the_tail_th/new_dist/images/brands-pages/brand-slider-bg.svg");
  border-radius: 16px;
  overflow: hidden;
  padding: 30px 15px 40px;
  background-size: cover;
  background-position: center;
}

.brands-page__components-title {
  color: #ffffff;
  font-weight: 400;
  font-size: 26px;
  line-height: 120%;
}

.brands-page__components .brand-slide-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  border: 3px solid rgba(251, 216, 217, 0.5019607843);
  gap: 15px;
  border-radius: 16px;
  height: 100%;
}

.brands-page__components .brand-slide-item__text {
  color: #ffffff;
  font-size: 18px;
}

.brands-page__components .swiper-wrapper {
  gap: 30px;
}

.brands-page__components .swiper-slide {
  height: auto;
}

.brands-page__marketing {
  width: 100%;
  max-width: 1320px;
  padding-inline: 0;
  margin-inline: auto;
  position: relative;
}

.brands-page__marketing-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #E40A14;
  padding: 30px 15px 130px;
  border-radius: 16px;
  background-image: url("/themes/custom/trim_the_tail_th/new_dist/images/brands-pages/brand-slider-bg.svg");
  background-position: center;
  background-size: cover;
  position: relative;
  gap: 40px;
}

.brands-page__marketing-title {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #ffffff;
  font-weight: 400;
  font-size: 26px;
  line-height: 120%;
  position: relative;
}

.brands-page__marketing-logo {
  position: absolute;
  right: 0;
  bottom: -105px;
}

.brands-page__marketing-dog,
.brands-page__marketing-cat {
  position: inherit;
  right: 5px;
  bottom: -60px;
}

.brands-page__marketing-cat {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.brands-page .pet-type-toggle {
  margin: 0 0 90px 0;
}

[data-brand=darling] .pet-type-toggle__item {
  display: flex;
  gap: 12px;
  background-color: transparent;
  padding: 0 16px;
}

[data-brand=darling] .pet-type-toggle__item span {
  font-weight: 300;
  font-size: 16px;
  line-height: 100%;
}

[data-brand=darling] .pet-type-toggle__item_current {
  background-color: #FFFFFF;
  color: #E40A14;
}

[data-brand=darling] .pet-type-toggle__item .pet-type-toggle__link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
}

[data-brand=darling] .pet-type-toggle__item.pet-type-toggle__item_cat::before {
  content: none;
}

[data-brand=darling] .pet-type-toggle__item.pet-type-toggle__item_dog::before {
  content: none;
}

[data-brand=darling] .pet-type-toggle__inner {
  border-color: #ffffff;
}

@media (min-width: 769px) {
  .brands-page__products-slider-wrapper .btn-show__container {
    display: none;
  }
}

@media (min-width: 1140px) {
  body.route-purina-base-landing-cat-chow .block-system-breadcrumb-block {
    margin-bottom: -66px;
    position: relative;
    z-index: 1;
  }

  .brands-page__top {
    position: relative;
  }

  .brands-page__hero {
    padding-block: 120px;
    min-height: 800px;
    background-size: auto 100%, auto 800px;
    background-position: right center, right -150px bottom 0;
    margin-bottom: 235px;
    border-bottom-left-radius: 44px;
    border-bottom-right-radius: 44px;
  }

  .brands-page__hero[data-brand=cat-clow] .brands-page__hero-logo {
    width: 200px;
    height: 200px;
  }

  .brands-page__hero[data-brand=darling] .brands-page__hero-logo {
    top: -35px;
    -webkit-transform: none;
            transform: none;
  }

  .brands-page__hero-container {
    box-sizing: content-box;
  }

  .brands-page__hero-title {
    font-size: 60px;
  }

  .brands-page__advantage-container {
    position: absolute;
    left: 50%;
    top: 100%;
    -webkit-transform: translate(-50%, -48%);
            transform: translate(-50%, -48%);
    z-index: 1;
    margin-block: 0;
  }

  .brands-page__advantage-list[data-brand=darling] .brands-page__advantage-icon {
    border-radius: 50%;
  }

  .brands-page__advantage-item {
    gap: 38px;
    padding: 32px 20px 20px;
    min-height: 270px;
    border-radius: 64px;
  }

  .brands-page__advantage-icon-wrapper {
    width: 100px;
    height: 100px;
  }

  .brands-page__advantage-icon-wrapper:before,
  .brands-page__advantage-icon-wrapper:after {
    border-radius: 25px;
  }

  .brands-page__advantage-text {
    font-size: 18px;
    line-height: 24px;
  }

  .brands-page__products {
    margin-bottom: 100px;
  }

  .brands-page__products-container,
  .brands-page__products .view-filters {
    box-sizing: content-box;
  }

  .brands-page__products .view-content {
    padding-inline: 15px;
    box-sizing: content-box;
  }

  .brands-page__products-container {
    gap: 50px;
  }

  .brands-page__products-header {
    gap: 30px;
    width: 60%;
  }

  .brands-page__products-description {
    font-size: 18px;
    line-height: 30px;
  }

  .brands-page__products-slider-wrapper .btn-show__container {
    box-sizing: content-box;
  }

  .brands-page__about {
    box-sizing: content-box;
  }

  .brands-page__about-container {
    display: grid;
    grid-template-columns: 1fr 570px;
    gap: 100px;
  }

  .brands-page__about-slider .swiper-wrapper {
    height: auto;
  }

  .brands-page__about-slider .swiper-navigation {
    margin-top: 40px;
  }

  .brands-page__about-image {
    order: 0;
  }

  .brands-page__about-slide {
    gap: 30px;
  }

  .brands-page__about-slide-title {
    font-size: 40px;
  }

  .brands-page__about-slide-description {
    font-size: 18px;
    line-height: 30px;
  }

  .brands-page__components {
    padding-inline: 15px;
    box-sizing: content-box;
  }

  .brands-page__components {
    margin-bottom: 100px;
  }

  .brands-page__components-block {
    padding: 60px;
    gap: 46px;
  }

  .brands-page__components-title {
    font-size: 40px;
  }

  .brands-page__components .brand-slide-item {
    gap: 12px;
    padding: 18px;
    height: auto;
  }

  .brands-page__components .swiper-slide {
    width: calc(20% - 24px);
  }

  .brands-page__marketing {
    padding-inline: 15px;
    box-sizing: content-box;
  }

  .brands-page__marketing-block {
    padding: 60px;
    flex-direction: row;
    gap: 0;
  }

  .brands-page__marketing-title {
    font-size: 36px;
    gap: 24px;
  }

  .brands-page__marketing-logo {
    position: inherit;
    right: auto;
    bottom: auto;
  }

  [data-brand=darling] .pet-type-toggle__item {
    gap: 20px;
    padding-right: 30px;
  }

  [data-brand=darling] .pet-type-toggle__item span {
    font-size: 24px;
  }

  [data-brand=darling] .pet-type-toggle__item .pet-type-toggle__link {
    gap: 20px;
  }
}

@media (min-width: 1140px) and (min-width: 1240px) {
  .brands-page__hero {
    background-position: right center, right -110px bottom 0;
  }
}

@media (min-width: 1140px) and (min-width: 1310px) {
  .brands-page__hero {
    background-position: right center, right -8px bottom 0;
  }
}

@media screen and (max-width: 1140px) {
  .brands-page__hero[data-brand=darling][data-animal=dogs]:before,
  .brands-page__hero[data-brand=darling][data-animal=cats]:before {
    background-size: 230px;
    background-position-x: 7%;
  }
}

@media (max-width: 1140px) {
  .brands-page__marketing-dog,
  .brands-page__marketing-cat {
    position: absolute;
    width: 250px;
    height: auto;
    bottom: 0;
    right: 20%;
  }
}

@media (max-width: 1139px) {
  .brands-page__hero[data-brand=darling] .brands-page__hero-logo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
  }

  .brands-page__hero-description {
    font-size: 14px;
    line-height: 24px;
    margin-top: 20px;
    max-width: 230px;
  }

  .brands-page__advantage-list {
    margin-block: 0;
    gap: 15px;
  }

  .brands-page__products-title {
    font-size: 26px;
    max-width: 300px;
  }

  .brands-page__components .swiper-slide:nth-child(1),
  .brands-page__components .swiper-slide:nth-child(2),
  .brands-page__components .swiper-slide:nth-child(3) {
    width: calc(33.3333333333% - 10px);
  }

  .brands-page__components .swiper-slide:nth-child(4),
  .brands-page__components .swiper-slide:nth-child(5) {
    width: calc(50% - 7.5px);
  }

  .brands-page .pet-type-toggle {
    margin: 0 0 50px 0;
  }

  .brands-page .pet-type-toggle__inner {
    height: 45px;
  }
}

@media screen and (max-width: 1139px) {
  .brands-page__components .brand-slide-item__text {
    text-align: center;
    font-size: 13px;
    line-height: 120%;
  }

  .brands-page__components .swiper-wrapper {
    gap: 15px;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 768px) {
  .brands-page__hero[data-brand=darling] {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    overflow: hidden;
    background-position: 76%;
  }

  .brands-page__products .view-filters {
    display: none;
  }

  .brands-page__products-slider-wrapper .btn-show {
    margin-bottom: 16px;
  }

  .brands-page__products .form-wrapper {
    width: 100%;
    flex-wrap: wrap;
    height: auto;
    padding: 12px;
    gap: 8px;
    margin-bottom: 32px;
  }

  .brands-page__products .form-wrapper .fieldset-wrapper,
  .brands-page__products .form-wrapper legend {
    width: 100%;
  }

  .brands-page__products .form-wrapper .form-radios {
    width: 100%;
  }

  .brands-page__products .form-wrapper span,
  .brands-page__products .form-wrapper label {
    font-size: 14px;
    line-height: 24px;
  }

  .brands-page__products .form-wrapper .form-type-radio .input__wrapper-radio:has(.form-radio:checked) + .option {
    max-width: 100%;
    justify-content: center;
    width: 100%;
    padding: 10px 20px;
  }

  .brands-page__marketing-dog,
  .brands-page__marketing-cat {
    width: 250px;
    right: 25%;
    bottom: -1px;
  }
}

@media screen and (max-width: 767px) {
  .brands-page__products .form-wrapper legend {
    display: none;
  }

  .brands-page__products .form-wrapper .form--inline .form-item {
    width: 33.3333333333%;
    display: flex;
    justify-content: center;
  }
}

@media screen and (max-width: 580px) {
  .brands-page__hero[data-brand=darling][data-animal=dogs]:before {
    background-size: 230px;
    background-position-x: -17%;
  }
}

@media screen and (max-width: 450px) {
  .brands-page__marketing-dog,
  .brands-page__marketing-cat {
    width: 143px;
    right: 25px;
  }
}

@media screen and (max-width: 363px) {
  .brands-page__hero[data-brand=darling][data-animal=dogs]:before,
  .brands-page__hero[data-brand=darling][data-animal=cats]:before {
    background-size: 186px;
    background-position-x: 7%;
  }
}