@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/CormorantGaramond-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/CormorantGaramond-Italic-Variable.ttf") format("truetype");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ivory: #f7f2ed;
  --ivory-light: #fffdfb;
  --blue: #8faab6;
  --blue-pale: #dce6e9;
  --blue-deep: #334a56;
  --sand: #d8c6b6;
  --sand-pale: #eee3d9;
  --ink: #253b45;
  --muted: #6f7c81;
  --border: rgba(51, 74, 86, 0.15);
  --shadow: 0 22px 60px rgba(45, 65, 73, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--blue-deep);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  padding: 6px clamp(20px, 4.5vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid rgba(51, 74, 86, 0.08);
  background: color-mix(in srgb, var(--ivory) 90%, transparent);
  backdrop-filter: blur(16px);
}

.brand {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  justify-self: start;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  gap: 28px;
}

.site-header nav a,
.text-link {
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-header nav a {
  position: relative;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--blue-deep);
  transition: right 180ms ease;
}

.site-header nav a:hover::after {
  right: 0;
}

.site-header > .button {
  justify-self: end;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-deep);
  border-radius: 999px;
  background: var(--blue-deep);
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #263e49;
  box-shadow: 0 12px 28px rgba(51, 74, 86, 0.18);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
}

.hero {
  position: relative;
  min-height: min(680px, calc(100svh - 72px));
  padding: clamp(32px, 3.8vw, 54px) clamp(22px, 5vw, 80px) 36px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.83fr);
  align-items: center;
  gap: clamp(24px, 3.8vw, 54px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  left: -310px;
  bottom: -270px;
  border-radius: 44% 56% 67% 33% / 54% 36% 64% 46%;
  background: var(--sand-pale);
  opacity: 0.72;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(4.3rem, 7.3vw, 7.2rem);
  letter-spacing: -0.055em;
}

h1 em {
  color: var(--blue);
  font-weight: 400;
}

.hero-lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: #52666f;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.58rem);
  line-height: 1.45;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.text-link {
  border-bottom: 1px solid var(--sand);
}

.event-details {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.event-details i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sand);
}

.hero-visual {
  position: relative;
  width: min(100%, 500px);
  justify-self: center;
  aspect-ratio: 0.86;
}

.hero-blob {
  position: absolute;
  inset: 2% 2% 5% 6%;
  overflow: hidden;
  border-radius: 45% 55% 58% 42% / 35% 42% 58% 65%;
  background: var(--blue-pale);
  box-shadow: var(--shadow);
}

.hero-blob::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(51, 74, 86, 0.1));
  pointer-events: none;
}

.hero-branch {
  position: absolute;
  right: -2%;
  bottom: -2%;
  width: 45%;
  height: 66%;
  fill: none;
  z-index: 2;
  stroke: rgba(255, 253, 251, 0.62);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-blob > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 47%;
  filter: saturate(0.76) contrast(0.96) brightness(1.035);
}

.hero-monogram-badge {
  position: absolute;
  left: 18%;
  bottom: 8%;
  z-index: 3;
  width: 96px;
  height: 96px;
  padding: 15px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(247, 242, 237, 0.82);
  box-shadow: 0 12px 30px rgba(51, 74, 86, 0.18);
  backdrop-filter: blur(8px);
}

.hero-monogram-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-ring {
  position: absolute;
  border: 1px solid var(--blue);
  border-radius: 50%;
  pointer-events: none;
}

.hero-ring-one {
  width: 180px;
  height: 125px;
  top: -2%;
  right: -8%;
  transform: rotate(-23deg);
}

.hero-ring-two {
  width: 145px;
  height: 98px;
  left: -10%;
  bottom: 4%;
  border-color: var(--sand);
  transform: rotate(32deg);
}

.hero-note {
  position: absolute;
  right: -8px;
  bottom: 0;
  margin: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ivory-light);
  box-shadow: 0 10px 32px rgba(51, 74, 86, 0.12);
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
}

.how,
.gifts-section,
.closing {
  padding-inline: clamp(22px, 5vw, 80px);
}

.how {
  padding-top: 60px;
  padding-bottom: 64px;
  border-top: 1px solid var(--border);
  background: var(--ivory-light);
}

.section-intro.compact {
  max-width: 650px;
}

.section-intro h2,
.closing h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(3.2rem, 5vw, 5rem);
  letter-spacing: -0.045em;
}

.section-intro > p:last-child,
.gifts-heading > p,
.closing p {
  color: var(--muted);
}

.section-intro.compact > p:last-child {
  max-width: 540px;
  margin: 16px 0 0;
}

.steps {
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 1px solid var(--border);
}

.steps li {
  min-height: 145px;
  padding: 18px clamp(14px, 2vw, 26px) 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 20px;
  border-right: 1px solid var(--border);
}

.steps li:first-child {
  padding-left: 0;
}

.steps li:last-child {
  border-right: 0;
}

.steps li > span {
  color: var(--blue);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
}

.steps h3 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
  line-height: 1.05;
}

.steps p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.gifts-section {
  position: relative;
  padding-top: 60px;
  padding-bottom: 68px;
  overflow: hidden;
}

.gifts-section::after {
  content: "";
  position: absolute;
  right: -230px;
  top: 50px;
  z-index: -1;
  width: 520px;
  height: 440px;
  border-radius: 64% 36% 43% 57% / 49% 63% 37% 51%;
  background: var(--blue-pale);
  opacity: 0.55;
}

.gifts-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  align-items: end;
  gap: 50px;
}

.gifts-heading > p {
  max-width: 510px;
  margin: 0 0 10px;
}

.gift-flexibility {
  max-width: 900px;
  margin: 20px 0 0;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(143, 170, 182, 0.26);
  border-radius: 22px 22px 22px 7px;
  background: rgba(220, 230, 233, 0.38);
}

.gift-flexibility-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ivory-light);
  color: var(--blue);
  font-family: var(--serif);
  font-size: 2.35rem;
  font-style: italic;
  line-height: 1;
}

.gift-flexibility p {
  margin: 0;
  color: #5e7179;
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.45;
}

.gift-flexibility strong {
  color: var(--blue-deep);
  font-weight: 600;
}

.gift-toolbar {
  margin-top: 26px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr auto;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.search-box {
  min-height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.search-box svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--blue-deep);
  stroke-width: 1.6;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.search-box input::placeholder {
  color: #849096;
}

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter-button {
  min-height: 42px;
  padding: 0 16px;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #64757d;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  border-color: var(--border);
  background: var(--ivory-light);
  color: var(--blue-deep);
}

.available-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.gift-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}

.gift-card {
  position: relative;
  min-height: 460px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 26px 26px 26px 8px;
  background: rgba(255, 253, 251, 0.76);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.gift-card-kit {
  min-height: 0;
}

.gift-card-kit-wide {
  grid-column: 1 / -1;
}

.gift-card-kit-compact {
  grid-column: span 2;
}

.gift-card::before {
  content: "";
  position: absolute;
  width: 135px;
  height: 135px;
  top: -58px;
  right: -58px;
  border-radius: 50%;
  background: var(--sand-pale);
  transition: transform 240ms ease;
}

.gift-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 170, 182, 0.4);
  box-shadow: 0 18px 40px rgba(51, 74, 86, 0.09);
}

.gift-card:hover::before {
  transform: scale(1.12);
}

.gift-card.is-selected {
  background: rgba(220, 230, 233, 0.55);
  color: #6d7c82;
}

.gift-card.is-selected::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 48%, rgba(255, 255, 255, 0.24));
  pointer-events: none;
}

.gift-icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(143, 170, 182, 0.36);
  border-radius: 50%;
  background: var(--ivory-light);
  color: var(--blue-deep);
}

.gift-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gift-category {
  margin: 14px 0 6px;
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gift-card h3 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 1.73rem;
  line-height: 1.05;
}

.gift-card p.gift-description {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.gift-products {
  position: relative;
  z-index: 2;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}

.gift-products-kit {
  grid-template-columns: repeat(var(--product-count), minmax(0, 1fr));
}

.gift-products-label {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: var(--blue);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gift-product {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(143, 170, 182, 0.24);
  border-radius: 17px 17px 17px 5px;
  background: rgba(255, 255, 255, 0.7);
  color: inherit;
  overflow: hidden;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

a.gift-product:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 170, 182, 0.58);
  box-shadow: 0 10px 24px rgba(51, 74, 86, 0.08);
}

.gift-product-image,
.gift-product-placeholder {
  aspect-ratio: 2.05;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.gift-product-image img {
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
}

.gift-product-placeholder {
  background: linear-gradient(145deg, rgba(220, 230, 233, 0.72), rgba(238, 227, 217, 0.55));
}

.gift-product-placeholder img {
  width: 68px;
  height: 68px;
  padding: 8px;
  object-fit: contain;
  opacity: 0.72;
}

.gift-product-copy {
  padding: 9px 10px 10px;
  display: grid;
  align-content: space-between;
  gap: 6px;
}

.gift-product-copy strong {
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.gift-product-copy span {
  width: max-content;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 750;
}

.gift-product-copy i {
  font-style: normal;
}

.gift-product-unavailable .gift-product-copy span {
  color: #9a715a;
}

.gift-action {
  position: relative;
  z-index: 2;
  min-height: 40px;
  margin-top: auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid var(--border);
  background: transparent;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}

.gift-action span:last-child {
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.gift-action:hover span:last-child {
  transform: translateX(4px);
}

.gift-action:disabled {
  color: #829096;
  cursor: not-allowed;
}

.gift-action:disabled span:last-child {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  font-size: 0;
}

.empty-state {
  margin-top: 34px;
  padding: 36px;
  border: 1px dashed var(--border);
  border-radius: 24px;
  text-align: center;
}

.text-button,
.reset-preview {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--blue-deep);
  cursor: pointer;
}

.closing {
  margin: 0 clamp(20px, 3vw, 48px) 42px;
  padding-top: 44px;
  padding-bottom: 44px;
  display: grid;
  grid-template-columns: 130px minmax(0, 720px);
  justify-content: center;
  align-items: center;
  gap: 30px;
  border-radius: 72px 20px 72px 20px;
  background: var(--blue-pale);
}

.closing-monogram {
  width: 110px;
  height: 110px;
  padding: 10px;
  object-fit: contain;
}

.closing h2 {
  font-size: clamp(2.65rem, 4.3vw, 4.5rem);
}

.closing p:last-child {
  max-width: 610px;
  margin-bottom: 0;
}

footer {
  padding: 26px clamp(22px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
}

footer p {
  margin: 0;
}

footer strong {
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
}

.preview-note {
  max-width: 420px;
}

.reset-preview {
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.gift-dialog {
  width: min(92vw, 560px);
  padding: 40px;
  border: 0;
  border-radius: 36px 36px 36px 10px;
  background: var(--ivory-light);
  box-shadow: 0 34px 100px rgba(28, 44, 50, 0.3);
  color: var(--ink);
}

.gift-dialog::backdrop {
  background: rgba(34, 49, 55, 0.56);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  top: 19px;
  right: 19px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--blue-deep);
  font-size: 1.75rem;
  cursor: pointer;
}

.dialog-mark {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue-deep);
}

.dialog-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.gift-dialog h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 3rem;
}

.dialog-gift {
  margin: 12px 0 0;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-style: italic;
}

.dialog-explanation {
  margin: 16px 0 20px;
  color: var(--muted);
}

.gift-dialog form {
  display: grid;
}

.gift-dialog form > label:first-of-type {
  margin-bottom: 8px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 750;
}

.gift-dialog input[type="text"] {
  min-height: 54px;
  padding: 0 17px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: white;
  color: var(--ink);
}

.consent-row {
  margin: 18px 0 4px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.79rem;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue-deep);
}

.form-error {
  min-height: 24px;
  margin: 6px 0 8px;
  color: #9e3f3f;
  font-size: 0.78rem;
}

.button-full {
  width: 100%;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 100;
  max-width: min(92vw, 520px);
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--blue-deep);
  color: white;
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 0.88fr;
    gap: 34px;
  }

  .gift-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gift-toolbar {
    grid-template-columns: minmax(220px, 300px) 1fr;
  }

  .available-count {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 72px;
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .brand {
    width: 50px;
    height: 50px;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-visual {
    width: min(100%, 480px);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li,
  .steps li:first-child {
    min-height: 0;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .gifts-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gift-toolbar {
    grid-template-columns: 1fr;
  }

  .gift-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gift-card-kit {
    grid-column: span 2;
  }

  .gift-products-kit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .reset-preview {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 18px;
  }

  .site-header > .button {
    min-height: 42px;
    padding-inline: 16px;
    font-size: 0.72rem;
  }

  .hero {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(3.65rem, 18vw, 5.1rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .event-details {
    gap: 9px;
    font-size: 0.68rem;
  }

  .hero-visual {
    margin-top: 12px;
  }

  .how,
  .gifts-section {
    padding-top: 52px;
    padding-bottom: 56px;
  }

  .section-intro h2,
  .closing h2 {
    font-size: 3.1rem;
  }

  .gift-grid {
    grid-template-columns: 1fr;
  }

  .gift-card {
    min-height: 0;
    padding: 16px;
  }

  .gift-card-kit {
    grid-column: span 1;
  }

  .gift-products-kit {
    grid-template-columns: 1fr;
  }

  .gift-flexibility {
    padding: 16px;
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .gift-flexibility-mark {
    width: 44px;
    height: 44px;
    font-size: 2rem;
  }

  .gift-flexibility p {
    font-size: 1rem;
  }

  .closing {
    margin-inline: 14px;
    padding: 36px 22px;
    grid-template-columns: 1fr;
    gap: 14px;
    border-radius: 48px 14px 48px 14px;
    text-align: center;
  }

  .closing-monogram {
    width: 105px;
    height: 105px;
    margin-inline: auto;
    font-size: 3.8rem;
  }

  .gift-dialog {
    padding: 36px 22px 24px;
    border-radius: 26px 26px 26px 8px;
  }

  .gift-dialog h2 {
    font-size: 2.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
