.wccm--main-category-list {
  box-sizing: content-box;
  position: relative;
  pointer-events: none;
  row-gap: 24px;
  column-gap: 24px;
  display: grid;
  grid-template-columns: 100%;
  justify-content: center;
  grid-auto-rows: auto;
  list-style: none;
  margin: 0 2%;
  padding: 0;
}

.wccm-product-list {
  column-gap: 10px;
  row-gap: 10px;
  height: auto;
  width: 100%;
  box-sizing: content-box;
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  position: relative;
  pointer-events: auto;
}

.wccm-main-category {
  font-size: 65px;
  font-weight: 600;
}

.wccm-product-card {
  display: grid;
  grid-template-columns: 1fr max-content;
  place-content: center;
  background: #c9ead9;
  padding: 3%;
  cursor: pointer;
  transition: box-shadow .2s ease, transform .1s ease;
  width: 95%;
  position: relative;
}

.wccm-product-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.wccm-product-info {
  display: grid;
}

.wccm-product-title {
  margin-top: 0;
  font-size: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wccm-product-description {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wccm-product-price {
  margin-top: 10px;
  font-weight: 900;
  font-size: 22px;
}

.wccm-product-image img {
  width: 130px !important;
  height: 130px !important;
  object-fit: contain;
  border-radius: 10px;
}

p.single-product-title {
      font-size: 16px;
    font-weight: 600;
    color: grey;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #333333;
  display: flex;
}

ul li a {
  display: block;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
}

ul li a:hover {
  background-color: #111111;
}


.wccm-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.wccm-modal-content {
  background: white;
  width: 80%;
  max-width: 800px;
  padding: 20px;
  border-radius: 10px;
  max-height: 90vh;
  overflow-y: auto;
}

.wccm-close {
  float: right;
  font-size: 30px;
  cursor: pointer;
}

body.wccm-modal-open {
  overflow: hidden;
}

.wccm-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  /* overlay */
  /* matches ref */
  /*  */
  z-index: 999999;
  padding: 32px 16px;
  align-items: center;
  justify-content: center;
}

.wccm-modal[aria-hidden="false"] {
  display: flex;
}

.wccm-modal-content {
  background: #FFF6EF;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
  width: min(980px, 96vw);
  max-height: 90vh;
  overflow: auto;
  padding: 24px 24px 32px;
}

/* Modal header / close */
.wccm-modal-header {
  display: flex;
  justify-content: flex-end;
}

.wccm-modal-close {
  appearance: none;
  background: #fff;
  border: 1px solid #E6E1DC;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  line-height: 30px;
  text-align: center;
  font-size: 24px;
  cursor: pointer;
}

.wccm-modal-product {
  position: relative;
}

.wccm-product-hero-card {
  display: grid;
  grid-template-columns: 1fr 240px;
  /* text | image */
  gap: 24px;
  background: #c9ead9;
  border: 1px solid #b5d8c7;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.wccm-hero-title {
  font-size: 24px;
  /* ref heading range */
  /*  */
  line-height: 1.3;
  margin: 0 0 8px;
}

.wccm-hero-desc {
  margin: 0 0 14px;
}

.wccm-hero-price {
  font-size: 18px;
  font-weight: 700;
}

.wccm-hero-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.wccm-hero-image {
  width: 220px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* Purchase area (Woo add-to-cart form) */
.wccm-modal-purchase {
  background: #fff;
  border: 1px solid #E6E1DC;
  border-radius: 6px;
  padding: 16px;
}

/* Details section */
.wccm-modal-details {
  margin-top: 16px;
}

.wccm-modal-details h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .wccm-product-hero-card {
    grid-template-columns: 1fr;
  }

  .wccm-hero-right {
    justify-content: flex-start;
  }

  .wccm-hero-image {
    width: 100%;
    max-width: 360px;
  }
}

.styled-hr {
  border: none;
  height: 2px;
  background-color: #4c4c4c;
  width: 80%;
}

@keyframes progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

#progress {
  animation: progress linear forwards;
  animation-timeline: scroll();
}

p.wccm-product-category-description {
    font-size: 16px;
    font-weight: 600;
    color: grey;
}

.nav-controls {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: auto;
}