@import url('/css/home.css');

/* placery storefront overrides live here. */

.placery-config-card label,
.placery-advanced label {
  display: block;
  margin-bottom: .38rem;
  color: #4f5d53;
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.placery-config-card input[type="text"],
.placery-config-card input[type="search"],
.placery-config-card select {
  width: 100%;
  min-height: 52px;
  padding: .78rem .95rem;
  border: 1.5px solid rgba(61, 102, 71, .14);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fbfcfa);
  color: #1f2f24;
  font-family: 'Lato', sans-serif;
  font-size: .98rem;
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(65, 94, 67, .06);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background-color .15s ease;
  appearance: none;
  -webkit-appearance: none;
}

.placery-config-card input[type="text"]::placeholder,
.placery-config-card input[type="search"]::placeholder {
  color: #8a9a8d;
}

.placery-config-card input[type="text"]:hover,
.placery-config-card input[type="search"]:hover,
.placery-config-card select:hover {
  border-color: rgba(61, 102, 71, .28);
}

.placery-config-card input[type="text"]:focus,
.placery-config-card input[type="search"]:focus,
.placery-config-card select:focus {
  outline: none;
  border-color: rgba(61, 102, 71, .62);
  box-shadow: 0 0 0 4px rgba(61, 102, 71, .10), 0 10px 22px rgba(65, 94, 67, .08);
  transform: translateY(-1px);
}

.placery-config-card select {
  padding-right: 2.4rem;
  background-image:
    linear-gradient(45deg, transparent 50%, #5a6a5d 50%),
    linear-gradient(135deg, #5a6a5d 50%, transparent 50%),
    linear-gradient(180deg, #fff, #fbfcfa);
  background-position:
    calc(100% - 18px) 52%,
    calc(100% - 12px) 52%,
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
}

.placery-config-card .field-row {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.placery-config-card .field {
  display: grid;
  gap: .38rem;
}

.placery-config-card .field-row > .field {
  margin: 0;
}

.placery-config-card .field-row .field {
  min-width: 0;
}

.placery-config-card .field-row .field + .field {
  margin-left: 0;
}

.placery-location-actions {
  margin-top: .85rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: .6rem;
}

.placery-location-btn {
  width: 100%;
}

.placery-hero-cta-card {
  display: grid;
  gap: .9rem;
  padding: 1.35rem 1.3rem 1.25rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(248,246,241,.94)),
    radial-gradient(circle at top right, rgba(201, 162, 126, .12), transparent 42%),
    linear-gradient(145deg, #fff, #f6f1ea);
  border: 1px solid rgba(61, 102, 71, .10);
  box-shadow: 0 22px 50px rgba(65, 94, 67, .10);
}

.placery-hero-cta-actions {
  display: grid;
  gap: .65rem;
}

.placery-hero-cta-note {
  font-size: .78rem;
  line-height: 1.45;
  color: #657a69;
}

.placery-primary-cta-btn {
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.placery-wizard-open {
  overflow: hidden;
}

.placery-wizard-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: stretch;
  padding: 0;
  background: rgba(13, 18, 14, .66);
  backdrop-filter: blur(12px);
}

.placery-wizard-modal[hidden] {
  display: none !important;
}

.placery-wizard-card {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: auto;
  padding:
    calc(1rem + env(safe-area-inset-top))
    calc(1rem + env(safe-area-inset-right))
    calc(1rem + env(safe-area-inset-bottom))
    calc(1rem + env(safe-area-inset-left));
  border-radius: 0;
  border: 1px solid rgba(61, 102, 71, .12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,247,244,.98)),
    radial-gradient(circle at top left, rgba(201,162,126,.10), transparent 40%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .24);
}

.placery-wizard-close {
  position: absolute;
  top: calc(1rem + env(safe-area-inset-top));
  right: calc(1rem + env(safe-area-inset-right));
  z-index: 2;
}

.placery-wizard-head {
  display: grid;
  gap: .45rem;
  padding: 2.75rem .25rem 0;
  margin-bottom: 1rem;
}

.placery-wizard-head .placery-script {
  font-size: .68rem;
}

.placery-wizard-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1;
  color: #1f2f24;
}

.placery-wizard-head p {
  max-width: 46ch;
  color: #5f6f63;
  line-height: 1.55;
}

.placery-wizard-progress {
  display: flex;
  gap: .6rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 1rem;
}

.placery-wizard-progress::-webkit-scrollbar {
  display: none;
}

.placery-wizard-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(61, 102, 71, .12);
  border-radius: 999px;
  padding: .5rem .85rem;
  background: rgba(61, 102, 71, .05);
  color: #5a6a5d;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}

.placery-wizard-pill.active {
  background: rgba(61, 102, 71, .12);
  border-color: rgba(61, 102, 71, .22);
  color: #1f2f24;
}

.placery-wizard-step {
  margin-top: .3rem;
}

.placery-wizard-step .placery-config-card {
  box-shadow: none;
  background: rgba(255,255,255,.8);
}

.placery-wizard-actions {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: .15rem;
}

.placery-wizard-actions .basket-action-btn {
  flex: 1 1 auto;
  width: 100%;
}

.placery-location-results[hidden] { display: none; }

.placery-location-results .mappery-results-list {
  margin-top: .45rem;
  border: 1.5px solid rgba(61, 102, 71, .18);
  border-radius: 12px;
  overflow: hidden;
  background: #fafcf8;
}

.placery-location-results .mappery-result {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(61,102,71,.08);
  padding: .72rem .9rem;
  background: #fafcf8;
  color: #1f2f24;
  text-align: left;
  cursor: pointer;
}

.placery-location-results .mappery-result:last-child { border-bottom: 0; }
.placery-location-results .mappery-result:hover { background: rgba(61,102,71,.08); }
.placery-location-results .mappery-result strong {
  display: block;
  margin-bottom: .18rem;
  font-size: .94rem;
}
.placery-location-results .mappery-result span {
  display: block;
  font-size: .78rem;
  color: #657a69;
  line-height: 1.35;
}

.placery-location-status {
  min-height: 1.2em;
  margin-top: .45rem;
  font-size: .82rem;
  line-height: 1.4;
  color: #657a69;
}

.placery-colour-input {
  width: 100%;
  height: 52px;
  padding: .3rem;
  border: 1.5px solid rgba(61, 102, 71, .14);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 8px 20px rgba(65, 94, 67, .08);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.placery-colour-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.placery-colour-input::-webkit-color-swatch {
  border: 0;
  border-radius: 10px;
}

.placery-colour-input::-moz-color-swatch {
  border: 0;
  border-radius: 10px;
}

.placery-colour-input:focus {
  outline: none;
  border-color: rgba(61, 102, 71, .55);
  box-shadow: 0 0 0 4px rgba(61, 102, 71, .12), 0 8px 20px rgba(65, 94, 67, .08);
  transform: translateY(-1px);
}

.placery-copy-secondary,
.placery-checkout-msg,
.placery-location-status,
.placery-preview-caption {
  line-height: 1.55;
}

@media (min-width: 761px) {
  .placery-wizard-modal {
    place-items: center;
    padding: 1rem;
  }

  .placery-wizard-card {
    width: min(920px, 100%);
    min-height: 0;
    max-height: min(92vh, 980px);
    padding: 1.2rem;
    border-radius: 28px;
  }

  .placery-wizard-close {
    top: 1rem;
    right: 1rem;
  }

  .placery-wizard-head {
    padding: .45rem .5rem 0;
  }

  .placery-wizard-progress {
    flex-wrap: wrap;
    overflow: visible;
  }

  .placery-wizard-actions {
    flex-direction: row;
  }

  .placery-wizard-actions .basket-action-btn {
    flex: 1 1 180px;
    width: auto;
  }

  .placery-config-card .field-row,
  .placery-wizard-actions {
    grid-template-columns: 1fr;
  }

  .placery-colour-input {
    height: 48px;
  }
}
