.product {
    position: relative;
    width:100%; 
    background: #ffffff;
    border-radius: 15px;
    padding:10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    overflow: hidden; 
    border: 1px solid #f0f0f0; 
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 99;
}


.product:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}


.product-img-box {
    width: 100%;
    height:300px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.x-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}


.product:hover .x-img {
    transform: scale(1.1);
}

.prod-info 
{margin-bottom:0px;
margin-top:30px;}

.prod-name {
    display: block;
    margin-bottom: 15px;
    display: block;
    text-align:center;
}

.prod-name a {
    font-family: 'Segoe UI', Roboto, sans-serif; 
    font-size: 18px;
    font-weight: 600;
    color: #0056b3; 
    text-decoration: none;
    transition: color 0.3s ease;
}

.prod-name a:hover {
    color: #00aaff; 
}


.prod-btn {
    background: transparent;
    border: 2px solid #025292;
    border-radius:8px; 
    padding: 8px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.prod-btn a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase; 
    letter-spacing: 0.5px;
}


.prod-btn:hover {
    background: #025292;
    border: 2px solid #36C8F4;
}

.prod-btn:hover a {
    color: #36C8F4;
}


.product::after {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    background: #025292; 
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product::before
 {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    background: #36C8F4; 
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
}


.product::before {
    top: 0;
    left: 0;
}


.product::after {
    bottom: 0;
    right: 0;
}


.product:hover::before,
.product:hover::after {
    width: 100%;
}