/* Mini Morgans Nursery, global reset, type and shared patterns.
   Loaded on every page before header.css / footer.css / the page's own css. */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fdfbf7;
  font-family: "Karla", system-ui, sans-serif;
  color: #2e211a;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #a8623b;
  text-decoration: none;
}

a:hover {
  color: #84492a;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
}

.mm-page-shell {
  overflow-x: hidden;
}

/* ---------- Layout ---------- */

.mm-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.mm-sec {
  max-width: 1320px;
  margin: 0 auto;
  padding: 84px 40px;
}

.mm-sec--w1100 {
  max-width: 1100px;
}

.mm-sec--w1000 {
  max-width: 1000px;
}

.mm-sec--w920 {
  max-width: 920px;
}

.mm-sec--w900 {
  max-width: 900px;
}

.mm-sec--w860 {
  max-width: 860px;
}

.mm-sec--w820 {
  max-width: 820px;
}

.mm-sec--w760 {
  max-width: 760px;
}

@media (max-width: 620px) {
  .mm-container {
    padding: 0 22px;
  }

  .mm-sec {
    padding-left: 22px;
    padding-right: 22px;
  }
}

/* ---------- Type ---------- */

h1,
h2,
h3 {
  font-family: "EB Garamond", Georgia, serif;
  color: #2e211a;
}

.mm-h1 {
  font-weight: 500;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.mm-h2 {
  font-weight: 500;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.mm-h2--ruled {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 32px;
  font-weight: 600;
}

.mm-h2--ruled::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e7dbcc;
}

.mm-body-text {
  font-size: 15.5px;
  line-height: 1.8;
  color: #6a5a4d;
  text-wrap: pretty;
}

.mm-body-text--dark {
  color: #4a3327;
}

.mm-small-print {
  font-size: 13.5px;
  color: #8b7a6c;
}

.mm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a8623b;
}

/* Modifier: a single 38x1px rule ahead of the label (hero eyebrows) */
.mm-eyebrow--rule-before::before {
  content: "";
  width: 38px;
  height: 1px;
  background: #b08a68;
}

/* Modifier: rules flanking both sides of the label */
.mm-eyebrow--flanked::before,
.mm-eyebrow--flanked::after {
  content: "";
  width: 38px;
  height: 1px;
  background: #b08a68;
}

/* ---------- Buttons ---------- */

.mm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 32px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.mm-btn--primary {
  background: #6b4530;
  color: #fff;
}

.mm-btn--primary:hover {
  background: #4d3122;
  color: #fff;
}

.mm-btn--secondary {
  background: #fdfbf7;
  color: #2e211a;
  border-color: #d8c6b1;
}

.mm-btn--secondary:hover {
  border-color: #a8623b;
  color: #a8623b;
}

.mm-btn--on-walnut {
  background: #f7f1e7;
  color: #3f2c21;
}

.mm-btn--on-walnut:hover {
  background: #fff;
  color: #3f2c21;
}

.mm-btn--ghost-walnut {
  background: transparent;
  color: #f7f1e7;
  border-color: #7d6353;
}

.mm-btn--ghost-walnut:hover {
  border-color: #cfa46d;
  color: #cfa46d;
}

.mm-btn:disabled {
  cursor: wait;
  opacity: 0.82;
}

.mm-form-submit-loading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mm-form-submit-loading[hidden] {
  display: none;
}

/* ---------- Cards ---------- */

.mm-card {
  background: #fdfbf7;
  border: 1px solid #e7dbcc;
  border-radius: 3px;
  box-shadow: 0 4px 18px rgba(62, 44, 33, 0.06);
}

/* Grids that fake hairline dividers via a coloured gap */
.mm-hairline-grid {
  display: grid;
  gap: 1px;
  background: #e7dbcc;
  border: 1px solid #e7dbcc;
}

.mm-hairline-grid > * {
  background: #fdfbf7;
}

/* ---------- CTA band ---------- */

.mm-cta-band {
  background: #f4ece1;
}

.mm-cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px 0;
}

.mm-cta-band__actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .mm-cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .mm-cta-band__actions {
    width: 100%;
    flex-wrap: wrap;
  }
}

/* ---------- Media ---------- */

.mm-frame {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(92, 59, 40, 0.16);
}

.mm-frame--hero {
  box-shadow: 0 16px 44px rgba(92, 59, 40, 0.16);
}

.mm-frame--soft {
  border-radius: 6px;
  box-shadow: 0 16px 44px rgba(92, 59, 40, 0.18);
}

.mm-frame--43 {
  aspect-ratio: 4 / 3;
}

.mm-frame--11 {
  aspect-ratio: 1 / 1;
}

.mm-frame--45 {
  aspect-ratio: 4 / 5;
}

.mm-frame--34 {
  aspect-ratio: 3 / 4;
}

.mm-frame--56 {
  aspect-ratio: 5 / 6;
}

.mm-frame--32 {
  aspect-ratio: 3 / 2;
}

.mm-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mm-img-zoom {
  overflow: hidden;
  border-radius: 3px;
  display: block;
}

.mm-img-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-portrait {
  aspect-ratio: 5 / 6;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* ---------- Forms ---------- */

.mm-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mm-field label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #4a3327;
}

.mm-field input,
.mm-field select,
.mm-field textarea {
  font-family: "Karla", system-ui, sans-serif;
  font-size: 14.5px;
  color: #2e211a;
  background: #fdfbf7;
  border: 1px solid #d8c6b1;
  border-radius: 2px;
  padding: 13px 16px;
}

.mm-field input:focus,
.mm-field select:focus,
.mm-field textarea:focus {
  outline: none;
  border-color: #a8623b;
}

.mm-form-success {
  display: none;
}

.mm-form-success.mm-is-visible {
  display: block;
}

.mm-form.mm-is-submitted .mm-form-fields {
  display: none;
}

.mm-form-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 26px;
  padding: 16px 18px 16px 20px;
  border: 1px solid transparent;
  border-left-width: 4px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 10px 24px rgba(62, 44, 33, 0.08);
}

.mm-form-alert[hidden] {
  display: none;
}

.mm-form-alert__main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.mm-form-alert__main i {
  flex: none;
  margin-top: 2px;
}

.mm-form-alert__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.mm-form-alert__close:hover {
  background: rgba(46, 33, 26, 0.08);
}

.mm-form-alert--success {
  border-color: #6d9b7d;
  background: linear-gradient(135deg, #f5fbf6, #edf6ef);
  color: #355644;
}

.mm-form-alert--success .mm-form-alert__main i {
  color: #4c7e5d;
}

.mm-form-alert--error {
  border-color: #c97f58;
  background: linear-gradient(135deg, #fff8f3, #fff0e5);
  color: #7c4a32;
}

.mm-form-alert--error .mm-form-alert__main i {
  color: #a8623b;
}

.mm-form-actions {
  position: relative;
  min-height: 56px;
}

.mm-form-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 24px;
  padding: 16px;
  border-radius: 2px;
  background: #6b4530;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.mm-form-loading[hidden] {
  display: none;
}

.mm-form-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: mm-spin 0.7s linear infinite;
}

@keyframes mm-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Cookie Banner ---------- */

.mm-cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: auto;
  z-index: 80;
  width: 430px;
  max-width: calc(100vw - 36px);
  pointer-events: none;
}

.mm-cookie-banner[hidden] {
  display: none;
}

.mm-cookie-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  max-width: none;
  margin: 0 auto;
  padding: 22px 26px 24px;
  border: 1px solid #dfcdbb;
  border-radius: 2px;
  background: #fdfbf7;
  box-shadow: 0 14px 34px rgba(46, 33, 26, 0.1);
  pointer-events: auto;
}

.mm-cookie-banner__copy {
  max-width: none;
}

.mm-cookie-banner__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #a8623b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.mm-cookie-banner__eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: #a8623b;
}

.mm-cookie-banner__title {
  display: block;
  margin: 0 0 8px;
  color: #2e211a;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
}

.mm-cookie-banner__text {
  display: block;
  max-width: none;
  color: #6a5a4d;
  font-size: 13px;
  line-height: 1.55;
}

.mm-cookie-banner__text a {
  color: #a8623b;
  font-weight: 800;
  text-decoration: none;
}

.mm-cookie-banner__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 7px;
  margin-top: 14px;
}

.mm-cookie-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #d8c6b1;
  border-radius: 0;
  background: #fdfbf7;
  color: #4a3327;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.mm-cookie-chip input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #6b4530;
}

.mm-cookie-chip--locked {
  background: #efe5d9;
}

.mm-cookie-chip--locked input {
  opacity: 0.7;
  cursor: not-allowed;
}

.mm-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.mm-cookie-btn {
  min-height: 38px;
  padding: 0 19px;
  border-radius: 0;
  border: 1px solid #d8c6b1;
  font-family: "Karla", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.mm-cookie-btn:hover {
  border-color: #a8623b;
}

.mm-cookie-btn--ghost {
  border-color: #d8c6b1;
  background: #fdfbf7;
  color: #4a3327;
}

.mm-cookie-btn--dark {
  background: #fdfbf7;
  color: #4a3327;
}

.mm-cookie-btn--primary {
  background: #6b4530;
  border-color: #6b4530;
  color: #fff;
}

.mm-cookie-btn--ghost:hover {
  color: #a8623b;
}

.mm-cookie-btn--dark:hover {
  color: #a8623b;
}

.mm-cookie-btn--primary:hover {
  background: #4d3122;
  border-color: #4d3122;
  color: #fff;
}

@media (max-width: 980px) {
  .mm-cookie-banner__inner {
    gap: 18px;
    padding: 24px;
  }

  .mm-cookie-banner__copy {
    max-width: none;
  }

  .mm-cookie-banner__actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .mm-cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    min-width: 0;
  }

  .mm-cookie-banner__title {
    display: block;
    margin: 0 0 10px;
    font-size: 20px;
  }

  .mm-cookie-banner__text {
    font-size: 12px;
  }

  .mm-cookie-banner__actions {
    width: 100%;
  }

  .mm-cookie-btn {
    flex: 0 0 auto;
  }
}

/* ---------- Accessibility ---------- */

.mm-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
