main {
    margin-bottom: 4rem;
}

.main-page-centered {
    display: flex;
    justify-content: center;
}

.main-page {
    width: 80rem;
    display: grid;
    gap: 10px;
    column-gap: 2rem;
    margin-top: 5rem;
}

.product-desc-section {
    grid-column-start: 2;
    grid-row-start: 2;
    align-items: center;
}


.product-title {
    font-size: 3.0rem;
    margin-bottom: 2.0rem;
    font-weight: normal;
}

.product-price {
    margin-bottom: 3.0rem;
    font-size: 3.6rem;
    font-weight: bold;
}

.product-desc {
    font-size: 2.4rem;
}

.product-path, .product-path a{
    grid-column-start: 1;
    grid-row-start: 1;
    font-size: 1.8rem !important;
}

.section-info {
    display: flex;
    margin-top: 4rem;
    align-items: flex-start;
}

.nothing {
    flex: 2;
}

.product-info {
    width: 40%;
}

.product-info-link {
    text-decoration: underline !important;
}

.product-details {
    width: 30%;
    padding: 0 !important;
}

.product-info-title {
    font-size: 2.4rem;
}

.product-info-desc {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.product-question {
    margin: 0 !important;
}

.lbl-start {
    font-size: 1.6rem;
}

.btn-buy {
    background-color: #6181B0;
    color: #fff;
}

.btn-buy:hover,
.btn-buy:active {
    background-color: #84B5CA;
}

#start-sel {

}

.section-buy_btn {
    margin-top: 4rem;
}

.custom-select {
    position: relative;
    display: inline-block;
    width: 200px;
}

.custom-select select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    appearance: none;
    background-color: #f2f2f2;
    color: #333;
    font-size: 16px;
    outline: none;
}

.select-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    font-size: 18px;
    color: #666;
}

.chk-heurigen {
    display: flex;
    margin-top: 2rem;
    font-size: 1.6rem;
}

#popup {
    display: none;
    position: absolute;
    max-width: 400px;
    width: 100%;
    height: 400px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
}
#popup.active {
    display: block;
}

#popup iframe {
    overflow: scroll;
}











.slider-container {
    width: 500px;
    margin: auto;
    position: relative;
    grid-column-start: 1;
    grid-row-start: 2;
}

.slider-image img {
    width: 500px;
    height: 500px;
    object-fit: cover;
}

.slider-container .fade {
    animation-name: fade;
    animation-duration: 0.5s;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

.slider-container .slides .slider-numbers {
    position: absolute;
    padding: 15px;
    font-size: 15px;
    color: #FFF
}

.slider-container .slides .slider-caption {
    text-align: center;
    font-size: 20px;
    position: absolute;
    bottom: 15px;
    width: 100%;
    color: #FFF;
    padding: 10px;
}

.slider-container .prev,
.slider-container .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #FFF;
    font-weight: bold;
    padding: 10px;
    font-size: 30px;
    text-decoration: none;
}

.slider-container .next {
    right: 0;
}

.slider-container .prev:hover{
    background: rgba(0, 0, 0, 0.6);
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    cursor: pointer;
}
.slider-container .next:hover {
    background: rgba(0, 0, 0, 0.6);
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    cursor: pointer;
}

.slider-container .slider-bullets {
    text-align: center;
    margin-top: 1.0rem;
}

.slider-container .slider-bullets .dots {
    display: inline-block;
    padding: 5px;
    width: 10px;
    height: 10px;
    background-color: #808080;
    border-radius: 50%;
}

.slider-container .slider-bullets .dots:hover {
    background-color: #383838;
    cursor: pointer;
}

.slider-container .slider-bullets .active {
    background-color: #383838;
}

/* --- Heurigenjause & Tooltip Fix (Final) --- */

.chk-heurigen {
    display: flex;
    align-items: center; /* Vertikal zentriert */
    margin-top: 2rem;
    font-size: 1.6rem;
}

/* Container für das Icon und den Tooltip */
.question-icon {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;

    /* ÄNDERUNG: Abstand verringert */
    margin-left: 2px;

    /* ÄNDERUNG: Vertikale Position korrigiert (weniger stark nach oben) */
    transform: translateY(-4px);

    cursor: help;
}

/* Das SVG selbst stylen */
.question-icon svg {
    width: 16px;  /* Leicht vergrößert für bessere Lesbarkeit */
    height: 16px;
    fill: #555;
    transition: fill 0.3s ease;
}

.question-icon:hover svg {
    fill: #84B5CA;
}

/* --- Der Tooltip (Textblase) --- */
.question-icon .tooltip {
    visibility: hidden;
    opacity: 0;

    width: 220px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 10px;

    /* Positionierung */
    position: absolute;
    bottom: 150%; /* Etwas höher, damit der Pfeil das Icon nicht verdeckt */
    left: 50%;
    transform: translateX(-50%);

    z-index: 1000;
    font-size: 1.2rem;
    font-weight: normal;
    line-height: 1.4;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    pointer-events: none;

    transition: opacity 0.3s ease;
}

/* Kleiner Pfeil unter dem Tooltip */
.question-icon .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* Einblenden beim Hover */
.question-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
}
