
.product-sidebar-c{
    display: flex;
    margin-top: 20px;
    /* padding: 20px; */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
}

.product-sidebar-c .sidebar{


     width: 200px;
     height: 570px;
  
  
  padding: 10px 0;
  background-color: #f9f9f9;
  border-right: 1px solid #ddd;
  position: sticky;
  top: 0;
  margin: 10px 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 5px;

}

/* .product-sidebar-c .sidebar ul::-webkit-scrollbar {
  width: 2px;
  background: transparent;
}

.product-sidebar-c .sidebar ul {
  scrollbar-width: none;
} */


.product-sidebar-c .sidebar h3 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #0c004e;
  border-bottom: 1px solid #0c004e;
  width: 80%;
  padding-bottom: 5px;
  margin: 0 auto;
}

.product-sidebar-c .sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 500px;
  scrollbar-width: 3px;
  scrollbar-color: rgb(255, 208, 0);
}


.product-sidebar-c .sidebar ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  transition: background-color 0.3s, transform 0.2s;
  cursor: pointer;
  border-radius: 6px;
  font-size: 14px;
}

.product-sidebar-c .sidebar ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  text-decoration: none;
  width: 100%;
}

.product-sidebar-c .sidebar ul li:hover {
  background-color: #fff3ee;
  transform: translateX(2px);
  border-left: 3px solid orangered;
}

.product-sidebar-c .sidebar ul li img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.product-sidebar-c .product-container {
  flex: 1;
  padding: 20px;
position: relative;
/* padding-top: 20px; */

}


.product-sidebar-c .product-container .catalog{
  position:absolute; 
  right: 50px;
  top: -5px;
}
.product-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
  justify-content: flex-start;
}

.p-card{
    max-width: 300px;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0px 0px 5px;
    margin: 20px;
    overflow: hidden;
    position: relative;
}
.p-card .img-container{
    min-height: 200px;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    padding: 3px;
    box-shadow: 0px 0px 5px;
    margin-bottom: 20px;
    /* border: 1px solid rgb(2, 2, 85); */
}
.p-card::after{
    position: absolute;
    content: "";
    border: 1px solid;
    background-color: rgb(2, 2, 85);
    width: 100%;
    height: 300px;
    z-index: -1;
    top: -45%;
    left: 0;
    transform: rotate(45deg);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.p-card:hover::after{
    position: absolute;
    content: "";
    border: 1px solid;
    background-color: rgb(2, 2, 85);
    width: 100%;
    height: 300px;
    z-index: -1;
    top: -35%;
    left: 0;
    transform: rotate(45deg);
    border-radius: 20px;
    transform: scale(1);
}
.p-card .img-container img{
    width: 100%;
    border-radius: 15px;
    transition: all 0.4s ease;
}

.p-card:hover .img-container img{
    scale: 1.3;
}

.p-card h1{
    font-size: 1.5rem;
    margin-top: 10px;
}
.p-card p{
    margin: 0;
}

.p-card ul{
list-style: none;
display: flex;
padding: 0;
margin: 0;
border-radius: 10px ;
justify-content: space-between;
}

.p-card ul li{
    color: rgb(255, 255, 255);
    background-color: rgb(124, 124, 124);
    width: 50%;
    margin: 5px;
    height: 50px;
    text-align: center;
    font-size: 14px;
    border-radius: 10px;
    
    /* justify-content: center; */
}
.p-card ul li span{
    display: block;
    /* color: rgb(255, 136, 0); */
    border-bottom: 1px solid ;
    width: 80%;
    margin: 0 auto;
}

.p-card .card-price{
    /* font-size: 1.5rem; */
    color: orangered;
    font-weight: 600;
    margin-top: 15px;
}

@media(max-width :800px){
  .product-sidebar-c{
    display: flex;
    flex-direction: column-reverse;
}
.product-sidebar-c .sidebar{
  width: auto;
}
.product-sidebar-c .sidebar ul::-webkit-scrollbar {
  width: 2px;
  background: transparent;
}

.product-sidebar-c .sidebar ul {
  scrollbar-width: none;
}
.product-sidebar-c .product-container .catalog{
  position:relative; 
  left: 10px;
  margin: 20px;
}
.product-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 5px;
  justify-content: flex-start;
  align-items: center;
}

.p-card{
    max-width: 300px;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0px 0px 5px;
    margin: 5px;
    overflow: hidden;
    position: relative;
}
.p-card .img-container{
    min-height: 100px;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    padding: 3px;
    box-shadow: 0px 0px 5px;
    margin-bottom: 20px;
    /* border: 1px solid rgb(2, 2, 85); */
}

}