.view-toggle-label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding-left: 32px;
  position: relative;
  
  &::before {
    content: '';
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border:1px solid var(--color-foreground,#000);
  }

  &:hover {
    color: var(--color-accent-foreground, #FF2CC3);
  }
}
  
input[type="radio"]:checked+.view-toggle-label {
  color: var(--color-accent-foreground, #FF2CC3);

  /* customise radio button */
  &::before {
    border-color: var(--color-accent-foreground, #FF2CC3);
    border-width: 5.5px;
  }
}


input[type="radio"][name="view-style"] {
  /* Visually hide the input but keep it accessible for screen readers and keyboard navigation */
  opacity: 0;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: -1px;
  padding: 0;
  border: 0;
}

.view-toggle-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

body.woocommerce.list-view ul.products {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  li.product {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;

    /* price */
    .price {
      font-size: .75rem;
      margin-bottom: 0;
    }

    .product-short-description {
      font-size: .75rem;
    }
  }
}

/* Loading indicator */
body.woocommerce ul.products.loading {
  opacity: 0.25;
  pointer-events: none;
  filter: blur(10px);
}
  
  
/*===============================================
// theme specific styles
===============================================*/

/* Grid View */
body.grid-view { 
} 
  
/* List View */
body.list-view {
  .post-thumbnail{
    width: 180px;
    height: auto;
  }
  .blog-post-title{
    h6{
      font-size: 1.25rem;
    }
  }
}