.alchemy-product-name {
    color: #1A1A1A; /* Dark text */
    padding: 15px;
    font-size: 0.8em;
    font-weight: bold;
    display: block;
}

.flip-card {
    background-color: transparent;
    width: 350px; /* Increased width */
    height: 500px; /* Increased height */
    perspective: 1000px; /* 3D effect */
    margin: 20px; /* Spacing between cards */
    flex-shrink: 0;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 0; /* Minimalist: no rounded corners */
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border-radius: 0; /* Minimalist: no rounded corners */
    background-color: #FFFFFF;
    color: #1A1A1A;
}

.flip-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    box-sizing: border-box;
    text-align: left;
}

.flip-card-back h3 {
    font-size: 1.1em;
    margin-bottom: 8px;
}

.flip-card-back h4 {
    font-size: 0.9em;
    margin-top: 10px;
    margin-bottom: 4px;
}

.flip-card-back p,
.flip-card-back li {
    font-size: 0.8em;
    line-height: 1.4;
}

.flip-card-image {
    max-width: 80%;
    max-height: 60%;
    object-fit: contain;
    margin: 15px auto;
    display: block;
}

.alchemy-category-tag {
    background-color: #1A1A1A;
    color: #FFFFFF;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8em;
    margin-top: 5px;
}

/* Filter Bar Styles */
.filter-bar {
    display: block;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef; /* Subtle separator */
}

.quick-nav {
    display: flex; /* Ensure quick-nav is a flex container */
    flex-wrap: nowrap; /* Prevent A-Z letters from wrapping */
    gap: 5px; /* Spacing between letters */
    margin-bottom: 10px;
    overflow-x: auto; /* Allow horizontal scrolling if A-Z overflows */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.quick-nav::-webkit-scrollbar {
    display: none;
}

.quick-nav-letter {
    flex-shrink: 0; /* Prevent letters from shrinking */
    color: #1A1A1A;
    text-transform: uppercase;
    font-weight: normal;
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 3px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.quick-nav-letter:hover {
    background-color: #e9ecef;
}

.quick-nav-letter.active {
    font-weight: bold;
    background-color: #1A1A1A; /* Dark background for active */
    color: #FFFFFF; /* White text for active */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}

.quick-nav-letter.has-recipes {
    color: #6c757d; /* Changed to a dark gray */
    font-weight: bold;
    background-color: #f0f0f0; /* Changed from #e0f7fa to light gray */
}

.quick-nav-letter.hover-active {
    background-color: #e9ecef; /* Light background for hover */
    color: #1A1A1A; /* Dark text for hover */
}

.category-filter-buttons {
    display: flex; /* Ensure category-filter-buttons is a flex container */
    flex-wrap: nowrap; /* Prevent category buttons from wrapping */
    gap: 10px; /* Spacing between category buttons */
    overflow-x: auto; /* Allow horizontal scrolling if category buttons overflow */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-filter-buttons::-webkit-scrollbar {
    display: none;
}

.category-filter-button {
    padding: 8px 15px;
    border: none; /* Remove border */
    color: #1A1A1A;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.category-filter-button:hover,
.category-filter-button.active {
    background-color: #1A1A1A;
    color: #FFFFFF;
    text-decoration: none;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.alchemy-drinks-carousel {
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}

.alchemy-drinks-carousel::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

.mondhuegel-container {
    padding: 20px;
}