summary::-webkit-details-marker {
    display: none
}

details summary {
    list-style: none;
}

details[open] summary:after {
    content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxNyAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIuMDA5NjcgMTEuMjEwM0wxMC4wNDg0IDIuODczODVMOC4wMzg2OSAwLjc4OTc0NEwwIDkuMTI2MTZMMi4wMDk2NyAxMS4yMTAzWiIgZmlsbD0iI0VENzgxNyIvPgo8cGF0aCBkPSJNMTYuMDc3NCA5LjEyNjE2TDguMDM4NjkgMC43ODk3NDRMNi4wMjkwMyAyLjg3Mzg1TDE0LjA2NzcgMTEuMjEwM0wxNi4wNzc0IDkuMTI2MTZaIiBmaWxsPSIjRUQ3ODE3Ii8+Cjwvc3ZnPg==");
    float: right;
}

summary:after {
    content: url("data:image/svg+xml;base64, PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxNyAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIuMDA5NjcgMC4yNTg0ODRMMTAuMDQ4NCA4LjU5NDlMOC4wMzg2OSAxMC42NzlMMCAyLjM0MjU5TDIuMDA5NjcgMC4yNTg0ODRaIiBmaWxsPSIjRUQ3ODE3Ii8+CjxwYXRoIGQ9Ik0xNi4wNzc0IDIuMzQyNTlMOC4wMzg2OSAxMC42NzlMNi4wMjkwMyA4LjU5NDlMMTQuMDY3NyAwLjI1ODQ4NkwxNi4wNzc0IDIuMzQyNTlaIiBmaWxsPSIjRUQ3ODE3Ii8+Cjwvc3ZnPg==");
    float: right;
}
body:has(.modal__open.modal__fixed) {
    position: fixed;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.modal {
    display: none;
}

.modal__open {
    display: flex;
}

.modal_close {
    cursor: pointer;
}
.range_container {

}

.sliders_control {
    position: relative;
    min-height: 20px;
}

.form_control {
    position: relative;
    display: flex;
    justify-content: space-between;
    font-size: 24px;
    color: #635a5a;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 24px;
    height: 24px;
    background-color: white;
    border: 3px solid var(--red);
    border-radius: 50%;
    cursor: pointer;
}

input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 24px;
    height: 24px;
    background-color: var(--red);
    border-radius: 50%;
    cursor: pointer;
}

input[type=range]::-webkit-slider-thumb:hover {
    /*background: var(--orange);*/
}

input[type=range]::-webkit-slider-thumb:active {
    box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
    -webkit-box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
}

input[type="number"] {
    color: #8a8383;
    width: 50px;
    height: 30px;
    font-size: 20px;
    border: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 3px;
    width: 100%;
    position: absolute;
    background-color: var(--ruble-gray);
    pointer-events: none;
}

#fromSlider {
    height: 0;
    z-index: 1;
}
.slide {
    transition: opacity 1s ease-in-out;
    opacity: 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.slide.slider__active {
    opacity: 1;
    position: relative;
}

.slider_container {
    position: relative;
    overflow: hidden;
    min-height: 300px; /* Укажите подходящую высоту */
}

.dot {
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.spoiler-content {
    display: none;
}

.spoiler.spoiler__open .spoiler-content {
    display: flex;
}

.spoiler.spoiler__open .spoiler-dot {
    background-color: var(--orange);
}

.spoiler.spoiler__open .spoiler-title {
    background-color: var(--light-gray);
}
.switch {
    display: inline-block;
    height: 18px;
    position: relative;
    width: 32px;
}

.switch input {
    display:none;
}

.switch_slider {
    background-color: var(--gray);
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.switch_slider:before {
    background-color: #fff;
    bottom: 2px;
    content: "";
    height: 14px;
    left: 1px;
    position: absolute;
    transition: .4s;
    width: 14px;
}

.switch input:checked + .switch_slider {
    background-color: var(--orange);
}

.switch input:checked + .switch_slider:before {
    transform: translateX(16px);
}

.switch_slider.round {
    border-radius: 34px;
}

.switch_slider.round:before {
    border-radius: 50%;
}
.collections-tab-content {
    display: none;
}

.collections-tab-content__open {
    display: block;
}

.collections_tab_button__active {
    background-color: var(--light-gray);
}

.collections_tab_button__active .collections_tab_button-dot {
    background-color: var(--orange);
}

.collections_tab_button:hover h3 {
    color: var(--orange);
}
#sku-confirm-btn{
    cursor: pointer;
}
.pointer{
    cursor: pointer;
}
.sort_link a.active{
    color: orange;
}
.main-image {
    transition: opacity 0.4s ease;
    opacity: 1;
}
.main-image.fade-out {
    opacity: 0;
}
.thumbnail{
    cursor: pointer;
}
#load-more, [data-use] {
    cursor: pointer;
    margin-bottom: 100px;
}
@media (max-width: 640px) {
  .more_photos{
    max-height: 100px;
  }
}
