/* ========================================================
   2. BASE RESETS & GLOBAL LAYOUT — CANSON PAPER BACKGROUND
   ======================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent !important;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent !important;
}

body {
  color: var(--text-body);
  background-color: #ffffff;
  background-image: none;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  font-variant-numeric: lining-nums;
  -moz-font-feature-settings: "lnum" 1;
  -webkit-font-feature-settings: "lnum" 1;
  font-feature-settings: "lnum" 1;
}

h1, h2, h3, h4, h5, h6, p, span, strong, small {
  font-variant-numeric: lining-nums;
  -moz-font-feature-settings: "lnum" 1;
  -webkit-font-feature-settings: "lnum" 1;
  font-feature-settings: "lnum" 1;
}

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

/* Safari iOS: font-size < 16px trên input/textarea/select sẽ auto-zoom khi focus */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="password"],
input:not([type]),
textarea,
select {
  font-size: 16px !important;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none !important;
  outline: none !important;
  transition: all 0.25s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none !important;
}

a {
  color: inherit;
  text-decoration: none;
  outline: none !important;
  transition: color 0.2s ease;
}

/* Không sử dụng hiệu ứng cánh hoa trang trí */
.ambient-petals-bg,
.petal-particle,
.click-flower-particle,
.decor-flower {
  display: none !important;
}

/* Main App Wrapper */
.main-wrapper {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.wedding-load-error {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #3e2e20;
  background: #fbf7f0;
  font: 600 18px/1.5 "Playfair Display", serif;
  text-align: center;
}
