/* Gift guide layout. Tokens, fonts, buttons, and links live in /brand/site.css. */

:root {
  --column: 800px;
}

h1,
h2,
.row-title,
.featured-copy h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.site-header {
  min-height: 60px;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-shutter-white);
}

.logo {
  display: block;
  line-height: 0;
}

.logo img {
  display: block;
  width: 182px;
  height: auto;
}

.column {
  width: min(var(--column), calc(100% - 40px));
  margin-inline: auto;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
}

h1 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
}

.lede,
.note,
.great-for,
.happy,
.tiny-note,
.section-intro {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.disclosure {
  color: var(--color-clapboard-blue);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.section-head {
  margin-top: 40px;
}

.section-head h2 {
  margin-top: 24px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
}

.section-intro {
  margin-top: 16px;
}

.featured {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.featured + .featured {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-shutter-white);
}

.featured-photo,
.row-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-placeholder);
  color: var(--color-clapboard-blue);
  text-align: center;
  border-radius: 0;
}

.featured-photo {
  width: 100%;
  aspect-ratio: 6 / 5;
  padding: 16px;
  font-size: 14px;
  line-height: 20px;
}

.featured-photo.has-photo {
  padding: 0;
  background: var(--color-white);
  overflow: hidden;
}

.featured-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.featured-photo .product-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.featured-photo:focus-within {
  outline: 2px solid var(--color-shingle-ink);
  outline-offset: 3px;
}

.featured-photo .product-link:focus-visible {
  outline: none;
}

.featured-copy h3 .product-link:focus-visible {
  outline: 2px solid var(--color-shingle-ink);
  outline-offset: 3px;
}

.featured-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.featured-copy .button {
  margin-top: 8px;
}

.combo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.combo .button {
  margin-top: 0;
}

.button-outline {
  background: transparent;
  color: var(--color-shingle-ink);
  border: 1.5px solid var(--color-shingle-ink);
}

.button-outline:hover {
  background: var(--color-shingle-ink);
  color: var(--color-trim-chalk);
  opacity: 1;
}

.featured-copy h3 {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
}

.price {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.price-now {
  font-weight: 500;
}

.sale,
.extra {
  color: var(--color-clapboard-blue);
  font-weight: 400;
}

.extra {
  font-size: 14px;
  line-height: 20px;
}

.sale s {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.great-for-label {
  font-weight: 500;
}

.rows {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-top: 24px;
}

.row-photo {
  width: 88px;
  height: 88px;
  flex: none;
}

.row-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.row-title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}

.row .price {
  font-size: 15px;
  line-height: 22px;
}

.row-note {
  font-size: 14px;
  line-height: 20px;
}

.stocking-rows .row {
  gap: 12px;
  padding-top: 20px;
}

.stocking-rows .row-photo {
  width: 72px;
  height: 72px;
}

.stocking-rows .row-title {
  font-size: 16px;
  line-height: 22px;
}

.stocking-rows .row-copy {
  gap: 2px;
}

.stocking-rows .price {
  font-size: 14px;
  line-height: 20px;
}

.closer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;
}

.signup {
  margin-top: 40px;
}

.signup h2 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: -0.01em;
}

.signup-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.signup .button {
  margin-top: 0;
}

main + .site-footer {
  margin-top: 40px;
}

@media (min-width: 700px) {
  h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .lede,
  .note,
  .combo-note,
  .great-for,
  .happy,
  .tiny-note,
  .section-intro {
    font-size: 18px;
    line-height: 28px;
  }

  .disclosure {
    font-size: 15px;
    line-height: 22px;
  }
}

@media (min-width: 900px) {
  .site-header {
    min-height: 74px;
    padding: 20px 0;
  }

  .logo {
    margin-left: max(24px, calc(50% - 640px));
  }

  .logo img {
    width: 224px;
  }

  .intro {
    gap: 20px;
    padding-top: 48px;
  }

  h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .section-head {
    margin-top: 48px;
  }

  .section-head h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .featured {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
    margin-top: 32px;
  }

  .featured + .featured {
    margin-top: 40px;
    padding-top: 40px;
  }

  .featured-photo {
    width: 360px;
    height: auto;
    aspect-ratio: 6 / 5;
    flex: none;
  }

  .row {
    gap: 20px;
  }

  .stocking-rows .row {
    gap: 16px;
  }

  .row-title {
    font-size: 20px;
    line-height: 28px;
  }

  .stocking-rows .row-title {
    font-size: 18px;
    line-height: 24px;
  }

  .signup-row {
    flex-direction: row;
    align-items: stretch;
  }

  .signup-row input {
    flex: 1;
  }
}
