/* vars, reset, page layout */
:root {
  --cream: #F4DAC1;
  --red: #CF3327;
  --red-bright: #D8392D;
  --red-dark: #A1231B;
  --light-red: #EFB3AB;
  --wa-start: #16863F;
  --wa-end: #0E6830;
  --black: #171210;
  --white: #fff;
  --ink-soft: rgba(23, 18, 16, .68);
  --card: rgba(255, 255, 255, .90);
  --stroke: rgba(255, 255, 255, .78);
  --shadow: 0 10px 30px rgba(120, 30, 15, .14);
  --shadow-lg: 0 18px 44px rgba(120, 30, 15, .20);
  --radius: 22px;
  /* offer card sizing (1:1 like insta posts) */
  --offer-ratio: 1 / 1;
  --offer-max-w: 380px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; }

body {
  margin: 0;
  font-family: "Zain", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--cream) 0%, #F7D3B6 30%, #F3B4A4 66%, var(--light-red) 100%);
  color: var(--black);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* soft bg glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(420px 420px at 88% -60px, rgba(207, 51, 39, .20), transparent 65%),
    radial-gradient(380px 380px at -90px 34%, rgba(255, 255, 255, .50), transparent 65%),
    radial-gradient(460px 460px at 110% 78%, rgba(207, 51, 39, .14), transparent 65%);
}

.ico { display: block; flex: 0 0 auto; }
[dir="ltr"] { unicode-bidi: embed; }

:is(.btn, .carousel-btn, .carousel-dot, .whatsapp-float, .menu-tool, .menu-zoom-val, details.card summary):focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.page {
  max-width: 600px;
  margin: 0 auto;
  padding: 28px 18px calc(98px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.page > header,
.page > section,
.page > footer {
  animation: rise .55s cubic-bezier(.22, .8, .32, 1) both;
}
.page > :nth-child(2) { animation-delay: .05s; }
.page > :nth-child(3) { animation-delay: .10s; }
.page > :nth-child(4) { animation-delay: .15s; }
.page > :nth-child(5) { animation-delay: .20s; }
.page > :nth-child(6) { animation-delay: .25s; }
.page > :nth-child(7) { animation-delay: .30s; }
.page > :nth-child(8) { animation-delay: .35s; }
.page > :nth-child(9) { animation-delay: .40s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 720px) {
  .page { padding-top: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page > * { animation: none; }
}
