.sv-modul-ebboxen-wrapper .sv-eb-header-wrapper {
    background-color: var(--sailer-teal-dark);
}

.sv-eb-content-width {
    max-width: calc(1200px + 3rem);
    margin: 0 auto;
    padding: 0 1.5rem;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.sv-modul-ebboxen-wrapper .sv-eb-header {
    display: grid;
    margin: 0 auto;
    padding: 60px 0;
    grid-template-columns: 1fr 1fr;
    grid-gap: 32px;
    color: var(--sailer-beige);
}

.sv-modul-ebboxen-wrapper .sv-eb-header .header-right {
    display: flex;
    justify-content: center;
    align-items: center;

}

.sv-modul-ebboxen-wrapper.sv-eb-merchandising .sv-eb-header {
    grid-template-columns: 2fr 1fr;
}

.sv-modul-ebboxen-wrapper .sv-eb-header h1 {
    font-family: 'argyle_socks_thick';
    color: var(--sailer-beige);
    text-align: center;
    font-size: 3.125rem;
    line-height: 1;
    margin-bottom: 27px;
    padding: 0;
}

.sv-eb-header h2 {
    font-family: 'merlo_neue';
    color: var(--sailer-beige);
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 300;
}

.sv-eb-content-wrapper {
    background-color: var(--sailer-beige);
}

.sv-modul-ebboxen-wrapper .sv-eb-pre-content {
    padding: 80px 0 60px 0;
}

.sv-modul-ebboxen-wrapper .sv-eb-pre-content h2 {
    color: var(--sailer-teal-900);
    font-family: 'merlo_neue';
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 500;
}

.sv-modul-ebboxen-wrapper .sv-eb-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 32px;
    padding: 0 0 80px 0;
}

.sv-modul-ebboxen-wrapper .sv-eb-content h3.eb-ausgabe, .sv-modul-ebboxen-wrapper .sv-eb-content h3.eb-inhalt {
    color: var(--sailer-teal-900);
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.sv-modul-ebboxen-wrapper span.eb_preis {
    display: block;
    text-align: center;
    color: var(--sailer-seal);
    font-weight: 600;
    font-size: 1.325rem;
    line-height: 2.5rem;
    padding: 1.5rem 0 1rem 0; 
}

.sv-modul-ebboxen-wrapper span.eb_versandkosten {
    display: block;
    text-align: center;
    color: var(--sailer-teal-50);
    font-weight: 400;
    font-size: 0.825rem;
    line-height: 1.5rem;
    padding: 0rem 0 2.5rem 0; 
    margin-top: -2.5rem;
}

.sv-modul-ebboxen-wrapper select.mobile {
    margin: 0 auto;
    margin-top: 1.75rem;
    margin-bottom: 2rem;
    width: 280px;
    text-align: center;
    padding: 0.5rem 1rem;
}

@media (max-width: 760px) {
    .sv-modul-ebboxen-wrapper .sv-eb-header {
        grid-template-columns: 1fr;
    }
    .sv-modul-ebboxen-wrapper .sv-eb-content {
        grid-template-columns: 1fr;
    }
    .sv-modul-ebboxen-wrapper .sv-eb-header .content-left {
        text-align: center;
    }
    .sv-modul-ebboxen-wrapper .sv-eb-header .sv-eb-cover, .sv-modul-ebboxen-wrapper .sv-eb-header .sv-eb-pdf {
        margin-left: auto;
        margin-right: auto;
    }
    .sv-modul-ebboxen-wrapper .sv-eb-header .content-right {
        margin-top: 3rem
    }
    .sv-modul-ebboxen-wrapper.sv-eb-merchandising .sv-eb-header {
        grid-template-columns: 1fr;
    }
    .sv-modul-ebboxen-wrapper .sv-eb-header h1 {
        font-size: 2.3125rem;
    }
}

.nice-select .list {
    color: var(--sailer-teal-900);
    background-color: var(--sailer-teal-50);
    border-radius: 8px;
    width: 100%;
}

.sv-modul-ebboxen-wrapper .sv-eb-header-wrapper .nice-select {
    -webkit-tap-highlight-color: transparent;
    
    max-width: 300px;
    margin: 0 auto;
    margin-top: 1.75rem;
    margin-bottom: 2rem;
    background: none;
    color: var(--sailer-beige);
    border-radius: 22px;
    border: solid 1px #e8e8e8;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: block;
    float: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: normal;
    height: 44px;
    line-height: 42px;
    outline: none;
    padding-left: 18px;
    padding-right: 30px;
    position: relative;
    text-align: left !important;
    -webkit-transition:all .2s ease-in-out;
    -o-transition:all .2s ease-in-out;
    transition:all .2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
}
.sv-eb-pdf {
    max-width: 390px;
    display: block;
}
.sv-eb-pdf a {
    max-width: 230px;
    margin: 0 auto;
    margin-top: 1.75rem;
    margin-bottom: 2rem;
    background: none;
    color: var(--sailer-beige);
    border-radius: 22px;
    border: solid 1px #e8e8e8;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: block;
    float: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: normal;
    height: 44px;
    line-height: 42px;
    outline: none;
    /* padding-left: 18px;
    padding-right: 30px; */
    position: relative;
    text-align: center;
    text-decoration: none;
}
.sv-modul-ebboxen-wrapper span.current {
text-align: center;
    width: 100%;
    display: block;
}

.sv-eb-content-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sv-eb-content-right ul li {
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
    padding: 1rem 1rem;
    font-weight: 400;
    background-color: var(--sailer-teal-100);
    color: var(--sailer-teal-900);
    border-radius: 8px;
    font-size: 1.125rem;
    margin-bottom: 0.825rem;
}



.sv-modul-ebboxen-wrapper .nice-select .option {
    text-align: center;
}

.sv-modul-ebboxen-wrapper .sv-eb-count-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.sv-modul-ebboxen-wrapper .inner-eb-button-wrapper {
    text-align: center;
}

.sv-modul-ebboxen-wrapper .sv-eb-header .svebbutton {
    cursor: pointer;
    color: var(--sailer-teal-900);
    border-width: 0px;
    border-radius: 50px;
    font-size: var(--modul-button-font-size);
    font-weight: 700;
    background-color: var(--sailer-yellow);
    padding: 10px 2rem;
    text-transform: none;
    text-align: center;
    display: inline-block;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sv-modul-ebboxen-wrapper .sv-eb-header .svebbutton:hover {
    background-color: var(--sailer-teal-600);
    color: var(--sailer-teal-50);
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.sv-modul-ebboxen-wrapper .sv-eb-header .eb-liefer-info {
    max-width: 250px;
    margin: 0 auto;
    padding-top: 3rem;
}

.sv-modul-ebboxen-wrapper .sv-eb-modul-warenkorbbutton .anzahledit {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--sailer-teal-50);
    color: var(--sailer-teal-900);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    line-height: 2.5rem;
    margin: 0;
}

.sv-modul-ebboxen-wrapper .sv-eb-modul-warenkorbbutton input.anzahl {
    -moz-appearance: textfield;
    padding:0;
    margin: 0;
    text-align: center !important;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: none;
    color: var(--sailer-white);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2.5rem;
    width: auto;
    max-width: 80px;
    padding-left: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}   

.sv-modul-ebboxen-wrapper .gallery-grid.desktop {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 5px;
}

.sv-modul-ebboxen-wrapper .gallery-grid.desktop a {
    width: 100%;
}

.sv-modul-ebboxen-wrapper .gallery-grid.desktop img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.sv-modul-ebboxen-wrapper .mobileGallery {
    display: none;
}

.sv-modul-ebboxen-wrapper .mobileGallery img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px; 
    
}

.sv-modul-ebboxen-wrapper .mobileGallery .gallery-item a {
    width: 100%;
}

.sv-modul-ebboxen-wrapper .mobileGallery .swiper-slide {
  width: 80%;
}

/* .sv-modul-ebboxen-wrapper .mobileGallery .swiper-slide:nth-child(2n) {
  width: 60%;
}

.sv-modul-ebboxen-wrapper .mobileGallery .swiper-slide:nth-child(3n) {
  width: 40%;
} */

@media (max-width: 760px) {
    .sv-modul-ebboxen-wrapper .mobileGallery {
        display: block;
        overflow-x: hidden;
    }
    .sv-modul-ebboxen-wrapper .gallery-grid.desktop {
        display: none;
    }
    
}

.sv-eb-cover {
    max-width: 390px;
    /* margin: 0 auto; */
    margin-bottom: 3rem;
}

.sv-eb-cover img {
    width: 100%;
    height: auto;
    display: block;
    -webkit-box-shadow: 3px 5px 8px 0px rgba(0,0,0,0.5);
-moz-box-shadow: 3px 5px 8px 0px rgba(0,0,0,0.5);
box-shadow: 3px 5px 8px 0px rgba(0,0,0,0.5);
}


.sv-eb-audioplayer {
    display: block;
    max-width: 400px;
    /* margin: 0 auto; */
}

.audio-player {
    background-color: var(--sailer-teal-800);
    padding: 22px 22px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #FDF6E3;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  }

  /* Play Button */
  #playPauseBtn {
    background-color: #FDF6E3;
    color: #08686C;
    border: none;
    width: 40px;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
  }

  #playPauseBtn:hover {
    transform: scale(1.1);
  }

  /* Time Text */
  .time {
    font-size: 12px;
    min-width: 40px;
    text-align: center;
    font-weight: 500;
    color: var(--sailer-teal-50)
  }

  /* Sliders (progress & volume) */
  input[type="range"] {
    -webkit-appearance: none;
    width: 80px;
    height: 6px;
    background: #ccc;
    border-radius: 5px;
    cursor: pointer;
  }

  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    background: #FDF6E3;
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    transition: background 0.3s ease;
  }

  input[type="range"]::-moz-range-thumb {
    height: 16px;
    width: 16px;
    background: #FDF6E3;
    border: none;
    border-radius: 50%;
  }

  .volume-icon {
    font-size: 20px;
  }