/**
 * GMS Konfigurator – Styles
 */

#gms-konfigurator {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gms-konfigurator-image {
    flex: 0 1 380px;
    position: relative;
    min-width: 280px;
    aspect-ratio: 380/551;
}

.gms-konfigurator-options {
    flex: 1 1 520px;
    min-width: 280px;
    overflow: visible;
}

.gms-option {
    display: flex;
    align-items: center;
}

.gms-option-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.gms-square {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border: 2px solid black;
    border-radius: 4px;
    background-color: white;
    float: left;
    margin-top: 6px;
    margin-right: 10px;
}

.gms-square-check {
    background-color: #00519e;
}

.gms-text {
    font-size: 15px;
    color: black;
    padding-top: 3px;
}

.gms-konfimgbox {
    position: absolute;
    visibility: hidden;
    right: 0;
    top: 0;
    width: 100%;
}

.gms-konfimg {
    width: 100%;
}

.gms-icon {
    display: inline-block;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
}

.gms-options-hidden {
    display: none;
}

.gms-section-heading {
    margin-bottom: 0.35em;
}

.gms-option + .gms-section-heading {
    margin-top: 1em;
}

.gms-option-break {
    display: block;
    height: 0.75em;
}

.gms-konfigurator .gms-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    cursor: help;
    user-select: none;
}

.gms-konfigurator .gms-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: gray;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.gms-konfigurator .gms-info-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 100;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    padding: 6px 8px;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
    border-radius: 6px;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.gms-konfigurator .gms-info-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
}

.gms-konfigurator .gms-info:hover .gms-info-text,
.gms-konfigurator .gms-info:focus-within .gms-info-text {
    visibility: visible;
    opacity: 1;
}
