/* Fonts */

@font-face {
  font-family: "Brown";
  font-weight: 400;
  src:
    url("/assets/fonts/Brown-Regular.woff2") format("woff2"),
    url("/assets/fonts/Brown-Regular.woff") format("woff");
}

@font-face {
  font-family: "Brown";
  font-weight: 700;
  src:
    url("/assets/fonts/Brown-Bold.woff2") format("woff2"),
    url("/assets/fonts/Brown-Bold.woff") format("woff");
}

@font-face {
  font-family: "Pilat Extended";
  font-weight: 700;
  src:
    url("/assets/fonts/PilatExtended-Bold.woff2") format("woff2"),
    url("/assets/fonts/PilatExtended-Bold.woff") format("woff"),
    url("/assets/fonts/PilatExtended-Bold.otf") format("opentype");
}

.bodySLight {
  font-family: Brown;
  font-size: 14px;
  font-weight: 300;
  line-height: 140%; /* 19.6px */
}

.bodyXSLight {
  font-family: Brown;
  font-size: 12px;
  font-weight: 300;
  line-height: 110%; /* 13.2px */
}

.title-h2 {
  font-family: "Pilat Extended";
  font-size: 40px;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

/* Global */

body,
html {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  color: #443639;
  background-color: #fcdccd;
  min-height: 100vh;
  font-family: Brown;
}

main {
  flex: 1;
}

.background {
  position: relative;
}

.background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  /* blend mode approximation, no equivalent of plus-darker in figma */
  mix-blend-mode: multiply;
  pointer-events: none;
  opacity: 0.3;
  z-index: 0;
  filter: blur(26px);
}

p,
h2 {
  margin: 0;
}

.btn {
  display: flex;
  height: 40px;
  padding: 4px 48px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  align-self: stretch;
  text-align: center;
  cursor: pointer;
}

.btnPrimary {
  color: #fff;
  background: #443639;
  border: none;
}

.btnSecondary {
  border: 1px solid #443639;
  background: #fff;
}

.ctaDesktop {
  font-family: "Pilat Extended";
  font-size: 16px;
  font-weight: 600;
  line-height: 110%; /* 17.6px */
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.ctaLabel {
  font-family: Brown;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.container {
  margin-left: 60px;
  margin-right: 60px;
}

.logoMarella {
  margin-top: 70px;
}

.alreadyRegisteredSection .logoMarella,
.thankYouSection .logoMarella,
.generateImageSection .logoMarella {
  margin-top: 70px;
  margin-bottom: 86.9px;
}

@media (max-width: 1024px) {
  .container {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  .logoMarella {
    width: 114.32px;
    height: 16.101px;
    margin-top: 40px !important;
    margin-bottom: 60px !important;
  }
}

/* Themes */

.langSelect svg path.fill {
  fill: currentColor; /* main icon color */
}

.langSelect svg path.stroke {
  stroke: currentColor; /* outline color */
}

/* ------------------------------------------- Loader ------------------------------------------- */

.canvas-loader {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 259px; /* stessa dimensione CSS del canvas */
  height: 459.979px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.spinner {
  border: 6px solid #ffffff;
  border-top: 6px solid #443639;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ------------------------------------------- Footer ------------------------------------------- */

.site-footer {
  font-family: Brown;
  padding-bottom: 70px;
  padding-top: 95px;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px; /* 157.143% */
  border: 0;
}

.site-footer a {
  border-bottom: none !important;
}

.footerContainer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 66px;
}

.footerContainer > :last-child {
  margin-left: 62px; /* 128 - 66 */
}

.footer-logo img {
  height: 50px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
}

.footer-nav a {
  color: #443639;
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footerSocial {
  display: flex;
  gap: 25px;
}

.footerSocial a {
  height: 25px;
  width: 25px;
  display: flex;
  align-items: center;
}

.footerSocial .linkedInIcon {
  justify-content: center;
}

.footerLinksInline {
  text-align: center;
  text-transform: lowercase;
  max-width: 559px;
}

.footerLinksInline a {
  color: currentColor;
}

.footerLinksInline a:hover {
  text-decoration: underline;
}

.copyright {
  font-size: 12px;
  line-height: 20px; /* 166.667% */
}

.langSelect.footerLang {
  display: flex;
  justify-content: center;
  position: relative !important;
  top: unset;
  left: unset;
  margin: 0;
  font-size: 16px !important;
  order: -1;
}

.langSelect.footerLang .selected {
  border-bottom: 1px solid transparent !important;
}

.langSelect.footerLang .options {
  left: 8px !important;
}

/* Mobile */

@media (max-width: 1024px) {
  .footerContainer {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }

  .site-footer {
    padding-top: 56px;
    padding-bottom: 42px;
  }

  .footerContainer > :last-child {
    margin-left: unset; /* 128 - 66 */
  }

  .langSelect.footerLang {
    order: unset;
  }
}

/* ------------------------------------------- Landing Page ------------------------------------------- */

.landingPage {
  position: relative;
  background-color: #fcdccd;
  overflow: hidden; /* prevent blur overflow */
}

/* Ensure content is above the background */
.landingPage > * {
  position: relative;
  z-index: 1;
}

/* Hero Section */
.heroSection {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.heroSection .sectionContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.heroSection .logoMarella {
  position: relative;
}

.heroSection .title {
  height: 252px;
  margin-top: 123.49px;
  margin-bottom: 64px;
  text-align: center;
  font-family: "Pilat Extended";
  font-size: 125.971px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 125.971px */
  letter-spacing: -3.779px;
  text-transform: uppercase;
}

.heroSection .title .love {
  color: #bc716e;
}

.heroSection .title .manifesto {
  color: #443639;
}

.heroSection .text {
  max-width: 502px;
  text-align: center;
  margin: 0;
  font-family: Brown;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px; /* 150% */
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.heroSection .leftImage {
  position: absolute;
  height: 718.4px;
  width: 286.4px;
  top: 126px;
  left: 0px;
}

.heroSection .rightImage {
  position: absolute;
  height: 810.4px;
  right: 0;
}

/* Sezione Register */

.registerSection {
  margin-top: 198.41px;
  margin-bottom: 0;
  display: flex;
  gap: 84px;
  justify-content: center;
}

.registerSection .formContainer {
  /* height: 597px; */
  width: 590px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: space-between;
}

.registerSection .formContainer .titleTextContainer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.registerSection .formContainer .fieldsContainer {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.registerSection .formContainer .fieldsContainer .inputsContainer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 32px;
  column-gap: 40px;
  align-items: start;
}

input {
  display: flex;
  padding: 0 4px 4px 0;
  align-items: center;
  gap: 6px;
  align-self: stretch;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #443639;
  color: #443639;
}

input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-internal-autofill-selected {
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  -webkit-text-fill-color: #443639;
  transition: background-color 5000s ease-in-out 0s; /* prevents flash of yellow autofill */
}

input:focus {
  outline: none;
  font-weight: 700;
}

input::placeholder {
  color: #443639;
  font-weight: 400;
}

.customCheckboxContainer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.customCheckboxContainer .privacyPolicy {
  font-family: Brown;
  font-size: 12px;
  font-weight: 300;
  line-height: 16px; /* 133.333% */
}

.customCheckboxContainer input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.customCheckboxContainer label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* Unchecked image */
.customCheckbox {
  width: 24px;
  height: 24px;
  background-image: url("/assets/checkbox-unchecked.svg");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Checked image */
.customCheckboxContainer input:checked + label .customCheckbox {
  outline: 1px solid #443639;
  outline-offset: -7px;
  background-image: url("/assets/checkbox-fill.svg");
}

/* Keyboard focus */
.customCheckboxContainer input:focus-visible + label .customCheckbox {
  outline: 2px solid #443639;
  outline-offset: -6px;
}

.customCheckboxContainer a {
  text-decoration: underline;
  color: #443639;
}

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

.langSelect {
  display: flex;
  position: absolute !important;
  top: 65px;
  left: 60px;
  align-items: center;
  gap: 5px; /* 9-4px (padding of .selected) */
  z-index: 10;
  font-size: 14px !important;
}

.langSelect .options {
  width: 64px;
  top: 115% !important;
  max-height: unset !important;
}

.langSelect .selected::after {
  top: 58% !important;
}

.langSelect .selected {
  border-bottom: none !important;
}

/* Reset del fieldset */
.datePicker {
  display: flex;
  gap: 6px;
  border: none; /* rimuove il bordo */
  margin: 0; /* rimuove margini */
  padding: 0; /* rimuove padding */
  min-width: 0; /* evita min-width di default */
}

/* Reset del legend */
.datePicker legend {
  display: none; /* o usa .screenReaderOnly per accessibilità */
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

.datePicker .custom-select:last-child {
  margin: 0;
}

/* --- Container --- */
.custom-select {
  position: relative;
  min-width: 88.3px; /* same as your old select */
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  user-select: none;
  margin-right: 8px; /* spacing between day/month/year */
}

/* --- Selected value --- */
.custom-select .selected {
  height: 24px;
  padding: 0 28px 0 4px; /* leave space for arrow */
  line-height: 24px;
  border-bottom: 1px solid #443639;
  background-color: transparent;
  font-weight: 400;
  position: relative;
  display: flex;
  align-items: center;
}

/* Arrow */
.custom-select .selected::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background-image: url("/assets/select-arrow-down.svg");
  background-size: 22px;
  background-repeat: no-repeat;
}

/* Open state */
.custom-select.open .selected {
  font-weight: 700;
}

.custom-select.open .selected::after {
  background-image: url("/assets/select-arrow-up.svg");
}

/* --- Options container --- */
.custom-select .options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  max-height: 150px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Show options when open */
.custom-select.open .options {
  display: flex;
  flex-direction: column;
}

/* Individual option */
.custom-select .option {
  padding: 4px 16px;
  line-height: 24px;
  cursor: pointer;
}

/* Hover & focus on option */
.custom-select .option:focus {
  background-color: #ffffff;
  color: #000000;
}

.custom-select .option.selected {
  background-color: #000000;
  background-image: none !important;
  color: #ffffff;
}

.custom-select .option.selected:hover,
.custom-select .option.selected::after {
  background-image: none !important;
  border: none;
}

.custom-select .option:hover {
  background-color: #dcdcdc;
  color: #000000;
}

/* Scrollbar for options */
.custom-select .options::-webkit-scrollbar {
  width: 8px;
}

.custom-select .options::-webkit-scrollbar-track {
  background: #ffffff;
}

.custom-select .options::-webkit-scrollbar-thumb {
  background-color: #000000;
  border-radius: 4px;
}

.custom-select .selected.selected-bg {
  background-color: #443639;
  color: #ffffff;
}

/* Custom select container */
.registerSection .datePicker .custom-select[data-target="month"] {
  width: 88.3px; /* fixed width for all months */
}

/* For disabled gg field */
.custom-select.disabled .selected {
  opacity: 0.7;
  pointer-events: none;
  cursor: none;
}

.registerSection .registerWallpaper {
  width: 100%;
  height: auto;
  max-width: 618px;
  display: block;
}

.registerSection .subtitle {
  font-family: Brown;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px; /* 162.5% */
}

.registerSection .subscribeParagraph {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: Brown;
  font-size: 10px;
  font-weight: 300;
  line-height: 16px; /* 160% */
}

.registerSection .optionA,
.registerSection .optionB {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.registerSection .radioButtonsContainer {
  display: flex;
  gap: 8px;
  align-items: center;
}

.registerSection .radioButtonsContainer input[type="radio"] {
  margin: 6px;
}

.registerSection .radioButtonsContainer label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
}

/* Hide the native radio input */
.radioButtonsContainer input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Default (unchecked) image */
.customRadio {
  width: 24px;
  height: 24px;
  background-image: url("/assets/radio-button-unchecked.svg");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Checked state image */
.radioButtonsContainer input[type="radio"]:checked + .customRadio {
  background-image: url("/assets/radio-button-checked.svg");
}

/* Keyboard focus */
.radioButtonsContainer input[type="radio"]:focus-visible + .customRadio {
  outline: 2px solid #443639;
  outline-offset: -6px;
}

.inputWrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inputWrapper.error input:invalid,
.inputWrapper.error select:invalid,
.customCheckboxContainer.error input,
.optionA.error input,
.optionB.error input,
.inputWrapper.error input::placeholder,
.custom-select.error .selected {
  border-bottom-color: #f20000 !important;
  color: #f20000 !important;
}

/* Placeholder text (first option) red */
.colorStatusError {
  color: #f20000 !important;
}

.inputWrapper.error select:disabled {
  color: #f20000 !important;
  border-bottom: 1px solid #f20000 !important;
}

/* Keep selected options normal color */
.inputWrapper.error select option:not(:first-child) {
  color: #443639 !important;
}

/* Mobile */

@media (min-width: 1374px) and (max-width: 1800px) {
  .heroSection .title {
    margin-top: 52px !important;
    margin-bottom: 40px !important;
  }

  .heroSection .text {
    max-width: 704px !important;
  }

  .registerSection {
    margin-top: 95px !important;
  }

  .heroSection .leftImage {
    top: -92px;
    width: unset;
    height: unset;
    left: 0px;
  }

  .heroSection .rightImage {
    width: unset;
    height: unset;
    right: 0;
    top: -77px;
  }

  .langSelect {
    left: 0;
    margin-left: 172px;
  }

  .registerSection .formContainer .titleTextContainer {
    gap: 10px;
  }

  .site-footer {
    padding-top: 95px;
  }
}

@media (max-width: 1373px) {
  .heroSection .logoMarella {
    width: 114.32px;
    height: 16.101px;
    margin-top: 42px !important;
    margin-bottom: 42px !important;
  }

  .heroSection .title {
    height: fit-content;
    font-size: 39.432px;
    line-height: 100%;
    letter-spacing: -1.183px;
    margin-top: 0;
    margin-bottom: 56px;
  }

  .heroSection .text {
    font-size: 14px;
    line-height: 22px; /* 157.143% */
  }

  .heroSection .leftImage {
    top: 60px;
    height: 170.562px;
    width: 68px;
    left: -15px;
  }

  .heroSection .rightImage {
    height: 205.183px;
    width: 107px;
  }

  .registerSection {
    margin-top: 56px;
  }

  .registerSection .registerWallpaper {
    display: none;
  }

  .registerSection .title-h2 {
    font-size: 28px;
    line-height: normal;
  }

  .registerSection .subtitle {
    font-size: 14px;
    line-height: 22px; /* 157.143% */
  }

  .registerSection .formContainer .fieldsContainer .inputsContainer {
    display: grid;
    grid-template-columns: 1fr 1fr; /* default two columns for first row */
    grid-template-rows: auto auto auto; /* three rows */
    row-gap: 32px;
    column-gap: 32px;
  }

  /* Nome and Cognome stay in first row */
  .inputsContainer .inputWrapper:nth-child(1) input,
  .inputsContainer .inputWrapper:nth-child(2) input {
    width: 100%; /* fill the grid column */
    box-sizing: border-box; /* include padding/borders in width */
  }

  /* Email in second row full width */
  .inputsContainer .inputWrapper:nth-child(3) {
    grid-column: 1 / -1; /* span both columns */
  }

  /* Fieldset in third row full width */
  .inputsContainer .inputWrapper:nth-child(4) {
    grid-column: 1 / -1;
  }

  /* Date picker */
  .inputsContainer .inputWrapper:nth-child(4) .datePicker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 8px;
  }

  .registerSection .datePicker .custom-select[data-target="month"] {
    width: unset;
  }
}

/* ------------------------------------------- Already Registered Page ------------------------------------------- */

.alreadyRegisteredSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.alreadyRegisteredSection .sectionContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.alreadyRegisteredSection .content {
  display: flex;
  gap: 40px;
  flex-direction: column;
  align-items: center;
  margin-top: 229.9px;
  margin-bottom: 229.9px;
}

.alreadyRegisteredSection .title {
  color: #443639;
  text-align: center;
  font-family: "Pilat Extended";
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.alreadyRegisteredSection .text {
  color: #443639;
  text-align: center;
  font-family: Brown;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px; /* 162.5% */
}

.alreadyRegisteredSection .inlineLink {
  color: #443639;
  font-family: Brown;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.alreadyRegisteredSection .noDecoration {
  text-decoration: none;
}

.alreadyRegisteredSection .leftImage {
  position: absolute;
  left: 0;
  bottom: 0;
  top: 200px;
}

.alreadyRegisteredSection .rightImage {
  position: absolute;
  top: 0;
  right: 0;
}

.alreadyRegisteredSection .rightImageMobile {
  display: none;
}

/* Mobile */

@media (max-width: 1024px) {
  .alreadyRegisteredSection .title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: normal;
  }

  .alreadyRegisteredSection .text {
    font-size: 14px;
    line-height: 22px; /* 157.143% */
  }

  .alreadyRegisteredSection .content {
    gap: 16px;
  }

  .alreadyRegisteredSection .text {
    margin-bottom: 16px;
  }

  .alreadyRegisteredSection .rightImageMobile {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
  }

  .alreadyRegisteredSection .rightImage {
    display: none;
  }

  .alreadyRegisteredSection .leftImage {
    height: 262px;
    width: 136.6289px;
    top: -70px;
    left: -40px;
    transform: rotate(-373.982deg);
  }

  .langSelect {
    left: 0;
    top: 35px;
    margin-right: unset;
    margin-left: 16px;
  }
}

/* ------------------------------------------- Generate Image Page ------------------------------------------- */

.generateImageSection .sectionContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.generateImageSection .generationContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.generateImageSection .titleTextContainer h1 {
  margin-top: 0;
  margin-bottom: 16px;
  text-align: center;
  font-family: "Pilat Extended";
  font-size: 40px;
  font-weight: 700;
}

.generateImageSection .titleTextContainer p {
  text-align: center;
  font-family: Brown;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

canvas {
  width: 259px; /* display size */
  height: auto;
}

.generateImageSection canvas {
  height: 100%;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 135px 54px rgba(0, 0, 0, 0.01),
    0 76px 46px rgba(0, 0, 0, 0.02),
    0 34px 34px rgba(0, 0, 0, 0.04),
    0 8px 19px rgba(0, 0, 0, 0.04);
}

#signInput {
  margin-top: 8px;
  margin-bottom: 16px;
  margin-left: 6px;
}

#signInput::placeholder {
  color: var(--placeholder-color, #443639);
}

.is-hidden {
  display: none !important;
}

.generateImageSection .buttonsContainer {
  display: flex;
  gap: 8px;
}

.generateImageSection .buttonsContainer button {
  width: 50%;
  white-space: nowrap;
}

.columns {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 259px minmax(180px, 1fr);
  gap: 16px;
  justify-content: center;
  align-items: start;
}

.rightColumn {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Mobile */

@media (max-width: 1024px) {
  .generateImageSection .titleTextContainer h1 {
    font-size: 24px;
    line-height: normal;
  }

  .generateImageSection .titleTextContainer p {
    font-size: 14px;
    line-height: 22px;
  }

  .generateImageSection .generationContainer {
    gap: 24px;
  }

  .generateImageSection .columns {
    grid-template-columns: 1fr; /* single column */
    grid-template-rows: auto auto;
    justify-items: center;
  }

  /* Hide left empty column */
  .generateImageSection .columns .leftColumn {
    display: none;
  }

  /* Canvas first row */
  .generateImageSection .columns .canvas-container {
    grid-column: 1;
    grid-row: 1;
  }

  /* Checkboxes second row */
  .generateImageSection .columns .rightColumn {
    display: grid;
    grid-template-areas:
      "sign logo"
      "input input";
    column-gap: 16px;
    row-gap: 16px;
    width: 100%;
  }

  /* first checkbox */
  .generateImageSection .rightColumn .customCheckboxContainer:first-of-type {
    grid-area: sign;
  }

  /* input full row */
  .generateImageSection #signInput {
    grid-area: input;
  }

  /* second checkbox */
  .generateImageSection .rightColumn .customCheckboxContainer:last-of-type {
    grid-area: logo;
  }

  .generateImageSection .buttonsContainer {
    flex-direction: column-reverse;
    width: 100%;
    flex-wrap: wrap;
    align-content: center;
  }
}

/* ------------------------------------------- Thank You Page ------------------------------------------- */

.thankYouSection .sectionContentContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.thankYouSection .content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 113px;
}

.thankYouSection .title {
  font-family: "Pilat Extended";
  font-size: 40px;
  font-weight: 700;
  line-height: 52px; /* 130% */
  text-transform: uppercase;
  margin: 0;
  max-width: 757px;
}

.thankYouSection .storesTextContainer {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.thankYouSection .thankYouText {
  width: 516px;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px; /* 162.5% */
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.thankYouSection .downloadShareContainer {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.thankYouSection .finalImage {
  height: 523.98px;
  align-self: stretch;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 135px 54px rgba(0, 0, 0, 0.01),
    0 76px 46px rgba(0, 0, 0, 0.02),
    0 34px 34px rgba(0, 0, 0, 0.04),
    0 8px 19px rgba(0, 0, 0, 0.04);
}

.thankYouSection .storesLink {
  color: #443639;
  display: flex;
  padding: 8px 0;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #443639;
  text-decoration: none;
  width: fit-content;
}

.thankYouSection .socialShareContainer {
  display: none;
}

/* Mobile */

@media (max-width: 1024px) {
  .thankYouSection .content {
    display: flex;
    flex-direction: column;
    gap: 60px;
  }

  .thankYouSection .storesTextContainer .title {
    width: 343px;
    margin-bottom: 16px;
    font-size: 24px;
    line-height: normal;
  }

  .thankYouSection .storesTextContainer .thankYouText {
    width: 347px;
    font-size: 14px;
    line-height: 22px; /* 157.143% */
    gap: 16px;
  }

  .thankYouSection .storesTextContainer {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 16px;
  }

  .thankYouSection .downloadShareContainer {
    gap: 24px;
  }

  .thankYouSection .socialShareContainer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .thankYouSection .socialShare {
    display: flex !important;
    flex-direction: row;
    gap: 25px;
  }

  .shareButton {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
  }
}
