/* SveittoSauna Bastubokning – mobile-first PWA shell (on top of styles.css) */
.app-body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom);
}
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: calc(0.6rem + env(safe-area-inset-top)) 1rem 0.6rem;
  background: var(--olive);
  color: var(--cream);
  box-shadow: 0 6px 20px rgba(44, 51, 34, 0.3);
}
.app-brand { display: flex; align-items: center; gap: 0.6rem; color: inherit; text-decoration: none; }
.app-brand img { border-radius: 50%; flex: none; }
.app-brand-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.1; }
.app-brand-slogan { display: block; font-size: 0.78rem; letter-spacing: 0.06em; opacity: 0.8; }
.app-call {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 0.9rem; border-radius: 999px;
  background: var(--amber); color: var(--c-cream); font-weight: 600; text-decoration: none;
}
.app-call svg { width: 18px; height: 18px; }
.app-call:active { transform: scale(0.97); }

.install-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  margin: 0.75rem 1rem 0; padding: 0.75rem 0.9rem;
  border-radius: var(--radius); background: var(--c-olive); color: var(--c-cream);
}
.install-banner[hidden] { display: none; }
.install-banner p { margin: 0; line-height: 1.3; font-size: 0.95rem; }
.install-banner span { opacity: 0.8; font-size: 0.85rem; }
.install-actions { display: flex; align-items: center; gap: 0.25rem; }
.install-actions .btn { padding: 0.5rem 1rem; }
.install-close { background: none; border: 0; color: var(--c-cream); font-size: 1.6rem; line-height: 1; padding: 0.25rem 0.5rem; cursor: pointer; }

.app-main .section { padding: 1.5rem 0; }
.app-main .container { padding-left: 1rem; padding-right: 1rem; }
.app-main h2 { font-size: 1.8rem; margin-top: 0.1rem; }
.app-main .tent-photo { max-height: 160px; object-fit: cover; }
.app-main input, .app-main textarea, .app-main select { font-size: 16px; } /* avoid zoom on focus */

.app-footer {
  padding: 1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
  text-align: center; font-size: 0.9rem;
  background: linear-gradient(180deg, #3d4329, #2c3322); color: var(--cream);
}
.app-footer p { margin: 0.25rem 0; }
.app-footer a { color: var(--cream); }
.app-footer-brand { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }

@media (display-mode: standalone), (display-mode: fullscreen) {
  .install-banner { display: none !important; }
}

/* Compact side-by-side tent cards on phones */
.app-main .tent-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.app-main .tent-card-inner { padding: 0.6rem; }
.app-main .tent-photo { width: 100%; height: 110px; max-height: none; object-fit: cover; box-shadow: none; padding: 0; background: none; margin-bottom: 0.4rem; }
.app-main .tent-title { font-size: 1.25rem; }
.app-main .tent-desc { font-size: 0.85rem; line-height: 1.3; }
.app-main .choose-btn { margin-top: 0.5rem; padding: 0.35rem 0.5rem; font-size: 0.9rem; }

/* Respect [hidden] on delivery address (styles.css sets display:grid) */
.app-main .field-group[hidden] { display: none; }

/* Språkval + ring-knapp i appens toppfält */
.app-header-tools { display: flex; align-items: center; gap: 0.5rem; flex: none; }
.app-brand { min-width: 0; }
.app-brand-slogan { white-space: nowrap; }
/* Narrow phones: call button becomes a round icon so the slogan stays on one line */
@media (max-width: 430px) {
  .app-header { gap: 0.5rem; }
  .app-call { width: 2.6rem; height: 2.6rem; padding: 0; justify-content: center; }
  .app-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .app-call svg { width: 20px; height: 20px; }
}
@media (max-width: 360px) {
  .app-header { padding-left: 0.75rem; padding-right: 0.75rem; }
  .app-brand-name { font-size: 1.2rem; }
  .app-brand-slogan { font-size: 0.72rem; letter-spacing: 0.03em; }
}

/* Temaknapp i appens toppfält */

/* R11c: appens topp- och bottenfält följer temat (ljust = naturvitt med olivgrön text/logga) */
.app-header {
  background: var(--chrome-bg);
  color: var(--chrome-fg);
  border-bottom: 1px solid var(--chrome-line-soft);
  box-shadow: var(--chrome-shadow);
}

.app-header .app-brand-slogan { opacity: 1; color: var(--chrome-fg-muted); }
.app-footer {
  background: var(--chrome-footer-bg);
  color: var(--chrome-fg-soft);
  border-top: 1px solid var(--chrome-line-soft);
}
.app-footer a, .app-footer-brand { color: var(--chrome-fg); }
