html {
  display: flex;
  justify-content: center;
  user-select: none !important;
  overflow-x: hidden;
  background-color: #fff8f0;
}

#backBtn {
  width: fit-content;
}

body {
  display: flex;
  -webkit-user-drag: none !important;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  width: 100%;
  max-width: 800px;
}

p {
  margin: 0;
  margin-top: 10px;
  font-size: 17px;
  font-weight: 500;
}

header {
  display: flex;
  position: fixed;
  top: 0;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
  height: 80px;
  padding-right: 10px;
  box-shadow: 0 2px 2px -2px var(--main-color);
  flex: 0;
  background-color: #ffffff;
  z-index: 600;
  overflow-y: hidden;
}

.spacer {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  width: fit-content;
  min-width: 100px;
}

.spacer:nth-child(2) {
  justify-content: center;
}

.spacer:nth-child(3) {
  justify-content: right;
}

header img {
  position: relative;
  height: 200%;
  margin-top: 3px;
}

.pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 9999;
  pointer-events: none;
  height: 50px;
  width: 50px;
}


.header-btns {
  position: relative;
  display: flex;
  gap: 10px;
  flex-direction: row;
  justify-content: flex-end;
  color: var(--main-color);
  font-size: 13pt;
}

.about:hover,
.about:active,
.login-btn:hover,
.login-btn:active {
  color: var(--main-color-hover);
}


header p {
  margin: 0;
  font-size: 23px;
}

.lang {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1px;
  height: 26px;
  width: 50px;
  border-radius: 13px;
  border: 1px solid #ac6c30;
  padding-bottom: 1px;
  box-sizing: border-box;
}

.lang>p {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: #aeaeae;
}

.lang>p:nth-child(1) {
  color: #ac6c30;
}

.item-card>.con-row-flex {
  width: 100%;
  justify-content: space-between;
  margin-top: 10px;
}


.hed {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.hed>.con-row-flex {
  align-items: center;
  justify-content: center;
  gap: 5%;
  width: 100%;
}

@media screen and (max-width: 500px) {
  .hed>.con-row-flex {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
  }

  .hed>.con-row-flex>.con-col-flex {
    width: 100%;
  }

  .hed img {
    max-width: 100% !important;
  }

  .spacer {
    min-width: fit-content;
  }
}

.hed p {
  font-size: 12px;
  font-weight: 450;
  color: #3e2722;
}

.hed h1 {
  margin: 0;
  font-weight: 500;
  font-size: 35px;
  line-height: 95%;
  color: #3e2722;
}

.hed img {
  max-width: 250px;
  border-radius: 10px;
}

.hed .con-col-flex {
  width: 300px;
  flex-wrap: wrap;
  margin: 0;
}









section {
  position: relative;
  padding: 10px;
  box-sizing: border-box;
  padding-top: 90px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#main {
  display: flex;
  position: relative;
  flex-direction: column;
  width: 100%;
}

#item-container {
  position: relative;
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  padding: 15px;
  padding-bottom: 0;
  box-sizing: border-box;
  justify-content: space-evenly;
}

#item-container>p {
  position: absolute;
  top: -12px;
  left: 15px;
  font-size: 11px;
  color: #555555;
  font-weight: 400;
  font-style: italic;
}

.item-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  flex: 1 1 160px;
  max-width: 220px;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  border: 1px solid #e0e0e0;
  height: fit-content;
  box-sizing: border-box;
  border-radius: 7px;
  overflow: hidden;
  background-color: #ffffff;
}

.item-card>img {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
}

.item-price>h4 {
  margin: 0;
  font-size: 12pt;
  margin-bottom: -4px;
}

.item-price>p {
  margin: 0;
  font-size: 11pt;
  color: #525252;
  font-weight: 400;
}

#add-item {
  border-radius: 10px;
  width: fit-content !important;
  min-width: 80px;
  max-width: 90px;
  padding-left: 15px;
  padding-right: 5px;
  padding: 0;
  font-weight: 500;
  font: 1em sans-serif;
}

#add-item img {
  height: 20px;
  pointer-events: none;
}

#item-qnt {
  border-radius: 10px;
  width: 80px;
  display: flex;
  position: relative;
  background-color: var(--main-color);
  align-items: center;
  color: var(--button-text-color);
  height: auto;
}

#item-qnt>#minus {
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
  height: 100%;
  width: 25px;
  font-size: 20px;
  font-weight: 600;
  box-sizing: border-box;
  padding-bottom: 4px;
}

#item-qnt>#qnt {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
  width: 30px;
  color: #000;
  background-color: #fff;
  font-size: 18px;
  font-weight: 500;
}

#item-qnt>#plus {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
  width: 25px;
  font-size: 20px;
  font-weight: 600;
  box-sizing: border-box;
  padding-bottom: 3px;
}

#cart-minus {
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
  height: 100%;
  width: 25px;
  font-size: 20px;
  font-weight: 600;
  box-sizing: border-box;
  padding-bottom: 4px;
}

#cart-qnt {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
  width: 30px;
  color: #000;
  background-color: #fff;
  font-size: 18px;
  font-weight: 500;
}

#cart-plus {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
  width: 25px;
  font-size: 20px;
  font-weight: 600;
  box-sizing: border-box;
  padding-bottom: 3px;
}

#cart-item-qnt {
  border-radius: 10px;
  width: 80px !important;
  display: flex;
  position: relative;
  background-color: var(--main-color);
  align-items: center;
  color: var(--button-text-color);
  height: 30px;
}

#cart {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.sec {
  display: flex;
  flex-direction: column;
  height: fit-content;
  min-height: fit-content;
  box-sizing: border-box;
  width: 100%;
  position: relative;
  padding: 10px;
  gap: 5px;
}

.sec:nth-child(1) {
  padding: 0;
}

.con-col-flex {
  display: flex;
  flex-direction: column;
  height: fit-content;
  position: relative;
  width: auto;
  margin: 0;
  margin-right: auto;
}

/* ---CART--- */
.cart_item {
  display: flex;
  align-items: center;
  position: relative;
  height: 60px !important;
  box-sizing: border-box;
  border-top: 1px solid var(--main-color);
  padding: 2px;
}

.cart_item:nth-child(1) {
  border: none;
}

.cart-item-quantity {
  width: fit-content;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 15px;
  font-weight: 500;
}

.cart-item-image {
  position: relative;
  height: 100%;
  width: auto;
  border-radius: 5px;
}

.cart-item-price {
  width: fit-content;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 400;
  margin: 0;
  margin-top: -2px;
  margin-bottom: -4px;
}

.cart-item-qnt {
  width: fit-content;
  height: 100%;
  display: flex;
  align-items: left;
  margin: 0;
  font-size: 14px;
  color: #525252;
  font-weight: 400;
}

.cart-item-total {
  width: 75px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: right;
  font-size: 13pt;
  font-weight: 500;
}

#cart,
.addr {
  border: 1px solid var(--main-color);
  border-radius: 5px;
}

#cart {
  gap: 0;
}

.lable {
  font-size: 18px;
  margin: 0;
  font-weight: 400;
  margin-bottom: 8px;
  margin-top: -5px;
}


.dlv-opt {
  display: flex;
  flex-direction: row !important;
  gap: 10px;
  padding: 0;
}

.dlv-opt>div {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 100%;
  height: 40px;
  border-radius: 10px;
  background-color: var(--main-color);
  color: #fff;
  font-size: 20px;
}

.comment {
  font-size: 13px;
  margin-bottom: 10px;
  margin-top: -10px;
}

.rdbtn {
  cursor: pointer;
  padding: 10px 20px;
  transition: all 0.2s ease;
  background-color: #fff;
  color: var(--main-color);
  border: 2px solid var(--main-color);
}

.rdbtn.selected {
  background-color: var(--main-color);
  border: 0;
  color: var(--button-text-color);
}

.rdbtn.unselected {
  background-color: #fff;
  color: var(--main-color);
}

.map-container {
  position: relative;
  width: 100%;
  height: 60vh;
  margin-bottom: 10px;
}

.map-popup {
  position: fixed;
  display: none;
  flex-direction: column;
  align-items: center;
  width: calc(100% - 20px);
  max-width: 580px;
  box-sizing: border-box;
  max-height: 580px;
  height: fit-content;
  padding: 10px;
  top: 10%;
  background-color: #e7e7e7;
  border: 2px solid var(--main-color);
  border-radius: 10px;
  z-index: 1100;
}

.map-popup>.map-container>#map {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

.addr>.con-row-flex {
  margin-bottom: 10px;
}

.autocomplete-container {
  position: relative;
  width: 100%;
}

input {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid var(--main-color);
  border-radius: 5px;
}

.gst>.con-col-flex {
  gap: 10px;
  border: 1px solid var(--main-color);
  margin-left: 10px;
  margin-right: 10px;
  width: calc(100% - 20px);
}

.suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  border: 1px solid #a52727 inset;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  background: #ffffff;
  max-height: 250px;
  overflow-y: auto;
}

.suggestion-item {
  padding: 10px;
  cursor: pointer;
}

.suggestion-item:hover {
  background-color: #f0f0f0;
}

.static-map {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  max-height: 450px;
  margin-bottom: 10px;
  display: none;
  border-radius: 10px;
  pointer-events: none;
  user-select: none;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.lst>.con-row-flex {
  max-width: 350px;
}

.lst {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ttl>.con-row-flex>.lable {
  margin-top: 10px;
  margin-bottom: 0;
}

.ttl>.con-row-flex>.comment {
  margin-top: 10px;
  margin-bottom: 0;
}

.ttl .lable {
  font-size: 20px;
  font-weight: 500;
}

.ttl {
  display: none;
}

.selc_btn_main {
  font-size: 20px;
  margin: 0;
}

.selc_btn_low {
  font-size: 13px;
  margin: 0;
}

:root {
  --main-color: #ac6c30;
  --main-color-hover: #91561f;
  --button-text-color: #ffffff;
}

.con-row-flex {
  display: flex;
  width: 100%;
  position: relative;
  height: fit-content;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
}


.btn {
  display: flex;
  position: relative;
  background-color: var(--main-color);
  justify-content: center;
  align-items: center;
  color: var(--button-text-color);
  height: 100%;
  text-align: center;
  padding: 5px;
  height: auto;
  border: none;
  font-weight: 480;
}

.nmb {
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 7px;
}

.item-quantity-container>div>img {
  position: relative;
  height: 20px;
}

.btn:active,
.btn:hover {
  background-color: var(--main-color-hover);
}

#minus:active,
#cart-minus:active {
  background-color: var(--main-color-hover);
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
}

#plus:active,
#cart-plus:active {
  background-color: var(--main-color-hover);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.full-width-btn {
  width: calc(100% - 20px);
  height: 50px;
}

.mbtn {
  position: relative;
  display: flex;
  width: 100%;
  height: 60px !important;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  font-weight: 600;
  color: var(--button-text-color);
  background-color: var(--main-color);
  margin-top: 10px;
  border-radius: 10px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}


.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(100, 100, 100, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.rdbtn.disabled {
  pointer-events: none;
  opacity: 0.4;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-top: 6px solid var(--main-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.cart-item-number {
  position: absolute;
  background-color: red;
  color: #fff;
  font-weight: 600;
  font-size: 10px;
  border-radius: 20px;
  min-width: 14px;
  padding: 2px;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 0;
  z-index: 78;

}

.cart-icon {
  position: relative;
  padding-right: 6px;
  align-self: flex-end;
  height: 40px;
}

.cart-icon>img {
  position: relative;
  height: 100%;
}

#bd {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: #000000b6;
  z-index: 700;
}

/* !!  IN DEV  !! */


.modalpup {
  position: fixed;
  display: flex;
  height: fit-content;
  width: 90%;
  max-width: 400px;
  padding: 10px;
  box-sizing: border-box;
  flex-direction: column;
  z-index: 1102;
  top: 30%;
  background-color: #fff;
  border: 1px solid var(--main-color);
  border-radius: 10px;
  display: none;
}

.modalpup>.close {
  position: absolute;
  margin-top: 5px;
  right: 10px;
  height: 20px;
  width: 20px;
}

.modalpup>.close div:nth-child(1) {
  position: absolute;
  height: 2px;
  width: 20px;
  background-color: #555555;
  transform: rotate(45deg);
}

.modalpup>.close div:nth-child(2) {
  position: absolute;
  height: 2px;
  width: 20px;
  background-color: #555555;
  transform: rotate(135deg);
}


#email-verification>p:nth-child(1) {
  margin: 0;
}

#email-verification>p:nth-child(2) {
  margin: 0;
  font-weight: normal;
  margin-bottom: 5px;
}

#email-verification>.con-row-flex {
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 10px;
}

.confirmation {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  margin-top: 80px;
}

.confirmation .btn {
  font-size: 20px !important;
  padding: 10px;
  border-radius: 5px;
}

.conf-box {
  margin: 10px 0;
}

.conf-message {
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

footer {
  display: flex;
  justify-content: center;
  width: 100vw;
  height: fit-content;
  background-color: #452714;
  color: #ceb8ad;
  margin-top: 100px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  max-width: 800px;
  width: 100%;
  gap: 20px;
}

.footer-container .con-col-flex {
  justify-content: space-between;
  margin-right: 0 !important;
}

.footer-container>.con-row-flex:nth-child(2) .con-col-flex {
  gap: 6px;
  width: fit-content !important;
  flex-wrap: wrap;
}

.footer-container>.con-row-flex:nth-child(2) {
  gap: 20px;
}

.footer-container p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.footer-container h3 {
  margin: 0;
  font-size: 20px;
  color: #f5e5dd;
}

.footer-container h6 {
  margin: 0;
  font-size: 16px;
  color: #f5e5dd;
}

.footer-container>.con-row-flex:nth-child(3) {
  justify-content: center;
  border-top: 1px solid #5a3a27;
  padding-top: 10px;

}

.footer-container>.con-row-flex:nth-child(3)>p {
  font-size: 12px;
  color: #edd0c0;

}


#promo {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  height: 20px;
  border: none;
  border-radius: 10px;
  padding-left: 15px;
}

#auth-popup input {
  height: 30px;
  font-size: .8em;
  margin-bottom: 5px;
}

#auth-popup .lable {
  font-size: 22px;
  font-weight: 400;
  color: var(--main-color);
}

#auth-popup p {
  font-size: 16px;
  font-weight: 400;
  color: var(--main-color);
  margin-top: 0;
}

#auth-popup p:hover {
  color: var(--main-color-hover);
}

#auth-popup>.con-row-flex {
  flex-direction: row-reverse;
  margin-top: 10px;
}

#auth-popup button {
  border: 1px solid var(--main-color);
  border-radius: 5px;
  color: var(--main-color);
  font-size: 18px;
  font-weight: 500;
  background-color: transparent;
  margin-top: 10px;
  width: 100%;
  margin-bottom: 10px;
}

#auth-popup button:hover {
  border: 1px solid var(--main-color);
  border-radius: 5px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  background-color: var(--main-color);
  margin-top: 10px;
  width: 100%;
  margin-bottom: 10px;
}

.tabs {
  color: var(--main-color);
}

.tabs:hover {
  color: var(--main-color-hover);
}

.gst {
  border: 1px solid var(--main-color);
  border-radius: 5px;
  display: none;
}

.gst>.con-col-flex p {
  margin-top: -8px;
  font-size: 13px;
  color: #4a4a4a;
  font-weight: 400;
}

.gst>.con-col-flex {
  width: 100%;
  gap: 10px;
  border: none;
  margin: 0;
}

#gst>.lable {
  font-size: 18px;
  font-weight: 400;
  color: var(--main-color);
}

#gst>p {
  text-align: center;
  margin: 0;
}

#gst>button:hover {
  border: 1px solid var(--main-color);
  border-radius: 5px;
  color: var(--main-color);
  font-size: 16px;
  font-weight: 500;
  background-color: transparent;
  margin-top: 5px;
  width: 100%;
  margin-bottom: 5px;
}

#gst>button {
  border: 1px solid var(--main-color);
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  background-color: var(--main-color);
  margin-top: 5px;
  width: 100%;
  margin-bottom: 5px;
}

#gst>.asgst {
  border: 1px solid #666;
  color: #666;
  background-color: transparent;
}

#gst>.asgst:hover {
  border: 1px solid #666;
  color: #fff;
  background-color: #666;
}


.promocode {
  border: 1px solid var(--main-color);
  border-radius: 5px;
}



.bar-bg {
  width: 100%;
  height: 25px;
  background: #333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 5px #000;
}

.bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4caf50, #8bc34a);
  border-radius: 12px;
  transition: width 0.2s ease;
}

.text {
  color: #ccc;
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
}