/* RESTORE MENU + CLEAN QR ONLY */

/* Mobile menu: restore original two-row layout */
@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  .brand {
    order: 1 !important;
    margin-right: 0 !important;
    white-space: nowrap !important;
    flex: 1 1 auto !important;
    font-size: 22px !important;
    min-width: 0 !important;
  }

  .btn-ghost {
    order: 2 !important;
    flex: 0 0 auto !important;
    font-size: 15px !important;
    padding: 8px 14px !important;
    white-space: nowrap !important;
  }

  .nav-links {
    order: 3 !important;
    width: 100% !important;
    margin-top: 8px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 7px !important;
    flex: 0 0 100% !important;
  }

  .nav-links a {
    font-size: 12px !important;
    padding: 6px 9px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  .lang-flag {
    font-size: 15px !important;
    padding: 5px 8px !important;
    min-width: 32px !important;
  }
}

@media (max-width: 430px) {
  .brand {
    font-size: 20px !important;
  }

  .nav-links {
    gap: 5px !important;
  }

  .nav-links a {
    font-size: 11px !important;
    padding: 5px 7px !important;
  }

  .btn-ghost {
    font-size: 14px !important;
    padding: 8px 12px !important;
  }
}

/* Desktop menu: do not force anything aggressive */
@media (min-width: 901px) {
  .nav {
    overflow: visible !important;
  }
}

/* Wishes section */
.wishes-section {
  position: relative !important;
  overflow: hidden !important;
}

.wishes-section:before {
  content: "♡";
  position: absolute;
  right: 26px;
  top: 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 120px;
  line-height: 1;
  color: rgba(155, 106, 81, 0.10);
  pointer-events: none;
}

.wishes-top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 190px !important;
  gap: 28px !important;
  align-items: center !important;
  margin-bottom: 28px !important;
}

.wishes-heading {
  text-align: left !important;
  max-width: none !important;
  margin: 0 !important;
}

.wishes-qr-only {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  border: 1px solid var(--line, #eaded0) !important;
  border-radius: 30px !important;
  padding: 18px !important;
  text-decoration: none !important;
  box-shadow: 0 14px 40px rgba(64, 42, 28, 0.08) !important;
  width: 190px !important;
  height: 190px !important;
}

.wishes-qr-only img {
  width: 150px !important;
  height: 150px !important;
  display: block !important;
  background: #fffdf9 !important;
  border-radius: 16px !important;
}

.wishes-layout {
  display: grid !important;
  grid-template-columns: 0.9fr 1.1fr !important;
  gap: 24px !important;
  align-items: start !important;
}

.wish-form,
.wishes-list {
  background: #fff !important;
  border: 1px solid var(--line, #eaded0) !important;
  border-radius: 28px !important;
  padding: 26px !important;
  box-shadow: 0 14px 40px rgba(64, 42, 28, 0.08) !important;
}

.wishes-list h3 {
  margin-top: 0 !important;
  font-size: 34px !important;
}

.wish-cards {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
}

.wish-card {
  background: linear-gradient(135deg, #fffdf9, #fff8f1) !important;
  border: 1px solid var(--line, #eaded0) !important;
  border-radius: 22px !important;
  padding: 18px !important;
}

.wish-heart {
  font-size: 24px !important;
  margin-bottom: 6px !important;
}

.wish-card p {
  margin: 0 0 10px !important;
  color: var(--text, #2e2721) !important;
}

.wish-card strong {
  color: var(--accent-dark, #6d4635) !important;
}

.wishes-empty {
  color: var(--muted, #75685e) !important;
}

@media (max-width: 900px) {
  .wishes-top {
    grid-template-columns: 1fr !important;
  }

  .wishes-heading {
    text-align: center !important;
  }

  .wishes-qr-only {
    width: 220px !important;
    height: 220px !important;
    margin: 0 auto !important;
  }

  .wishes-qr-only img {
    width: 178px !important;
    height: 178px !important;
  }

  .wishes-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  .wish-form,
  .wishes-list {
    padding: 22px !important;
  }
}
