.sf-page--home .sf-section--hero {
  margin-top: var(--space-4);
}

.sf-page--product {
  padding-bottom: calc(var(--space-12) + 76px);
}

.sf-page--listing .sf-page-head {
  margin-bottom: var(--space-3);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .sf-page--listing .sf-page-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: var(--space-3);
  }

  .sf-page--listing .sf-inline-search {
    width: 100%;
    align-self: start;
  }
}

.sf-shell--auth-flow {
  background: #f3f3f3;
}

.sf-shell--auth-flow .sf-main {
  min-height: 100dvh;
}

.sf-shell--auth-flow .sf-page {
  padding: 0;
}

.sf-shell--checkout-create .sf-footer {
  display: none;
}

.sf-auth-flow {
  min-height: 100dvh;
  display: grid;
  justify-items: center;
}

.sf-auth-flow__sheet {
  width: 100%;
  min-height: 100dvh;
  background: #fff;
  max-width: 390px;
}

.sf-auth-flow__head {
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px 16px 12px;
}

.sf-auth-flow__brand {
  font-family: var(--font-body);
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #1f1f1f;
}

.sf-auth-flow__icon-btn {
  position: absolute;
  top: 18px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #2d2d2d;
  text-decoration: none;
  font-size: 34px;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.sf-auth-flow__icon-btn--left {
  right: auto;
  left: 16px;
  font-size: 26px;
}

.sf-auth-flow__body {
  padding: 6px 14px 24px;
  display: grid;
  gap: 14px;
}

.sf-auth-flow__title {
  margin: 0;
  font-size: 33px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1f1f1f;
}

.sf-auth-flow .sf-checkout-form {
  gap: 12px;
}

.sf-auth-flow .sf-form-group {
  gap: 6px;
}

.sf-auth-flow .sf-form-group label {
  font-size: 13px;
  color: #3f3f3f;
}

.sf-auth-flow .sf-input {
  min-height: 44px;
  border-radius: 7px;
}

.sf-auth-flow__legal {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #666;
}

.sf-auth-flow__divider {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: -2px;
  margin-bottom: -2px;
}

.sf-auth-flow__divider::before {
  content: "";
  width: 100%;
  border-top: 1px solid #ececec;
}

.sf-auth-flow__divider span {
  position: absolute;
  padding: 0 10px;
  font-size: 13px;
  color: #8a8a8a;
  background: #fff;
}

.sf-auth-google-btn {
  min-height: 44px;
  border: 1px solid #dfdfdf;
  border-radius: 7px;
  background: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: #2d2d2d;
  font-weight: 600;
  font-size: 15px;
}

.sf-auth-google-btn__icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid #d7d7d7;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.sf-auth-flow__alt {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
}

.sf-auth-flow__alt a {
  color: #1f1f1f;
  font-weight: 700;
}

.sf-page--content {
  padding: var(--space-5) 0 var(--space-10);
}

.sf-content-card {
  background: #fff;
  border: 1px solid #ece7df;
  border-radius: 18px;
  padding: 20px 16px;
  box-shadow: 0 10px 28px rgba(22, 19, 16, 0.06);
}

.sf-content-card__eyebrow {
  margin: 0;
  color: #9f8a74;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.sf-content-card__title {
  margin: 8px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1.1;
  color: #201c17;
}

.sf-content-card__body {
  margin-top: 14px;
  color: #403b33;
  font-size: 15px;
  line-height: 1.72;
}

.sf-content-card__body h2,
.sf-content-card__body h3,
.sf-content-card__body h4 {
  color: #1f1a14;
  margin-top: 18px;
  margin-bottom: 8px;
}

.sf-content-card__body p,
.sf-content-card__body ul,
.sf-content-card__body ol {
  margin: 0 0 12px;
}

.sf-content-card__body ul,
.sf-content-card__body ol {
  padding-left: 18px;
}

.sf-content-card__body a {
  color: #ea7a12;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sf-content-card__body img,
.sf-content-card__body iframe {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.sf-content-card__map {
  margin-top: clamp(18px, 4vw, 30px);
  padding-top: clamp(14px, 3vw, 20px);
  border-top: 1px solid #ece2d6;
}

.sf-content-card__map-title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: clamp(20px, 4.2vw, 28px);
  line-height: 1.15;
  color: #201c17;
}

.sf-content-card__map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dfd2c3;
  background: #f2ece3;
}

.sf-content-card__map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 767px) {
  .sf-content-card__map-frame {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 768px) {
  .sf-shell--checkout-create .sf-footer {
    display: block;
  }

  .sf-page--product {
    padding-bottom: var(--space-16);
  }

  .sf-page--content {
    padding-top: var(--space-7);
  }

  .sf-content-card {
    padding: 28px 30px;
    border-radius: 20px;
  }

  .sf-auth-flow {
    padding: 22px;
  }

  .sf-auth-flow__sheet {
    min-height: calc(100dvh - 44px);
    border: 1px solid #e4e4e4;
    box-shadow: 0 24px 58px rgba(24, 24, 24, 0.15);
  }
}
