.portfolio-item{
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.4s ease;
}

.portfolio-img{
    overflow: hidden;
    position: relative;
}

.portfolio-img img{
    width: 100%;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
}

/* Hover Effect */
.portfolio-item:hover .portfolio-img img{
    transform: scale(1.12) rotate(2deg);
    filter: brightness(1.05);
}

/* ===== migrated inline block ===== */

/* Premium Product Grid */
.product-grid {
    row-gap: 30px;
}

.product-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(25, 42, 70, 0.10);
    transition: transform .4s ease, box-shadow .4s ease;
}

.product-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 20px 50px rgba(25, 42, 70, 0.18);
}

/* Complete image area is clickable */
.product-image-link {
    position: relative;
    display: block;
    height: 320px;
    overflow: hidden;
    background: #f5f6f7;
}

.product-image-link img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .65s ease;
}

.product-card:hover .product-image-link img {
    transform: scale(1.08);
}

.product-image-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 45%,
        rgba(0, 0, 0, 0.55) 100%
    );
    opacity: 0;
    transition: opacity .4s ease;
}

.product-card:hover .product-image-link::after {
    opacity: 1;
}

.product-view-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #d1a934;
    border: 5px solid rgba(255, 255, 255, 0.30);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -35%) scale(.75);
    transition: all .4s ease;
}

.product-card:hover .product-view-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Product information */
.product-card-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    padding: 18px 20px;
    background: #ffffff;
}

.product-card-title {
    margin: 0;
    padding-right: 15px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.product-card-title a {
    color: #202020;
    text-decoration: none;
    transition: color .3s ease;
}

.product-card-title a:hover,
.product-card:hover .product-card-title a {
    color: #d1a934;
}

.product-arrow {
   width: 135px;;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #111111;
    border-radius: 50%;
    text-decoration: none;
  
    transition: all .35s ease;
}

.product-card:hover .product-arrow {
    background: #d1a934;
    transform: rotate(0deg);
}

.product-arrow:hover {
    color: #ffffff;
}

@media (max-width: 767px) {
    .product-image-link {
        height: 280px;
    }

    .product-card-content {
        padding: 16px;
    }

    .product-card-title {
        font-size: 17px;
    }
}

/* ===== migrated inline block ===== */

.product-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-arrow i {
    transition: transform 0.3s ease;
}

.product-arrow:hover {
    background: #c9a227;
    color: #fff;
    transform: translateY(-2px);
}

.product-arrow:hover i {
    transform: translateX(4px);
}
