.pplpickup {
  border: 1px solid rgba(58, 36, 24, .18);
  border-radius: 8px;
  margin: .85rem 0 0;
  padding: 1rem;
  background: #fff;
}

.pplpickup [hidden],
.pplpickup-modal[hidden] {
  display: none !important;
}

.pplpickup__notice,
.pplpickup__error {
  border: 1px solid rgba(116, 54, 45, .32);
  border-radius: 6px;
  background: rgba(116, 54, 45, .08);
  color: #55251f;
  padding: .7rem .85rem;
  font-weight: 700;
}

.pplpickup__free-shipping {
  border: 1px solid rgba(200, 154, 75, .5);
  border-radius: 6px;
  background: rgba(200, 154, 75, .12);
  color: #3a2418;
  margin-bottom: .85rem;
  padding: .7rem .85rem;
}

.pplpickup__free-shipping strong {
  color: #55251f;
}

.pplpickup__free-shipping--reached {
  border-color: rgba(70, 128, 84, .42);
  background: rgba(70, 128, 84, .1);
  color: #244a2e;
  font-weight: 700;
}

.pplpickup__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .45rem 1rem;
}

.pplpickup__summary strong {
  grid-column: 1 / -1;
}

.pplpickup__summary span {
  min-width: 0;
  white-space: pre-line;
}

.pplpickup__summary button {
  position: relative;
  z-index: 1;
}

body.pplpickup-modal-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

.pplpickup-modal,
.pplpickup-modal * {
  box-sizing: border-box;
}

.pplpickup-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.pplpickup-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: rgba(24, 15, 10, .72);
  cursor: default;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.pplpickup-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1180px, 100%);
  height: calc(100vh - 2rem);
  height: calc(100dvh - 2rem);
  max-height: 900px;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(58, 36, 24, .2);
  border-radius: 14px;
  background: #fff;
  color: #2f2119;
  box-shadow: 0 24px 70px rgba(20, 12, 8, .35);
}

.pplpickup-modal__dialog:focus {
  outline: none;
}

.pplpickup-modal__header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(58, 36, 24, .14);
  padding: 1rem 1.25rem;
  background: #fffaf3;
}

.pplpickup-modal__title {
  margin: 0;
  color: #3a2418;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.pplpickup-modal__intro {
  max-width: 68ch;
  margin: .3rem 0 0;
  color: #66554b;
  font-size: .95rem;
  line-height: 1.4;
}

.pplpickup-modal__error {
  margin-top: .55rem;
}

.pplpickup-modal__close {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(58, 36, 24, .2);
  border-radius: 999px;
  padding: 0;
  background: #fff;
  color: #3a2418;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.pplpickup-modal__close:hover,
.pplpickup-modal__close:focus-visible {
  border-color: #8a2d24;
  color: #8a2d24;
  outline: 3px solid rgba(138, 45, 36, .16);
  outline-offset: 2px;
}

.pplpickup-modal__body {
  display: flex;
  min-height: 0;
  overflow: hidden;
  padding: .75rem;
  background: #f6f2ec;
}

.pplpickup__widget {
  flex: 1 1 auto;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.pplpickup__widget ppl-access-point-widget {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.pplpickup .pplpickup-native-host {
  position: relative;
  width: 100%;
  min-height: 1px;
  overflow: visible;
}

.pplpickup .pplpickup-native-host ppl-access-point-widget {
  display: block;
  width: 100%;
  height: auto;
  min-height: 1px;
  overflow: visible;
}

@media (max-width: 767px) {
  .pplpickup {
    padding: .85rem;
  }

  .pplpickup__summary {
    grid-template-columns: minmax(0, 1fr);
    gap: .55rem;
  }

  .pplpickup__summary button {
    justify-self: stretch;
    min-height: 2.75rem;
  }

  .pplpickup-modal {
    padding: 0;
  }

  .pplpickup-modal__dialog {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    min-height: 0;
    border: 0;
    border-radius: 0;
  }

  .pplpickup-modal__header {
    gap: .65rem;
    padding: max(.75rem, env(safe-area-inset-top)) .85rem .7rem;
  }

  .pplpickup-modal__intro {
    margin-top: .2rem;
    font-size: .82rem;
    line-height: 1.3;
  }

  .pplpickup-modal__close {
    width: 2.5rem;
    height: 2.5rem;
  }

  .pplpickup-modal__body {
    padding: .4rem;
  }

}

@media (max-height: 620px) and (orientation: landscape) {
  .pplpickup-modal__dialog {
    min-height: 0;
  }

  .pplpickup-modal__header {
    padding-top: .55rem;
    padding-bottom: .5rem;
  }

  .pplpickup-modal__intro {
    display: none;
  }

}

.pplpickup-free-progress {
  border: 2px solid rgba(200, 154, 75, .75);
  border-radius: 8px;
  margin: 0 0 1rem;
  padding: .9rem 1rem;
  background: #fff4d7;
  color: #3a2418;
  box-shadow: 0 10px 24px rgba(58, 36, 24, .12);
}

.pplpickup-free-progress--modal {
  margin: .85rem 0 0;
  padding: 1rem 1.15rem;
}

.pplpickup-free-progress__text {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

#blockcart-modal .pplpickup-free-progress__text,
.blockcart-modal .pplpickup-free-progress__text {
  font-size: 1.35rem !important;
  line-height: 1.3 !important;
}

.pplpickup-free-progress--modal .pplpickup-free-progress__text {
  font-size: 1.35rem;
  line-height: 1.35;
}

.pplpickup-free-progress__text strong {
  color: #55251f;
  white-space: nowrap;
}

.pplpickup-free-progress__login-hook {
  color: #55251f;
}

.pplpickup-free-progress__login-hook a {
  color: #8a2d24;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}
