*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

:root {
  --bg: #f4efe8;
  --fg: #1c1612;
  --muted: #6b5e54;
  --card: #fffcf8;
  --border: #e6ddd2;
  --btn: #1c1612;
  --btn-fg: #fffcf8;
  --whatsapp: #1f9e4b;
  --whatsapp-fg: #fff;
  --shadow: 0 8px 22px rgb(28 22 18 / 0.07);
  --radius: 1.15rem;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.45;
  min-height: 100dvh;
}

.page {
  width: min(100%, 32.5rem);
  margin: 0 auto;
  padding: 1.35rem 1rem calc(5.75rem + env(safe-area-inset-bottom, 0px));
}

.hero { margin: 0 0 1.15rem; }
.hero h1 {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 750;
}
.lead {
  margin: 0.55rem 0 0;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--muted);
  max-width: 22rem;
}

.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.card {
  display: flex;
  gap: 0.8rem;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.7rem;
  min-width: 0;
}

.shot {
  width: 7.25rem;
  min-width: 7.25rem;
  height: auto;
  min-height: 7.25rem;
  object-fit: cover;
  border-radius: 0.85rem;
  background: #fff;
  display: block;
}
.shot-tableta { object-position: left center; }
.shot-prosoape { object-position: center 42%; }
.shot-periuta { object-position: center 35%; }

.info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  padding: 0.05rem 0.1rem 0 0;
}
.info h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.price {
  margin: 0.28rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.price span {
  display: inline;
  margin-left: 0.25rem;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.92rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 48px;
  padding: 0 0.95rem;
  width: 100%;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-fg);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible,
.wa-fab:focus-visible {
  outline: 3px solid var(--fg);
  outline-offset: 3px;
}

.note {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.note p { margin: 0; }

.wa-fab {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(1.15rem, env(safe-area-inset-bottom));
  z-index: 45;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: var(--whatsapp-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgb(0 0 0 / 0.28);
  text-decoration: none;
}
.wa-fab svg { width: 1.7rem; height: 1.7rem; fill: currentColor; }

@media (min-width: 720px) {
  .page { width: min(100%, 44rem); padding-top: 2rem; }
  .hero h1 { font-size: 2.15rem; }
  .products { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .btn:active { transform: none; }
}
