/* Reset container spacing */
/* Reset container spacing */
.dental-background {
    padding: 0 16px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}
.view-background .drape-grid {
    display: grid;
    grid-template-columns: repeat(
        3,
        calc(33.33% - -10px)
    ); /* 3 items per row */
    gap: 7px; /* spacing between items */
    justify-content: center; /* center the grid horizontally */
    margin: 50px auto 0 auto; /* center the grid block */
    width: fit-content;
    margin-top: 90px;
    margin-right: 220px;
    row-gap: 20px;
}

/* Individual item styling */
.view-background .drape-grid .item {
    position: relative;
    overflow: hidden;
    width: 320px;
    height: 450px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #edf6ff 100%);
    border: 1px solid rgba(84, 172, 240, 0.6);
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.view-background .drape-grid .item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.25);
    border: 1px solid rgba(0, 132, 255, 0.85);
}

/* Image hover effect */
.view-background .drape-grid .item img {
    width: 280px;
    height: 300px;
    border-radius: 10px;
    transition: transform 0.35s ease, filter 0.35s ease;
    z-index: -1;
}

.view-background .drape-grid .item img:hover {
    transform: scale(1.07);
    filter: drop-shadow(0 4px 8px rgba(0, 119, 255, 0.25));
}
/* Target only item with ID 37 in the drape grid */
.view-background .drape-grid .name {
    font-size: 18px;
    font-weight: bold;
    margin-top: -25px; /* adjust specifically for this item */
    color: #0055aa; /* custom color if needed */
}
/* Target only item with ID 37 in the drape grid */
.view-background .drape-grid #item-34 .name {
    font-size: 18px;
    font-weight: bold;
    margin-top: -5px; /* adjust specifically for this item */
    color: #0055aa; /* custom color if needed */
}

.view-background .drape-grid #item-34 .description {
    font-size: 14px;
    color: #333; /* custom color if needed */
    margin-top: 2px; /* adjust specifically for this item */
    line-height: 1.4;
    max-height: 60px; /* override general height */
    overflow: hidden;
}
/* Target only item with ID 37 in the drape grid */
.view-background .drape-grid #item-35 .name {
    font-size: 18px;
    font-weight: bold;
    margin-top: -5px; /* adjust specifically for this item */
    color: #0055aa; /* custom color if needed */
}

.view-background .drape-grid #item-35 .description {
    font-size: 14px;
    color: #333; /* custom color if needed */
    margin-top: 2px; /* adjust specifically for this item */
    line-height: 1.4;
    max-height: 60px; /* override general height */
    overflow: hidden;
}
/* Target only item with ID 37 in the drape grid */
.view-background .drape-grid #item-36 .name {
    font-size: 18px;
    font-weight: bold;
    margin-top: -5px; /* adjust specifically for this item */
    color: #0055aa; /* custom color if needed */
}

.view-background .drape-grid #item-36 .description {
    font-size: 14px;
    color: #333; /* custom color if needed */
    margin-top: 2px; /* adjust specifically for this item */
    line-height: 1.4;
    max-height: 60px; /* override general height */
    overflow: hidden;
}
.items-grid .item-link {
    display: block; /* Make the whole block clickable */
    text-decoration: none; /* Remove underline */
    color: inherit; /* Keep text color */
}

.items-grid .item-link .item {
    cursor: pointer; /* Show pointer on hover */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.items-grid .item-link .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.items-grid .item#item-22 {
    position: relative;
    margin-right: 0px;
}
.drape-grid .item::after {
    content: ""; /* Empty content for the pseudo-element */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px; /* Adjust as needed */
    background-color: #d0e6f9; /* Soft light blue */
}
.item-24.item-name {
    position: relative;
    left: 70px; /* Move the name to the right */
    z-index: -1;
}
#item-24 .packaging-header {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--clr-primary-400); /* Use the CSS variable here */
    margin-left: 190px;
    margin-top: -120px;
    font-size: 24px;
}
/*Move actual tables*/
#item-24 .packaging-table {
    margin-left: 220px;
    margin-top: -580px;
}
#item-24 .industries-section {
    font-size: 14px;
    margin-top: -380px;
    margin-right: -1050px;
}
.item-25.item-name {
    position: relative;
    left: 70px; /* Move the name to the right */
    z-index: -1;
}
#product-display-25 {
    margin-left: 100px; /* Example: Move this specific description to the right */
    color: blue; /* Customize the style for this item */
}
#item-25 .packaging-header {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--clr-primary-400); /* Use the CSS variable here */
    margin-left: 190px;
    margin-top: -120px;
    font-size: 24px;
}
/*Move actual tables*/
#item-25 .packaging-table {
    margin-left: 220px;
    margin-top: -590px;
}
#item-25 .industries-section {
    font-size: 14px;
    margin-top: -430px;
    margin-right: -1050px;
}
#product-display-26 {
    margin-left: 50px; /* Example: Move this specific description to the right */
    color: blue; /* Customize the style for this item */
}
#item-26 .packaging-header {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--clr-primary-400); /* Use the CSS variable here */
    margin-left: 190px;
    margin-top: -115px;
    font-size: 24px;
}
/*Move actual tables*/
#item-26 .packaging-table {
    margin-left: 220px;
    margin-top: -595px;
}
#item-26 .industries-section {
    font-size: 14px;
    margin-top: -605px;
    margin-right: -1050px;
}
.item-26.item-name {
    position: relative;
    left: 170px; /* Move the name to the right */
    z-index: -1;
}
#product-display-27 {
    margin-left: 80px; /* Example: Move this specific description to the right */
    color: blue; /* Customize the style for this item */
}
#item-27 .packaging-header {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--clr-primary-400); /* Use the CSS variable here */
    margin-left: 190px;
    margin-top: -115px;
    font-size: 24px;
}
/*Move actual tables*/
#item-27 .packaging-table {
    margin-left: 220px;
    margin-top: -595px;
}
#item-27 .industries-section {
    font-size: 14px;
    margin-top: -430px;
    margin-right: -1050px;
}
.item-28.item-name {
    position: relative;
    left: 130px; /* Move the name to the right */
    z-index: -1;
}
#product-display-28 {
    margin-left: 60px; /* Example: Move this specific description to the right */
    color: blue; /* Customize the style for this item */
}
#item-28 .packaging-header {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--clr-primary-400); /* Use the CSS variable here */
    margin-left: 190px;
    margin-top: -115px;
    font-size: 24px;
}
/*Move actual tables*/
#item-28 .packaging-table {
    margin-left: 220px;
    margin-top: -595px;
}
#item-28 .industries-section {
    font-size: 14px;
    margin-top: -500px;
    margin-right: -1050px;
}
.item-29.item-name {
    position: relative;
    left: 135px; /* Move the name to the right */
    z-index: -1;
}
#item-29 .packaging-header {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--clr-primary-400); /* Use the CSS variable here */
    margin-left: 190px;
    margin-top: -115px;
    font-size: 24px;
}
/*Move actual tables*/
#item-29 .packaging-table {
    margin-left: 220px;
    margin-top: -595px;
}
#item-29 .industries-section {
    font-size: 14px;
    margin-top: -500px;
    margin-right: -1050px;
}
.item-30.item-name {
    position: relative;
    left: 100px; /* Move the name to the right */
    z-index: -1;
}
#item-30 .packaging-header {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--clr-primary-400); /* Use the CSS variable here */
    margin-left: 190px;
    margin-top: -115px;
    font-size: 24px;
}
/*Move actual tables*/
#item-30 .packaging-table {
    margin-left: 220px;
    margin-top: -595px;
}
#item-30 .industries-section {
    font-size: 14px;
    margin-top: -430px;
    margin-right: -1050px;
}
#product-display-30 {
    margin-left: 60px; /* Example: Move this specific description to the right */
    color: blue; /* Customize the style for this item */
}
#product-display-31 {
    margin-left: 60px; /* Example: Move this specific description to the right */
    color: blue; /* Customize the style for this item */
}
#item-31 .industries-section {
    font-size: 14px;
    margin-top: -610px;
    margin-right: -260px;
}
.item-31.item-name {
    position: relative;
    left: 25px; /* Move the name to the right */
    z-index: -1;
}
.item-32.item-name {
    position: relative;
    left: 60px; /* Move the name to the right */
    z-index: -1;
}
#item-32 .industries-section {
    font-size: 14px;
    margin-top: -328px;
    margin-right: -50px;
}
#product-display-32 {
    margin-left: 90px; /* Example: Move this specific description to the right */
    color: blue; /* Customize the style for this item */
}
.items-grid .item#item-10 {
    position: relative;
    margin-right: 0px;
}
.item-33.item-name {
    position: relative;
    left: 70px; /* Move the name to the right */
    z-index: -1;
}
.item-34.item-name {
    position: relative;
    left: 60px; /* Move the name to the right */
    z-index: -1;
}
#product-display-34 {
    margin-left: 90px; /* Example: Move this specific description to the right */
    color: blue; /* Customize the style for this item */
}
#item-34 .industries-section {
    font-size: 14px;
    margin-top: -290px;
    margin-right: -1040px;
}
#item-34 .packaging-header {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--clr-primary-400); /* Use the CSS variable here */
    margin-left: 190px;
    margin-top: -115px;
    font-size: 24px;
}
/*Move actual tables*/
#item-34 .packaging-table {
    margin-left: 220px;
    margin-top: -595px;
}
.item-35.item-name {
    position: relative;
    left: 220px; /* Move the name to the right */
    z-index: -1;
}
#product-display-35 {
    margin-left: 90px; /* Example: Move this specific description to the right */
    color: blue; /* Customize the style for this item */
}
#item-35 .packaging-header {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--clr-primary-400); /* Use the CSS variable here */
    margin-left: 190px;
    margin-top: -115px;
    font-size: 24px;
}
/*Move actual tables*/
#item-35 .packaging-table {
    margin-left: 220px;
    margin-top: -595px;
}
#item-35 .industries-section {
    font-size: 14px;
    margin-top: -290px;
    margin-right: -1040px;
}
.item-36.item-name {
    position: relative;
    left: 220px; /* Move the name to the right */
    z-index: -1;
}
#item-36 .packaging-header {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--clr-primary-400); /* Use the CSS variable here */
    margin-left: 190px;
    margin-top: -115px;
    font-size: 24px;
}
/*Move actual tables*/
#item-36 .packaging-table {
    margin-left: 220px;
    margin-top: -595px;
}
#item-36 .industries-section {
    font-size: 14px;
    margin-top: -290px;
    margin-right: -1040px;
}
#product-display-36 {
    margin-left: 90px; /* Example: Move this specific description to the right */
    color: blue; /* Customize the style for this item */
}
.item-37.item-name {
    position: relative;
    left: 140px; /* Move the name to the right */
    z-index: -1;
}
#product-display-37 {
    margin-left: 90px; /* Example: Move this specific description to the right */
    color: blue; /* Customize the style for this item */
}
#item-37 .industries-section {
    font-size: 14px;
    margin-top: -290px;
    margin-right: -1040px;
}
#item-37 .packaging-header {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--clr-primary-400); /* Use the CSS variable here */
    margin-left: 190px;
    margin-top: -115px;
    font-size: 24px;
}
/*Move actual tables*/
#item-37 .packaging-table {
    margin-left: 220px;
    margin-top: -595px;
}
