/* tabbar.css — split from the storefront stylesheet, same rules and order */
/* Flipkart-style mobile tab bar */
.nm-tabbar {
  display: none;
}

@media (max-width: 991.98px) {
  .nm-tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 6px 2px calc(6px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #ececec;
    box-shadow: 0 -2px 14px rgba(17, 17, 17, .06);
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  #footer-bottom {
    margin-bottom: 4px;
  }
}

.nm-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: #6b6b6b;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.nm-tab svg {
  width: 22px;
  height: 22px;
}

.nm-tab.is-active {
  color: #6BB252;
}

.nm-tab:hover,
.nm-tab:focus {
  color: #6BB252;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

#categories {
  padding-top: 1.25rem !important;
  padding-bottom: 1rem !important;
}

#categories .section-header {
  margin-bottom: 1rem !important;
}

.product-item {
  margin-bottom: 0;
  padding: 10px 10px 12px;
}

.product-item figure,
.product-item.nm-shelf-product figure {
  height: 108px;
  aspect-ratio: auto;
  margin-bottom: 6px;
}

.product-item h3,
.nm-shelf-product h3 {
  min-height: 2.4em;
  margin-bottom: 2px;
  font-size: .88rem !important;
  line-height: 1.3;
}

.product-item .button-area,
.nm-shelf-product .button-area {
  position: static;
  width: auto;
  margin: 8px 0 0;
  padding: 0 !important;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.product-item .button-area .row {
  --bs-gutter-x: 0;
  margin: 0;
}

.product-item .button-area .col-3,
.product-item .button-area .col-2,
.nm-shelf-product .button-area .col-3,
.nm-shelf-product .button-area .col-2 {
  display: none;
}

.product-item .button-area .col-7,
.nm-shelf-product .button-area .col-7 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0;
}

.product-item .btn-cart,
.nm-shelf-product .btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 6px;
  margin: 0;
  padding: 7px 8px !important;
  font-size: .78rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.product-item .btn-cart svg,
.nm-shelf-product .btn-cart svg {
  flex: 0 0 auto;
}

@media (min-width: 992px) {
  .product-item figure,
  .product-item.nm-shelf-product figure {
    height: 136px;
  }

  .product-item figure a {
    inset: 4px;
  }

  .nm-products-grid,
  .nm-products-five .nm-products-grid,
  .nm-products-four .nm-products-grid,
  .nm-products-three .nm-products-grid,
  .nm-products-two .nm-products-grid,
  .nm-products-rail .nm-products-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .product-grid > .col {
    flex: 0 0 auto;
    width: 16.6667%;
  }
}

@media (min-width: 1200px) {
  .nm-products-grid,
  .nm-products-five .nm-products-grid,
  .nm-products-four .nm-products-grid,
  .nm-products-three .nm-products-grid,
  .nm-products-two .nm-products-grid,
  .nm-products-rail .nm-products-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }

  .product-grid > .col {
    width: 16.6667%;
  }

  .category-carousel img.rounded-circle {
    width: 104px;
    height: 104px;
  }
}

