.bottom-sheet {
    position: fixed;
    bottom: -60%; /* Partially visible at the bottom */
    left: 0;
    right: 0;
    height: 70%; /* Adjust as needed */
    background-color: white;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
    transition: bottom 0.3s ease-in-out;
    z-index: 1000;
    border-radius: 20px 20px 0 0;
}

.bottom-sheet.open {
    bottom: 0;
}

.drag-handle {
    width: 50px;
    height: 5px;
    background-color: grey;
    border-radius: 3px;
    margin: 10px auto;
    cursor: pointer;
}

.bottom-sheet-content {
    padding: 20px;
    text-align: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 999;
}

.overlay.visible {
    visibility: visible;
    opacity: 1;
}

.add-to-bag {
    background-color: black;
    color: white;
    padding: 10px 20px;
    margin: 10px 0;
    width: 100%;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.details-section p {
    margin: 10px 0;
    font-weight: bold;
    cursor: pointer;
}

#maincontent:has(.bottom-sheet-container.fullscreen) {
    overflow: hidden;
}