/**
 * Products List Block Styles
 *
 * @package YaloFSE
 */
/* ==========================================================================
   All Products
   ========================================================================== */
.products-list-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.products-filters {
  border-bottom: 1px solid #d7d9df;
  padding-bottom: 20px;
}

.products-filters__title {
  margin: 0 0 18px;
  color: var(--kb-brand-blue);
}

.products-filters__search {
  margin-bottom: 20px;
}

.products-filter-search {
  width: 100%;
  min-height: 42px;
  border: 1px solid #6d77a3;
  background: #fff;
  color: #27355f;
  padding: 0 38px 0 12px;
  font-family: var(--font-secondary);
  font-size: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' stroke='%23001489' stroke-width='2'/%3E%3Cpath stroke='%23001489' stroke-width='2' stroke-linecap='round' d='M20 20l-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: right 12px center;
}

.products-filter-search:focus {
  outline: none;
  border-color: var(--kb-brand-blue);
}

.products-filter-accordion {
  border-top: 0;
  padding: 20px 0 0;
}

.products-filter-accordion + .products-filter-accordion {
  margin-top: 22px;
}

.products-filter-accordion__toggle {
  width: 100%;
  height: auto;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  padding: 0 0 12px;
  background: transparent;
  color: var(--kb-brand-blue);
  font-family: var(--font-primary);
  font-size: clamp(20px, 2vw, 24px);
  text-align: left;
}

.products-filter-accordion__toggle:hover,
.products-filter-accordion__toggle:focus,
.products-filter-accordion__toggle:active {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none;
}

.products-filter-accordion__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;
}

.products-filter-accordion__icon::before,
.products-filter-accordion__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: #001489;
  border-radius: 1px;
  transform: translate(-50%, -50%);
}

.products-filter-accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.products-filter-accordion__toggle[aria-expanded="true"] .products-filter-accordion__icon::after {
  opacity: 0;
}

.products-filter-accordion__panel {
  display: grid;
  gap: 8px;
  padding-bottom: 14px;
}

.products-filter-accordion.is-collapsed .products-filter-accordion__panel {
  display: none;
}

.products-filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #001489;
  font-family: var(--font-secondary);
  cursor: pointer;
}

.products-filter-checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid #001489;
  border-color: #001489;
  border-radius: 2px;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  position: relative;
}

.products-filter-checkbox input:checked {
  background-color: #001489;
  box-shadow: none;
}

.products-filter-checkbox input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.products {
  display: grid;
  /* Mobile + tablet (stacked layout): two per row */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: var(--spacing-lg);
  margin: var(--spacing-2xl) 0;
  text-align: center;
  width: 100%;
  min-width: 0;
}

.product-title {
margin:0;
}

.product-thumb img {
  width: auto;
  margin: 0 auto;
  height:120px;
}

.products_list .product-card--thumb-scale-75 .product-thumb img {
  transform: scale(0.75);
  transform-origin: center center;
}

@media (min-width: 768px) {
  .products .headline-xs {
    font-size: 30px;
    line-height: 1.5;
    letter-spacing: 0.5px;
  }

  .product-thumb img {
    height: 160px;
  }
}

/* Tablet (with sidebar): two products per row */
@media (min-width: 992px) and (max-width: 1023px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
}

/* Desktop: three products per row */
@media (min-width: 1024px) {
  .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 32px;
  }
}
.product-thumb {
  overflow: hidden;
  display: grid;
  align-content: center;
}


@media (min-width: 1400px) {
  
  .product-thumb img {
    height:250px;
  }
}


.product-card {
  display: grid;
  row-gap: 20px;
}

.product-card.is-hidden {
  display: none;
}

.product-card .product-info {
  display: grid;
  gap: 12px;
}

@media (min-width: 992px) {
  .products-list-layout {
    grid-template-columns: minmax(220px, 24%) minmax(0, 1fr);
    align-items: start;
    gap: 42px;
    padding-top: 48px;
  }

  .products-filters {
    position: sticky;
    top: 180px;
    border-bottom: 0;
    padding-bottom: 0;
  }

  .products-filters__title {
    margin-bottom: 20px;
  }
}
.product-card .button-group {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  row-gap: 20px;
}

@media (min-width: 992px) {
  .product-card .button-group {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--spacing-lg);
  }
}
.product-card a.product-link {
  text-decoration: none;
  color: var(--color-dark);
}


/* ==========================================================================
   Single Products
   ========================================================================== */
.product-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  padding: 150px var(--spacing-md) 0 var(--spacing-md);
}

.product-wrapper::after {
  content: "";
  margin-right: -16px;
  margin-left: -16px;
  bottom: 0;
  height: 50px;
  background: var(--color-off-white);
  position: relative;
  border-radius: 24px 24px 0 0;
}

@media (min-width: 768px) {
  .product-wrapper {
    grid-template-columns: 6fr 1fr 5fr;
    padding: 150px 32px 0 32px;
  }
  .product-wrapper::after {
    grid-column-start: 1;
    grid-column-end: 13;
    margin-right: -32px;
    margin-left: -32px;
  }
}
@media (min-width: 992px) {
  .product-wrapper {
    padding-top: 246px;
  }
}
@media (min-width: 1400px) {
  .product-wrapper::after {
    height: 80px;
    border-radius: 56px 56px 0 0;
  }
}
@media (min-width: 1920px) {
  .product-wrapper {
    grid-template-columns: 6fr 1fr 5fr;
    padding: 246px 88px 0 88px;
  }
}
.product-wrapper .product-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

@media (min-width: 992px) {
  .product-wrapper .product-info {
    gap: var(--spacing-lg);
  }
}
.product-wrapper .product-info .button-group {
  display: grid;
  gap: var(--spacing-md);
}

.product-wrapper .slides-container {
  margin-bottom: var(--spacing-2xl);
}

@media (min-width: 1400px) {
  .product-wrapper .slides-container {
    margin-bottom: 150px;
  }
}
.product-wrapper .slide img {
  border-radius: 56px 16px 16px 16px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1400px) {
  .product-wrapper .slide img {
    border-radius: 104px 24px 24px 24px;
  }
}
.product-wrapper ul.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.product-wrapper ul.product-list li {
  width: 100%;
}

.product-wrapper button.dropbtn {
  display: flex;
  border-radius: 0;
  padding: 0;
  height: auto;
  align-items: center;
  border: none;
  border-bottom: 1px dashed;
  background: transparent;
  font-weight: var(--font-weight-medium);
  line-height: 160%;
  text-transform: uppercase;
}

.product-wrapper button.dropbtn i {
  content: "";
  transform: rotate(180deg);
  display: block;
  width: 16px;
  height: 24px;
  margin-left: var(--spacing-md);
  transition: transform var(--transition-normal);
}

.product-wrapper button.dropbtn:hover {
  background: transparent;
}

.product-wrapper .dropdown {
  position: relative;
  display: inline-block;
}

.product-wrapper .dropdown-content {
  display: none;
  border-radius: 0 0 8px 8px;
  background: var(--color-white);
  box-shadow: 1px 4px 4.3px 0 rgba(0, 0, 0, 0.11);
  position: absolute;
  width: 330px;
  padding: 0;
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1;
}

.product-wrapper .dropdown-content .menu {
  flex-direction: column;
  width: 100%;
}

.product-wrapper .dropdown-content a {
  text-align: left;
  line-height: 121%;
  text-decoration: none;
  width: 100%;
  padding: 10px var(--spacing-md);
  transition: all var(--transition-fast);
  border-bottom: 2px solid var(--color-off-white);
  font-size: var(--font-size-base);
  display: flex;
}

@media (min-width: 1200px) {
  .product-wrapper .dropdown-content a {
    font-size: var(--font-size-md);
  }
}
.product-wrapper .dropdown-content a:hover {
  background-color: var(--color-gold);
  color: var(--color-dark);
}

.product-wrapper .dropdown:hover .dropdown-content {
  display: flex;
}

.product-wrapper .dropdown:hover .dropbtn i {
  transform: rotate(0);
}

/* ==========================================================================
   Product Page - Testimonials
   ========================================================================== */
.product .testimonials {
  margin: 5rem 0;
  position: relative;
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  .product .testimonials {
    padding-bottom: 0;
  }
}
.product .testimonials::after {
  content: url("utility/sprig.png");
  width: 243px;
  height: 188px;
  position: absolute;
  bottom: 0;
  right: 0;
  transform: scale(0.8);
}

@media (min-width: 768px) {
  .product .testimonials::after {
    bottom: -45px;
    transform: scale(1);
  }
}
.product .testimonials-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0 1rem;
}

@media (min-width: 768px) {
  .product .testimonials-wrapper {
    margin: 0 2rem;
    grid-template-columns: 5fr 7fr;
    gap: 20px;
  }
}
@media (min-width: 1920px) {
  .product .testimonials-wrapper {
    margin: 0 5.5rem;
  }
}
.product .testimonials-wrapper .glide__arrows {
  position: absolute;
  bottom: 0;
}

@media (min-width: 768px) {
  .product .testimonials-wrapper .glide__arrows {
    position: relative;
  }
}
.product .testimonials-wrapper .title {
  max-width: 100%;
}

@media (min-width: 768px) {
  .product .testimonials-wrapper .title {
    max-width: 345px;
  }
}
.product .testimonials-wrapper .description {
  max-width: 100%;
}

@media (min-width: 768px) {
  .product .testimonials-wrapper .description {
    max-width: 345px;
  }
}
.product .testimonials-wrapper .reviews-slider {
  overflow: hidden;
}

.product .testimonials-wrapper .glide__slides,
.product .testimonials-wrapper .glide__track,
.product .testimonials-wrapper .glide {
  height: 100%;
}

.product .testimonials-wrapper .glide__slide {
  background-color: var(--color-white);
  border-radius: 56px 40px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .product .testimonials-wrapper .glide__slide {
    padding: 3rem;
  }
}
.product .testimonials-wrapper .glide__slide .review-stars {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.product .testimonials-wrapper .glide__slide .review-copy {
  font-family: var(--font-primary);
  line-height: 41.6px;
  text-align: left;
  margin-bottom: 1.5rem;
}

.product .testimonials-wrapper .glide__slide .reviewer-name {
  text-transform: uppercase;
}

.product .testimonials-wrapper .glide__arrows {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-top: 1rem;
}

.product .testimonials-wrapper .glide__arrows .glide__arrow {
  padding: 12px 17px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-dark);
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
  margin-right: 15px;
  cursor: pointer;
}

.product .testimonials-wrapper .glide__arrows .glide__arrow:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.product .testimonials-wrapper .glide__arrows .glide__arrow:hover svg path {
  fill: var(--color-white);
}

.product .testimonials-wrapper .glide__arrows .glide__arrow--left svg {
  transform: rotate(90deg);
}

.product .testimonials-wrapper .glide__arrows .glide__arrow--right svg {
  transform: rotate(-90deg);
}

.product .testimonials-wrapper .glide__slides {
  transform: translate3d(0, 0, 0) !important;
}

.product .testimonials-wrapper .glide__slide {
  position: absolute;
  top: 0;
  left: 0;
  order: 2;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (min-width: 768px) {
  .product .testimonials-wrapper .glide__slide {
    margin-left: inherit !important;
    margin-right: inherit !important;
  }
}
.product .testimonials-wrapper .glide__slide.glide__slide--active {
  position: relative;
  order: 1;
  opacity: 1;
  z-index: 1;
}

/* ==========================================================================
   Product Page - Featured Recipe
   ========================================================================== */
.product .featured-recipe {
  background: var(--color-gold);
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 32px;
  position: relative;
  padding: 3rem 1rem;
  margin: 5rem 1rem;
}

@media (min-width: 768px) {
  .product .featured-recipe {
    grid-template-columns: 5fr 2fr 5fr;
    padding: 80px 100px;
    margin: 8rem 2rem;
  }
}
.product .featured-recipe::before {
  content: url("utility/rosemary-accent.png");
  position: absolute;
  width: 236px;
  height: 345px;
  bottom: -110px;
  left: -65px;
  transform: scale(0.6);
}

@media (min-width: 768px) {
  .product .featured-recipe::before {
    left: -10px;
    transform: scale(1);
  }
}
.product .featured-recipe .media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product .featured-recipe .media .recipe-thumb {
  margin-bottom: 0;
}

.product .featured-recipe .media video {
  width: 60%;
  height: auto;
  border-radius: 16px;
}

.product .featured-recipe .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .product .featured-recipe .content {
    margin-bottom: 0;
  }
}
.product .featured-recipe .content .title {
  margin-bottom: 0.8rem;
}

.product .featured-recipe .content .excerpt {
  font-family: var(--font-primary);
  margin-bottom: 1.5rem;
}

.product .featured-recipe .content .button {
  margin-right: 1.5rem;
}

.product .featured-recipe .content .links-wrapper {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  height: 125px;
}
