:root {
  --topbar-height: var(--sp-12);
  --color-foreground: var(--color-base-text);
}

.light .topbar-section {
  --color-base-background: rgba(var(--color-background));
  --color-background: 31 31 31;
  --color-foreground: 255 255 255;
}

.header-section:not(.header-transparent) .search-btn img,
.header-transparent.header-scrolled .search-btn img,
.with-mega .header-section .search-btn img {
  filter: invert(1);
}

.dropdown-button {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 10px;
}

.dropdown-button p {
  white-space: normal;
  color: rgb(var(--color-base-text) / 0.4);
  font-weight: 500;
  max-width: 200px;
  word-break: break-all;
}

.header__buttons > .location-dropdown {
  width: auto;
  height: auto;
}

.dropdown-adress {
  position: absolute;
  max-width: 500px;
  width: 500px;
  right: -8px;
  background-color: #fff;
  padding: 32px;
  top: 0;
  border: 1px solid rgb(var(--color-base-text) / 0.2);
  border-radius: 20px;
  z-index: 1;
}

.location-dropdown {
  position: relative;
}

.dropdown-adress input {
  width: 100%;
  border-bottom: 1px solid rgb(var(--color-base-text) / 0.6);
  color: rgb(var(--color-base-text) / 0.6);
  padding-bottom: 11px;
  line-height: 1.1;
}

.dropdown-adress input:focus {
  outline: initial;
}

.dropdown-adress input::placeholder {
  opacity: 1;
  color: inherit;
}

.dropdown-adress input::placeholder {
  opacity: 1;
  color: inherit;
}

.dropdown-adress .dropdown-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  margin-bottom: 29px;
}

body:not(.with-mega)
  .header-transparent:not(.header-scrolled)
  .dropdown-button
  > img {
  filter: invert(1);
}

body:not(.with-mega)
  .header-transparent:not(.header-scrolled)
  .dropdown-button
  p {
  color: #ffffffb5;
}

.recipe-slider .recipeProductWrap .product__gallery {
  gap: 40px;
}

.header__icons {
  position: relative;
  z-index: 4;
}

.dropdown-adress-close {
  position: absolute;
  right: 8px;
  top: 8px;
}

.dropdown-adress-close .drawer__close {
  height: 30px;
  width: 30px;
}

.dropdown-adress-close .drawer__close .icon {
  height: 18px;
}

/** Search Bar CSS Starts **/
.searchResultWrapper {
  padding: 80px 0;
}

.search-bar {
  display: flex;
  align-items: center;
  background-color: rgb(var(--color-foreground) / var(--opacity-025));
  border-radius: 8px;
  width: 60%;
  margin: 40px auto;
  padding: 20px;
}

.search-bar:before {
  content: "";
  background-image: url("../../../assets/icons/search-icon.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  aspect-ratio: 1/1;
  height: 80%;
  margin-right: 8px;
}

.search-bar input {
  flex-grow: 1;
  border: none;
  color: rgba(var(--color-base-text));
  outline: none;
  font-size: 16px;
  background-color: transparent;
}

.clear-btn.loader {
  color: transparent;
}

.search-bar .loader:before {
  content: "";
  z-index: 1;
  width: 75%;
  height: 100%;
  background-color: rgb(var(--color-base-text));
  animation: preloading 1.2s infinite ease;
  position: absolute;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}

.search-bar .loader {
  position: relative;
}

.search-bar input::placeholder {
  color: rgba(var(--color-base-text) / 0.45);
}

.clear-btn {
  background: none;
  color: rgba(var(--color-base-text) / 0.6);
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
}

.searchFilterBar {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.highlight {
  background-color: yellow;
  font-weight: bold;
}

.searchInput {
  width: 100%;
  margin: 0;
}

.searchDrawerContent {
  padding: 25px 40px 0;
}

.filterWrap > div:nth-child(2) {
  margin-top: 7px;
}

.search-drawer .drawer__inner {
  background: #fff;
}

.category_List p {
  border-block-end: 1px solid rgb(var(--color-border-light));
  font-size: 18px;
  padding: 0 0 8px;
  margin: 38px 0 15px;
}

.allResultButton {
  width: 100%;
  margin: 40px 0;
}

.category_List li {
  list-style: none;
  font-weight: 600;
}

.recipesCard {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.recipesCardText {
  display: flex;
  flex-direction: column;
}

.recipesCard img {
  border-radius: 8px;
  max-width: 96px;
  max-height: 96px;
}

.drawer_footer {
  background: #fff;
  margin: 0 40px;
  z-index: 999;
  height: 127px;
}

.sortingList {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 9;
  width: 300px;
  background: rgba(var(--color-background-2));
  border-radius: 20px;
  padding: 20px 30px 20px;
}

.sortingList ul li {
  margin: 0;
  font-size: 20px;
  padding: 10px 0;
}

.sortingList ul li button:hover {
  text-decoration: underline;
}

.sortingList ul li.active {
  opacity: 0.5;
}

.drawer__close.search_Close {
  width: 40px;
  height: 40px;
}

li.head-shor {
  font-size: 16px !important;
  letter-spacing: 1px;
}

.sortByHeader {
  margin: 10px 0;
}

.search-sec .card .media-card__link img {
  width: 100%;
}

/* nav bar css  */

.top-nav-liks {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.new-mega-menu {
  max-width: calc(20% - var(--header-nav-gap) * 4 / 5);
  aspect-ratio: 2/1;
}

.new-mera-item-nav {
  max-width: calc(60% - var(--header-nav-gap) / 2);
  padding: 0px;
}

.new-mega-item-for-ind {
  max-width: calc(80% - var(--header-nav-gap) / 2);
  padding: 0px;
}

.new-nav-grid {
  grid-template-columns: 1fr 1fr 1fr 1fr !important;
  row-gap: 0px !important;
}

.ind-nav-grid {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr !important;
}

.mix-list-product-name p {
  color: #3b3b3b;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  padding-bottom: 5px;
}

.mix-list-product-name h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 22px;
  color: #171717;
  padding-bottom: 4px;
}

.mix-list-product-price p {
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  color: #171717;
}

.mix-list-ingredients p {
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  color: #171717;
  padding-bottom: 7px;
}

.mix-list-ingredients {
  padding-top: 12px;
  border-top: 1px solid #e3e3e3;
  margin-top: 10px;
}

.ingredients-grids {
  display: flex;
  gap: 9px;
  align-items: center;
}

.barsys-products-list {
  background: #fafafa;
  border-radius: 12px;
  margin-bottom: 0px !important;
}

.product-info {
  padding: 0px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.barsys-products-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.media.media--adapt.relative {
  height: 100%;
}

.media.media--adapt.relative img {
  height: 100%;
  object-fit: cover;
  /* aspect-ratio: 1 / 1; */
}

.add-image-radius img {
  border-radius: 12px 12px 0px 0px !important;
  /* width: 100% !important; */
  height: 100% !important;
}

/* // */
.barsys-product-inner {
  display: flex;
  flex-direction: column;
}

.top-nav-liks p {
  font-size: 24px;
  font-weight: 600;
  color: #959595;
  transition: color 0.3s ease;
  cursor: pointer;
}

.add-padding-top {
  padding-top: 5px;
}

.top-nav-liks p:hover {
  color: #151515;
}

.ingredients-grids img {
  border: 1px solid #e3e3e3;
  border-radius: 5px;
  height: 32px;
  width: 32px;
}

.name dl {
  text-align: start;
}

.active-shop-link {
  color: #000 !important;
}

/* .all-products-image-hight img {
  height: 370px !important;
} */

.product-info > a {
  margin-top: 12px;
}

.barsys-products-item > a {
  height: 100%;
}

.new-mera-item-nav .mega-menu__nav.grid {
  justify-content: normal !important;
}

/* .media-card__content {
  color: #fff !important;
} */

/* .media-card__text span {
  color: #fff;
} */

p.no-results {
  word-break: break-all;
}

@media (max-width: 1600px) {
  .mix-list-product-name h2 {
    font-size: 16px;
  }

  .top-nav-liks a {
    font-size: 20px;
  }

  .top-nav-liks {
    gap: 8px;
  }
}

@media (max-width: 1400px) {
  .top-nav-liks p {
    font-size: 20px;
  }

  .view-footer-text {
    margin-top: 10px;
  }

  .mega-menu__footer.view-footer-text a span {
    font-size: 20px;
  }
}

/* @media (max-width: 1700px) {
  .ingredients-grids {
    flex-wrap: nowrap;
    overflow-x: scroll;
    scrollbar-width: thin;
  }
} */

.ingredients-grids-scroll-bar {
  flex-wrap: nowrap;
  overflow-x: scroll;
  scrollbar-width: thin;
  overflow-x: overlay;
}

.ingredients-grids-scroll-bar a {
  flex: 0 0 auto;
}

@media (max-width: 1500px) {
  .new-nav-grid {
    column-gap: 15px;
  }

  /* .all-products-image-hight img {
    height: 350px !important;
  } */
}

@media (min-width: 2000px) {
  /* .new-nav-grid {
    row-gap: clamp(var(--sp-5), 2.315vw, var(--sp-11)) !important;
  } */
  .all-ingredients-text {
    padding-bottom: 60px !important;
  }
}

@media (min-width: 1900px) {
  .add-image-radius img {
    width: 100% !important;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
  .new-mega-menu {
    max-width: calc(20% - var(--header-nav-gap) * 4 / 5);
    aspect-ratio: 1/1.27;
  }

  .bundles-menu {
    max-width: calc(20% - var(--header-nav-gap) * 4 / 5);
    aspect-ratio: 1/1.6;
  }
}

/* end */

/* end */

@media (min-width: 1280px) {
  .recipe-slider .recipeProductWrap .product__gallery {
    grid-template-columns: 0.94fr 0.55fr;
  }
}

@media screen and (min-width: 1536px) {
  :root {
    --topbar-height: var(--sp-14);
  }
}

.topbar-section + .header-section .header:before {
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.topbar-section + .header-section .mega-menu {
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.topbar-section + .header-section .mega-menu__container {
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

#shopify-section-sections--15951466070097__header {
  --section-padding-top: 16px;
  --section-padding-bottom: 16px;
  /* --color-background: 255 255 255;
    --color-foreground: 23 23 23;
    --color-transparent: 255 255 255; */
}

.dark
  .header-section:not(.header-transparent, .header-sticky)
  .header__logo-link
  > img {
  filter: invert(100) brightness(100) contrast(100) saturate(100);
}

.dark .header-section.header-sticky .header__logo-link > img {
  filter: invert(100) brightness(100) contrast(100) saturate(100);
}

html:not(.dark) .header-transparent:not(.header-scrolled) .header {
  --color-transparent: 255, 255, 255;
}

/* 
.containersds {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: red;
  inset: 0;
} */
/* 
.leaf {
  position: absolute;
  top: -10%;
 Start outside the visible area
  left: 50%;
  transform: translateX(-50%);
  animation:
    fall 5s linear infinite,
    wave 5s ease-in-out infinite;
}

@keyframes fall {
  0% {
    transform: translate(-50%, -100%);
  }

  100% {
    transform: translate(-50%, 100%);
  }
}

@keyframes wave {

  0%,
  100% {
    transform: translateX(-50%) rotate(0deg);
  }

  50% {
    transform: translateX(-45%) rotate(15deg);
  }
} */

.mega-menu li .heading.reversed-link {
  position: relative;
}

.heading.reversed-link .coming-txt {
  position: absolute;
  bottom: calc(100% + 2px);
  width: 100%;
  text-align: end;
  font-size: 62%;
  font-weight: 600;
}

@media (min-width: 1280px) {
  .recipe-slider .recipeProductWrap .product__gallery {
    grid-template-columns: 0.94fr 0.55fr;
  }
}

@media (max-width: 1280px) {
  .search-sec .inner-container {
    padding: var(--page-padding);
  }
}

@media (max-width: 1023px) {
  .topbar .localization {
    display: none;
  }
}

@media (max-width: 767px) {
  .location-dropdown .dropdown-button {
    font-size: 0;
  }

  .dropdown-adress {
    max-width: 300px;
    width: 300px;
    right: -88px;
    padding: 36px 20px 20px;
  }

  .dropdown-adress h4 {
    line-height: 1.3;
    font-size: 14px;
    justify-content: space-between;
  }

  .dropdown-adress-close {
    position: absolute;
    right: 10px;
    top: 10px;
    display: block;
  }

  .dropdown-adress-close .drawer__close {
    height: 20px !important;
    width: 20px !important;
    position: unset !important;
  }

  .dropdown-adress .dropdown-title {
    margin-bottom: 16px;
  }

  .dropdown-adress input {
    font-size: 14px;
  }

  .search-result-item:not(:last-child),
  .category_List li:not(:last-child) {
    margin-bottom: 6px;
  }

  .search-result-item,
  .category_List li {
    line-height: 1.1;
    font-size: 17px;
  }

  .search-bar {
    width: 100%;
  }

  .dropdown-adress-close .drawer__close {
    height: 20px !important;
    width: 20px !important;
    position: unset !important;
  }
}

@media (max-width: 639px) {
  html.js .drawer__close {
    height: 40px;
    width: 40px;
    -webkit-margin-start: auto;
    margin-inline-start: auto;
    clip: unset;
    right: 11px;
    top: 22px;
  }
}

@media (max-width: 374px) {
  .search-bar input {
    flex: 1;
    width: 100%;
  }
}
