/* ═══════════════════════════════════════════════════
   MGR SWISS AUTO — MOBILE STYLESHEET
   Target: 320px – 768px
   Philosophy: Thumb-first, content-first, fast
   ═══════════════════════════════════════════════════ */

@media (max-width: 768px) {

/* ── RESET DESKTOP STICKINESS ── */
.topbar { display: none !important; }

.navbar {
  position: fixed !important;
  top: auto !important;
  bottom: 0 !important;
  left: 0 !important; right: 0 !important;
  height: 62px !important;
  border-top: 1px solid rgba(255,255,255,.07) !important;
  border-bottom: none !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  background: rgba(6,7,9,.97) !important;
  padding: 0 !important;
  display: flex !important;
  align-items: stretch !important;
  z-index: 900 !important;
  top: unset !important;
}

/* ── BOTTOM NAV TABS ── */
.nb-logo, .nb-links, .nb-actions { display: none !important; }

.mobile-nav {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
}
.mn-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 4px;
  color: #3d4558;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: .52rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .18s;
  cursor: pointer;
  border: none;
  background: none;
  min-width: 0;
  position: relative;
}
.mn-tab.active { color: #fff; }
.mn-tab.active::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 2px;
  background: var(--red);
  border-radius: 0 0 2px 2px;
}
.mn-tab:hover { color: #6b7480; }
.mn-tab svg { width: 20px; height: 20px; flex-shrink: 0; }
.mn-tab-label { font-size: .5rem; letter-spacing: .05em; }

/* ── BODY PADDING for bottom nav ── */
body { padding-bottom: 62px !important; }

/* ── MOBILE HEADER STRIP ── */
.mobile-header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  background: rgba(6,7,9,.97);
  border-bottom: 1px solid rgba(255,255,255,.05);
  position: sticky;
  top: 0;
  z-index: 800;
}
.mh-logo { display: flex; align-items: center; gap: 9px; }
.mh-badge {
  width: 28px; height: 28px; background: var(--red); border-radius: 3px;
  position: relative; flex-shrink: 0;
}
.mh-badge::before,.mh-badge::after {
  content:''; position:absolute; background:#fff; border-radius:1px;
  top:50%; left:50%; transform:translate(-50%,-50%);
}
.mh-badge::before { width:52%; height:11%; }
.mh-badge::after { width:11%; height:52%; }
.mh-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase; color: #fff;
  line-height: 1.1;
}
.mh-sub { font-size: .5rem; color: #2e333d; letter-spacing: .07em; text-transform: uppercase; }
.mh-plat {
  display: flex; align-items: center; gap: 4px;
  font-size: .52rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #9a7830;
}
.mh-plat svg { width: 8px; height: 8px; color: #c49a3c; }
.mh-phone {
  width: 40px; height: 40px;
  background: rgba(212,25,47,.1);
  border: 1px solid rgba(212,25,47,.25);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--red);
  text-decoration: none;
  transition: all .2s;
  flex-shrink: 0;
}
.mh-phone svg { width: 18px; height: 18px; }
.mh-phone:hover { background: var(--red); color: #fff; }

/* ── HERO MOBILE ── */
.hero {
  min-height: calc(100svh - 62px - 60px) !important;
  max-height: none !important;
  align-items: center !important;
}
.hero-vl { display: none !important; }
.hero-inner {
  padding: 1.5rem 1.25rem 2rem !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
}
.hero-stats-panel { display: none !important; }
.hero-text { max-width: 100% !important; }
.hero-tag {
  font-size: .58rem !important;
  letter-spacing: .16em !important;
  margin-bottom: .9rem !important;
}
.hero h1 {
  font-size: clamp(2.4rem, 11vw, 3.5rem) !important;
  margin-bottom: 1rem !important;
  line-height: .98 !important;
}
.hero-lead {
  font-size: .88rem !important;
  max-width: 100% !important;
  margin-bottom: 1.75rem !important;
  color: #4d5563 !important;
}
.hero-actions { gap: .6rem !important; width: 100% !important; }
.h-btn-r, .h-btn-g {
  flex: 1 !important;
  justify-content: center !important;
  padding: 14px 16px !important;
  font-size: .72rem !important;
}

/* ── STATS ROW under hero on mobile ── */
.mobile-stats {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  background: var(--ink2);
  border-top: 1px solid var(--wire);
  border-bottom: 1px solid var(--wire);
}
.mstat { padding: .9rem .5rem; text-align: center; border-right: 1px solid var(--wire); }
.mstat:last-child { border-right: none; }
.mstat-n { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.2rem; color: #fff; line-height: 1; }
.mstat-n sup { font-size: .45em; color: var(--red); }
.mstat-l { font-size: .48rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #2e333d; margin-top: 3px; }

/* ── PLATINUM STRIP MOBILE ── */
.plat-strip {
  flex-direction: column !important;
  gap: .75rem !important;
  padding: 1.1rem 1.25rem !important;
  align-items: flex-start !important;
}
.plat-strip-left { gap: 1rem !important; }
.plat-icon { width: 30px !important; height: 30px !important; }
.plat-text strong { font-size: .75rem !important; }
.plat-text span { font-size: .65rem !important; }
.plat-right { width: 100%; justify-content: space-between !important; gap: .75rem !important; }
.plat-stat-n { font-size: .95rem !important; }
.plat-stat-l { font-size: .52rem !important; }

/* ── BRANDS STRIP MOBILE ── */
.brands-strip {
  flex-wrap: wrap !important;
  padding: 1rem 1.25rem !important;
  gap: 0 !important;
}
.brands-label { margin-right: 0 !important; margin-bottom: .6rem !important; width: 100% !important; }
.brands-list { border-left: none !important; flex-wrap: wrap !important; gap: .3rem !important; }
.brand-item {
  border: 1px solid var(--wire) !important;
  border-radius: 100px !important;
  padding: .3rem .85rem !important;
  font-size: .65rem !important;
}

/* ── SECTION PADDING MOBILE ── */
.sect { padding: 2rem 1.25rem !important; }
.s-title { font-size: 1.3rem !important; margin-bottom: 1.1rem !important; }
.s-header { margin-bottom: 1.1rem !important; }

/* ── GRIDS MOBILE → 1 col or 2 col ── */
.g3, .g4 {
  grid-template-columns: 1fr 1fr !important;
  gap: 1px !important;
}
/* Single col for narrow */
@media (max-width: 420px) {
  .g3, .g4 { grid-template-columns: 1fr !important; }
}

/* ── CARDS MOBILE ── */
.hcard-img { padding-top: 56% !important; }
.hcard-body { padding: .75rem .85rem .5rem !important; }
.hcard-name { font-size: .82rem !important; -webkit-line-clamp: 2 !important; }
.hcard-tags { gap: .2rem !important; }
.htag { font-size: .55rem !important; padding: 2px 5px !important; }
.hcard-foot { padding: .55rem .85rem !important; }
.hcard-price { font-size: .95rem !important; }
.hcard-price-old { font-size: .62rem !important; }
.hcard-arrow { display: none !important; }

/* ── WHY CARDS MOBILE ── */
.why-card { padding: 1.25rem 1rem !important; }
.why-icon { width: 30px !important; height: 30px !important; margin-bottom: .75rem !important; }
.why-h { font-size: .75rem !important; }
.why-p { font-size: .72rem !important; }

/* ── PROMISE MOBILE ── */
.promise {
  flex-direction: column !important;
  padding: 1.5rem 1.25rem !important;
  gap: 1.25rem !important;
}
.promise-items { gap: .75rem !important; }
.promise-item { font-size: .68rem !important; }

/* ── RENT CTA MOBILE ── */
.rent-cta {
  flex-direction: column !important;
  padding: 1.5rem 1.25rem !important;
  gap: 1rem !important;
}
.rent-cta-l h3 { font-size: 1rem !important; }
.rent-cta-l p { font-size: .78rem !important; }
.rent-cta > .h-btn-r { width: 100% !important; justify-content: center !important; }

/* ── PONUDA PAGE MOBILE ── */
.pv-wrap { padding: 0 1rem 3rem !important; }
.pv-head { padding: 1.5rem 0 1rem !important; }
.pv-title { font-size: 1.5rem !important; }
.badge-strip { padding: .7rem 0 !important; gap: .3rem !important; overflow-x: auto !important; scrollbar-width: none !important; flex-wrap: nowrap !important; }
.badge-strip::-webkit-scrollbar { display: none !important; }
.badge-pill { font-size: .6rem !important; padding: 5px 11px !important; white-space: nowrap !important; flex-shrink: 0 !important; }
.pv-filters { gap: .35rem !important; padding: .7rem 0 !important; overflow-x: auto !important; flex-wrap: nowrap !important; scrollbar-width: none !important; -webkit-overflow-scrolling: touch !important; }
.pv-filters::-webkit-scrollbar { display: none !important; }
.pv-fi { min-width: 180px !important; flex: 0 0 180px !important; }
.pv-fi input { font-size: .85rem !important; padding: 10px 12px 10px 32px !important; }
.pv-sel { font-size: .78rem !important; padding: 10px 22px 10px 9px !important; flex-shrink: 0 !important; }
.pv-btn { padding: 10px 14px !important; font-size: .68rem !important; flex-shrink: 0 !important; }
.pv-count { display: none !important; }
.pv-grid {
  grid-template-columns: 1fr 1fr !important;
}
@media (max-width: 380px) {
  .pv-grid { grid-template-columns: 1fr !important; }
}
.pv-img { padding-top: 60% !important; }
.pv-body { padding: .75rem .85rem .5rem !important; }
.pv-name { font-size: .82rem !important; }
.pv-tag { font-size: .55rem !important; }
.pv-foot { padding: .55rem .85rem !important; }
.pv-price { font-size: .95rem !important; }
.pv-arrow { width: 24px !important; height: 24px !important; }

/* ── AUTO PAGE MOBILE ── */
.ap-wrap { padding: 0 1rem 2.5rem !important; }
.ap-bc { font-size: .65rem !important; padding: .75rem 0 !important; }
.ap-layout { grid-template-columns: 1fr !important; gap: 1.25rem !important; }
.ap-sidebar { position: static !important; order: -1 !important; }
.ap-title { font-size: 1.2rem !important; }
.ap-chip { font-size: .58rem !important; padding: 2px 7px !important; }
.ap-gal-main { height: 240px !important; }
.ap-pbox { padding: 1.1rem !important; }
.ap-price { font-size: 1.7rem !important; }
.ap-btn { padding: 13px !important; font-size: .7rem !important; }
.ap-sbox { }
.ap-sbox-hd { padding: .65rem 1rem !important; }
.ap-srow { padding: .55rem 1rem !important; }
.ap-sk { font-size: .72rem !important; }
.ap-sv { font-size: .78rem !important; }

/* ── GALERIJA MOBILE ── */
.gallery-wrap { padding: 0 .75rem 3rem !important; }
.gallery-mosaic { grid-template-columns: 1fr 1fr !important; gap: 2px !important; }
.gal-item { aspect-ratio: 4/3 !important; }

/* ── O NAMA MOBILE ── */
.on-page { padding: 1.5rem 1.1rem 4rem !important; }
.on-hero { grid-template-columns: 1fr !important; gap: 1.75rem !important; padding-bottom: 2rem !important; margin-bottom: 2rem !important; }
.on-h1 { font-size: clamp(1.8rem, 9vw, 2.6rem) !important; }
.on-stats { }
.on-stat { padding: 1.25rem 1rem !important; }
.on-stat-n { font-size: 2rem !important; }
.on-pillars { grid-template-columns: 1fr !important; }
.on-pillar { padding: 1.25rem 1.1rem !important; }
.on-charts { grid-template-columns: 1fr !important; gap: 1.5rem !important; margin-bottom: 2rem !important; }
.tl-item { grid-template-columns: 60px 1fr !important; gap: 1rem !important; padding: 1rem 0 !important; }
.tl-year { font-size: .9rem !important; }
.tl-content h4 { font-size: .8rem !important; }
.tl-content p { font-size: .75rem !important; }
.on-platinum { flex-direction: column !important; gap: 1rem !important; }
.bar-label { width: 55px !important; font-size: .65rem !important; }

/* ── KONTAKT MOBILE ── */
.kt-page { padding: 1.5rem 1.1rem 4rem !important; }
.kt-hero { grid-template-columns: 1fr !important; gap: 1.75rem !important; padding-bottom: 2rem !important; margin-bottom: 2rem !important; }
.kt-h1 { font-size: clamp(1.8rem, 9vw, 2.6rem) !important; }
.kt-phone-cta { width: 100% !important; justify-content: center !important; padding: 14px 20px !important; font-size: .75rem !important; }
.kt-map { height: 200px !important; }
.kt-rent { grid-template-columns: 1fr !important; }
.kt-rent > .kt-phone-cta { width: auto !important; }
.kt-olx { flex-direction: column !important; gap: 1rem !important; }
.kt-olx .btn-wire { width: 100% !important; justify-content: center !important; }
.hours-grid { grid-template-columns: 1fr !important; }
.kt-info-lbl { font-size: .58rem !important; }
.kt-info-val { font-size: .88rem !important; }

/* ── FOOTER MOBILE ── */
footer { display: none !important; }

/* ── HIDE DESKTOP ONLY THINGS ── */
.nb-plat { display: none !important; }

} /* end @media (max-width: 768px) */

/* ════════ EXTRA SMALL (320–380px) ════════ */
@media (max-width: 380px) {
  .hero h1 { font-size: 2.2rem !important; }
  .mstat-n { font-size: 1rem !important; }
  .badge-pill { font-size: .55rem !important; padding: 4px 9px !important; }
  .ap-gal-main { height: 200px !important; }
  .on-stat-n { font-size: 1.7rem !important; }
  .plat-right { flex-direction: column !important; align-items: flex-start !important; }
}
