* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-weight: 400;
}
main {
  background-color: var(--neutral);
}
main .textContainer,
main .formContainer {
  color: var(--tertiary);
}
.shopTitleContainer {
  width: 100%;
  height: 70px;
  position: relative;
  margin: 40px 0 0 0;
}
.shopMainTitle {
  color: var(--primary);
  background-color: var(--neutral);
  font-family: var(--font-family);
  font-size: 30px;
  text-align: center;
  width: 100%;
  z-index: 2;
  padding: 0 10px;
}
.shopTitleLine {
  position: absolute;
  background-color: var(--tertiary);
  width: calc(100% - 20px);
  height: 2px;
  bottom: 30%;
  left: 10px;
  z-index: 1;
  display: none;
}
.formContainer {
  position: relative;
}
.giftCardForm {
  width: 100%;
  max-width: 800px;
  padding: 0 30px 30px 30px;
  margin: 0 auto;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 60px;
}
.formTitle {
  font-family: var(--font-family);
  font-size: 20px;
  text-align: center;
}

.shopInput {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--lightgray);
  background-color: transparent;
  color: var(--text-regular);
  font-family: var(--font-family);
  font-size: 20px;
  transition: all 0.3s ease;
}
.shopInput:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(42, 46, 116, 0.2);
}
.giftCardInput {
  max-width: 210px;
}
.shopFullLine {
  background-color: var(--tertiary);
  width: calc(100% - 20px);
  height: 2px;
  margin: 40px auto;
}
.cartContainer {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cartItems {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 40px;
  border-right: 2px solid var(--tertiary);
  width: 100%;
  max-width: 670px;
  padding: 0 40px 0 0;
}

.cartItem {
  position: relative;
  width: 100%;
  max-width: 570px;
  height: 155px;
  padding: 10px;
  border: 2px solid var(--primary);
  color: var(--tertiary);
  font-family: var(--font-family);
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 20px;
}
.itemTitle {
  font-size: 18px;
  color: var(--primary);
}
.itemDetails {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
}

.itemQuantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantityBtn {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.quantityBtn > .material-symbols-outlined {
  color: var(--lightgray);
  transition: all 0.3s ease;
}
.quantityBtn:hover > .material-symbols-outlined {
  color: var(--primary);
}
.quantityBtn:focus > .material-symbols-outlined {
  color: var(--primary);
}

.cartSummary {
  padding: 20px;
  color: var(--tertiary);
  font-family: var(--font-family);
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 350px;
}
.cartSummaryTitle {
  display: block;
  width: 100%;
  font-size: 28px;
  margin-bottom: 10px;
}

.summaryDetails {
  margin: 0 0 30px 0;
  font-size: 16px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.summaryDetails > p {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}

.emptyCart {
  text-align: center;
  padding: 40px;
  font-size: 1.2em;
  color: var(--text-regular);
}

.loginPrompt {
  max-width: 600px;
  margin: 40px auto;
  padding: 40px 20px;
  text-align: center;
}

.loginPromptContent {
  border: 2px solid var(--primary);
  padding: 40px 20px;
  background-color: var(--neutral);
}

.loginPromptContent h3 {
  color: var(--primary);
  font-family: var(--font-family);
  font-size: 28px;
  margin-bottom: 20px;
}

.loginPromptContent p {
  color: var(--text-regular);
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.loginPromptButtons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.deliveryContainer {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.addressSelection {
  width: 100%;
}

.sectionTitle {
  color: var(--primary);
  font-family: var(--font-family);
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.noAddresses {
  text-align: center;
  padding: 40px 20px;
  border: 2px dashed var(--lightgray);
  margin-bottom: 20px;
}

.noAddresses p {
  color: var(--text-regular);
  font-size: 18px;
  margin-bottom: 20px;
}

.addressList {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.addressOption {
  display: block;
  cursor: pointer;
}

.addressRadio {
  display: none;
}

.addressCard {
  border: 2px solid var(--lightgray);
  padding: 20px;
  transition: all 0.3s ease;
  background-color: var(--neutral);
  position: relative;
}

.addressRadio:checked + .addressCard {
  border-color: var(--primary);
  background-color: rgba(42, 46, 116, 0.05);
}

.addressCard:hover {
  border-color: var(--tertiary);
}

.addressHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.addressHeader h4 {
  color: var(--primary);
  font-family: var(--font-family);
  font-size: 18px;
  margin: 0;
}

.mainBadge {
  background-color: var(--primary);
  color: var(--neutral);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  position: absolute;
  right: 20%;
  top: 21px;
}

.addressDetails p {
  color: var(--text-regular);
  font-size: 14px;
  margin: 2px 0;
  line-height: 1.4;
}

.addressDetails p:first-child {
  font-weight: 500;
  color: var(--tertiary);
}

.totalPrice {
  font-weight: 600;
  font-size: 18px;
  color: var(--primary);
  /* border-top: 2px solid var(--primary); */
  /* padding-top: 10px;
  margin-top: 10px; */
}

.secondaryButton {
  background-color: transparent;
  border: 1px solid var(--secondary);
  color: var(--secondary);
}

.secondaryButton:hover {
  background-color: var(--secondary);
  color: var(--neutral);
}
#proceedToCart {
  opacity: 0;
  pointer-events: none;
  cursor: default;
  transition: all 0.5s ease;
}
#proceedToCart.show {
  opacity: 1;
  pointer-events: all;
  cursor: pointer;
}
#beneficiaryForm {
  padding: 0;
}
.salonInfoContainer {
  width: 100%;
  max-width: 800px;
  padding: 0 30px 30px 30px;
  margin: 0 auto;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}
.giftCardContainer {
  width: 100%;
  max-width: 300px;
  padding: 10px;
  box-sizing: border-box;
}
.giftCardContainer > .giftCardImage {
  width: 100%;
  object-fit: contain;
}
.centerContainer {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
}
.itemAddress {
  margin-top: -20px;
  width: 90%;
}
@media screen and (min-width: 800px) {
  .shopTitleContainer {
    margin: 80px 0 40px 0;
  }
  .salonInfoContainer {
    padding: 0 0 30px 0;
  }
  .shopMainTitle {
    width: fit-content;
    font-size: 62px;
    padding: 0 80px;
    white-space: nowrap;
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translate(-50%, 50%);
  }
  .shopTitleLine {
    width: calc(100% - 40px);
    left: 20px;
    display: block;
  }
  #salonGiftCardFormContainer {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
  }
  .sideContainer {
    width: 100%;
    max-width: 200px;
    box-sizing: border-box;
  }
  .giftCardContainer {
    padding: 0;
  }
  .giftCardForm {
    padding: 0;
  }
  .formTitle {
    font-size: 24px;
    white-space: nowrap;
  }
  .shopFullLine {
    width: calc(100% - 40px);
  }
  .cartContainer {
    flex-direction: row;
  }

  .cartSummary {
    min-width: 300px;
  }
  .cartSummaryTitle {
    font-size: 32px;
  }
  .summaryDetails {
    font-size: 18px;
  }

  .loginPromptButtons {
    flex-direction: row;
    justify-content: center;
  }

  .deliveryContainer {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }

  .addressSelection {
    flex: 2;
    max-width: 60%;
  }

  .sectionTitle {
    text-align: left;
    font-size: 28px;
  }
}
@media screen and (max-width: 1050px) {
  .sideContainer {
    display: none;
  }
}
