/*вложения в корзине товара*/
.item-files {
  margin-top: 6px;
  font-size: 13px;
  color: #555;
  word-break: break-all;
}
/*модалка*/
/*красота*/
@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
.cart-widget.bounce { animation: bounce 0.4s; }
/*виджет*/
.cart-widget {
  position: fixed;
  top: 190px;
  right: 20px;
  background: #e60000;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.25s, background 0.25s;
}
.cart-widget:hover {
  transform: scale(1.1);
  background: #b90000;
}
.cart-widget svg {
  width: 28px;
  height: 28px;
}
.cart-count {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #fff;
  color: #e60000;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 6px;
  transform: translate(30%, 30%);
}
/*корзина*/
input[type="number"] {
  -webkit-appearance: number-input;
  appearance: number-input;
  height: 12px;
}
.btn-korzina {
  fill: #706F6F;
  transition: fill 0.2s ease, transform 0.2s ease;
}
.remove-item-new svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
	height: 30px;
}
.remove-item-new:hover .btn-korzina {
  fill: #c0392b; /* красный “предупреждаю, сейчас всё сотру” */
  transform: scale(1.1);
  cursor: pointer;
}
input[type="tel"], input[type="email"] {
    max-width: 233px;
}
input[type="name"] {
    max-width: 504px;
}
.checkout-top {
    margin-top: 10px;
}
.cart-modal-new {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}
.cart-content-new {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  width: 540px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.close-cart {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #666;
}
.cart-content-new h2 {
  margin: 0 0 20px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
}
.cart-item-new {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
  background: #fafafa;
}
.cart-item-new img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}
.cart-info {
  flex: 1;
  font-size: 14px;
  color: #333;
}
.cart-info strong {
  font-size: 16px;
  display: block;
  margin-bottom: 6px;
}
.remove-item-new {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #d33;
  transition: 0.2s;
}
.remove-item-new:hover {
  color: #900;
}
.cart-sum {
  text-align: right;
  font-weight: 800;
  font-size: 18px;
  margin-top: 16px;
}

.checkout-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.checkout-form label {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 14px;
}
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  font-size: 14px;
  transition: 0.3s;
}
.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: #e60000;
  outline: none;
}
.checkout-row {
  display: flex;
  gap: 14px;
}
.checkout-row div {
  flex: 1;
}
.checkbox-label {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.checkbox-label a {
  color: #e60000;
  text-decoration: none;
}
.checkout-submit {
  margin-top: 10px;
  padding: 14px;
  font-size: 16px;
  background: #e60000;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}
.checkout-submit:hover {
  background: #b90000;
}
input[type="checkbox"] {
    width: 14px;
}
@media (max-width: 700px) {
input.numfil, input[type="file"] {
    min-height: 32px !important;
}
  .cart-content-new {
    width: 90%;
    padding: 20px;
  }
  .checkout-row {
    flex-direction: column;
  }
}
.st-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
}

/* Товар и изображение */
.product {
  flex: 1 1 500px;
  position: relative;
  max-width: 600px;
}
.product img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: 0.3s;
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e60000;
  color: #fff;
  padding: 6px 14px;
  font-weight: bold;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.stav-slide {
  position: relative;
}
.product-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}
span.artic {
    color: #a9a9a9;
    font-size: large;
}
/* Форма */
.form-box {
  flex: 1 1 auto;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.st-form-header {
  background: #ea333a;
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 14px;
  font-size: 18px;
}
.form-content {
  padding: 22px 24px;
}
.st-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 18px;
}
.st-form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 14px;
}
select, input.numfil, input[type="file"], textarea {
    width: 100%;
    border: 1px solid #bbb;
    border-radius: 6px;
    padding: 8px;
    font-size: 14px;
    outline: none;
    transition: 0.2s;
    min-height: 22px;
}
button, input, select, textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    vertical-align: middle;
}
select {
    height: 40px;
    cursor: pointer;
}
select:focus, input:focus, textarea:focus {
  border-color: #e60000;
}
textarea {
  width: 100%;
  height: 132px;
  resize: vertical;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  line-height: 22px;
  box-sizing: border-box;
}
textarea:focus {
  outline: none;
  border-color: #c00;
  box-shadow: 0 0 4px rgba(200, 0, 0, 0.4);
}
.note {
  font-size: 12px;
  color: #777;
  margin-top: 4px;
}
.st-total-box {
  background: #fff;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 20px 24px;
  font-size: 16px;
}
.st-total-box div {
  margin-bottom: 6px;
}
.st-total-box strong {
  display: block;
  margin-top: 10px;
  font-size: 22px;
  font-weight: 800;
}

/* Кнопка */
.button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  margin: 20px auto 8px;
  padding: 14px 0;
  border: none;
  border-radius: 8px;
  background: #e60000;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  gap: 12px;
  max-width: 600px;
}
.button:hover {
  background: #b90000;
  transform: translateY(-1px);
}
.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #fff;
  display: inline-block;
}
.button:hover .btn-icon {
  transform: scale(1.15);
}
.deadline {
  text-align: center;
  font-size: 13px;
  color: #777;
  margin: 10px 10px 14px 10px;
}
span.trit {
  float: right;
}

/* --- Слайдер --- */
.imgslide {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.stav-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}
.stav-track {
  display: flex;
  transition: transform 0.6s ease;
}
.stav-slide {
  flex: 0 0 100%;
}
.stav-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.stav-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.stav-dots button {
  width: 10px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #c3c3c3;
  cursor: pointer;
  transition: background 0.3s;
}
.stav-dots button.active {
  background: #e60000;
}

/* Вкладки font-family: 'Inter', sans-serif;*/
.stav-tabs {
  max-width: 1400px;
  margin: 20px auto;
}
.stav-tabs > input[type="radio"] {
  display: none;
}
.stav-tabs > label {
  display: inline-block;
  padding: 12px 20px 2px;
  margin-right: 10px;
  cursor: pointer;
  color: #888;
  border-bottom: 4px solid #ccc;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s;
}
.stav-tabs > label:hover {
  color: #555;
  border-bottom-color: #999;
}
.stav-tabs > input:checked + label {
  color: #c00;
  border-bottom-color: #c00;
  font-weight: 600;
}
.stav-tab-panels {
  padding-top: 20px;
}
.stav-tab-panel {
  display: none;
  animation: stav-fade 0.3s ease-in-out;
}
@keyframes stav-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
#stav-tab1:checked ~ .stav-tab-panels #stav-desc,
#stav-tab2:checked ~ .stav-tab-panels #stav-specs,
#stav-tab3:checked ~ .stav-tab-panels #stav-delivery,
#stav-tab4:checked ~ .stav-tab-panels #stav-layout {
  display: block;
}

/* Кнопка “Задать вопрос” */
.stav-button {
  display: inline-block;
  padding: 14px 36px;
  margin: 20px 0;
  background-color: #fff;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(204, 0, 0, 0.2);
}
.stav-button:hover {
  background-color: #b90000;
  box-shadow: 0 6px 14px rgba(204, 0, 0, 0.3);
  transform: translateY(-1px);
}
.stav-button:active {
  background-color: #900;
  box-shadow: 0 2px 6px rgba(204, 0, 0, 0.3);
  transform: translateY(1px);
}
a.stav-button:hover {
  color: #fff;
  transition: color 0.25s;
  -webkit-transition: color 0.25s;
}
.stav-button-wrapper {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #cfcfcf;
}

/* адаптив */
@media (max-width: 960px) {
  .st-container {
    flex-direction: column;
    align-items: center;
	gap: 0;
  }
  .product {
    flex: 1 1 390px;}
  .product-title {
    text-align: center;
  }
}
/*Нижний слайдер*/
.star-slider {
  position: relative;
  max-width: 1236px;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.star-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.star-track {
  display: flex;
  transition: transform 0.5s ease;
}

.star-slide {
  flex: 0 0 25%; /* 4 изображения в ряд */
  padding: 0 8px;
  box-sizing: border-box;
}

.star-slide img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* Стрелки */
.stav-prev,
.stav-next {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  background: rgb(204 204 204);
  border: none;
  font-size: 36px;
  cursor: pointer;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
  z-index: 2;
  color: #fff;
}
.stav-prev:hover,
.stav-next:hover {
  background: rgb(173 163 163 / 95%);
}
h2.uje {
    text-align: center;
}
@media (max-width: 1430px) {
/* Адаптивность */
.st-form-row {
  gap: 45px;
}}

@media (min-width: 1431px) {
	/*рядом с меню два столбика*/
span.artic {
    position: absolute;
    z-index: 111;
}
.st-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  gap: 40px;
}

.product {
  flex: 1 1 60%;
  min-width: 0;
  margin-top: 50px;
}

.form-box {
  flex: 0 0 55%;
  position: sticky;
  top: 20px;
}
/* tmp */
input.numfil, input[type="file"] {
    max-width: 230px;
}
button.stav-prev {
    padding: 0 1px 4px 0;
}
button.stav-next {
    padding: 0 0 4px 1px;
}
  .star-slider {
    overflow: visible; /* чтобы стрелки не обрезались */
  }

  .stav-prev {
    left: 10px; /* -50px стрелка выезжает за картинки */
  }

  .stav-next {
    right: 10px;
  }
}
@media (max-width: 1430px) {
.stav-prev {
  left: 10px;
}
.stav-next {
  right: 10px;
}
}
@media (max-width: 700px) {
  .st-form-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px; /* равный отступ между всеми */
  }
  .st-form-row > div {
    width: 100%;
  }
  .st-form-row select,
  .st-form-row input,
  .st-form-row textarea,
  .st-form-row input[type="file"] {
    width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 992px) {
  .star-slide { flex: 0 0 33.33%; }
}

@media (max-width: 768px) {
  .star-slide { flex: 0 0 50%; }
}

@media (max-width: 480px) {
  .star-slide { flex: 0 0 100%; }
}
/* --- Вкладки / Аккордеон --- font-family: 'Inter', sans-serif; */
.stav-tabs {
  max-width: 1400px;
  margin: 20px auto;
}

.stav-tabs > input[type="radio"] {
  display: none;
}

.stav-tabs > label {
  display: inline-block;
  padding: 12px 20px 2px;
  margin-right: 10px;
  cursor: pointer;
  color: #888;
  border-bottom: 4px solid #ccc;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s;
}

.stav-tabs > label:hover {
  color: #555;
  border-bottom-color: #999;
}

.stav-tabs > input:checked + label {
  color: #c00;
  border-bottom-color: #c00;
  font-weight: 600;
}

.stav-tab-panels {
  padding-top: 20px;
}

.stav-tab-panel {
  display: none;
  animation: stav-fade 0.3s ease-in-out;
}

@keyframes stav-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

#stav-tab1:checked ~ .stav-tab-panels #stav-desc,
#stav-tab2:checked ~ .stav-tab-panels #stav-specs,
#stav-tab3:checked ~ .stav-tab-panels #stav-delivery,
#stav-tab4:checked ~ .stav-tab-panels #stav-layout {
  display: block;
}

/* --- Кнопка “Задать вопрос” --- */
.stav-button {
  display: inline-block;
  padding: 14px 36px;
  margin: 20px 0;
  background-color: #fff;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(204, 0, 0, 0.2);
}

.stav-button:hover {
  background-color: #b90000;
  box-shadow: 0 6px 14px rgba(204, 0, 0, 0.3);
  transform: translateY(-1px);
}

.stav-button:active {
  background-color: #900;
  box-shadow: 0 2px 6px rgba(204, 0, 0, 0.3);
  transform: translateY(1px);
}

a.stav-button:hover {
  color: #fff;
  transition: color 0.25s;
  -webkit-transition: color 0.25s;
}

.stav-button-wrapper {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #cfcfcf;
}

/* -----------------------------
   📱 Мобильный вид как аккордеон
------------------------------ */
@media (max-width: 768px) {
span.artic {
    font-size: medium;
}
.product-title {
    font-size: 22px;}
  .stav-tabs {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    border-top: 1px solid #ddd;
  }

  .stav-tabs > label {
    display: block;
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    font-size: 17px;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
    background: #f9f9f9;
    color: #333;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
  }

  .stav-tabs > label::after {
    content: "▸";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.35s ease;
  }

  .stav-tabs > label:active {
    background: #eee;
  }

  /* скрываем обычные таб-панели */
  .stav-tab-panels {
    padding-top: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .stav-tab-panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
  }

  /* при выборе таба — раскрываем блок */
  #stav-tab1:checked ~ .stav-tab-panels #stav-desc,
  #stav-tab2:checked ~ .stav-tab-panels #stav-specs,
  #stav-tab3:checked ~ .stav-tab-panels #stav-delivery,
  #stav-tab4:checked ~ .stav-tab-panels #stav-layout {
    max-height: 9500px;
    padding: 12px 16px 16px;
  }

  /* стрелка поворачивается */
  #stav-tab1:checked + label::after,
  #stav-tab2:checked + label::after,
  #stav-tab3:checked + label::after,
  #stav-tab4:checked + label::after {
    transform: translateY(-50%) rotate(90deg);
  }

  /* убираем нижний “подчеркнутый” стиль вкладок */
  .stav-tabs > input:checked + label {
    color: #e60000;
    border: none;
    background: #f3f3f3;
  }

  /* контент не вылезает за экран */
  .stav-tab-panel p,
  .stav-tab-panel ul,
  .stav-tab-panel div {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .stav-button-wrapper {
    border: none;
    margin-top: 10px;
  }
}
@media (max-width: 430px) {
.deadline {
    padding: 0 28px;
}}
section.menu.menu_type_mobile {
    display: none;
}
.stav-slide img,
.star-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  background-color: #f0f0f0; /* серый фон-заглушка */
  margin-bottom: 30px;
}