/* top right product details */

.woocommerce-product-details {
  background: white;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3);
  z-index: 5;
  position: relative;
  color: var(--uni-teal);
  border-radius: 8px;
}

.product-attributes,
.product-categories {
  padding: 0 1.5rem 1rem;
  font-size: 1rem;
}

.product-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  height: 240px;
  border-radius: 8px 8px 0 0;
}

.product-att-row {
  border-bottom: 1px solid var(--uni-teal);
  display: flex;
  padding: 1rem 0;
  gap: 1rem;
}

.product-att-row > div {
  flex-basis: 50%;
}

.product-att-name,
.product-att-value {
  display: flex;
  align-items: center;
}

.product-att-bullet,
.product-cat-bullet {
  max-width: 10px;
  width: 100%;
  height: 10px;
  display: inline-block;
  background: var(--uni-teal);
  border-radius: 30px;
  padding: 0;
  margin: 0 10px 0 0;
}

.product-cat-bullet {
  margin: 5px 6px 0 0;
}

.list-item-holder {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.product-cat {
  flex: 1 1 auto;
  padding: 8px 12px;
  border-radius: var(--uni-radius);
  background: var(--uni-teal);
  text-align: center;
  text-decoration: none;
  color: white;
  transition: var(--uni-transition);
}

.product-cat:hover {
  background: var(--uni-blue);
}

.logo-badge-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.logo-badge-wrapper p {
  color: var(--uni-blue-dark);
  margin: 0;
}

.logo-badge-wrapper p:first-child {
  font-size: 18px;
  margin-bottom: 15px;
}

.logo-badge-wrapper img {
  margin: 0;
  height: 100px;
  filter: invert(1);
}

.product-image-wrapper {
  position: relative;
}

.custom-product-details {
  position: absolute;
  z-index: 1;
}

/* before description */

.custom-cats-wrapper ul {
  display: flex;
  gap: 3em;
  padding: 0;
}

.uni-single-product-more-button {
  border-radius: var(--uni-radius);
  color: var(--uni-blue);
  padding: 0.825rem 1.5rem;
  margin-top: 1rem;
  display: block;
  width: max-content;
  background-color: white;
  text-decoration: none;
}

/* single product add to cart section */

form .quantity {
  display: none;
}

form.cart {
  width: 100%;
}

.add-to-cart-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

/*
  ===
  media queries
  ===
*/

@media screen and (max-width: 767px) {
  .custom-product-details {
    position: static;
  }
}
