/* Hover effect */
.view-background.hemodialysis-view .item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Item Image */
.view-background.hemodialysis-view .item img {
    width: 100% !important; /* overrides inline style */
    height: auto;
    border-radius: 10px;
}

#item-image2-72 {
    margin-top: -520px;
    text-align: center;
}
/* Size and control the second image */
#item-secondary-image-72 {
    width: 140%;
    max-width: 850px;
    display: block;
    margin: 0 auto;
}
/* Container styling for second image (item 73 only) */
#item-image2-73 {
    margin-top: -380px;
    text-align: center;
}

/* Size and control the second image */
#item-secondary-image-73 {
    width: 140%;
    max-width: 850px;
    display: block;
    margin: 0 auto;
}
/* Target name and description inside Hemodialysis items */
.view-background.hemodialysis-view .item .name {
    font-size: 18px; /* Adjust font size */
    font-weight: bold; /* Make the name stand out */
    margin-top: 20px; /* Space above the name */
    color: #003366; /* Optional: custom color */
}
.view-background.hemodialysis-view .item .description {
    font-size: 14px; /* Slightly smaller for description */
    margin-top: 5px; /* Space above description */
    color: #555; /* Grayish text */
    line-height: 1.4; /* Improve readability */
    max-height: 50px; /* Optional: limit height if needed */
    overflow: hidden; /* Hide overflow text */
}
/* Individual item card */
.view-background.hemodialysis-view .item {
    position: relative;
    overflow: hidden;
    height: 450px;
    width: 315px;
    text-align: center;
    border-radius: 14px;
    border: 1px solid rgba(84, 172, 240, 0.6);
    background: linear-gradient(180deg, #f8fbff 0%, #edf6ff 100%);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
}

/* Hover effect for item card */
.view-background.hemodialysis-view .item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.25);
    border: 1px solid rgba(0, 132, 255, 0.85);
}

/* Gray gradient overlay at bottom */
.view-background.hemodialysis-view .item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to top, #cce7ff 0%, #e8f4ff 100%);
    z-index: -1;
    transition: background 0.3s ease;
}

.view-background.hemodialysis-view .item:hover::after {
    background: linear-gradient(to top, #b7e0ff 0%, #e0f4ff 100%);
}

/* Images inside items */
.view-background.hemodialysis-view .item img {
    width: 280px;
    height: 300px;
    border-radius: 10px;
    position: relative;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.view-background.hemodialysis-view .item img:hover {
    transform: scale(1.07);
    filter: drop-shadow(0 4px 8px rgba(0, 119, 255, 0.25));
}

/* Name and description styling */
.view-background.hemodialysis-view .item .name,
.view-background.hemodialysis-view .item .description {
    position: relative;
    top: 5px;
    z-index: 1;
    font-size: 16px;
    font-weight: normal;
    margin-bottom: -2px;
}
.item-name.item-72 {
    position: relative;
    left: 140px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#product-display-72 {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-top: 230px;
}

#item-72 .industries-section {
    margin-top: -345px; /* Adjust vertical spacing */
    margin-left: 470px; /* Move section to the right if needed */
    font-size: 14px; /* Adjust font size */
    color: #2f2c2c; /* Text color */
    white-space: nowrap;
}
#item-72 .packaging-table {
    font-size: 14px; /* font size for packaging table */
    margin-left: 530px; /* optional, for some left padding */
    margin-top: -190px; /* optional, for some left padding */
}
#item-72 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
.item-name.item-73 {
    position: relative;
    left: 140px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-73 .industries-section {
    margin-top: -370px; /* Adjust vertical spacing */
    margin-left: 470px; /* Move section to the right if needed */
    font-size: 14px; /* Adjust font size */
    color: #2f2c2c; /* Text color */
    white-space: nowrap;
}
#item-73 .packaging-table {
    font-size: 14px; /* font size for packaging table */
    margin-left: 530px; /* optional, for some left padding */
    margin-top: -190px; /* optional, for some left padding */
}
#item-73 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
#product-display-73 {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-top: 120px;
}
.item-name.item-74 {
    position: relative;
    left: 80px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-74 .industries-section {
    margin-top: -350px; /* Adjust vertical spacing */
    margin-left: 470px; /* Move section to the right if needed */
    font-size: 14px; /* Adjust font size */
    color: #2f2c2c; /* Text color */
    white-space: nowrap;
}
#item-74 .packaging-table {
    font-size: 14px; /* font size for packaging table */
    margin-left: 530px; /* optional, for some left padding */
    margin-top: -190px; /* optional, for some left padding */
}
#item-74 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
