@import url('oxygen');

@font-face {
  font-family: 'sans-serif';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  
  src: url(https://fonts.gstatic.com/s/oxygen/v15/2sDcZG1Wl4LcnbuCJW8zaGW5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  
}


body {
  position: relative;
  height: 100%;
  font-family: sans-serif;
  font-weight: 300;
  font-style: normal;
  margin: 0;
  padding: 0;
  background-color: rgb(242, 242, 242);
}

input {
  font-family: sans-serif;
  background-color: rgb(242, 242, 242);
  border: none;
  outline: none;


}

button {
  font-family: sans-serif;
  background-color: rgb(242, 242, 242);

  border: none;

}

textarea {
  font-family: sans-serif;
  padding: 30px 0 0 30px;
  border: none;
  color: gray;
}


.item {

  text-align: center;
}

#priority {
  text-align: right;
}

#nickname {
  font-size: 28px;
}

.auto-response {
  margin: 0 0px 20px 20px;
  font-size: 18px;
  cursor: pointer;
}

.request_response {
  position: absolute;

  right: 90px;
  margin: 20px;
  font-size: 18px;
}



#chat-container{
  position: absolute;
  display: flex;
  flex-direction: column;

  
}
#container{
  flex: 1;
  overflow-y: scroll;
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column; /* Reversing the order of messages */
}



.bet{
  border: 1px black solid;
}


.contact {
  
  display: flex;
  word-wrap: break-word; /* For older browsers */
  overflow-wrap: break-word; /* For newer browsers */
  white-space: pre-wrap;
  width: 90%;
  place-items: center;
  background-color: rgb(242, 242, 242);
  list-style-type: none;
  margin-left: 20px;
  
}

.contact-item {
  word-wrap: break-word; /* For older browsers */
  overflow-wrap: break-word; /* For newer browsers */
  white-space: pre-wrap;
  width: 100%;
  font-size: 22px;
  margin-left: 20px;

}

.wallet-item {
  word-wrap: break-word; /* For older browsers */
  overflow-wrap: break-word; /* For newer browsers */
  white-space: pre-wrap;
  width: 100%;
margin-bottom: 10px;
  font-size: 16px;
  text-align: center;

}

.legend {
  position: absolute;
  z-index: 0;
  right: 180px;
  bottom: 180px;
  color: rgb(205, 206, 207);
  padding: 16px 33px;
  border-radius: 5px;
  font-size: 2rem;
}

#reciever {
  position: fixed;
  display: grid;
  grid-template-columns: 50px auto 50px;
  bottom: 0px;
  padding: 0px 20px 20px 20px;
  width: 100%;
  z-index: 2;
  background-color: rgba(255, 255, 255, 1);
}



.pin_button {
  font-size: 12px;
  background-color: rgb(242, 242, 242);
  border: none;
}

.dropbtn {

  height: 80px;
  border: none;
  cursor: pointer;
  
}


/* The container <div> - needed to position the dropdown content */
.dropup{
  padding: 20px;
  background-color: #e6e5e5;
}

.dropup-content {
  display: none;
  position: absolute;

  bottom: 80px;
}

.dropup-content a {
  padding: 10px 10px 10px 10px;
  text-decoration: none;
  display: block;


  height: 80px;

}

.dropbtn:hover {
  background-color: #ccc;
}

.dropup-content a:hover {
  background-color: #ccc;
  display: block;
}

.dropup:hover .dropup-content {
  display: block;
}


.caret {
  text-align: center;
}

.expand {
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
}

.ar-nested {
  display: none;
  margin: 20px;

}

.list::after {
  content: "\039e";
}


.caret-down::before {
  -ms-transform: rotate(90deg);
  /* IE 9 */
  -webkit-transform: rotate(90deg);
  /* Safari */
  transform: rotate(90deg);
}

.nested {
  display: none;

}


.active {
  display: block;
}



.icon-user {
  position: absolute;

  background: red;
  width: 16px;
  height: 16px;
  right: 116px;
  bottom: 50px;
}



.line {
  display: flex;
}

.textarea {
  display: flex;
  width: 100%;
  border-radius: 5px;
  margin-left: 30px;
  padding: 5px;
  color: gray;
}



#button-textarea {
  padding: 15px;
  background-color: rgba(245, 241, 241, 0.164);
  border: none;
  width: 100%;
  height: 100%;
  color: gray;
}

#rent-textarea {
  text-align: center;
  width: 10%;
  font-size: 1rem
}



@media only screen and (max-width: 600px) {
  * {
    box-sizing: border-box;
    font-size: 1rem;
    color: #707272;
  }



}

@media only screen and (min-width: 600px) {
  * {
    box-sizing: border-box;
    font-size: 1.4rem;
    color: #707272;

  }

}

body {
  font-family: sans-serif;
  background: #f5f5f5;

  margin: 0;
}





.slick-slide {
  text-align: center;
}

.slick-prev:before, .slick-next:before {
  color: black;
}

#contact-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
 
}

#nickname-input::placeholder {
  position: absolute;
  font-size: 12px; /* Adjust the font size as needed */
  line-height: 0px; /* Set the line height to allow for two lines */
  white-space: pre-wrap;

}
.render div {
  margin-bottom: 30px; /* Отступ между строками */
  padding: 5px;        /* Внутренние отступы */
  
}
.render{
  display: flex;
  flex-direction: column; /* Сообщения начинаются снизу */
  justify-content:flex-start; /* Контент начинает заполняться от низа */
  max-height: 90vh; /* Высота окна чата */
  overflow-y: auto; /* Скроллинг для переполнения */
  border: 1px solid #ccc;
 
  background-color: #f9f9f9;
 
}
.head {

  display: flex;


}

#header {
  position: fixed;

  display: flex;
  justify-content: space-between;
  align-items: center;
  right: 0;

}

.button-edit {

  right: 0;
}


.wallet-update-animation {
  transition: background-color 0.5s, color 0.5s;
  background-color: #d1ffd1; /* светло-зеленый */
  color: #0a0;
}

#top-line {
  position: fixed;
  top: 20px;
  width: 100%;
  background-color: rgb(233, 215, 48);

}

#bottom-line {
  position: fixed;
  bottom: 88px;
  width: 100%;
  background-color: rgb(233, 215, 48);
  height: 3px;
}


::placeholder {
  color: #999;
  /* Example color */
}


#bottom {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #f5f5f5;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  z-index: 1000;
}

#bottom-line {
  height: 4px;
  background: #ccc;
  border-radius: 2px;
  margin-bottom: 10px;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#contact-button-form{
  #button-form {
  position: fixed;
  bottom: 105px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 6px;
  justify-items: center;
  align-items: center;
  width: 100%;
  font-size: 18px;
  background-color: #e6e5e5;
  padding: 10px;
  z-index: 999;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}
}
#button-form {
  position: fixed;
  bottom: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 6px;
  justify-items: center;
  align-items: center;
  width: 100%;
  font-size: 18px;
  background-color: #e6e5e5;
  padding: 10px;
  z-index: 999;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}

.nav-button {
  
  
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.3s;
}

.nav-button:hover {
  background: #e0e0e0;
}
.dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(240, 239, 239); /* тень */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* ВАЖНО: выше почти всего остального */
}
.form-row {
  display: grid;
  grid-template-columns: 40px 1fr 80px;
  gap: 10px;
  align-items: center;
}

#wallet-input {
  background: #ffca28;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}

.input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  width: 100%;
}

.button {
  background: #4caf50;
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}





#send-form {
  position: fixed;
  bottom: 0;

  display: grid;
  grid-template-columns: auto auto auto auto;
  place-items: center;
  width: 100%;
  font-size: 26px;
  padding-left: 5px;
  padding-right: 5px;
  background-color: #e6e5e5;
  
}
#shopping-button-form{
  position: fixed;
  bottom: 105px;
  padding-top: 10px;
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  gap: 1px;
  place-items: center;
  width: 100%;
  font-size: 26px;
  background-color: #e6e5e5;
  padding: 10px;
}
#between-form {
  position: fixed;
  bottom: 0px;

  display: grid;
  grid-template-columns: 30px auto 60px;
  place-items: center;
  width: 100%;


}

#contact-form {
  position: fixed;
  bottom: 0;

  display: grid;
  grid-template-columns: 30px 40px auto 60px;
  place-items: center;
  width: 100%;
  font-size: 26px;
  padding-left: 10px;
  padding-right: 10px;
 
}

#amount-input,
#contact-input,
#reciever-input,
#next,
#send,
input {
  flex: 1;
  padding: 8px;
  width: 99%;
 

}



#wallets-form {
  position: fixed;
  bottom: 0;
  display: grid;
  grid-template-columns: 30px 40px auto 40px 60px;
  align-items: center;
  width: 100%;
  font-size: 16px;
  background-color: rgb(242, 242, 242);
}

#wallets-form2 {
  position: fixed;
  bottom: 0;
  display: grid;
  grid-template-columns: 30px auto 60px;
  place-items: center;
  width: 100%;
  font-size: 26px;
  background-color: rgb(242, 242, 242);
}

#list-form {
  position: fixed;
  bottom: 0;

  display: grid;
  grid-template-columns: auto auto auto;
  place-items: center;
  width: 100%;
  font-size: 26px;
  padding-left: 5px;
  padding-right: 5px;
  background-color: #e6e5e5;
 
}
#checkout-form{
  position: fixed;
  bottom: 310px;

  display: grid;
  grid-template-columns: auto auto auto;
  place-items: center;
  width: 100%;
  font-size: 26px;
  padding-left: 5px;
  padding-right: 5px;
  background-color: #e6e5e5;
}
.orders-label{
  position: absolute;
  top: 10px;
  right: -20px;
  background-color: #e6e5e5;
  color: white;
  font-size: 16px;
  padding: 3px 9px;
  border-radius: 50%;
}

.wallet-label {
  position: absolute;
  top: -30px;
  right: 100px;
  background-color: rgba(59, 62, 247, 0.274);
  color: white;
  font-size: 16px;
  padding: 3px 9px;
  border-radius: 50%;
}

#cartLabel {
  position: absolute;
  top: 0px;
  right: -30px;
  background-color: rgba(194, 58, 88, 0.274);
  color: white;
  font-size: 16px;
  padding: 3px 9px;
  border-radius: 50%;
}

.contacts {
  flex: 80;
  overflow-y: auto;
  /* Enable vertical scrolling */

}



.walletItem {
  position: relative;
  margin-bottom: 60px;
  cursor: pointer;

}

.wallet-item {
  position: absolute;


}

#addContact {
  position: fixed;
  display: grid;
  grid-template-columns: 20% 80%;
  gap: 1px;
  bottom: 90px;
  width: 100%;
  background-color: #e6e5e5;
  padding: 10px;
  text-align: center;
  margin-top: 80px;
left: 0;
}



.product-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px;
    box-sizing: border-box;
    
}
.product-section{
   display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px;
    box-sizing: border-box;
}
.product-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s;
  
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-info {
    padding: 12px;
}

.product-desc {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.add-to-cart {
    background-color: #007BFF;
    border: none;
    padding: 6px 12px;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.add-to-cart:hover {
    background-color: #0056b3;
}




label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

select {
  width: 100%;
  padding: 6px;
  margin-top: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.product-price {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
  display: inline-block;
}

#chatWithcontact,
.addtocart {
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #007bff;
  color: white;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
}

#chatWithcontact:hover,
.addtocart:hover {
  background-color: #0056b3;
}

input[type="submit"] {
  margin-top: 15px;
  padding: 8px 20px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}


.feedback {
  margin-bottom: 10px;
}
.feedback .user {
  font-weight: bold;
}
.feedback .rating {
  color: #ffaa00;
  font-size: 18px;
}

#feedbackForm textarea {
  width: 100%;
  min-height: 60px;
  margin-top: 10px;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.ratingButton {
  font-size: 20px;
  color: #ccc;
  border: none;
  background: none;
  cursor: pointer;
  margin: 5px 2px;
}

.ratingButton:hover,
.ratingButton.selected {
  color: #ffaa00;
}

@media (min-width: 768px) {
  .product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }

  .product-description,
  .product-price,
  .feedbacks,
  .feedback-list {
    grid-column: 1 / -1;
  }
}
.product-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}



/* Основной контейнер карусели */
.carousel {
    
    
}

.carousel-image {
    flex: 0 0 auto;
  
    scroll-snap-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #f9f9f9;
}



.carousel-image img:hover {
    transform: scale(1.05);
}
.carousel img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-image img {
  width: 200px;
  height: auto;
  border-radius: 8px;
}
.backButton {
    margin-bottom: 15px;
}

.backButton button {
    padding: 8px 16px;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.backButton button:hover {
    background-color: #222;
}

.product-details {
    margin: 10px 0;
    font-size: 1.1rem;
    color: #333;
}

.product-description {
    margin: 15px 0;
    line-height: 1.5;
    color: #555;
    background: #f1f1f1;
    padding: 15px;
    border-radius: 10px;
}

#currencySelect, #sizeSelect, #colorSelect {
    margin-top: 10px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
}

.addtocart, #chatWithcontact {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #2c7be5;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.addtocart:hover, #chatWithcontact:hover {
    background-color: #1a5bbf;
}

#feedbackForm {
    margin-top: 20px;
    background: #fefefe;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}



.ratingButton:hover, .ratingButton.active {
    color: gold;
}



.feedback .comment {
    margin-bottom: 5px;
    color: #333;
}

.feedback .rating {
    color: gold;
}
