* {
  box-sizing: border-box;
}


.back {
  display: inline-block;
  margin: 20px 0;
  text-decoration: none;
  color: #086522;
  font-weight: bold;
  font-size: 18px;
}

.backk {
  display: inline-block;
  margin: 20px 0;
  text-decoration: none;
 color: white;
  font-weight: bold;
  font-size: 18px;
}

body {
    font-family: Arial, sans-serif;
}


.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  background: rgba(0,0,0,0.6);
  
  display: flex;
  justify-content: center;
  align-items: center;
  
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.popup:target {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  background: #111;
  color: white;
  padding: 25px;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 25px;
  color: white;
  text-decoration: none;
}

.closeclose {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  color: 000;
  text-decoration: none;
}


.cons {
    text-decoration: none;
    background-color: darkviolet;
    color: white;
    padding: 7px 11px;
    border-radius: 8px;
    font-size: 20px;
}




.popupp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  background: rgba(0,0,0,0.6);
  
  display: flex;
  justify-content: center;
  align-items: center;
  
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.popupp:target {
  opacity: 1;
  pointer-events: auto;
}

.popupp-content {
  background: #fff;
  color: #000;
  padding: 25px;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  position: relative;
}

   .discount {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  
  background: #111;
  color: white;
  
  padding: 12px 16px;
  border-radius: 10px;
  
  font-size: 18px;
  font-weight: bold;
  
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.icon {
  font-size: 20px;
}

.text {
  letter-spacing: 0.5px;
}

 .prices {
  color: white;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  background-color: #2d2926;
}

.price {
  color: white;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
background: linear-gradient(to bottom,  #2a0047 0%, #1a0026 10%, #000000 100%);
}

.prices h2 {
  margin-top: 40px;
  font-size: 22px;
  letter-spacing: 1px;
}

.prices small {
  color: #aaa;
  font-size: 12px;
}

.price-table {
  width: 100%;
  max-width: 700px;
  margin-top: 15px;
  border-collapse: collapse;
}

.price-table td {
  padding: 6px 0;
  font-size: 15px;
}

.price-table td:last-child {
 
  white-space: nowrap;
}

/* разделители */
.section {
  margin-bottom: 30px;
}


.hair-section {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.hair-text {
  flex: 1;
  min-width: 0;
}



.hair-image {
  flex-shrink: 0;
}


.hair-image img {
  width: 280px;
  border-radius: 12px;
  margin-top: 100px;
}

@media (max-width: 768px) {
  .hair-image img {
    width: 190px;
  }
}

video {
  width: 300px;
  border-radius: 12px;
}


.slider {
  position: relative;
  width: 90%;
  max-width: 500px;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slides img {
  width: 100%;
  border-radius: 12px;
  flex-shrink: 0;
}

/* Стрелки */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #2e4d34;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: 0.2s;
}

.arrow:hover {
  background: white;
}

.left {
  left: -10px;
}

.right {
  right: -10px;
}

details summary {
  font-size: 18px; /* размер вопроса */
  font-weight: bold;
  cursor: pointer;
}

details p {
  font-size: 14px; /* размер ответа */
  color: gray
}

details {
  margin-bottom: 15px;
}