.prod-con{
    width: 100%;
    background-color: transparent;
}
.product-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    background-color: transparent;
    align-items: flex-start;
}
.product-card{
    border-radius: 5px;
    background-color: #fff;
    padding: 5px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    height: min-content;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    box-sizing: border-box;
    flex: 0 0 220px;
    width: 220px;
}
.product-card:hover{
  transform: scale(1.1);
  box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;

}
.product-card img{
    height: 200px;
    width: 100%;
}

.skeleton-card{
    box-sizing: border-box;
    flex: 0 0 220px;
    width: 220px;
}

@media (max-width: 900px) {
    .product-card, .skeleton-card {
        flex: 0 0 45%;
        width: 45%;
    }
}

@media (max-width: 480px) {
    .product-card, .skeleton-card {
        flex: 0 0 100%;
        width: 100%;
    }
}
.product-details{
    width: 100%;
}
.product-details h3{
    font-size: 0.9rem;
    margin: 5px;
    font-weight: bold;
    width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.menu-container {
    gap: 1rem;
    display: flex;
    /* display: grid; */
    flex-direction: row;
    /* padding: 2rem; */
        width: 90vw;


    margin: 0;
    /* grid-template-columns: 15% 1fr; */
    /* width: max-content; */
    /* background-color: pink; */
    /* border: 2px solid red; */
}

.title-header{
    margin: 2rem !important;
}
.menu-container .category-list{
    display: flex;
    flex-direction: column;
    align-items: start;
        width: 250px;
}
.category-list a{
    padding: 10px;
    font: 1rem;
    width: 80%;
    margin-left: 15px;    border-radius: 5px;
      transition: background-color 0.3s ease;

}
.category-list a:hover{
    border-bottom: 1px solid #ccc;
    background-color: #e3e3e366;

}

.category-list .selected{
    background-color: #f6e841 !important;
    font-weight: bold;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
.category-list .selected:hover{
    border-bottom: none;

}
.category-list p{
    font-weight: bold;
    margin-bottom: 1rem;
    color: #888;
}

.title-header{
    margin-left: 2rem;
    width: 100%;
    text-align: center;
}

.modal-overlay {
    display: none;
    position: fixed;
        padding: 10px;

    z-index: 1000000000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;

}

.modal-content-wrapper {
    /* max-width: 90%; */
    max-height: 90%;
    text-align: center;
}

#modalImage {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    /* object-fit: cover; */

}

#modalCaption {
    color: white;
    margin-top: 15px;
    font-size: 1.5rem;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
.close-modal:hover {
    transform: scale(1.2);
    color: #ffcc00;
}


.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0.5;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.product-image.loaded {
    opacity: 1;
}

/* Skeleton loading styles */
.skeleton-card{
    border-radius:5px;
    background:#fff;
    padding:5px;
    display:flex;
    flex-direction:column;
    gap:8px;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 3px;
}
.skeleton-img{
    width:100%;
    height:200px;
    border-radius:4px;
    background: linear-gradient(90deg, #eeeeee 25%, #f5f5f5 37%, #eeeeee 63%);
    background-size: 400% 100%;
    animation: shimmer 1.2s ease-in-out infinite;
}
.skeleton-text{
    height:14px;
    width:70%;
    border-radius:4px;
    background: linear-gradient(90deg, #eeeeee 25%, #f5f5f5 37%, #eeeeee 63%);
    background-size: 400% 100%;
    animation: shimmer 1.2s ease-in-out infinite;
    margin: 0 5px 10px 5px;
}

@keyframes shimmer{
    0%{background-position: -400% 0}
    100%{background-position: 400% 0}
}
