:root {
  --lagoon-950: #12333b;
  --lagoon-850: #174e59;
  --lagoon-700: #207a83;
  --teal-500: #50c4bd;
  --teal-200: #c9f2eb;
  --coral-600: #e36f63;
  --coral-400: #f59a85;
  --hibiscus-500: #e6537d;
  --cream-100: #fff7ed;
  --shell-50: #fffdf8;
  --sand-200: #f1dfc7;
  --leaf-600: #3b8f68;
  --ink: #15333a;
  --muted: #647477;
  --shadow: 0 24px 70px rgba(18, 51, 59, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--lagoon-950);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--shell-50);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Gill Sans", "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.hero {
  position: relative;
  min-height: 96vh;
  color: #ffffff;
  overflow: hidden;
  background: url("/images/hero-open-concept-lago-marvelous.png") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  content: "";
  background: linear-gradient(0deg, var(--shell-50), rgba(255, 253, 248, 0));
  pointer-events: none;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 51, 59, 0.9) 0%, rgba(18, 51, 59, 0.72) 42%, rgba(18, 51, 59, 0.22) 100%),
    linear-gradient(0deg, rgba(18, 51, 59, 0.55), rgba(227, 111, 99, 0.18));
}

.hero__nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: var(--lagoon-950);
  background: var(--cream-100);
  font-weight: 950;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 950;
}

.brand small,
.eyebrow,
.nav-links a,
.hero__tags span {
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  color: var(--teal-200);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.nav-links a {
  padding: 10px 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: calc(96vh - 112px);
  padding: 72px 0 140px;
}

.eyebrow {
  color: var(--coral-400);
}

.hero h1 {
  max-width: 720px;
  margin-top: 14px;
  color: #ffffff;
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  line-height: 0.94;
}

.hero__copy {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
  line-height: 1.65;
}

.hero__actions,
.hero__tags,
.proof-row,
.contact__layout,
.site-footer .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.hero__actions {
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 950;
}

.button--primary {
  color: var(--lagoon-950);
  background: var(--cream-100);
  box-shadow: 0 12px 28px rgba(80, 196, 189, 0.24);
}

.button--ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.hero__tags {
  gap: 10px;
  margin-top: 34px;
}

.hero__tags span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(18, 51, 59, 0.28);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.dependable h2,
.lagoon-band h2,
.contact h2 {
  margin-top: 8px;
  color: var(--lagoon-950);
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 1;
}

.section-heading p,
.dependable__copy > p,
.lagoon-band p,
.contact p,
.price-card p,
.service-card p,
.dependable__panel li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.section-heading > p:last-child,
.dependable__copy > p,
.lagoon-band p,
.contact p {
  max-width: 680px;
  margin-top: 16px;
}

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

.service-card,
.price-card,
.dependable__panel {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card {
  overflow: hidden;
  background: #ffffff;
}

.service-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.service-card__body {
  display: grid;
  min-height: 258px;
  gap: 18px;
  padding: 22px;
}

.service-card h3,
.price-card h3,
.dependable__panel h3 {
  color: var(--lagoon-950);
  font-size: 1.25rem;
}

.service-card strong {
  align-self: end;
  width: fit-content;
  border-radius: 8px;
  padding: 8px 10px;
  color: #ffffff;
  background: var(--coral-600);
}

.dependable {
  background:
    linear-gradient(135deg, rgba(201, 242, 235, 0.68), rgba(255, 247, 237, 0.92)),
    linear-gradient(90deg, rgba(227, 111, 99, 0.08), rgba(80, 196, 189, 0.18));
}

.dependable__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.proof-row {
  gap: 12px;
  margin-top: 28px;
}

.proof-row span {
  display: grid;
  min-width: 142px;
  border-left: 4px solid var(--teal-500);
  border-radius: 8px;
  padding: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.proof-row strong {
  color: var(--lagoon-850);
  font-size: 1.3rem;
}

.dependable__panel {
  padding: 30px;
  background: #ffffff;
}

.dependable__panel ol {
  display: grid;
  gap: 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.dependable__panel li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
}

.dependable__panel li span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--teal-500);
  font-weight: 950;
}

.pricing {
  background: var(--shell-50);
}

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

.price-card {
  padding: 24px;
  border-top: 5px solid var(--teal-500);
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.96), rgba(255, 255, 255, 0.98));
}

.price-card:nth-child(2) {
  border-top-color: var(--coral-600);
}

.price-card:nth-child(3) {
  border-top-color: var(--hibiscus-500);
}

.price-card:nth-child(4) {
  border-top-color: var(--leaf-600);
}

.price-card strong {
  display: block;
  margin: 20px 0 10px;
  color: var(--coral-600);
  font-size: 2.2rem;
  line-height: 1;
}

.lagoon-band {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(18, 51, 59, 0.92), rgba(32, 122, 131, 0.74)),
    url("/images/move-in-ready.jpg") center / cover no-repeat;
}

.lagoon-band__content {
  max-width: 780px;
}

.lagoon-band h2,
.lagoon-band p {
  color: #ffffff;
}

.contact {
  background:
    linear-gradient(135deg, rgba(245, 154, 133, 0.18), rgba(80, 196, 189, 0.2)),
    var(--cream-100);
}

.contact__layout {
  justify-content: space-between;
  gap: 28px;
}

.contact .button--primary {
  color: #ffffff;
  background: var(--lagoon-850);
}

.site-footer {
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--lagoon-950);
}

.site-footer .shell {
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 980px) {
  .service-grid,
  .pricing-grid,
  .dependable__layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dependable__layout {
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: 94vh;
    background-position: 53% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(18, 51, 59, 0.94) 0%, rgba(18, 51, 59, 0.78) 66%, rgba(18, 51, 59, 0.32) 100%),
      linear-gradient(0deg, rgba(18, 51, 59, 0.56), rgba(227, 111, 99, 0.14));
  }

  .hero__nav {
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 12px;
  }

  .hero__content {
    min-height: calc(94vh - 130px);
    padding: 52px 0 118px;
  }

  .service-grid,
  .pricing-grid,
  .dependable__layout {
    grid-template-columns: 1fr;
  }

  .service-card__body {
    min-height: auto;
  }

  .contact__layout,
  .site-footer .shell {
    align-items: flex-start;
  }
}

@media (max-width: 500px) {
  .hero__nav {
    display: grid;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 3.1rem;
  }
}

button,
input,
select,
textarea {
  font: inherit;
}

.login-menu {
  position: relative;
}

.login-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
}

.login-menu summary::-webkit-details-marker {
  display: none;
}

.login-menu summary svg {
  width: 15px;
  height: 15px;
  transition: transform 160ms ease;
}

.login-menu[open] summary svg {
  transform: rotate(180deg);
}

.login-menu__options {
  position: absolute;
  z-index: 5;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  width: 180px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--lagoon-950);
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(18, 51, 59, 0.3);
}

.login-menu__options a {
  padding: 14px 16px;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
}

.login-menu__options a:hover,
.login-menu__options a:focus-visible {
  color: #ffffff;
  background: var(--lagoon-700);
}

.button svg {
  width: 19px;
  height: 19px;
  margin-right: 8px;
}

.button--coral {
  color: #ffffff;
  background: var(--coral-600);
  box-shadow: 0 12px 28px rgba(227, 111, 99, 0.22);
}

.button--teal {
  color: #ffffff;
  background: var(--lagoon-700);
  box-shadow: 0 12px 28px rgba(32, 122, 131, 0.2);
}

.button--quiet {
  color: var(--lagoon-850);
  border-color: #b9cecf;
  background: #ffffff;
}

.button--full {
  width: 100%;
}

.auth-page {
  display: grid;
  min-height: calc(100vh - 76px);
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  background: #ffffff;
}

.auth-page__brand {
  display: flex;
  min-height: 680px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 48px max(42px, calc((100vw - 1120px) / 2));
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(18, 51, 59, 0.9), rgba(18, 51, 59, 0.48)),
    url("/images/hero-open-concept-lago-marvelous.png") center / cover no-repeat;
}

.auth-page--associate .auth-page__brand {
  background:
    linear-gradient(90deg, rgba(18, 51, 59, 0.86), rgba(32, 122, 131, 0.5)),
    url("/images/recurring-care.jpg") center / cover no-repeat;
}

.auth-page__brand h1 {
  max-width: 700px;
  margin-top: 12px;
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.auth-page__brand > div > p:last-child {
  max-width: 580px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  line-height: 1.65;
}

.auth-page__form-wrap {
  display: grid;
  place-items: center;
  padding: 56px;
  background: var(--shell-50);
}

.auth-form {
  display: grid;
  width: min(100%, 430px);
  gap: 12px;
}

.auth-form > div:first-child {
  margin-bottom: 16px;
}

.auth-form h2 {
  margin-top: 8px;
  color: var(--lagoon-950);
  font-size: 2rem;
}

.auth-form label,
.form-field label {
  color: var(--lagoon-950);
  font-size: 0.85rem;
  font-weight: 800;
}

.auth-form input,
.form-field input,
.form-field select,
.form-field textarea,
.product-picker select {
  width: 100%;
  border: 1px solid #b9cecf;
  border-radius: 8px;
  outline: none;
  color: var(--ink);
  background: #ffffff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.auth-form input,
.form-field input,
.form-field select,
.product-picker select {
  min-height: 50px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 132px;
  resize: vertical;
  padding: 14px;
  line-height: 1.55;
}

.auth-form input:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.product-picker select:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(80, 196, 189, 0.18);
}

.auth-form__back {
  margin-top: 4px;
  padding: 10px;
  color: var(--lagoon-700);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.validation-summary,
.field-validation {
  color: #a53535;
  font-size: 0.84rem;
  line-height: 1.4;
}

.validation-summary:empty,
.field-validation:empty {
  display: none;
}

.validation-summary ul {
  margin: 0;
  padding-left: 20px;
}

.portal-header {
  position: relative;
  z-index: 10;
  color: var(--lagoon-950);
  background: #ffffff;
  box-shadow: 0 5px 24px rgba(18, 51, 59, 0.08);
}

.portal-header__inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand--portal .brand__mark {
  color: #ffffff;
  border: 0;
  background: var(--coral-600);
}

.brand--portal small {
  color: var(--lagoon-700);
}

.portal-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.86rem;
  font-weight: 850;
}

.portal-nav form {
  margin: 0;
}

.portal-nav a,
.portal-nav__logout {
  padding: 10px 0;
}

.portal-nav__logout {
  border: 0;
  color: var(--coral-600);
  background: transparent;
  cursor: pointer;
  font-weight: 850;
}

.portal-page {
  min-height: calc(100vh - 160px);
  padding: 66px 0 90px;
  background:
    linear-gradient(180deg, rgba(201, 242, 235, 0.34), rgba(255, 253, 248, 0) 320px),
    var(--shell-50);
}

.portal-title {
  max-width: 760px;
  margin-bottom: 38px;
}

.portal-title--compact {
  margin-bottom: 30px;
}

.portal-title h1 {
  margin-top: 8px;
  color: var(--lagoon-950);
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1;
}

.portal-title > p:last-child {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-card {
  display: grid;
  min-height: 190px;
  grid-template-columns: 54px 1fr 24px;
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(32, 122, 131, 0.18);
  border-radius: 8px;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(18, 51, 59, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.dashboard-card:hover,
.dashboard-card:focus-visible {
  border-color: var(--teal-500);
  box-shadow: 0 22px 58px rgba(18, 51, 59, 0.16);
  transform: translateY(-3px);
}

.dashboard-card__icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--coral-600);
}

.dashboard-card__icon svg {
  width: 26px;
  height: 26px;
}

.dashboard-card h2,
.empty-dashboard h2 {
  color: var(--lagoon-950);
  font-size: 1.45rem;
}

.dashboard-card p,
.empty-dashboard p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.dashboard-card__arrow {
  width: 22px;
  color: var(--lagoon-700);
}

.empty-dashboard {
  display: grid;
  min-height: 280px;
  place-items: center;
  align-content: center;
  border: 1px dashed #9cbfc0;
  border-radius: 8px;
  padding: 34px;
  text-align: center;
  background: rgba(255, 255, 255, 0.74);
}

.empty-dashboard > svg {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--coral-600);
}

.empty-dashboard .button {
  margin-top: 22px;
}

.status-message {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  border-left: 4px solid var(--leaf-600);
  border-radius: 8px;
  padding: 14px 16px;
  color: #1f6046;
  background: #e8f7ee;
  font-weight: 750;
}

.status-message--error {
  border-left-color: #b84242;
  color: #8a2e2e;
  background: #fff0ef;
}

.status-message svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.product-picker {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(320px, 1.25fr) 58px;
  gap: 16px;
  align-items: end;
  margin-bottom: 26px;
  padding: 22px 0;
  border-top: 1px solid rgba(32, 122, 131, 0.18);
  border-bottom: 1px solid rgba(32, 122, 131, 0.18);
}

.form-field {
  display: grid;
  gap: 8px;
}

.input-with-icon,
.currency-input {
  position: relative;
}

.input-with-icon svg {
  position: absolute;
  z-index: 1;
  top: 15px;
  left: 14px;
  width: 20px;
  height: 20px;
  color: var(--lagoon-700);
  pointer-events: none;
}

.input-with-icon input {
  padding-left: 44px;
}

.currency-input > span {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  color: var(--lagoon-700);
  font-weight: 850;
}

.currency-input input {
  padding-left: 30px;
}

.add-product-button {
  display: grid;
  width: 58px;
  height: 50px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: var(--coral-600);
  box-shadow: 0 12px 26px rgba(227, 111, 99, 0.22);
  cursor: pointer;
}

.add-product-button svg {
  width: 28px;
  height: 28px;
}

.product-editor {
  padding: 30px 0 0;
}

.product-editor__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.product-editor__heading h2 {
  margin-top: 7px;
  color: var(--lagoon-950);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
}

.icon-toolbar {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.icon-command,
.modal-close {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #b9cecf;
  border-radius: 8px;
  color: var(--lagoon-850);
  background: #ffffff;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.icon-command:hover,
.icon-command:focus-visible,
.modal-close:hover,
.modal-close:focus-visible {
  color: #ffffff;
  border-color: var(--lagoon-700);
  background: var(--lagoon-700);
}

.icon-command--danger {
  color: #a53535;
}

.icon-command--danger:hover,
.icon-command--danger:focus-visible {
  border-color: #a53535;
  background: #a53535;
}

.icon-command:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.icon-command svg,
.modal-close svg {
  width: 21px;
  height: 21px;
}

.product-form {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(180px, 0.55fr) minmax(160px, 0.45fr);
  gap: 20px;
  padding: 28px;
  border: 1px solid rgba(32, 122, 131, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(18, 51, 59, 0.08);
}

.product-form__description,
.product-form__footer {
  grid-column: 1 / -1;
}

.toggle-field {
  display: flex;
  min-height: 50px;
  align-items: center;
  align-self: end;
  gap: 10px;
  cursor: pointer;
}

.toggle-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.toggle-field span {
  position: relative;
  width: 44px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #b9c5c6;
  transition: background 150ms ease;
}

.toggle-field span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  content: "";
  background: #ffffff;
  transition: transform 150ms ease;
}

.toggle-field input:checked + span {
  background: var(--teal-500);
}

.toggle-field input:checked + span::after {
  transform: translateX(20px);
}

.toggle-field input:focus-visible + span {
  outline: 3px solid rgba(80, 196, 189, 0.3);
}

.toggle-field strong {
  color: var(--lagoon-950);
  font-size: 0.9rem;
}

.product-form__footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 6px;
}

.product-modal {
  width: min(720px, calc(100% - 28px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 0;
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(18, 51, 59, 0.34);
}

.product-modal::backdrop {
  background: rgba(18, 51, 59, 0.72);
}

.product-modal__content {
  padding: 30px;
}

.product-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.product-modal__header h2 {
  margin-top: 7px;
  color: var(--lagoon-950);
  font-size: 2rem;
}

.product-modal__grid {
  display: grid;
  grid-template-columns: 1fr 0.6fr 0.5fr;
  gap: 18px;
}

.product-modal__description {
  grid-column: 1 / -1;
}

.product-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #dce7e7;
}

@media (max-width: 980px) {
  .auth-page {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .auth-page__brand {
    padding: 40px;
  }

  .product-form {
    grid-template-columns: 1fr 1fr;
  }

  .product-form__name,
  .product-form__description,
  .product-form__footer {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-page__brand {
    min-height: 420px;
    padding: 30px 24px 44px;
  }

  .auth-page__form-wrap {
    padding: 48px 24px 64px;
  }

  .portal-header__inner,
  .product-editor__heading {
    align-items: flex-start;
  }

  .portal-header__inner {
    padding: 16px 0;
  }

  .portal-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 16px;
  }

  .dashboard-grid,
  .product-picker,
  .product-form,
  .product-modal__grid {
    grid-template-columns: 1fr;
  }

  .add-product-button {
    width: 100%;
  }

  .product-editor__heading {
    flex-direction: column;
  }

  .product-form__name,
  .product-form__description,
  .product-form__footer,
  .product-modal__description {
    grid-column: auto;
  }
}

@media (max-width: 500px) {
  .login-menu__options {
    right: auto;
    left: 0;
  }

  .portal-header__inner {
    align-items: flex-start;
  }

  .portal-header .brand strong,
  .portal-header .brand small {
    display: none;
  }

  .portal-page {
    padding-top: 48px;
  }

  .product-form,
  .product-modal__content {
    padding: 22px;
  }

  .product-modal__actions {
    flex-direction: column-reverse;
  }

  .product-modal__actions .button {
    width: 100%;
  }
}
