@media (max-width: 1000px) {
    .Products {
        position: relative;
        margin-top: 72px;
        height: auto;
        width: 100vw;
    }
}

@media (min-width: 1000px) {
    .Products {
        position: relative;
        margin-top: 6rem;
        height: auto;
        width: 100vw;
    }
}

.toolbar-placeholder {
    height: 2rem;
    display: none;
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    height: 4rem;
    border: solid 1px var(--second-color);
    position: relative;
    transition: all 0.3s ease-in-out;
}

.product-count {
    margin-right: 1.5rem;
}

.product-count-text {
    font-weight: 500;
}

.toggle-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    cursor: pointer;
    user-select: none;
    margin-left: 1.25rem;
    -webkit-tap-highlight-color: transparent;
}

.filter-text {
    font-size: 1rem;
    font-weight: 700;
    margin-left: 4px;
}

.arrow-box ion-icon {
    font-size: 1rem;
    transition: .3s;
    font-weight: bold;
    position: relative;
    top: 1px;
    margin-left: 4px;
}

.arrow-active {
    transform: rotate(180deg);
}

.arrow-inactive {
    transform: rotate(0deg);
}

.filter-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 12px;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.filter-active .top-line .filter-circle {
    left: 50%;
    transition: .3s;
}

.filter-active .bottom-line .filter-circle {
    left: 15%;
    transition: .3s;
}

.filter-inactive .top-line .filter-circle {
    left: 15%;
    transition: .3s;
}

.filter-inactive .bottom-line .filter-circle {
    left: 50%;
    transition: .3s;
}

.filter-line {
    position: relative;
    width: 100%;
    height: 2px;
    transform: translateZ(0);
    /* GPU-Rendering aktivieren */
    backface-visibility: hidden;
    transform: scale(.75);
    background-color: var(--second-color);
}

.filter-circle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    border: solid 2px var(--second-color);
    background-color: var(--fifth-color);
    z-index: 2;
    transform: translateZ(0);
    /* GPU-Rendering aktivieren */
    backface-visibility: hidden;
    transform: translateY(-50%) scale(0.75);
    /* Vertikal in der Mitte ausrichten */
}

.top-line {
    position: relative;
}

.bottom-line {
    position: relative;
}

.top-line .filter-circle {
    top: 50%;
    /* Position in der Mitte der Linie */
}

.bottom-line .filter-circle {
    top: 50%;
    /* Position in der Mitte der Linie */
}

@media (max-width: 900px) {
    .shop-headline {
        width: 100%;
        height: 20vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        /* Verhindert, dass das Bild überläuft */
    }
    .shop-headline-text {
        letter-spacing: 1px;
        margin: 0;
        font-size: 1.5rem;
        font-weight: bold;
        text-transform: uppercase;
        z-index: 3;
        color: var(--fifth-color);
        /* Text sichtbar machen */
        position: relative;
    }
}

@media (min-width: 900px) {
    .shop-headline {
        width: 100%;
        height: 25vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        /* Verhindert, dass das Bild überläuft */
    }
    .shop-headline-text {
        letter-spacing: 1px;
        margin: 0;
        font-size: 2.5rem;
        font-weight: bold;
        text-transform: uppercase;
        z-index: 3;
        color: var(--fifth-color);
        /* Text sichtbar machen */
        position: relative;
    }
}

.shop-headline-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Verhindert Verzerrung */
    z-index: 1;
}

.shop-headline-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    /* Schwarzes Overlay mit 30% Opazität */
    z-index: 2;
}

.subheader {
    width: calc(100% - 5rem);
    height: auto;
    margin: 7.5%;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.title {
    font-size: 3vw;
    white-space: nowrap;
    margin-right: 3rem;
    font-family: "Raleway", sans-serif;
    letter-spacing: .4vw;
}

.subheader .line {
    width: 100%;
    height: 3px;
    margin-top: -2px;
    background-color: var(--second-color);
    user-select: none;
    transform: scaleY(1);
}

.Products-box {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    position: relative;
    height: auto;
}

.items {
    width: calc(100% - 2rem);
    margin-top: 1.5rem;
    margin-left: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.filter-tools-placeholder {
    position: relative;
    width: 20%;
    height: 100%;
    box-sizing: border-box;
    visibility: hidden;
}

.filter {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: #00000081;
    z-index: 19;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    /* For Android and iOS */
    -webkit-touch-callout: none;
    /* Disable callout for long-press */
    -webkit-user-select: none;
    /* Disable text selection */
    user-select: none;
    /* Disable text selection */
}

@media (max-width:1000px) {
    .filter-tools-mobile {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-direction: column;
        position: fixed;
        width: 50%;
        height: 100%;
        transition: left .3s;
        background-color: var(--fifth-color);
        z-index: 20;
        top: 0;
    }
}

@media (max-width: 700px) {
    .filter-tools-mobile {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-direction: column;
        position: fixed;
        width: 75%;
        height: 100%;
        transition: left .3s;
        background-color: var(--fifth-color);
        z-index: 20;
        top: 0;
    }
}

@media (min-width:1000px) {
    .filter-tools-mobile {
        display: none;
    }
    .filter {
        display: none;
    }
}

.filter-mobile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 100%;
}

.filter-tools-mobile .accordion-list {
    width: calc(100% - 3rem);
    margin-left: 0;
}

.filter-mobile-text {
    margin-right: auto;
    margin-left: 1.5rem;
}

.filter-mobile-close {
    cursor: pointer;
    margin-left: auto;
    margin-right: 1.5rem;
    -webkit-tap-highlight-color: transparent;
}

.filter-mobile-close ion-icon {
    font-size: 1.5rem;
}

.filter-mobile-text-content {
    font-size: 1.5rem;
}

.filter-tools {
    position: absolute;
    width: calc(20% - 1.25rem);
    height: 100%;
    margin-left: 1.25rem;
    margin-top: 1.5rem;
    box-sizing: border-box;
    border: solid 3px var(--second-color);
}

.accordion-list.fixed {
    position: fixed;
    left: 1.5rem;
    top: 6rem;
    z-index: 10;
    width: calc(20% - 1.5rem);
}

.accordion-list {
    margin-top: 2.5rem;
    margin-left: .5rem;
    padding: 0;
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-right: .5rem;
    justify-content: flex-start;
    flex-direction: column;
    user-select: none;
}

.accordion {
    width: 100%;
    margin-bottom: 1.5rem;
}

.accordion-title {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    width: 100%;
    cursor: pointer;
}

.accordion-title-name {
    font-size: 1rem;
    font-weight: 700;
    margin-left: .5rem;
    margin-right: auto;
    user-select: none;
}

.accordion-title ion-icon {
    margin-left: auto;
    font-size: 1rem;
    font-weight: 700;
    transition: .3s;
}

.accordion .line {
    width: calc(100% - .75rem);
    margin-left: .5rem;
    height: 1px;
    margin-top: 1rem;
    user-select: none;
    transform: translateZ(0);
    backface-visibility: hidden;
    background-color: var(--second-color);
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    padding: 4px 0;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.checkbox-square {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 2px solid var(--second-color);
    position: relative;
    border-radius: 0;
}

.custom-checkbox input:checked~.checkbox-square::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    background: var(--second-color);
    left: 1.5px;
    top: 1.25px;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.custom-checkbox input {
    pointer-events: none;
}

.label-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.count {
    color: #666;
    margin-left: 2px;
}

.price-range-container {
    width: calc(97.5% - 3px);
    margin-left: 3px;
}

.price-inputs {
    display: flex;
    margin-bottom: 1rem;
    align-items: center;
}

.input-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    border: solid 1px #d9d9d9;
    height: 3rem;
    width: 40%;
    background-color: var(--fifth-color);
}

.price-inputs input {
    width: 100%;
    border: none;
    font-size: 1rem;
    color: var(--second-color);
    background-color: var(--fifth-color);
    margin-left: auto;
    text-align: left;
}

@media (max-width: 1200px) {
    .price-inputs input {
        margin-right: 4px;
    }
    .input-container span {
        margin-left: 4px;
        margin-right: 4px
    }
    .accordion-content {
        margin-left: .5rem;
        margin-right: .5rem;
    }
}

@media (min-width: 1200px) {
    .price-inputs input {
        margin-right: 8px;
    }
    .input-container span {
        margin-left: 8px;
        margin-right: 8px
    }
}

.price-inputs input:focus {
    border: none;
    outline: none;
}

.input-container:has(input:focus) {
    border: solid 1px var(--second-color);
}

input[type=number] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-inputs span {
    color: #666;
    font-size: 1rem;
}

.price-inputs .till {
    margin-left: .5rem;
    margin-right: .5rem;
}

.range-slider {
    position: relative;
    height: 3px;
    background: #e1e1e1;
    border-radius: 2px;
    margin: 1.5rem 0;
}

.range-slider::before {
    content: '';
    position: absolute;
    left: var(--min);
    right: calc(100% - var(--max));
    height: 100%;
    background: var(--second-color);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.range-slider input[type="range"] {
    position: absolute;
    width: calc(100%);
    height: 0;
    -webkit-appearance: none;
    pointer-events: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--second-color);
    border-radius: 100%;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: none;
}

.range-slider input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--second-color);
    border-radius: 100%;
    pointer-events: auto;
    cursor: pointer;
    border: none;
}

.sizes {
    margin-top: .5rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}

.size {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    margin-bottom: .5rem;
    color: #666;
    transition: .1s;
}

.size:hover {
    color: var(--second-color);
}

.sizes .selected~.size-value {
    color: var(--second-color);
}

.dot {
    width: 4px;
    height: 4px;
    background-color: var(--second-color);
    margin-right: 1rem;
    border-radius: 100%;
    display: none;
}

.product {
    width: calc(25% - 1rem);
    height: auto;
    background-color: var(--third-background-color);
    cursor: pointer;
    margin-right: .5rem;
    margin-bottom: 5vh;
}

.product img {
    width: 100%;
    height: 100%;
}

.image-container {
    position: relative;
    display: inline-block;
}

.items .imageSlide {
    display: block;
}

.sale {
    position: absolute;
    background-color: #c9002e;
    padding: 3px;
    font-weight: 100;
    font-family: 'Janna';
    padding-left: 10px;
    padding-right: 10px;
    color: var(--fifth-color);
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 10%;
    right: 0;
}

.out-of-stock-text {
    position: absolute;
    background-color: var(--second-color);
    padding: 10px;
    color: var(--fifth-color);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 2.5%;
    left: 2.5%;
    margin: 0;
    font-size: 1rem;
}

.product-specification {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}

.product-name {
    max-width: 100%;
    overflow: hidden;
    text-align: left;
    display: inline-block;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 1.5px;
    margin: 0;
    margin-left: 4px;
    margin-top: 1rem;
}

.actual-price,
.selling-price {
    font-size: 1rem;
    font-weight: 300;
    margin: 5px;
    font-family: 'Janna';
}

.actual-price {
    color: #464646;
    position: relative;
    display: inline-block;
}

.actual-price::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 48.5%;
    /* Höhe der Linie anpassen */
    height: 2px;
    /* Dicke der Linie */
    background-color: #464646;
}

.prices {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}


/* Medienabfrage für Bildschirme mit einer Breite von maximal 900px */

@media (max-width: 900px) {
    .items {
        margin-left: 0;
        width: 100%;
        justify-content: space-around;
    }
    .product {
        width: 47.5vw;
        margin-right: 0;
        margin-bottom: 5vh;
    }
    .subheader {
        margin-left: 2.5rem;
    }
    .product-name {
        font-size: 2.5vw;
        margin-top: 1rem;
        letter-spacing: 1.25px;
    }
    .actual-price,
    .selling-price {
        font-size: 3vw;
    }
    .title {
        font-size: 6vw;
    }
}


/* Medienabfrage für Bildschirme mit einer Breite von maximal 600px */

@media (max-width: 600px) {
    .product {
        width: 47.5vw;
        margin-bottom: 5vh;
    }
    .product img {
        width: 100%;
        height: auto;
    }
    .product-name {
        font-size: 4vw;
        margin-top: 1rem;
        letter-spacing: 1px;
    }
    .actual-price,
    .selling-price {
        font-size: 3.5vw;
    }
    .title {
        font-size: 5vw;
    }
}


/* .product-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* Passt die Höhe des Containers an
}

.out-of-stock-text {
    color: white;
    font-size: 24px;
    text-align: center;
    z-index: 1;
}

.imageSlide {
    width: 100%;
    height: auto;
    z-index: 0;
} */