/* Headline Style */
.shop__headline {
    text-align: center;
    padding: 7rem 1rem 4rem;
    color: var(--text);
}

.shop__headline h2 {
    font-size: 2rem;
    margin: 0;
}

.shop__headline p {
    font-size: 1.2rem;
    margin: 0;
}

/* Standart Textfarbe und Klassen */
small,
h2,
p,
div,
ul,
li {
    color: var(--text);
}

ul {
    background: var(--background);
    padding: 0.5rem 1rem 0.8rem 2rem;
    border-radius: 0.5rem;
    margin-top: 0;
    margin-bottom: 0;
}

li {
    font-size: 0.9rem;
    padding-top: 0.2rem;
}

.shop__grid {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.shop__card {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    background: var(--background-content);
    border: 3px solid var(--border);
    border-radius: 1rem;
    padding: 1rem;
}

.shop__card-content {
    flex: 1;
    text-align: center;
}

.shop__card-configurator {
    display: contents;
}

.shop__configurator-sidebar {
    background: var(--background-content);
    border: 3px solid var(--border);
    border-radius: 1rem;
    padding: 1rem;
}

.shop__configurator-main {
    background: var(--background-content);
    border: 3px solid var(--border);
    border-radius: 1rem;
    padding: 1rem;
}

.shop__configurator-item {
    display: block;
    border: 2px solid var(--background);
    background-color: var(--background);
    font-size: 0.9rem;
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: 0.2s;
}

.shop__configurator-item-selected {
    border-color: var(--blue-background-sec);
}

/* Badges z.B 'Beliebt'*/
.shop__card-special-banner {
    background-color: var(--background);
    padding: 0.3rem 0.6rem;
    margin: 0.2rem;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 0.5rem;
}

/* Interner Content Card Divider - Trennt vertikal */
.shop__card-divider {
    flex: 1;
    text-align: left;
    flex-direction: column;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
}
 
/* Interner Row Divider - Trennt horizontal */
.shop__flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Vertikaler Seperator */
.shop__card-vl {
    margin: 1rem;
    margin-bottom: 0;
    width: 2px;
    background-color: var(--border);
}

/* Horizontaler Seperator */
.shop__horizontal-line {
    display: none;
    border: none;
    background-color: var(--border);
    height: 2px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Kleine Überschrift der Listen */
.shop__list-topic {
    color: var(--text-disabled);
    font-size: 0.8rem;
    padding-left: 0.5rem;
    font-weight: bold;
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
}

/* Fußnote unter den Listen */
.shop__list-description {
    font-size: 0.7rem;
    text-align: center;
    margin: 0 0.5rem 1rem;
}

/* Fußnote */
.shop__footer {
    font-size: 0.7rem;
    text-align: center;
    margin: 0 auto 3rem;
    max-width: 800px;
}

/* Blaue Buttons */
.shop__button-add button {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 0.5rem;
    color: var(--blue-text);
    background: var(--blue-background-pri);
    position: relative;
    overflow: hidden;
    transition: all 250ms;
    z-index: 1;
}

.shop__button-add button::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 0;
    background-color: var(--blue-background-sec);
    z-index: -1;
    transition: width 500ms;
}

.shop__button-add button:hover {
    box-shadow: 0px 0px 50px -15px var(--blue-background-sec);
}

.shop__button-add button:hover::before {
    width: 100%;
}

/* Segment Control */
.shop__segment-control-background {
    background-color: var(--background-content);
    max-width: 250px;
    margin: 2rem auto 0rem;
    padding: 0.3rem;
    border-radius: 0.5rem;
}

.shop__segment-control {
    display: flex;
    justify-content: space-between;
    border-radius: 0.5rem;
    overflow: hidden;
    max-width: 250px;
    font-size: 0.75rem;
}

.shop__segment-control input {
    display: none;
}

.shop__segment-control label {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-disabled);
    background: var(--background-content);
    font-weight: bold;
}

.shop__segment-control label:hover {
    color: var(--text-selected);
}

.shop__segment-control input:checked+label {
    background: var(--background);
    border-radius: 0.5rem;
    color: var(--text);
}

.shop__segment-control input:checked+label:hover {
    color: var(--text-selected);
}

@media (max-width: 900px) {

    .shop__horizontal-line {
        display: block;
    }

    .shop__card-vl {
        display: none;
    }

    .shop__grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }

    .shop__card {
        flex-direction: column;
    }

    .shop__configurator-main {
        order: 2;
    }

    .shop__configurator-sidebar {
        order: 3;
    }

    .shop__footer {
        max-width: 300px;
    }
}