body {
    margin: 0;
    background: #f8fafc;
}
.list :hover{
            color: rgb(4, 151, 151);
            cursor: pointer;
         }
         
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(240, 248, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    width: 160px;
}

.links {
    display: flex;
    gap: 25px;
}

.links a {
    text-decoration: none;
    color: #0f172a;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}


.links a:hover {
    color: rgb(4, 151, 151);
}


.links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: rgb(4, 151, 151);
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.links a:hover::after {
    width: 100%;
}

.icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.icons i {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.icons i:hover {
    background: rgb(4, 151, 151);
    color: white;
    border-color: rgb(4, 151, 151);
    transform: scale(1.1);
}
.title {
    text-align: center;
    margin: 30px 0;
    color: #0f172a;
}

.search-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
}

.search-box input {
    width: 300px;
    padding: 12px 18px;
    border-radius: 30px;
    border: 2px solid #cbd5e1;
    outline: none;
    background: white;
    transition: 0.3s;
}

.search-box input:focus {
    border-color: rgb(4, 151, 151);
    box-shadow: 0 0 10px rgba(4, 151, 151, 0.3);
}

.search-box button {
    padding: 10px 18px;
    border-radius: 30px;
    border: 2px solid rgb(4, 151, 151);
    background: transparent;
    color: rgb(4, 151, 151);
    cursor: pointer;
    transition: 0.3s;
}

.search-box button:hover {
    background: rgb(4, 151, 151);
    color: white;
}


.view {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.view button {
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid rgb(4, 151, 151);
    background: transparent;
    color: rgb(4, 151, 151);
    cursor: pointer;
    transition: 0.3s;
}

.view button:hover {
    background: rgba(4, 151, 151, 0.1);
}


#productsContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 20px;
}


.product {
    width: 250px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.product:hover {
    transform: translateY(-5px);
}

.product img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.product p {
    margin: 8px 0;
}

.add {
    background: black;
    color: white;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.add:hover {
    background: rgb(4, 151, 151);
}


.grid .product {
    width: 250px;
}

.list {
    flex-direction: column;
    align-items: center;
}

.list .product {
    width: 85%;
    display: flex;
    text-align: left;
    align-items: center;
    gap: 20px;
    padding: 10px;
}

.list .product img {
    width: 180px;
    height: 180px;
    border-radius: 10px;
}

.details {
    flex-direction: column;
    align-items: center;
}

.details .product {
    width: 20%;
    max-width: 800px;
    padding: 15px;
}

.details .product img {
    width: 100%;
    height: 400px;
}
.more{
        text-align: center;
        padding: 9px;
        border: solid 3px ;
        border-radius: 20px;
        background-color: black;
        width: 70px;
        font-size: 12px;
        margin: 0 auto;   
        display: block;
    }
    .more p{
        color: azure;
    }
    .more :hover{
        color: rgb(4, 151, 151);
        cursor:pointer;
    }
  .hidden {
    display: none !important;
}
