html {
  scroll-behavior: smooth;
}

.site {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #FFF8F0;
  color: #4A2E3A;
  font-family: "Quicksand", system-ui, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

.site,
.site * {
  box-sizing: border-box;
}

.site a {
  text-decoration: none;
}

.site-main {
  flex: 1;
}

.site-flash {
  margin: 0;
  padding: 12px 24px;
  background: #FCE6EC;
  color: #8A4A9C;
  font-weight: 700;
  text-align: center;
}

.site-flash--alert {
  background: #F8E6E4;
  color: #B3261E;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #FFF8F0;
  border-bottom: 2px dashed #E3C285;
}

.site-nav__inner,
.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #C93068;
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
}

.site-brand:hover {
  color: #C93068;
}

.site-brand__heart {
  color: #E0457B;
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav__link {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: #4A2E3A;
}

.site-nav__link:hover {
  background: #FCE6EC;
  color: #C93068;
}

.site-nav__link--contact {
  padding: 10px 18px;
  color: #FFF8F0;
  background: #C93068;
}

.site-nav__link--contact:hover {
  background: #8A4A9C;
  color: #FFF8F0;
}

.hero {
  background-color: #FFF4F1;
  background-image:
    linear-gradient(90deg, rgba(236, 140, 172, 0.16) 50%, transparent 50%),
    linear-gradient(rgba(236, 140, 172, 0.16) 50%, transparent 50%);
  background-size: 32px 32px;
  padding: 72px 20px 88px;
}

.hero__plaque {
  max-width: 860px;
  margin: 0 auto;
  background: #FFF8F0;
  border-radius: 48px;
  padding: 56px 32px 52px;
  text-align: center;
  outline: 2px dashed #CFA049;
  outline-offset: -14px;
  box-shadow: 0 0 0 6px #FCE6EC, 0 18px 40px -20px rgba(150, 60, 90, 0.35);
}

.hearts {
  margin: 0;
  color: #E0457B;
  font-size: 18px;
  letter-spacing: 4px;
}

.eyebrow {
  margin: 14px 0 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8A4A9C;
}

.script-title {
  margin: 6px 0 0;
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  line-height: 1;
  color: #E0457B;
}

.script-title--hero {
  font-size: clamp(64px, 12vw, 128px);
  text-shadow: 0 2px 0 #FCE6EC;
}

.script-title--section {
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1.05;
  color: #C93068;
}

.gold-rule {
  width: 180px;
  height: 2px;
  margin: 18px auto 0;
  border-top: 2px dashed #CFA049;
}

.hero__intro {
  margin: 20px auto 0;
  max-width: 520px;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  text-wrap: pretty;
}

.button-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
}

.btn--solid {
  background: #C93068;
  color: #FFF8F0;
}

.btn--solid:hover {
  background: #8A4A9C;
  color: #FFF8F0;
}

.btn--outline {
  background: #FFF8F0;
  color: #8A4A9C;
  border: 2px solid #8A4A9C;
}

.btn--outline:hover {
  background: #F3E6F6;
  color: #8A4A9C;
}

.treats {
  padding: 72px 24px 88px;
  scroll-margin-top: 80px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
}

.section-head .hearts {
  font-size: 16px;
  letter-spacing: 6px;
}

.empty-note {
  margin-top: 40px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: #6E5260;
}

.category-block {
  margin-top: 56px;
  scroll-margin-top: 90px;
}

.heart-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0 56px;
  color: #E0457B;
  font-size: 14px;
  letter-spacing: 6px;
}

.heart-rule::before,
.heart-rule::after {
  content: "";
  flex: 1;
  border-top: 2px dashed #E3C285;
}

.category-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.category-heading__copy {
  flex: 1 1 320px;
  min-width: 0;
}

.category-heading__name {
  margin: 0;
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.05;
  color: #E0457B;
}

.category-heading__name a {
  color: inherit;
}

.category-heading__name a:hover {
  text-decoration: underline;
}

.category-heading__desc {
  margin-top: 6px;
  max-width: 640px;
}

.treat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 28px;
}

.category-preview {
  container-type: inline-size;
}

.treat-grid--preview {
  grid-template-columns: minmax(0, 1fr);
}

.treat-grid--preview > :nth-child(n + 2) {
  display: none;
}

@container (min-width: 508px) {
  .treat-grid--preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .treat-grid--preview > :nth-child(-n + 2) {
    display: flex;
  }

  .treat-grid--preview > :nth-child(n + 3) {
    display: none;
  }

  .category-preview[data-count="2"] .more-link-row {
    display: none;
  }
}

@container (min-width: 776px) {
  .treat-grid--preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .treat-grid--preview > :nth-child(-n + 3) {
    display: flex;
  }

  .treat-grid--preview > :nth-child(n + 4) {
    display: none;
  }

  .category-preview[data-count="3"] .more-link-row {
    display: none;
  }
}

@container (min-width: 1044px) {
  .treat-grid--preview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .treat-grid--preview > :nth-child(-n + 4) {
    display: flex;
  }

  .category-preview[data-count="4"] .more-link-row {
    display: none;
  }
}

.treat-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 28px;
  padding: 14px 14px 20px;
  outline: 2px dashed #CFA049;
  outline-offset: -7px;
  box-shadow: 0 0 0 5px #FCE6EC;
  color: #C93068;
  transition: transform 0.2s ease;
}

.treat-card:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  color: #C93068;
}

.treat-card__photo,
.gallery__photo,
.more-card__photo,
.round-photo {
  position: relative;
  overflow: hidden;
  background: #FCE6EC;
}

.treat-card__photo {
  aspect-ratio: 1;
  border-radius: 18px;
}

.treat-card__photo img,
.gallery__photo img,
.more-card__photo img,
.round-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.treat-card__name {
  margin-top: 14px;
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  text-align: center;
  text-wrap: balance;
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: #8A4A9C;
}

.more-link-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.btn--more {
  padding: 14px 26px;
  background: #FFFFFF;
  border: 2px solid #C93068;
  color: #C93068;
}

.btn--more:hover {
  background: #C93068;
  color: #FFF8F0;
}

.band--blush {
  background: #FCE6EC;
  padding: 0 0 80px;
  overflow-x: clip;
}

.scallop {
  height: 16px;
  margin-inline: -16px;
  background: radial-gradient(circle at 16px 0, var(--scallop, #FFF8F0) 15px, transparent 16px) 0 0 / 32px 16px repeat-x;
}

.scallop--blush {
  --scallop: #FCE6EC;
}

#contact,
#about {
  scroll-margin-top: 66px;
}

.contact-card {
  width: min(820px, calc(100% - 48px));
  max-width: 820px;
  margin: 56px auto 0;
  background: #FFF8F0;
  border-radius: 36px;
  padding: 48px 32px 48px;
  text-align: center;
  outline: 2px dashed #CFA049;
  outline-offset: -12px;
}

#about {
  padding: 0 0 96px;
  overflow-x: clip;
}

.about .eyebrow {
  margin: 0;
}

.about .script-title {
  color: #C93068;
  font-size: clamp(44px, 6vw, 60px);
  line-height: 1.05;
}

.contact-card .script-title {
  margin: 0;
  color: #C93068;
  font-size: clamp(44px, 6vw, 60px);
  line-height: 1.05;
}

.lede {
  margin: 12px auto 0;
  max-width: 500px;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  text-wrap: pretty;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin-top: 32px;
  text-align: left;
}

.contact-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 24px;
  border-radius: 22px;
}

.contact-tile--solid {
  background: #C93068;
  color: #FFF8F0;
}

.contact-tile--solid:hover {
  background: #8A4A9C;
  color: #FFF8F0;
}

.contact-tile--outline {
  background: #FFFFFF;
  color: #8A4A9C;
  border: 2px solid #8A4A9C;
}

.contact-tile--outline:hover {
  background: #F3E6F6;
  color: #8A4A9C;
}

.contact-tile__label {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-tile__value {
  font-weight: 700;
  font-size: 26px;
}

.contact-note {
  margin: 22px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #6E5260;
}

.about {
  width: min(1000px, calc(100% - 48px));
  max-width: 1000px;
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 48px;
  align-items: center;
}

.about__copy > p:not(.eyebrow, .about__signoff) {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
  text-wrap: pretty;
}

.about__signoff {
  margin: 18px 0 0;
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 30px;
  color: #8A4A9C;
}

.round-frame {
  flex: none;
  padding: 6px;
  border-radius: 50%;
  background: #FCE6EC;
  outline: 2px dashed #CFA049;
  outline-offset: -3px;
}

.round-frame--sm {
  width: 104px;
  height: 104px;
}

.round-frame--lg {
  width: 180px;
  height: 180px;
  padding: 8px;
  outline-offset: -4px;
}

.round-frame--about {
  justify-self: center;
  width: min(100%, 340px);
  aspect-ratio: 1;
  padding: 12px;
  outline-offset: -6px;
}

.round-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.site-footer {
  background: #8A4A9C;
  color: #FFF8F0;
  padding: 28px 24px;
}

.site-footer__inner {
  max-width: 1120px;
  padding: 0;
}

.site-footer__brand {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 28px;
}

.site-footer__meta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer__place {
  font-weight: 600;
  font-size: 14px;
}

.site-footer__signin {
  font-weight: 700;
  font-size: 13px;
  color: #F3E6F6;
}

.site-footer__signin:hover {
  color: #FFFFFF;
}

.page {
  padding: 28px 24px 88px;
}

.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 0;
}

.crumbs a {
  color: #8A4A9C;
}

.crumbs__heart {
  color: #CFA049;
}

.back-link {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  color: #8A4A9C;
  padding: 8px 0;
}

.product-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px;
  margin-top: 16px;
  align-items: start;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery__cover {
  grid-column: 1 / -1;
  aspect-ratio: 1;
  padding: 12px;
  background: #FFFFFF;
  border-radius: 30px;
  outline: 2px dashed #CFA049;
  outline-offset: -6px;
  box-shadow: 0 0 0 5px #FCE6EC;
}

.gallery__photo {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.gallery__thumb {
  aspect-ratio: 1;
  margin-top: 8px;
}

.gallery__thumb .gallery__photo {
  height: 100%;
  border-radius: 16px;
}

.product-kicker {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8A4A9C;
}

.product-title {
  margin: 4px 0 0;
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: clamp(52px, 7vw, 80px);
  line-height: 1;
  color: #E0457B;
  text-wrap: balance;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.price {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 52px;
  line-height: 1;
  color: #8A4A9C;
}

.price-unit {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 28px;
  color: #8A4A9C;
}

.short-rule {
  width: 140px;
  margin: 22px 0 20px;
  border-top: 2px dashed #CFA049;
}

.order-box {
  margin-top: 36px;
  background: #FCE6EC;
  border-radius: 28px;
  padding: 28px;
  outline: 2px dashed #CFA049;
  outline-offset: -9px;
}

.order-box__title {
  margin: 0;
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.1;
  color: #C93068;
}

.order-box p {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.order-box .button-row {
  justify-content: flex-start;
  margin-top: 18px;
}

.order-box .btn {
  padding: 14px 22px;
}

.more-treats {
  margin-top: 80px;
  border-top: 2px dashed #E3C285;
  padding-top: 40px;
}

.more-treats__title {
  margin: 0 0 24px;
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 44px;
  color: #C93068;
  text-align: center;
}

.more-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.more-card {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #C93068;
}

.more-card:hover {
  color: #8A4A9C;
}

.more-card__frame {
  width: 200px;
  height: 200px;
  padding: 8px;
  background: #FCE6EC;
  border-radius: 50%;
  outline: 2px dashed #CFA049;
  outline-offset: -4px;
}

.more-card__photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.more-card__name {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  text-align: center;
}

.category-banner {
  margin-top: 16px;
  background-color: #FFF4F1;
  background-image:
    linear-gradient(90deg, rgba(236, 140, 172, 0.16) 50%, transparent 50%),
    linear-gradient(rgba(236, 140, 172, 0.16) 50%, transparent 50%);
  background-size: 32px 32px;
  border-radius: 40px;
  padding: 28px;
}

.category-banner__plaque {
  background: #FFF8F0;
  border-radius: 30px;
  padding: 36px 32px;
  outline: 2px dashed #CFA049;
  outline-offset: -12px;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.category-banner__copy {
  flex: 1 1 320px;
  min-width: 0;
}

.category-banner__name {
  margin: 0;
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: clamp(56px, 8vw, 88px);
  line-height: 1;
  color: #E0457B;
}

.starting-at {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6E5260;
}

.category-banner .price {
  font-size: 44px;
}

.category-banner .price-unit {
  font-size: 26px;
}

.category-banner .short-rule {
  margin: 18px 0 16px;
}

.category-banner__desc {
  max-width: 640px;
}

.kind-count {
  margin: 48px 0 24px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8A4A9C;
}

.category-page {
  padding-bottom: 96px;
}

.ty-rich {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
}

.ty-rich p,
.ty-rich .trix-content > div {
  margin: 14px 0 0;
  text-wrap: pretty;
}

.ty-rich h3 {
  margin: 26px 0 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C93068;
}

.ty-rich ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.ty-rich li {
  margin: 6px 0;
  padding-left: 4px;
}

.ty-rich li::marker {
  content: "♥  ";
  color: #E0457B;
  font-size: 13px;
}

.ty-rich strong,
.ty-rich b {
  color: #C93068;
  font-weight: 700;
}

.ty-rich > :first-child,
.ty-rich .trix-content > :first-child {
  margin-top: 0;
}
