/* Basic styling for the interactive T‑Shirt hotspot plugin */
/* Container als flexbox, damit Vorder- und Rückseite nebeneinander angezeigt werden */
.tshirt-hotspot-container {
    max-width: 1000px;
    margin: 20px auto;
    font-family: sans-serif;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

/* Jede Sektion bekommt eine feste Breite für die Anordnung nebeneinander */
.tshirt-section {
    flex: 0 0 45%;
    margin-bottom: 20px;
}

.tshirt-section h3 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.tshirt-wrapper {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: 350px;
}

.tshirt-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* General spot styling */
/* Allgemeines Styling für die Punkte (Hotspots) */
.spot {
    position: absolute;
    width: 22px;
    height: 22px;
    background: #66c1be; /* Farbe der Punkte, wie gewünscht */
    border-radius: 50%;
    cursor: pointer;
}

/* Tooltip styling */
.spot .tooltip {
    position: absolute;
    top: 26px;
    left: 26px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px;
    font-size: 0.75rem;
    line-height: 1.4;
    white-space: normal;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 100;
    width: 180px;
}

.spot:hover .tooltip {
    display: block;
}

/* Bilder innerhalb des Tooltips werden klein und responsiv dargestellt */
.spot .tooltip img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 6px;
}

/* Positionierung der Hotspots auf der Vorderseite */
/* Positionen auf der Vorderseite: 20px höher */
.front .spot-brust-links {
    top: calc(33% - 20px);
    left: 25%;
}
.front .spot-brust-rechts {
    top: calc(33% - 20px);
    left: 63%;
}
.front .spot-brust-mitte {
    top: calc(45% - 20px);
    left: 44%;
}
.front .spot-arm-links {
    top: calc(35% - 20px);
    left: 6%;
}
.front .spot-arm-rechts {
    top: calc(35% - 20px);
    left: 88%;
}

/* Positionierung der Hotspots auf der Rückseite */
.back .spot-nacken {
    /* 30px höher als zuvor */
    top: calc(25% - 30px);
    left: 50%;
    transform: translateX(-50%);
}
.back .spot-ruecken-schriftzug {
    /* 30px höher als zuvor */
    top: calc(45% - 30px);
    left: 50%;
    transform: translateX(-50%);
}
.back .spot-ruecken-gross {
    /* 30px höher als zuvor */
    top: calc(65% - 30px);
    left: 50%;
    transform: translateX(-50%);
}