/* Checkout page responsive tweaks */
.checkout-layout {
  box-sizing: border-box;
  width: 95%;
  margin: 120px 0 80px;
  padding: 5rem 6vw;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.5fr);
  gap: 32px;
  background-color: #ffffff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  border-radius: 10px;
  margin-top: 10rem;
  position: relative;
}
.checkout-heading{
    position: absolute;
    top: 1%;
    left: 50%;
    transform: translateX(-50%);
    font-size: x-large;
    margin: 1rem 0;
    color: rgb(53, 13, 10);

}

@media (max-width: 991px) {
  .checkout-layout {
    display: flex !important;
    flex-direction: column !important;
    padding: 5rem 16px !important;
    gap: 24px !important;
  }

  .checkout-left {
    border-right: none !important;
    padding-right: 0 !important;
  }

  .checkout-right {
    padding-left: 0 !important;
    margin-top: 8px !important;
  }
}

/* Simple modal styling for Add Address */
#address-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#address-modal {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 16px;
  padding: 24px 24px 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}

#address-modal header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

#address-modal-title {
  margin: 0;
  font-family: "Raleway", "Raleway Placeholder", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(53, 13, 10);
}

#address-modal-close {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.6);
}

#address-modal form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#address-modal label {
  font-family: "Raleway", "Raleway Placeholder", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.7);
}

#address-modal input,
#address-modal textarea {
  width: 100%;
  padding: 8px 10px;
  margin-top: 4px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  font-family: "Raleway", "Raleway Placeholder", sans-serif;
  font-size: 13px;
  box-sizing: border-box;
}

#address-modal textarea {
  min-height: 72px;
  resize: vertical;
}

#address-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

#address-modal-cancel {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #ffffff;
  font-family: "Raleway", "Raleway Placeholder", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

#address-modal-save {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgb(53, 13, 10);
  background: rgb(53, 13, 10);
  color: rgb(238, 231, 218);
  font-family: "Raleway", "Raleway Placeholder", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.checkout-left{
    @media(max-width : 600px){
        h2,button{
            font-size: x-small !important;
        }
        
    }
}