/* Sterilization Products Grid - same style as your other items */
.view-background.sterilization-view .items-grid {
    display: grid;
    grid-template-columns: repeat(
        3,
        calc(33.33% - 10px)
    ); /* three items per row */
    gap: 17px; /* spacing between items */
    justify-content: center; /* center grid horizontally */
    margin: 90px auto 0 auto; /* center using auto margins */
    width: fit-content; /* shrink container to content */
}

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

/* Individual item styling */
.view-background.sterilization-view .item {
    border: 1px solid rgba(84, 172, 240, 0.6);
    margin: 0;
    padding: 0;
    text-align: center;
    height: 450px;
    width: 315px; /* fixed width per item */
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    background: linear-gradient(180deg, #f8fbff 0%, #edf6ff 100%);
    border-radius: 14px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
}

/* Hover effect for the item container */
.view-background.sterilization-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);
}

/* Glow effect for the bottom gradient when hovered */
.view-background.sterilization-view .item:hover::after {
    background: linear-gradient(to top, #b7e0ff 0%, #e0f4ff 100%);
}

/* Image styling inside item */
.view-background.sterilization-view .item img {
    height: 300px;
    width: 280px;
    position: relative;
    transition: transform 0.35s ease, filter 0.35s ease;
    border-radius: 10px;
    pointer-events: auto; /* make clickable */
}

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

/* Description styling */
.view-background.sterilization-view .item .description {
    position: relative;
    top: 5px;
    z-index: 1;
    font-weight: normal;
    font-size: 16px;
}
/* Shift item 39 to the left */
#item-39 {
    margin-right: 0px; /* remove any automatic margin */
    text-align: left; /* align text inside the item to the left */
}

/* Optional: if you want to make the image and text flow nicely */
#item-39 img {
    display: block; /* prevent inline spacing issues */
    margin-left: 0; /* align image to left */
}

#item-39 .name,
#item-39 .description {
    text-align: left; /* ensure text is left-aligned */
}
.item-name.item-39 {
    position: relative;
    left: 80px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
/* Target Primary industries only for item 39 */
#item-39 .industries-section {
    margin-top: -315px; /* Adjust vertical spacing */
    margin-left: 510px; /* Move section to the right if needed */
    font-size: 14px; /* Adjust font size */
    color: #2f2c2c; /* Text color */
    white-space: nowrap;
}

#item-39 .industries-section strong {
    color: #00a28f; /* Highlight color */
}

#item-39 .industries-section ul {
    list-style-type: disc;
}
.item-name.item-40 {
    position: relative;
    left: 80px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-40 .industries-section {
    margin-top: -347px; /* Adjust vertical spacing */
    margin-left: 480px; /* Move section to the right if needed */
    font-size: 14px; /* Adjust font size */
    color: #2f2c2c; /* Text color */
    white-space: nowrap;
}

#item-40 .packaging-table {
    font-size: 14px; /* font size for packaging table */
    margin-left: 590px; /* optional, for some left padding */
    margin-top: -190px; /* optional, for some left padding */
}

#item-40 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}

#item-40 .packaging-table table {
    width: 30%; /* make table width full */
    border-collapse: collapse; /* ensure the table rows align */
}
.item-name.item-41 {
    position: relative;
    left: 80px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-41 .industries-section {
    margin-top: -430px; /* Adjust vertical spacing */
    margin-left: 480px; /* Move section to the right if needed */
    font-size: 14px; /* Adjust font size */
    color: #2f2c2c; /* Text color */
    white-space: nowrap;
}
.item-name.item-42 {
    position: relative;
    left: 70px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-42 .industries-section {
    margin-top: -460px; /* Adjust vertical spacing */
    margin-left: 450px; /* Move section to the right if needed */
    font-size: 14px; /* Adjust font size */
    color: #2f2c2c; /* Text color */
    white-space: nowrap;
}
#item-42 .packaging-table {
    font-size: 14px; /* font size for packaging table */
    margin-left: 590px; /* optional, for some left padding */
    margin-top: -190px; /* optional, for some left padding */
}

#item-42 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
.item-name.item-43 {
    position: relative;
    left: 130px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-43 .industries-section {
    margin-top: -630px; /* 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-43 .packaging-table {
    font-size: 14px; /* font size for packaging table */
    margin-left: 590px; /* optional, for some left padding */
    margin-top: -190px; /* optional, for some left padding */
}

#item-43 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
.item-name.item-44 {
    position: relative;
    left: 50px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-44 .industries-section {
    margin-top: -590px; /* 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-44 .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-44 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
.item-name.item-45 {
    position: relative;
    left: 50px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-45 .industries-section {
    margin-top: -590px; /* 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-45 .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-45 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
.item-name.item-46 {
    position: relative;
    left: 90px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-46 .industries-section {
    margin-top: -500px; /* 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-46 .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-46 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
.item-name.item-47 {
    position: relative;
    left: 90px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-47 .industries-section {
    margin-top: -440px; /* 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-47 .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-47 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
.item-name.item-48 {
    position: relative;
    left: 110px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-48 .industries-section {
    margin-top: -430px; /* 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-48 .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-48 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
.item-name.item-49 {
    position: relative;
    left: 50px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-49 .industries-section {
    margin-top: -360px; /* 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-49 .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-49 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
#item-50 .industries-section {
    margin-top: -430px; /* 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-50 .packaging-table {
    font-size: 14px; /* font size for packaging table */
    margin-left: 530px; /* optional, for some left padding */
    margin-top: -210px; /* optional, for some left padding */
}
#item-50 .packaging-header {
    margin-top: -145px; /* optional, for some left padding */
    margin-left: 640px; /* optional, for some left padding */
}
/* Container for the new field */
.packaging-text {
    margin-left: 310px; /* move it to the right */
    margin-top: 10px; /* space above */
}
/* Grade line */
.packaging-text p.grade {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0; /* no extra spacing */
}

/* Dimensions line */
.packaging-text p.dimensions {
    font-size: 16px;
    font-weight: bold;
    color: #555;
    margin: 0; /* no extra spacing */
    margin-top: 5px; /* small gap between Grade and Dimensions */
}
.item-name.item-51 {
    position: relative;
    left: 70px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-51 .industries-section {
    margin-top: -320px; /* 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-51 .packaging-table {
    font-size: 14px; /* font size for packaging table */
    margin-left: 530px; /* optional, for some left padding */
    margin-top: -370px; /* optional, for some left padding */
}
#item-51 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
.item-name.item-69 {
    position: relative;
    left: 230px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-69 .industries-section {
    margin-top: -320px; /* 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-69 .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-69 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
.item-name.item-70 {
    position: relative;
    left: 70px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-70 .industries-section {
    margin-top: -320px; /* 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-70 .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-70 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
.item-name.item-57 {
    position: relative;
    left: 140px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
