/* SHOP INDEX START */

.five-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.list-view{
  display: list-item;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  list-style: none;
}
.three-gridbtn {
  height: 15px;
  width: 30px;
  background-image: linear-gradient(90deg, gray 7px, #c4c4c4 0, #fff 0, #fff 0);
  background-size: 10px 10px;
  cursor: pointer;
}
.five-gridbtn {
  height: 15px;
  width: 50px;
  background-image: linear-gradient(90deg, #c4c4c4 7px, #c4c4c4 0, #fff 0, #fff 0);
  background-size: 10px 10px;
  cursor: pointer;
}
.threegridbtn {
  border: 1px solid lightgrey;
  background-color: #fff;
  padding: 5px;
  max-width: 40px;
}
.fivegridbtn {
  border: 1px solid lightgrey;
  background-color: #fff;
  padding: 5px;
  max-width: 60px;
}
.product-top-panel {
  display: flex;
  flex-wrap: wrap;
  color: #151515;
  border-top: 1px solid #e5e3e3;
  border-bottom: 1px solid #e5e3e3;
  background-color: #f9f9f9;
  padding-left: 20px;
}
.gridbtn-enable {
  background-image: linear-gradient(90deg, gray 7px, gray 0, #fff 0, #fff 0);
}
.gridbtn-disable {
  background-image: linear-gradient(90deg, lightgray 7px, lightgray 0, #fff 0, #fff 0);
}
.gridborder-enable {
  border: 1px solid gray;
}
.gridborder-disable {
  border: 1px solid lightgray;
}
.pagination {
  margin: 25px 0px 50px 0px;
  gap: 10px;
  font-size: medium;
}
@media screen and (min-width: 100px) and (max-width: 900px) {
  .grid-changer {
    display: none !important;
  }
}
#add-to-card{
  color: black !important;
}
#add-to-card:hover{
  color: white !important;
}
.list-shop-filter{
  max-height: 350px;
  overflow-y: auto;
}
/* SHOP INDEX END */

/* WHISHLIST START */
.no-product-found-container {
  margin-left: 400px;
  margin-bottom: 0px;
}

#delete-button {
    font-weight: bold;
    border: none !important;
    cursor: pointer;
    font-size: 14px !important;
    margin-bottom: 10px;
    background-color: red;
    float: right;
    margin-top: 20px;
}

#delete-button:hover{
    background-color:rgb(240, 153, 167);
}

#delete-all{
    height: 50px;
    margin-bottom: 20px;
}

#full-section{
    padding-top: 20px;
}

#cancel-icon {
    z-index: auto !important; 
}

/* WHISHLIST END */

.brand-filter-list {
  max-height: 320px;
  overflow-y: auto; 
  text-transform: uppercase;
}

.brand-list {
  list-style: none;
  padding: 0;
}

.brand-list li {
  margin-bottom: 5px;
}
.list-shop-filter{
  text-transform: uppercase;
}
.inactive-link {
  pointer-events: none; 
  cursor: default; 
  opacity: 0.5; 
  text-decoration: none;
}

/*listview */
.listview {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  padding: 1px;
  /* border-radius: 5px; */
  cursor: pointer;
  border: 1px solid lightgrey;
  transition: background-color 0.3s;
}
.icon-list {
  width: 27px;
  height: 23px;
  color: lightgray;
  padding-left:0px;
}
/* .icon-list:hover::before {
  background-color: #c4c4c4; 
} */

/* .listview:hover {
  background-color: #e0e0e0;
} */

.listview:hover .view-name {
  color: #007bff;
}
.icon-list-enable {
  width: 27px;
  height: 23px;
  color: gray;
  padding-left:0px;
}
.listviewborder-enable {
  border: 1px solid gray;
}
.listview-border-enable{
  border: 1px solid gray;
}
.product-viewlist {
  display: flex;
  align-items: flex-start;
  flex-direction: row; /* Ensure items are aligned in a row */
  justify-content: flex-start; /* Align items to the start */
  background: #f5f5f5;
  border-radius: 10px;
  margin-bottom: 0 !important;
}
.product-viewlist .product-figure {
  flex: 0 0 auto; /* Prevent image from stretching */
  margin-right: 20px; /* Space between image and details */
  padding: 5px !important;

}
.product-viewlist .product-figure img {
  width: 180px;
  height: auto; /* Maintain aspect ratio */
}

.product-viewlist .product-body {
  flex: 1; /* Take remaining space */
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center details vertically */
}

.product-viewlist .product-title {
  margin-top: 10px;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.product-viewlist .product-weight {
  margin-bottom: 10px;
}

.product-viewlist .product-price-wrap {
  margin-top: 10px;
}

.product-viewlist .product-button-wrap {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}
.product-viewlist .product-button {
  display: inline-block;
}
@media (max-width: 768px) {
  .product-viewlist {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .product-viewlist .product-figure {
      margin-right: 0;
      margin-bottom: 20px;
  }

  .product-viewlist .product-body {
      align-items: center;
  }

  .product-viewlist .product-button-wrap {
      justify-content: center;
  }
}
.truncate{
  display: inline-block;
  max-width: 130px; /* Adjust the width as needed */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-viewlist .product-figure {
  position: relative; /* Ensure positioning context for absolute children */
}

.product-viewlist .product-figure img {
  max-width: 160px;
  height: 180px; /* Maintain aspect ratio */
  transition: transform 0.3s ease; /* Smooth zoom transition */
padding-left: 20px;
padding-bottom: 18px;
}
.product-viewlist .product-figure .hovertest {
  display: none; /* Initially hide the button wrap */
  position: absolute;
  top: 20%;
  left: 90%;
  padding-top: 30px;
  transform: translate(-50%, -50%);
  z-index: 10; /* Ensure it's above other content */
}
.product .product-figure .hovertest {
  display: none; /* Initially hide the button wrap */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10; /* Ensure it's above other content */
}
.product-viewlist .product-figure:hover img {
  transform: scale(1.1); /* Slight zoom effect */
}

.product-viewlist .product-figure:hover .hovertest {
  display: block; /* Show the button wrap on hover */
  gap: 10px;
}
.hovertestproduct{
  text-align: center;
  padding: 0;
  width: 35px;
  height: 35px;
  font-size: 15px;
  line-height: 35px;
  border-radius: 10%
}
.hovertestproduct.button-secondary{
  color: #151515;
  background-color: white !important;
  border-color: white;
}
