@media (min-width: 769px) {
    #mobile-view,
    #order-mobile-view {
        display: none !important;
    }
    #desktop-view,
    #order-desktop-view {
        display: block !important;
    }
}
@media (max-width: 768px) {
    #mobile-view,
    #order-mobile-view {
        display: block !important;
    }
    #desktop-view,
    #order-desktop-view {
        display: none !important;
    }
}

.custom-mobile-popup {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 11, 11, 0.5);
    z-index: 9999;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.custom-mobile-popup.active {
    opacity: 1;
    pointer-events: auto;
}

.popup-content {
    position: fixed;
    bottom: 0;
    width: 100%;
    border-radius: 32px 32px 0 0;
    background: #FFF;
    padding: 0px 24px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.popup-content.show {
    border-radius: 32px 32px 0 0;
    transform: translateY(0%);
}

.line-popup {
    border-radius: 100px;
    background: #B9C0C9;
    width: 40%;
    height: 5px;
    margin: 11px auto 24px auto;
}
.popup-heading {
    color: #212121;
    font-size: 32px;
    font-weight: 700;
    line-height: 130%; 
    letter-spacing: -0.64px;
}
@media (max-height: 800px) {
    .popup-heading {
        font-size: 24px !important;
        line-height: 110% !important;
    }
}
a.popup-text {
    color: #2F88FF;
    font-size: 12px;
    font-weight: 600;
    line-height: 140%; 
    letter-spacing: -0.12px;
    text-decoration-line: underline !important;
    text-underline-position: from-font;
}
@media (max-height: 800px) {
    .popup-signup {
        padding-bottom: 16px !important;
    }
}
.custom-mobile-popup .form-group,
.custom-order-mobile-popup .form-group {
  margin-bottom: 20px;
}
.custom-mobile-popup label,
.custom-order-mobile-popup .label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}
.custom-mobile-popup .input-wrapper {
  position: relative;
}
.custom-mobile-popup input[type="text"],
.custom-mobile-popup input[type="password"],
.custom-order-mobile-popup input[type="text"],
.custom-order-mobile-popup input[type="password"] {
  width: 100%;
  padding: 12px 40px 12px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}
.custom-mobile-popup .toggle-password,
.custom-order-mobile-popup .toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #999;
}
.custom-mobile-popup .form-footer,
.custom-order-mobile-popup .form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
@media (max-height: 800px) {
    .custom-mobile-popup .form-footer {
        padding-bottom: 16px !important;
    }
}
.custom-mobile-popup .form-footer a,
.custom-order-mobile-popup .form-footer a {
  color: #2F88FF;
  text-decoration: none;
}
.custom-mobile-popup .form-footer a:hover,
.custom-mobile-popup .form-footer a:focus,
.custom-order-mobile-popup .form-footer a:hover,
.custom-order-mobile-popup .form-footer a:focus {
  color: #2F88FF !important;
}
.custom-mobile-popup .form-footer label,
.custom-order-mobile-popup .form-footer label {
  display: flex;
  align-items: center;
  font-weight: normal;
}
.custom-mobile-popup .form-footer input[type="checkbox"],
.custom-order-mobile-popup .form-footer input[type="checkbox"] {
  margin: 0 6px 0 0;
}
.custom-order-mobile-popup .form-footer input[type="checkbox"] {
  margin: 0 6px 0 4px;
}
.custom-mobile-popup .checkout_default_submit_btn,
.custom-order-mobile-popup .checkout_default_submit_btn {
    border-radius: 10px;
    background: #1A1A1A;
    height: 48px;
    padding: 10px 24px;
    color: #F7F7F7;
    font-size: 14px;
    font-weight: 500;
    line-height: 140%; 
    letter-spacing: -0.14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.divider {
  text-align: center;
  margin: 8px 0;
  position: relative;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #ccc;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.divider span {
  padding: 0 16px;
  background: #FFF;
  position: relative;
  z-index: 1;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #D8DADF;
    background: #FFF;
    box-shadow: 0px -3px 6px 0px rgba(244, 245, 250, 0.60) inset;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    gap: 10px;
    color: #212121;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 140%; 
    letter-spacing: -0.14px;
    }

.social-btn img,
.social-btn i {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    font-size: 18px;
}

.social-group {
  display: flex;
  gap: 10px;
}

.social-group .social-btn {
  flex: 1;
}

.terms b {
  color: #212121;
}

/* order mobile popup */
@media (min-width: 769px) {
  #order-mobile-view {
      display: none !important;
  }
  #order-desktop-view {
      display: block !important;
  }
}
@media (max-width: 768px) {
  #order-mobile-view {
      display: block !important;
  }
  #order-desktop-view {
      display: none !important;
  }
}

.custom-order-mobile-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: rgba(11, 11, 11, 0.50);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 9999;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.custom-order-mobile-popup.active {
  transform: translateY(0);
}

.order-popup-content {
  position: fixed;
  bottom: 0;
  width: 100%;
  border-radius: 32px 32px 0 0;
  background: #FFF;
  padding: 0px 24px;
  transition: transform 0.3s ease;
}

.order-popup-heading {
  color: #212121;
  font-size: 32px;
  font-weight: 700;
  line-height: 130%; 
  letter-spacing: -0.64px;
}

.order-popup-subtext {
  color: #212121;
  font-size: 12px;
  font-weight: 500;
  line-height: 140%; 
  letter-spacing: -0.12px;
}


.tab-content.mobile {
  display: none; 
}

.tab-content.mobile.active {
  display: block; 
}

.tab-toggle-wrapper {
  display: flex;
  border: 1px solid #D8DADF;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}

.tab-toggle {
  border: none;
  background-color: #FFFFFF;
  color: #32363E;
  font-size: 14px;
  font-weight: 500;
  line-height: 140%; 
  letter-spacing: -0.14px;
  cursor: pointer;
  padding: 10px 24px;
  height: 48px;
  text-wrap: nowrap;
  flex: 1;
  transition: background 0.3s, color 0.3s;
}

.tab-toggle.guest.active {
  background: #2F88FF;
  box-shadow: 0px 0px 0px 1.5px rgba(47, 136, 255, 0.20);
  color: #FFFFFF;
}

.tab-toggle.signin.active {
  background: #2F88FF;
  box-shadow: 0px 0px 0px 1.5px rgba(47, 136, 255, 0.20);
  color: #FFFFFF;
}

label.order-popup {
  color: #535862;
  font-size: 12px;
  font-weight: 400;
  line-height: 160%; 
  letter-spacing: -0.24px;
}

input.order-popup-text {
  border-radius: 10px;
  border: 1px solid #D8DADF;
  background: #FFF;
  box-shadow: 0px 1px 2px 0px rgba(228, 229, 231, 0.24);
  height: 46px;
  padding: 12px 40px 12px 12px;
}

input.order-popup-text:focus {
  border-color: #2F88FF;
  box-shadow: 0px 0px 0px 1.5px rgba(47, 136, 255, 0.10);
}

.order-footer-text {
  color: #212121;
  font-size: 12px;
  opacity: 0.4 !important;
  font-weight: 400;
  line-height: 140%; 
  letter-spacing: -0.12px;
  text-align: center;
}

button.order-popup-btn {
  border-radius: 10px;
  background: #1A1A1A;
  height: 48px;
  padding: 10px 24px;
  color: #F7F7F7;
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -0.14px;
}

.form-group.order-popup {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.custom-order-mobile-popup .input-wrapper.mobile {
  position: relative;
}

 /* mobile signup */
 @media (min-width: 769px) {
  #signup-mobile {
    display: none !important;
  }
  #signup-desktop {
    display: block !important;
  }
}
@media (max-width: 768px) {
  #signup-mobile {
    display: block !important;
  }
  #signup-desktop {
    display: none !important;
  }
}

.signup-mb-heading {
  color: #212121;
  font-size: 32px;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -0.64px;
}

.form-group.signin-mb {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

label.signin-mb {
  color: #535862;
  font-size: 12px;
  font-weight: 400;
  line-height: 160%; 
  letter-spacing: -0.24px;
}

input.signin-mb-text {
  border-radius: 10px;
  border: 1px solid #D8DADF;
  background: #FFF;
  box-shadow: 0px 1px 2px 0px rgba(228, 229, 231, 0.24);
  height: 46px;
  padding: 14px;
  width: 100%;
}

input.signin-mb-text:focus {
  border-color: #2F88FF;
  box-shadow: 0px 0px 0px 1.5px rgba(47, 136, 255, 0.10);
}

.input-wrapper.mobile {
  position: relative;
}

.signin-mb.checkout_default_submit_btn {
  border-radius: 10px;
  background: #1A1A1A;
  height: 48px;
  padding: 10px 24px;
  color: #F7F7F7;
  font-size: 14px;
  font-weight: 500;
  line-height: 140%; 
  letter-spacing: -0.14px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.line-signin-mb {
  border-radius: 100px;
  background: #B9C0C9;
  width: 40%;
  height: 5px;
  margin: 24px auto 0px auto;
}