@charset "UTF-8";
.set {
  display: flex;
  flex-direction: column;
  max-width: 1470px;
  margin: 0 auto;
}
.set section {
  display: flex;
  align-items: center;
}
.set .set-preview {
  display: flex;
  justify-content: space-between;
}
.set .set-preview .set-text-block {
  flex: 0 0 45%;
}
.set .set-preview .set-image-block {
  flex: 0 0 50%;
}
.set .set-details {
  flex-direction: column;
  align-items: stretch;
}
.set .set-details .set-buttons-top {
  margin-bottom: 30px;
  margin-top: 30px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.set .set-details .set-content-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  min-height: 600px;
}
.set .set-details .set-content-row .set-img-container {
  flex: 1;
  position: relative;
  overflow: visible;
  max-width: 70%;
  min-width: 0;
}
.set .set-details .set-content-row .set-img-container .set-photos-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  padding: 5px 0 5px 300px;
  margin-left: -300px;
  width: calc(100% + 300px);
  scrollbar-width: none;
}
.set .set-details .set-content-row .set-img-container .set-photos-slider::-webkit-scrollbar {
  display: none;
}
.set .set-details .set-content-row .set-img-container .set-photos-slider img {
  flex: 0 0 auto;
  height: 520px;
  width: auto;
  max-width: 400px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 16px;
}
.set .set-details .set-content-row .set-img-container .set-photos-slider img:first-child {
  margin-left: 0;
}
.set .set-details .set-content-row .set-item {
  flex: 0 0 600px;
  display: flex;
  flex-direction: column;
  min-width: 600px;
}
.set .set-details .set-content-row .set-item .set-nav-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  align-items: center;
}
.set .set-details .set-content-row .set-item .set-nav-buttons button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.set .set-details .set-content-row .set-item .set-nav-buttons button:hover {
  background: #f5f5f5;
  border-color: #999;
  transform: scale(1.05);
}
.set .set-details .set-content-row .set-item .set-nav-buttons button:active {
  transform: scale(0.95);
}
.set .set-details .set-content-row .set-item .set-nav-buttons button svg {
  width: 16px;
  height: 16px;
  fill: #333;
}
.set .view-sets {
  width: 50%;
}
.set .set-main-image {
  border-radius: 16px;
}
.set h1, .set h2, .set p, .set span, .set .switch-button {
  font-family: "Golos Text", sans-serif;
  font-style: normal;
}
.set h1 {
  font-weight: 600;
  font-size: 50px;
}
.set p, .set .switch-button {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
}
.set .set-subtitle {
  font-weight: 400;
  font-size: 16px;
  color: #8e8e8e;
}
.set .buttons-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  position: relative;
}
.set .switch-button {
  padding: 8px 16px;
  border: solid #000 1px;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  background-color: #ffffff;
  color: #333;
  transition: background-color 0.3s;
}
.set .switch-button.active {
  background-color: #E9E9E9;
}
.set .switch-button:hover {
  background-color: #e0e0e0;
}

.btn-icon {
  margin-right: 8px;
  vertical-align: middle;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 8px;
  max-width: 1200px;
  width: 90%;
  max-height: 800px;
  display: flex;
  flex-direction: column;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 30px 30px 0 30px;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  flex: 1;
}

.modal-header-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.modal-body {
  padding: 20px 30px;
  overflow-y: auto;
  flex: 1;
}
.modal-body p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
}
.modal-body p, .modal-body span, .modal-body strong {
  font-family: "Golos Text", sans-serif;
  font-style: normal;
}

.modal-footer {
  padding: 0 30px 30px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  gap: 60%;
}
.modal-footer .set-price {
  margin-right: auto;
}
.modal-footer .basket {
  margin-left: auto;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.modal-close:hover {
  background-color: #f5f5f5;
  color: #333;
}

.set-price {
  background-color: #FFD500;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.set-price .price-amount {
  font-weight: 700;
}
.set-price .price-currency {
  font-weight: 600;
  font-size: 16px;
}

.download-btn {
  width: 100%;
  border: 1px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #000000;
  background: #E9E9E9;
  padding: 10px 15px;
  font-family: "Golos Text", sans-serif;
  font-style: normal;
}
.download-btn:hover {
  color: #000000 !important;
  background: #d3d3d3;
}

/* Мобильная цена - скрыта по умолчанию */
.set-price-mobile {
  display: none;
  background-color: #FFD500;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-left: auto;
}
.set-price-mobile .price-amount {
  font-weight: 700;
}
.set-price-mobile .price-currency {
  font-weight: 600;
  font-size: 14px;
}

.set-select {
  position: relative;
  min-width: 200px;
  z-index: 10;
  margin-right: 12px;
}
.set-select__selected {
  padding: 8px 16px;
  border: solid #000 1px;
  border-radius: 10px;
  cursor: pointer;
  background-color: #ffffff;
  font-family: "Golos Text", sans-serif;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.set-select__selected::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23018A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-position: center;
  transition: transform 0.3s ease;
}
.set-select__selected:hover {
  background-color: #f5f5f5;
}
.set-select.active .set-select__selected::after {
  transform: rotate(180deg);
}
.set-select.active .set-select__options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.set-select__options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  max-height: 300px;
  overflow-y: auto;
  margin-top: 4px;
}

.set-option {
  padding: 12px 16px;
  cursor: pointer;
  font-family: "Golos Text", sans-serif;
  font-weight: 400;
  font-size: 16px;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f5f5f5;
}
.set-option:last-child {
  border-bottom: none;
}
.set-option:hover {
  background-color: #f8f8f8;
}
.set-option.active {
  background-color: #e9e9e9;
  font-weight: 500;
}

.set-select select {
  display: none;
}

/* Планшет (768px - 1024px) */
@media (max-width: 1024px) {
  .set {
    padding: 0 20px;
  }
  .set .set-preview {
    flex-direction: column;
    gap: 30px;
  }
  .set .set-preview .set-text-block {
    order: 2;
    flex: 1 1 100%;
    width: 100%;
  }
  .set .set-preview .set-image-block {
    order: 1;
    flex: 1 1 100%;
    width: 100%;
    text-align: center;
  }
  .set .set-details .set-buttons-top {
    flex-direction: row;
    gap: 12px;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  .set .set-details .set-buttons-top .buttons-container {
    flex: 1;
    justify-content: flex-start;
  }
  .set .set-details .set-buttons-top .set-price {
    display: none;
  }
  .set .set-details .set-content-row {
    flex-direction: column;
    min-height: auto;
    gap: 30px;
  }
  .set .set-details .set-content-row .set-img-container {
    order: 1;
    max-width: 100%;
  }
  .set .set-details .set-content-row .set-img-container .set-photos-slider {
    padding: 5px 0;
    margin-left: 0;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
  }
  .set .set-details .set-content-row .set-img-container .set-photos-slider img {
    height: 400px;
    max-width: 300px;
  }
  .set .set-details .set-content-row .set-item {
    order: 2;
    flex: 1 1 100%;
    min-width: auto;
  }
  .set .set-details .set-content-row .set-item .set-nav-buttons {
    /* Кнопки слева на планшете */
    justify-content: flex-start;
  }
  .set .set-details .set-content-row .set-item .set-nav-buttons .set-price-mobile {
    display: flex;
  }
  .set .set-details .set-content-row .set-item .set-price {
    display: none;
  }
  .set h1 {
    font-size: 36px;
    text-align: center;
  }
  .set .view-sets {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .set .buttons-container {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }
  .modal-content {
    width: 95%;
    max-height: 90vh;
    margin: 20px;
  }
  .modal-header {
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 20px 0 20px;
    position: relative;
  }
  .modal-title {
    flex: 1;
    margin-bottom: 0;
  }
  .modal-header-buttons {
    position: relative;
    align-items: flex-start;
  }
  .modal-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .modal-body {
    padding: 15px 20px;
  }
  .modal-footer {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px 20px 20px;
  }
  .modal-footer .set-price {
    margin-right: 0;
    order: 1;
  }
  .modal-footer .basket {
    margin-left: 0;
    order: 2;
    width: 100%;
  }
  .modal-footer #go-to-card-modal {
    order: 3;
    width: 100%;
  }
}
/* Телефон (до 767px) */
@media (max-width: 767px) {
  .set {
    padding: 0 15px;
  }
  .set .set-preview {
    gap: 20px;
  }
  .set .set-preview .set-text-block h1 {
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
  }
  .set .set-preview .set-image-block {
    text-align: center;
  }
  .set .set-details .set-buttons-top {
    margin: 20px 0;
  }
  .set .set-details .set-buttons-top .buttons-container {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .set .set-details .set-buttons-top .buttons-container::-webkit-scrollbar {
    display: none;
  }
  .set .set-details .set-buttons-top .set-price {
    display: none;
  }
  .set .set-details .set-content-row .set-img-container .set-photos-slider {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
  }
  .set .set-details .set-content-row .set-img-container .set-photos-slider img {
    height: 300px;
    max-width: 250px;
  }
  .set .set-details .set-content-row .set-item .set-nav-buttons {
    /* Кнопки слева на мобильных */
    justify-content: flex-start;
  }
  .set .set-details .set-content-row .set-item .set-nav-buttons .set-price-mobile {
    display: flex;
    padding: 6px 12px;
    font-size: 14px;
  }
  .set .set-details .set-content-row .set-item .set-nav-buttons .set-price-mobile .price-currency {
    font-size: 12px;
  }
  .set .set-details .set-content-row .set-item .title {
    font-size: 20px;
    text-align: center;
  }
  .set .set-details .set-content-row .set-item .set-subtitle {
    text-align: center;
  }
  .set .set-details .set-content-row .set-item .description {
    text-align: center;
  }
  .set .set-details .set-content-row .set-item .buttons-container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .set .set-details .set-content-row .set-item .set-price {
    display: none;
  }
  .set h1 {
    font-size: 24px;
  }
  .set .switch-button {
    text-align: center;
    flex: 0 0 auto;
    min-width: 120px;
  }
  .modal-content {
    width: 95%;
    margin: 10px;
    border-radius: 12px;
  }
  .modal-header {
    padding: 15px 15px 0 15px;
    flex-direction: row;
    align-items: flex-start;
  }
  .modal-title {
    font-size: 20px;
    text-align: left;
    padding-right: 40px;
  }
  .modal-header-buttons {
    position: relative;
  }
  .modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  .download-btn {
    width: 100%;
    justify-content: center;
    font-size: 12px;
    padding: 8px 12px;
  }
  .modal-body {
    padding: 10px 15px;
  }
  .modal-body p {
    font-size: 14px;
    line-height: 1.4;
  }
  .modal-footer {
    padding: 0 15px 15px 15px;
  }
  .modal-footer .standard-btn {
    width: 100%;
    justify-content: center;
  }
  .set-price {
    font-size: 16px;
    padding: 8px 16px;
  }
}
.set-buttons-top .buttons-container {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 5px 0;
  margin: -5px 0;
}
.set-buttons-top .buttons-container::-webkit-scrollbar {
  display: none;
}

.switch-button {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}/*# sourceMappingURL=sets.css.map */