/* Professional product catalog */
.local-cart-holder {
  align-items: center;
  display: flex;
  justify-content: center;
  width: auto !important;
}

.local-cart-link {
  align-items: center;
  color: #171717;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  position: relative;
  text-decoration: none;
  width: 40px;
}

.local-cart-link svg {
  height: 24px;
  width: 24px;
}

.local-cart-link span {
  align-items: center;
  background: #9f8154;
  border-radius: 20px;
  color: #fff;
  display: flex;
  font-size: .68rem;
  font-weight: 800;
  height: 18px;
  justify-content: center;
  min-width: 18px;
  position: absolute;
  right: -2px;
  top: 0;
}

.local-products-section {
  color: #1f1f20;
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  padding-bottom: 4rem;
  padding-top: 2.75rem;
}

.local-products-head {
  align-items: flex-end;
  border-bottom: 1px solid #e8e3dc;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
}

.local-products-head h2 {
  color: #161616;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.local-products-head-secondary {
  border-top: 0;
  margin-top: 3rem;
  padding-top: 0;
}

.local-admin-link {
  color: #6f5b3e;
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

.local-products-tools {
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(0, 1fr) 220px;
  margin-bottom: 1.75rem;
}

.local-products-search,
.local-products-filter {
  background: #fff;
  border: 1px solid #ddd7cf;
  color: #252525;
  font-size: .875rem;
  min-height: 44px;
  padding: 0 .95rem;
}

.local-products-search:focus,
.local-products-filter:focus {
  border-color: #9f8154;
  box-shadow: 0 0 0 3px rgba(159, 129, 84, .14);
  outline: 0;
}

.local-products-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.local-product-card {
  background: #fff;
  border: 1px solid #ebe6df;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(25, 25, 25, .06);
  min-height: 100%;
  overflow: hidden;
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.local-product-card:hover {
  border-color: #d8c8ae;
  box-shadow: 0 16px 36px rgba(25, 25, 25, .12);
  transform: translateY(-3px);
}

.local-product-link {
  color: inherit;
  text-decoration: none;
}

.local-product-media {
  align-items: center;
  background: linear-gradient(180deg, #faf8f5 0%, #fff 100%);
  display: flex;
  justify-content: center;
  min-height: 260px;
  padding: 1.25rem;
  position: relative;
}

.local-product-badge {
  background: #151515;
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  left: .9rem;
  padding: .38rem .55rem;
  position: absolute;
  top: .9rem;
}

.local-product-card .vtex-product-summary-2-x-image {
  aspect-ratio: 1;
  max-height: 220px;
  object-fit: contain;
  transition: transform .25s ease;
  width: 100%;
}

.local-product-card:hover .vtex-product-summary-2-x-image {
  transform: scale(1.035);
}

.local-product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.1rem 1.1rem .9rem;
}

.local-product-brand-wrap {
  margin-bottom: .35rem;
}

.local-product-brand {
  color: #8a734f;
  display: block;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.local-product-name {
  color: #171717;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.32;
  margin: 0;
  min-height: 2.65em;
}

.local-product-description {
  color: #6b6b6b;
  font-size: .8125rem;
  line-height: 1.45;
  margin: .55rem 0 .75rem;
  min-height: 2.35em;
}

.local-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .85rem;
}

.local-product-meta span {
  background: #f7f3ee;
  color: #5c5145;
  font-size: .72rem;
  font-weight: 600;
  padding: .32rem .5rem;
}

.local-product-price-row {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: auto;
}

.local-product-list-price {
  color: #9a9a9a;
  font-size: .82rem;
  text-decoration: line-through;
}

.local-product-price {
  color: #151515;
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.local-add-cart {
  align-items: center;
  background: #151515;
  border: 1px solid #151515;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  font-size: .8125rem;
  font-weight: 700;
  justify-content: center;
  margin: 0 1.1rem 1.1rem;
  min-height: 42px;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.local-add-cart:hover {
  background: #9f8154;
  border-color: #9f8154;
}

.local-add-cart:disabled {
  background: #efefef;
  border-color: #efefef;
  color: #8d8d8d;
  cursor: not-allowed;
}

.local-add-cart .vtex-button__label {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 0 1rem;
}

@media (max-width: 1024px) {
  .local-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .local-products-tools {
    grid-template-columns: 1fr;
  }

  .local-products-grid {
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-product-media {
    min-height: 205px;
    padding: .9rem;
  }

  .local-product-info {
    padding: .9rem;
  }

  .local-product-name {
    font-size: .92rem;
  }
}

@media (max-width: 460px) {
  .local-products-grid {
    grid-template-columns: 1fr;
  }
}
