/* =========================================
   BUSH BAGS - LATEST PRODUCTS
========================================= */

.bb-latest-products {
  padding: var(--bb-padding);
  background: #fff;
}

.bb-latest-products-heading {
  text-align: center;
  width: var(--bb-container);
  margin: 0 auto 30px;
}

.bb-latest-products-heading h2 {
  margin: 0 0 8px;
  color: #626149;

  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  text-transform: uppercase;
}

.bb-latest-products-heading p {
  margin: 0;
  color: #626149;
}

/* GRID */

.bb-latest-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 auto;
  width: var(--bb-container);
}

/* PRODUCT CARD */

.bb-product-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 290px;
  flex-direction: column;
  padding: 12px 10px 0;
  overflow: hidden;
  border-radius: 6px;
  background: #e8e8e8;
}

.bb-product-title {
  position: relative;
  z-index: 1;
  margin: 0 0 4px;

  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 400;
  padding: 10px 20px;
  line-height: 1.2;
}

.bb-product-title a {
  color: #111;
  text-decoration: none;
}

.bb-product-description {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #111;
  line-height: 1.3;
  padding: 10px 20px;
}

/* PRODUCT IMAGE */

.bb-product-image {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  margin: 0 -2px;
  overflow: hidden;
}

.bb-product-img {
  display: block;
  width: 100%;
  height: 275px;
  object-fit: contain;
  padding: 10px 20px;
}

/* ACTIONS */

.bb-product-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: -5px;
}

.bb-product-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0px 20px;
}

.bb-product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.bb-product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 62%;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 6px;
  background: #a84d24;
  color: #fff;
  border: solid 8px #fff;

  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.bb-product-button:hover {
  background: #843b1c;
  color: #fff;
}

/* TABLET */

@media (max-width: 900px) {
  .bb-latest-products-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
  }

  .bb-product-card {
    min-height: 310px;
  }

  .bb-product-title {
    font-size: 21px;
  }

  .bb-product-img {
    height: 190px;
  }
}

/* MOBILE */

@media (max-width: 500px) {
  .bb-latest-products {
    padding: 32px 14px 40px;
  }

  .bb-latest-products-grid {
    gap: 12px;
  }

  .bb-product-card {
    min-height: 300px;
    padding: 9px 7px 0px;
  }

  .bb-product-title {
    font-size: 17px;
  }

  .bb-product-img {
    height: 145px;
  }

  .bb-product-icon {
    width: 24px;
    height: 24px;
  }

  .bb-product-button {
    max-width: 70%;
    padding: 6px 7px;
 
  }
}

/* Shopping bag quick-add icon */
.bb-product-quick-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  color: #050505;
  text-decoration: none;
  box-sizing: border-box;
}

.bb-product-quick-add .bb-bag-icon {
  position: relative;
  display: block;
  width: 15px;
  height: 14px;
  margin-top: 4px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  box-sizing: border-box;
}

.bb-product-quick-add .bb-bag-handle {
  position: absolute;
  width: 7px;
  height: 5px;
  left: 2.5px;
  top: -6px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  box-sizing: border-box;
}

.bb-product-quick-add .bb-bag-plus {
  position: absolute;
  right: -7px;
  bottom: -5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  color: #050505;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.bb-product-quick-add:hover {
  background: #b84f26;
  color: #fff;
}

.bb-product-quick-add:hover .bb-bag-plus {
  background: #b84f26;
  color: #fff;
}