/* ============================================================
   Mesara Košarac — style.css v12
   Compact mobile card · Phone 360–430 px · No dependencies
   ============================================================ */

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── TOKENS ────────────────────────────────────────────────── */
:root {
  --bg:        #F6F3EE;   /* warm page background          */
  --surface:   #FFFFFF;   /* card surface                  */
  --soft:      #F0EBE3;   /* chip / subtle surface         */
  --accent:    #B14E32;   /* terracotta                    */
  --accent-dk: #8A3A23;
  --accent-bg: #FAF0EC;   /* warm tint for warm tile       */
  --dark:      #1F1D1A;
  --dark2:     #2A2521;
  --tx:        #1F1D1A;
  --tx2:       #716B63;
  --tx3:       #A29890;
  --line:      rgba(31,29,26,.08);
  --r-card:    22px;       /* card border-radius            */
  --r-hero:    24px;       /* hero border-radius            */
  --r-btn:     13px;
  --pad:       16px;       /* standard horizontal padding   */
  --max:       430px;      /* container max-width           */
  --f: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont,
       "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ── BASE ──────────────────────────────────────────────────── */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--f);
  background: var(--bg);
  color: var(--tx);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  /* Reserve space for the fixed bottom bar */
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

/* All links inherit color — no browser-default blue */
a {
  color: inherit;
  text-decoration: none;
}

/* All SVG properly contained */
svg {
  display: block;
  flex-shrink: 0;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:        0.01ms !important;
    transition-duration:       0.01ms !important;
    scroll-behavior:           auto   !important;
  }
}

/* ══════════════════════════════════════════════════════════
   HEADER
   Full-width dark bar · max 64 px · padding 12px 16px
══════════════════════════════════════════════════════════ */
.hdr {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.hdr__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 0;
}

.hdr__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* MK circle badge */
.mk {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  user-select: none;
}

.hdr__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.hdr__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.hdr__sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,.36);
  line-height: 1.2;
}

.hdr__hours {
  flex-shrink: 0;
  font-size: 0.67rem;
  font-weight: 500;
  color: rgba(255,255,255,.42);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════
   CONTAINER
   All page content lives here. 16 px padding each side.
   Nothing inside may touch the screen edge.
══════════════════════════════════════════════════════════ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad) 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ══════════════════════════════════════════════════════════
   HERO — video background
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  border-radius: var(--r-hero);
  overflow: hidden;
  height: 248px;
  background: #1A1210; /* fallback while video loads */
}

/* Video fills the hero */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Dark gradient overlay — left/bottom darker for text legibility */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.22) 0%,
      rgba(0,0,0,0.52) 70%,
      rgba(0,0,0,0.68) 100%
    );
  pointer-events: none;
}

/* Content sits above video + overlay */
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__label {
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* H1 */
.hero__title {
  font-size: clamp(1.85rem, 8vw, 2.2rem);
  font-weight: 800;
  color: rgba(255,255,255,.97);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 5px;
}

.hero__sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,.70);
  line-height: 1.4;
  margin-bottom: 14px;
}

/* Two equal-width action buttons */
.hero__btns {
  display: flex;
  gap: 10px;
}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 43px;
  border-radius: var(--r-btn);
  font-family: var(--f);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  color: inherit;                  /* no browser-default blue */
  -webkit-tap-highlight-color: transparent;
  transition: opacity .12s, transform .1s;
  white-space: nowrap;
  min-width: 0;
}

.btn:active { opacity: .8; transform: scale(.96); }

.btn--fire {
  background: var(--accent);
  color: #fff !important;
}
.btn--fire:hover { background: var(--accent-dk); }

.btn--ghost {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85) !important;
  border: 1.5px solid rgba(255,255,255,.2);
}
.btn--ghost:hover { background: rgba(255,255,255,.16); }

/* ══════════════════════════════════════════════════════════
   CARD base
   All white cards share this style
══════════════════════════════════════════════════════════ */
.card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.05);
}

/* Card section header (icon + title + optional note) */
.card__hdr {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);       /* icon color */
  margin-bottom: 12px;
}

.card__title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--tx);
  line-height: 1.2;
}

.card__note {
  font-size: 0.68rem;
  color: var(--tx3);
  margin-left: auto;
}

/* ══════════════════════════════════════════════════════════
   DVIJE USLUGE
   2-column grid of horizontal-layout cards
══════════════════════════════════════════════════════════ */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.svc {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 16px 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.05);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* Photo thumbnail */
.svc__thumb {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.svc__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 1px;
}

.svc__name {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--tx);
  line-height: 1.2;
}

.svc__tags {
  font-size: 0.7rem;
  color: var(--tx2);
  line-height: 1.65;
  word-break: break-word;
  white-space: pre-line;
}

/* ══════════════════════════════════════════════════════════
   CHIPS — grill assortment
══════════════════════════════════════════════════════════ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  background: var(--soft);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--tx2);
  white-space: nowrap;
  line-height: 1;
}

/* ══════════════════════════════════════════════════════════
   RADNO VRIJEME
══════════════════════════════════════════════════════════ */
.hours {
  display: flex;
  flex-direction: column;
}

.hours__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  border-top: 1px solid var(--line);
}

.hours__day {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--tx);
}

.hours__time {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tx);
  letter-spacing: -0.02em;
}

.hours__row--off .hours__day {
  color: var(--tx2);
  font-weight: 400;
}

.hours__off {
  font-size: 0.78rem;
  color: var(--tx3);
}

/* ══════════════════════════════════════════════════════════
   KONTAKT
══════════════════════════════════════════════════════════ */
.contact__heading {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--tx);
  margin-bottom: 2px;
}

.contact__owner {
  font-size: 0.78rem;
  color: var(--tx2);
  margin-bottom: 2px;
}

.contact__phone {
  display: inline-flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent) !important;   /* override link inherit, ensure terracotta */
  letter-spacing: -0.025em;
  min-height: 40px;
  transition: color .12s;
}
.contact__phone:hover { color: var(--accent-dk) !important; }

.contact__note {
  font-size: 0.73rem;
  color: var(--tx2);
  line-height: 1.45;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background: transparent;
  text-align: center;
  padding: 10px var(--pad) 14px;
  font-size: 0.68rem;
  color: var(--tx3);
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════════════
   BOTTOM BAR
   Fixed · left:0 right:0 · inner max-width 430px
══════════════════════════════════════════════════════════ */
.btm {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 10px rgba(0,0,0,.06);
}

/* Inner container — constrains content width and handles safe area */
.btm__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--pad) calc(8px + env(safe-area-inset-bottom, 0px));
  display: flex;
  gap: 10px;
}

.btm__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 46px;
  border-radius: var(--r-btn);
  font-family: var(--f);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .12s, transform .1s;
  white-space: nowrap;
  min-width: 0;
}

.btm__btn:active { opacity: .8; transform: scale(.96); }

.btm__btn--call {
  background: var(--accent);
  color: #fff !important;
}
.btm__btn--call:hover { background: var(--accent-dk); }

.btm__btn--map {
  background: var(--soft);
  color: var(--tx) !important;
  border: 1.5px solid rgba(31,29,26,.12);
}
.btm__btn--map:hover { background: #E8DFD6; }

/* ══════════════════════════════════════════════════════════
   HEADER RIGHT — hours + lang switcher
══════════════════════════════════════════════════════════ */
.hdr__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   LANGUAGE SWITCHER
══════════════════════════════════════════════════════════ */
.lang {
  position: relative;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 7px;
  color: rgba(255,255,255,.72);
  font-family: var(--f);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 7px;
  cursor: pointer;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  transition: background .12s;
  white-space: nowrap;
}

.lang__btn:hover { background: rgba(255,255,255,.16); }

.lang__arrow {
  transition: transform .15s;
}

.lang__btn[aria-expanded="true"] .lang__arrow {
  transform: rotate(180deg);
}

.lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 4px;
  list-style: none;
  min-width: 60px;
  z-index: 200;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
}

.lang__menu[hidden] { display: none; }

.lang__menu li { margin: 0; padding: 0; }

.lang__menu button {
  display: block;
  width: 100%;
  padding: 7px 12px;
  background: none;
  border: none;
  color: rgba(255,255,255,.62);
  font-family: var(--f);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  cursor: pointer;
  border-radius: 6px;
  transition: background .1s, color .1s;
  -webkit-tap-highlight-color: transparent;
}

.lang__menu button:hover,
.lang__menu button[aria-current="true"] {
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════
   POSJETITE NAS — full-width facade landing section
══════════════════════════════════════════════════════════ */
.visit-section {
  background: var(--surface);
  border-radius: var(--r-hero);   /* 24px — matches hero */
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.11), 0 1px 4px rgba(0,0,0,.06);
}

/* 16:9 image container — no white borders anywhere */
.visit-section__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
}

.visit-section__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.visit-section__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.visit-section__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tx);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.visit-section__sub {
  font-size: 0.78rem;
  color: var(--tx2);
  line-height: 1.45;
  margin-bottom: 4px;
}

/* Full-width navigation button */
.btn--visit-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 50px;
  background: var(--dark);
  color: rgba(255,255,255,.92) !important;
  border-radius: var(--r-btn);
  font-family: var(--f);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .12s, opacity .12s, transform .1s;
  white-space: nowrap;
}
.btn--visit-nav:hover  { background: var(--dark2); }
.btn--visit-nav:active { opacity: .8; transform: scale(.97); }

/* ══════════════════════════════════════════════════════════
   UTILITY CARD — Install + Share
══════════════════════════════════════════════════════════ */
.card--utility {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.utility__title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--tx);
}

.utility__desc {
  font-size: 0.78rem;
  color: var(--tx2);
  line-height: 1.45;
}

.utility__btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.utility__ios {
  font-size: 0.75rem;
  color: var(--tx2);
  line-height: 1.5;
  padding: 10px 12px;
  background: var(--soft);
  border-radius: 10px;
}

.btn--install {
  width: 100%;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: var(--r-btn);
  font-family: var(--f);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .12s, opacity .12s, transform .1s;
  white-space: nowrap;
  padding: 0 16px;
}
.btn--install:hover  { background: var(--accent-dk); }
.btn--install:active { opacity: .82; transform: scale(.97); }

.btn--share {
  width: 100%;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  color: var(--tx) !important;
  border: 1.5px solid rgba(31,29,26,.12);
  border-radius: var(--r-btn);
  font-family: var(--f);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .12s, opacity .12s, transform .1s;
  white-space: nowrap;
  padding: 0 16px;
}
.btn--share:hover  { background: #E8DFD6; }
.btn--share:active { opacity: .82; transform: scale(.97); }

/* Toast notification */
.toast {
  position: fixed;
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--dark);
  color: rgba(255,255,255,.9);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none;
  z-index: 300;
}
.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ══════════════════════════════════════════════════════════
   APEX MENU CTA BLOCK
══════════════════════════════════════════════════════════ */
.apex-cta {
  background: #23201D;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,.12), 0 1px 4px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.apex-cta__label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}

.apex-cta__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: rgba(255,255,255,.95);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 2px;
}

.apex-cta__desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,.52);
  line-height: 1.55;
}

.apex-cta__q {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  margin-top: 4px;
  margin-bottom: 4px;
}

.apex-cta__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.apex-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  color: rgba(255,255,255,.88) !important;
  font-family: var(--f);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .12s, opacity .12s, transform .1s;
  white-space: nowrap;
  min-width: 0;
}
.apex-btn:hover  { background: rgba(255,255,255,.13); }
.apex-btn:active { opacity: .8; transform: scale(.96); }

/* ══════════════════════════════════════════════════════════
   INSTALL BOTTOM SHEET
   Sits above the fixed .btm bar. Slides in from below.
══════════════════════════════════════════════════════════ */
.isl {
  position: fixed;
  /* 12 px gap above the bottom bar (≈64 px) + safe area */
  bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 12px);
  left: 50%;
  /* slide-down start state */
  transform: translateX(-50%) translateY(20px);
  width: calc(100% - 32px);   /* 16 px margins each side */
  max-width: 398px;
  z-index: 90;                 /* below .btm (z-index: 100) */
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid rgba(31,29,26,.09);
  box-shadow: 0 8px 32px rgba(0,0,0,.13), 0 2px 8px rgba(0,0,0,.07);
  padding: 14px 16px 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.isl.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .isl {
    transition: opacity .15s ease;
    transform: translateX(-50%) translateY(0) !important;
  }
}

/* Close button — top-right circle */
.isl__close {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 26px;
  height: 26px;
  border: none;
  background: var(--soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--tx2);
  -webkit-tap-highlight-color: transparent;
  transition: background .12s;
  flex-shrink: 0;
}

.isl__close:hover  { background: #E8DFD6; }
.isl__close:active { opacity: .7; }

/* Icon + text row */
.isl__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  /* leave room for the X button */
  padding-right: 30px;
}

/* App icon */
.isl__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  overflow: hidden;
  display: block;
}

.isl__icon svg { display: block; }

/* Text column */
.isl__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
}

.isl__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--tx);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.isl__desc {
  font-size: 0.72rem;
  color: var(--tx2);
  line-height: 1.4;
}

/* Button row */
.isl__btns {
  display: flex;
  gap: 8px;
}

.isl__btn {
  flex: 1;
  height: 42px;
  border: none;
  border-radius: 12px;
  font-family: var(--f);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .12s, opacity .12s, transform .1s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 8px;
}

.isl__btn:active { opacity: .82; transform: scale(.97); }

.isl__btn--primary {
  background: var(--accent);
  color: #fff;
}
.isl__btn--primary:hover { background: var(--accent-dk); }

.isl__btn--secondary {
  background: var(--soft);
  color: var(--tx);
  border: 1.5px solid rgba(31,29,26,.12);
}
.isl__btn--secondary:hover { background: #E8DFD6; }

/* iOS has one full-width button */
.isl__btn--full {
  flex: 1;
}

/* On desktop (no bottom bar), move sheet to bottom of page */
@media (min-width: 768px) {
  .isl { bottom: 20px; }
}

/* ══════════════════════════════════════════════════════════
   DESKTOP — hide bottom bar, reset body padding
══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  body        { padding-bottom: 0; }
  .btm        { display: none; }
  .hero       { padding: 18px 22px; }
  .hero__title{ font-size: 2.3rem; }
  .container  { padding: 16px var(--pad) 0; gap: 16px; }
}

/* ══════════════════════════════════════════════════════════
   HDR GROUP — sticky wrapper: weather bar + header + lang panel
══════════════════════════════════════════════════════════ */
.hdr-group {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* ══════════════════════════════════════════════════════════
   WEATHER BAR
   Compact info strip: day · time   🌡 temp  🌊 sea
══════════════════════════════════════════════════════════ */
.weather-bar {
  background: var(--bg);
  border-bottom: 1px solid rgba(160,130,100,0.15);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  max-width: 100%;
  font-size: 0.72rem;
  color: var(--tx2);
  letter-spacing: 0.01em;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.weather-bar__time {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.weather-bar__temps {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.weather-bar__air,
.weather-bar__sea {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--tx2);
}

/* ══════════════════════════════════════════════════════════
   LANGUAGE PANEL
   Horizontal strip — all 7 languages always visible
══════════════════════════════════════════════════════════ */
.lang-panel {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px var(--pad);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.lang-panel::-webkit-scrollbar { display: none; }

.lang-panel__btn {
  flex-shrink: 0;
  height: 34px;
  min-width: 40px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--f);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tx3);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1;
}

.lang-panel__btn:hover {
  color: var(--tx);
  background: var(--soft);
}

.lang-panel__btn[aria-pressed="true"] {
  background: rgba(177,78,50,0.12);
  border-color: rgba(177,78,50,0.28);
  color: var(--accent);
}

/* ══════════════════════════════════════════════════════════
   ACTION BUTTONS — Share + Install
   Two clean rows, no surrounding card
══════════════════════════════════════════════════════════ */
.action-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Container gap already 16px on each side */
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  border-radius: 16px;
  font-family: var(--f);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s, opacity 0.12s, transform 0.1s;
  white-space: nowrap;
  border: none;
}

.action-btn:active { opacity: .82; transform: scale(.97); }

.action-btn--share {
  background: var(--surface);
  color: var(--tx) !important;
  border: 1.5px solid rgba(31,29,26,0.14);
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}
.action-btn--share:hover { background: var(--soft); }

.action-btn--install {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(177,78,50,0.25);
}
.action-btn--install:hover { background: var(--accent-dk); }

.action-btn[hidden] { display: none; }

.action-ios-hint {
  font-size: 0.75rem;
  color: var(--tx2);
  line-height: 1.5;
  padding: 12px 14px;
  background: var(--soft);
  border-radius: 12px;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════
   APEX MENU ACCORDION
   Collapsed by default · Smooth expand · Arrow rotates
══════════════════════════════════════════════════════════ */
.apex-acc {
  border-radius: 20px;
  border: 1px solid rgba(160,130,100,0.18);
  background: #FAFAF8;
  overflow: hidden;
}

.apex-acc__toggle {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 16px 16px 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  -webkit-tap-highlight-color: transparent;
  min-height: 72px;
}

.apex-acc__summary {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.apex-acc__powered {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: var(--accent);
  text-transform: uppercase;
  line-height: 1.2;
}

.apex-acc__short {
  display: block;
  font-size: 0.74rem;
  color: var(--tx2);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.apex-acc__arrow {
  flex-shrink: 0;
  color: var(--tx3);
  transition: transform 0.25s ease;
}

.apex-acc__toggle[aria-expanded="true"] .apex-acc__arrow {
  transform: rotate(180deg);
}

/* Panel uses max-height for smooth animation */
.apex-acc__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.apex-acc__panel.is-open {
  max-height: 600px;
}

@media (prefers-reduced-motion: reduce) {
  .apex-acc__panel {
    transition: none;
  }
  .apex-acc__arrow {
    transition: none;
  }
}

.apex-acc__inner {
  padding: 0 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(160,130,100,0.12);
}

.apex-acc__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--tx);
  letter-spacing: -0.02em;
  line-height: 1.25;
  padding-top: 16px;
}

.apex-acc__desc {
  font-size: 0.76rem;
  color: var(--tx2);
  line-height: 1.55;
}

.apex-acc__q {
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--tx);
  margin-top: 4px;
  margin-bottom: 2px;
}

.apex-acc__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

/* Override .apex-btn colours inside the light accordion panel */
.apex-acc .apex-btn {
  background: var(--soft);
  border: 1.5px solid rgba(31,29,26,0.12);
  color: var(--tx) !important;
  border-radius: 12px;
  height: 46px;
}
.apex-acc .apex-btn:hover  { background: #E8DFD6; }
.apex-acc .apex-btn:active { opacity: .82; transform: scale(.97); }
