/* ==========================================================================
   Ghee By Amma - Custom Styles
   Loaded after styles.css (see header.php)
   ========================================================================== */

/* ---------------------------------------------------------------
   Topbar - dark green, neat & rich
--------------------------------------------------------------- */
.tf-topbar {
  padding-top: 10px;
  padding-bottom: 10px;
  background: #2e4301;
}

.tf-topbar,
.tf-topbar a,
.tf-topbar .tf-list .link,
.tf-topbar .tf-languages > .dropdown-toggle,
.tf-topbar .tf-currencies > .dropdown-toggle,
.tf-topbar .topbar-center {
  color: #ffffff !important;
  opacity: 1;
}

.tf-topbar .topbar-center {
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.08em;
  opacity: 0.92;
}

.tf-topbar .swiper-topbar {
  height: 22px;
}

.tf-topbar .tf-languages,
.tf-topbar .tf-currencies {
  font-size: 12px;
}

.tf-topbar .tf-languages > .dropdown-toggle,
.tf-topbar .tf-currencies > .dropdown-toggle {
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0.9;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.tf-topbar .tf-languages > .dropdown-toggle:hover,
.tf-topbar .tf-currencies > .dropdown-toggle:hover {
  opacity: 1;
}

.tf-topbar .tf-list .link {
  display: inline-flex;
  opacity: 0.85;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.tf-topbar .tf-list .link:hover {
  opacity: 1;
}

@media (max-width: 991px) {
  .tf-topbar .topbar-center {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
}

/* ---------------------------------------------------------------
   Header - logo & refinement
---------------------------------------------------------------- */
.logo-header img {
  max-height: 64px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 1199px) {
  .logo-header img {
    max-height: 48px;
  }
}

.header-v2 {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-v2.header-sticky {
  background: transparent;
  box-shadow: none !important;
}

/* Header fonts - black */
.header-v2 .box-navigation.style-white .item-link,
.header-v2 .box-navigation.style-white .item-link .icon {
  color: #101010;
}

.header-v2 .box-navigation.style-white .item-link::before {
  background: #101010;
}

.header-v2 .nav-icon-item,
.header-v2 .box-btn-open-menu a {
  color: #101010 !important;
}

.header-v2 .nav-icon-item.is-text.text-white::before {
  background: #101010;
}

/* Add to cart hover - green instead of black */
.tf-btn.hv-black:hover {
  background: #2e4301;
  color: #ffffff;
}

/* Remove dark overlay / blur when hovering the menu */
.menu-overlay-enabled {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Menu sits left, right after the logo (no centering) */
.header-v2 .header-inner_wrap .header-left {
  padding-right: 40px;
}

.header-v2 .header-inner_wrap .header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0;
  padding-right: 32px;
}

.flat-spacing.space {
  padding-top: 10px;
  padding-bottom: 60px;
}

/* Menu links - richer, slightly heavier and spaced */
.header-v2 .box-navigation.style-white .item-link {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #101010;
}

.header-v2 .box-navigation.style-white .item-link .icon {
  color: #101010;
  font-size: 13px;
}

/* Cart - white icon inside a rich green circle */
.header-v2 .nav-icon-item.cart-circle {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2e4301;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-box-shadow: 0 6px 18px rgba(46, 67, 1, 0.28);
  -moz-box-shadow: 0 6px 18px rgba(46, 67, 1, 0.28);
  -o-box-shadow: 0 6px 18px rgba(46, 67, 1, 0.28);
  box-shadow: 0 6px 18px rgba(46, 67, 1, 0.28);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.header-v2 .nav-icon-item.cart-circle:hover {
  background: #243900;
  transform: translateY(-2px);
}

.header-v2 .nav-icon-item.cart-circle .icon {
  font-size: 20px;
  line-height: 1;
}

.header-v2 .nav-icon-item.cart-circle .number-order {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #c8dc7e;
  color: #101010;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
  border: 2px solid #ffffff;
}

/* Footer & mobile-menu logo sizing */
.footer-v2 .logo-site {
  max-width: none;
  width: 100%;
}

.footer-v2 .logo-site img {
  height: auto;
  width: auto;
  max-height: 110px;
  object-fit: contain;
}

.canvas-mb .logo-site img {
  height: auto;
  width: auto;
  max-height: 30px;
  object-fit: contain;
}

/* ---------------------------------------------------------------
   Hero Carousel Banner
---------------------------------------------------------------- */
.tf-hero-carousel {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.tf-hero-slider {
  position: relative;
  width: 100%;
}

.tf-hero-slider .swiper-slide {
  position: relative;
  height: auto;
}

.hero-slide-image {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #141414;
  line-height: 0;
}

.hero-slide-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Hero navigation */
.hero-carousel-nav {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 5;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.hero-nav-prev {
  left: 28px;
}

.hero-nav-next {
  right: 28px;
}

.hero-carousel-nav:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #111111;
}

.hero-carousel-nav.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Hero pagination */
.hero-pagination {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: 26px;
  z-index: 5;
  gap: 8px;
}

@media (max-width: 575px) {
  .hero-carousel-nav {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }

  .hero-nav-prev {
    left: 12px;
  }

  .hero-nav-next {
    right: 12px;
  }

  .hero-pagination {
    bottom: 18px;
  }
}

/* ---------------------------------------------------------------
   Collection - reduce height of ghee & oil images only
---------------------------------------------------------------- */
.collection-v06 .cls-image.ghee-oil-short {
  aspect-ratio: 700 / 720;
  overflow: hidden;
}

.collection-v06 .cls-image.ghee-oil-short img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flat-spacing {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* ---------------------------------------------------------------
   Footer - larger logo, neat & rich
--------------------------------------------------------------- */
.tf-footer.footer-v2 {
  background: #ebebeb57;
}

.tf-footer.footer-v2 .footer-inner_wrap {
  padding-top: 52px;
  padding-bottom: 10px;
}

/* Footer - 4 equal columns */
.footer-v2 .footer-inner_wrap .footer-cols-4 {
  width: 100%;
}

.footer-v2 .footer-inner_wrap .footer-cols-4 > .footer-col-block {
  padding: 0 28px 0 0;
}

.footer-v2 .footer-inner_wrap .footer-cols-4 .ft-desc {
  max-width: 300px;
}

@media (max-width: 991px) {
  .footer-v2 .footer-inner_wrap .footer-cols-4 > .footer-col-block {
    margin-bottom: 20px;
  }
}

/* Footer credit line */
.footer-v2 .footer-credit {
  font-size: 13px;
  letter-spacing: 0.04em;
}

@media (max-width: 767px) {
  .footer-v2 .footer-bottom_wrap .footer-credit {
    width: 100%;
    text-align: center;
  }
}

.tf-footer.footer-v2 .footer-heading {
  color: #101010 !important;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.tf-footer.footer-v2 .ft-desc {
  max-width: 380px;
  color: #6c6c6c !important;
  line-height: 1.75;
}

.tf-footer.footer-v2 .footer-menu-list a,
.tf-footer.footer-v2 .ft-text-nocopy {
  color: #4a4a4a !important;
}

.tf-footer.footer-v2 .footer-menu-list a {
  display: inline-block;
  line-height: 1.3;
  -webkit-transition:
    color 0.3s ease,
    padding-left 0.3s ease;
  -moz-transition:
    color 0.3s ease,
    padding-left 0.3s ease;
  -o-transition:
    color 0.3s ease,
    padding-left 0.3s ease;
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}

.tf-footer.footer-v2 .footer-menu-list a:hover {
  color: #708238 !important;
  padding-left: 4px;
}

.tf-footer.footer-v2 .tf-list .link {
  color: #101010;
  opacity: 0.85;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.tf-footer.footer-v2 .tf-list .link:hover {
  color: #708238 !important;
  opacity: 1;
}

/* ---------------------------------------------------------------
   Instagram Gallery - smaller images, 4 per view on desktop
--------------------------------------------------------------- */
@media (min-width: 1440px) {
  .infiniteSlide-gallery .infiniteSlide-item {
    max-width: 320px;
  }
}

@media (max-width: 1439px) {
  .infiniteSlide-gallery .infiniteSlide-item {
    width: 25%;
  }
}

@media (max-width: 1199px) {
  .infiniteSlide-gallery .infiniteSlide-item {
    width: 33.3333333333%;
  }
}

/* ---------------------------------------------------------------
   Topbar - Join Membership link (underlined)
--------------------------------------------------------------- */
.topbar-join-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 2px;
  line-height: 1.4;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.topbar-join-link:hover {
  border-bottom-color: #ffffff;
  color: #ffffff !important;
}

/* ---------------------------------------------------------------
   Product prices - premium rich look
   (strong green real price + struck-through MRP)
--------------------------------------------------------------- */
.card-product .price-wrap .price-new {
  color: #2e4301 !important;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-product .price-wrap .price-old {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
}

/* ---------------------------------------------------------------
   Sticky header - brand green, premium while scrolling
--------------------------------------------------------------- */
.header-v2.header-sticky {
  background: #2e4301;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(46, 67, 1, 0.35);
}

.header-v2.header-sticky .box-navigation.style-white .item-link,
.header-v2.header-sticky .box-navigation.style-white .item-link .icon {
  color: #ffffff;
}

.header-v2.header-sticky .box-navigation.style-white .item-link::before {
  background: #ffffff;
}

.header-v2.header-sticky .nav-icon-item,
.header-v2.header-sticky .box-btn-open-menu a {
  color: #ffffff !important;
}

.header-v2.header-sticky .nav-icon-item.cart-circle,
.header-v2.header-sticky .nav-icon-item.cart-circle:hover {
  background: #ffffff;
  color: #2e4301 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.header-v2.header-sticky .nav-icon-item.cart-circle .number-order {
  border-color: #2e4301;
}

/* ---------------------------------------------------------------
   Mobile (<=767px) refinements
--------------------------------------------------------------- */
@media (max-width: 767px) {
  .tf-btn {
    height: 30px;
    font-size: 13px;
  }

  .list-tab-btn-2 .tf-btn-tab {
    padding-left: 12px;
    padding-right: 12px;
    height: 37px;
    font-size: 12px;
  }

  .cl-text-5 {
    font-size: 15px;
  }

  /* Taller product images on mobile (Best Seller & Top Selling products) */
  .card-product_wrapper,
  .card-product_wrapper.size-38d45,
  .card-product_wrapper.size-428d516,
  .card-product_wrapper.size-392d474 {
    aspect-ratio: 0.68;
  }
}

/* Small phones (<=575px) */
@media (max-width: 575px) {
  .product-action_list .icon {
    font-size: 13px;
  }

  .text-body-s {
    font-size: 10px;
    line-height: 20px;
  }

  .product-action_list .box-icon {
    width: 25px;
    height: 25px;
  }
}
