/*.cutive-mono-regular {
  font-family: "Cutive Mono", monospace;
  font-weight: 400;
  font-style: normal;
}*/
 body {
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
    letter-spacing: 0.1rem;
  }

  
#addressDesktop {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1001;

}

#addressDesktop input.address-line-desktop {
  transform: translateX(-100%);
  opacity: 100;
}

input.address-line-desktop {
  position: absolute;
  font-family: "Cutive Mono", monospace;
  letter-spacing: 0.2rem;
  font-size: 18px; /* будет переопределяться через JS */
  font-weight: 500;
  padding-left: 0.5em;
  color: rgb(4, 4, 4);
  background: #d9d9cc;
  border: none;
  border-radius: 3px 3px 3px 3px;
  /*border: 0px solid #000000;*/
  outline: none;
  text-align: center;
  pointer-events: auto;
  box-sizing: border-box;
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease;
  text-align: left; 
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); /* subtle blur */
}


input.address-line-desktop:focus {
  border-bottom: 3px solid hsl(0, 0%, 100%);
  padding-top: 2px;
}

.address-line-desktop.visible {
  opacity: 1;
  pointer-events: auto;
}


#addressMobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.5s ease, background 1.5s ease;
  margin: 0;
  padding: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#addressMobile.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.8);
}

#addressMobile .modal-content {
  background: #f6f3e8;
  border-radius: 6px;
  padding: 10px;
  width: 90%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1.5s ease;
  margin: 0;
  will-change: opacity;
}

#addressMobile.show .modal-content {
  opacity: 0.75;
}

.address-line-mobile {
  width: 100%;
  font-family: "Cutive Mono", monospace;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  text-align: left;
  box-sizing: border-box;
  background: white;
  color: #333;
}

.address-line-mobile:focus {
  outline: none;
  border-color: #999;
  box-shadow: 0 0 0 2px rgba(153, 153, 153, 0.2);
}

#confirmBtnAddressMobile {
  margin-top: 4px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  border: none;
  background-color: #333;
  color: white;
  cursor: pointer;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 0.1rem;
  transition: background-color 0.2s ease;
}

#confirmBtnAddressMobile:hover {
  background-color: #555;
}

#confirmBtnAddressMobile:active {
  background-color: #222;
}

/* Скрываем desktop версию на мобильных */
@media (max-width: 1024px) {
  #addressDesktop {
    display: none !important;
  }
}


#addressApplyContainer {
  position: absolute;
  opacity: 0;
  transition: opacity 0.4s ease;
}





#addressApplyBtn, #stampSaveBtn {
  padding: 9px 32px;
  font-weight: 500; /* или 200 */
  font-size: 18px;
  letter-spacing: 0.1rem;
  border-radius: 4px ;
  border: 1px dashed #bab9b9;
  color: #c3c2c2;
  background-color: Transparent;
  cursor: pointer;
}

#addressApplyBtn:hover, #stampSaveBtn:hover {
  background: #f6f3e8;
  color: #2a2a2a;
  border: 1px solid #bab9b9;
}

