* {
    /*outline: 1px solid rgba(0, 255, 255, 0.2); /* subtle visual boundary for debugging */
}

html, body {
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
    overflow: hidden; /* Prevent scrolling */
}

/* Center the logo and ensure it's properly scaled */
img[src="BCLogo.png"] {
    max-width: 100%;
    height: auto;
    margin: auto; /* Center the image */
    display: block;
    max-height: 20vh; /* Limits logo size */
}
.noPreview {}

/* Remove link underlines and ensure link colors match text */
a, a:visited {
    color: inherit;
    text-decoration: none; /* Remove underlines */
}

a:hover {
    font-weight: bold;
}

.category, .brand, .product, .flavor {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stack elements vertically */
}

.flavor {
    white-space: nowrap;
}

.back-link {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #444 !important;
    text-decoration: none; /* Remove underline */
    font-size: 2em;
    z-index: 1000; /* Ensure it's above other content */
}



h1, h2 {
    font-family: Impact, sans-serif;
    font-weight: normal;
    letter-spacing: 0.5px;
    color: yellow;
    margin: 2vh 0; /* Add some vertical space around titles */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h2 {
    margin: 1.5vh 0; /* Add some vertical space around titles */
}

summary {
    /*display: inline-block;*/
    width: fit-content;
    cursor: pointer;
}
summary h2 {
    display: inline;
}


.product-name, .flavor span {
    font-family: 'Roboto', sans-serif;
    /*font-size: 40px; /* clamp(1.5rem, 4vw, 2.5rem); /* Adjust font size dynamically */
    /*color: white; /* Set text color to white for products and flavors */
}

h1, .product, .flavor {
    overflow: hidden;
    white-space: nowrap;
    width: calc(100% - 16px);
    text-align: center;
    text-overflow: ellipsis;
    margin: 8px;
    text-shadow: -1px -1px 0 gray, -1px 0 0 gray, -1px 1px 0 gray, 0 -1px 0 gray, 0 1px 0 gray, 1px -1px 0 gray, 1px 0 0 gray, 1px 1px 0 gray;
}

.textOutline {
    text-shadow: -1px -1px 0 gray, -1px 0 0 gray, -1px 1px 0 gray, 0 -1px 0 gray, 0 1px 0 gray, 1px -1px 0 gray, 1px 0 0 gray, 1px 1px 0 gray;
}

.rollupHandle {
    cursor: pointer;
    user-select: none;
    font-size: 1.2em;
    margin-right: 0.3em;
}

.menunum, .price {
    position: absolute;
    white-space: nowrap;
    font-family: 'Cambria', 'Times New Roman', Times, serif;
    font-size:0.8em;
    background-color:rgba(0,0,0,.5);
    border-radius:20%;
    padding:4px;
}
.menunum {
    text-shadow: -1px -1px 0 gray, -1px 0 0 gray, -1px 1px 0 gray, 0 -1px 0 gray, 0 1px 0 gray, 1px -1px 0 gray, 1px 0 0 gray, 1px 1px 0 gray;
    left: 20px;
}
.price {
    color: white;
    text-shadow:
            -1px -1px 2px black, -1px -1px 3px black, -1px -1px 4px black, -1px -1px 5px black,
            -1px -1px 2px black, -1px -1px 3px black, -1px -1px 4px black, -1px -1px 5px black,
            -1px -1px 2px black, -1px -1px 3px black, -1px -1px 4px black, -1px -1px 5px black
    ;
    right: 20px;
}

h1 img, .category img, .product img, .flavor img {
    height: 100%;
    width: auto;
    margin-right: 24px;
}

.has-overflow {
    margin-bottom: 0;
}

.overflow {
    margin-top: 0;
}

@media (min-aspect-ratio: 9/16) {
    body {
        flex-direction: column;
        align-items: center;
        /*overflow: auto; /* Allow scrolling for wider screens if necessary */
        /*padding: 5vh 5vw; /* Adds padding to reduce content width, ensuring it fits */
    }
    .category, .product, .flavor {
        /* flex: 1 0 auto; /* Adjust flex settings for category width on wider screens */
        /* margin: 0.75vh 0; /* Add some vertical space between categories */
    }
}
