/* =========================================
   FIORION SOLAR — Estilos Principais
   ========================================= */

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

:root {
  --ocean:   #ffffff;
  --deep:    #f0f6fc;
  --mid:     #1a5f8a;
  --aqua:    #0077cc;
  --glow:    #005fa3;
  --gold:    #c8a84b;
  --gold-lt: #dfc06a;
  --white:   #ffffff;
  --gray-1:  #f4f6f8;
  --gray-2:  #1a1a2e;
  --gray-3:  #444455;
  --glass:   rgba(0,119,204,0.05);
  --border:  rgba(0,119,204,0.18);

  --ff-head: 'Sora', sans-serif;
  --ff-body: 'Sora', sans-serif;

  --radius:  16px;
  --shadow:  0 8px 32px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  background: var(--ocean);
  color: #1a1a2e;
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ── CANVAS ── */
#waterCanvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0; opacity: .08; pointer-events: none;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,119,204,0.12);
}

/* ── LOGO ── */
.nav-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}
/* fallback texto caso não haja logo */
.nav-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #1a1a2e;
}
.nav-logo-text span { color: var(--aqua); }

.nav-cta {
  background: var(--aqua); color: #ffffff;
  padding: .55rem 1.5rem; border-radius: 50px;
  font-weight: 700; font-size: .8rem; letter-spacing: .07em;
  text-transform: uppercase; transition: .25s;
}
.nav-cta:hover { background: var(--glow); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 5% 5rem;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 45%, rgba(255,255,255,.55) 100%),
    url('images/hero-bg.png') center center / cover no-repeat;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1180px; margin: auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(200,168,75,.1); border: 1px solid rgba(200,168,75,.3);
  border-radius: 50px; padding: .3rem .9rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-lt); margin-bottom: 1.2rem;
  animation: fadeUp .7s ease both;
}
.badge .dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }

/* ── HERO TEXT ── */
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -.02em;
  margin-bottom: 1.2rem;
  animation: fadeUp .8s .1s ease both;
}
.hero h1 { color: #0d1b2a; }
.hero h1 .accent { color: var(--aqua); }
.hero h1 .light { font-weight: 300; }

.hero-sub {
  font-size: .97rem; color: var(--gray-2);
  max-width: 460px; margin-bottom: 2rem; line-height: 1.75;
  animation: fadeUp .8s .15s ease both;
}
.hero-stats {
  display: flex; gap: 2rem; margin-bottom: 2.2rem;
  animation: fadeUp .8s .2s ease both;
}
.stat-num {
  font-size: 1.9rem; font-weight: 700; color: var(--aqua); line-height: 1;
}
.stat-label { font-size: .7rem; color: var(--gray-3); text-transform: uppercase; letter-spacing: .08em; margin-top: .2rem; }

.hero-buttons {
  display: flex; gap: .8rem; flex-wrap: wrap;
  animation: fadeUp .8s .25s ease both;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--aqua); color: #ffffff;
  padding: .85rem 2rem; border-radius: 50px;
  font-weight: 700; font-size: .88rem; letter-spacing: .03em;
  display: inline-flex; align-items: center; gap: .5rem;
  border: none; cursor: pointer; transition: .25s;
  box-shadow: 0 6px 24px rgba(0,119,204,.3);
}
.btn-primary:hover { background: var(--glow); color: #ffffff; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,119,204,.45); }

.btn-ghost {
  background: transparent; border: 1px solid rgba(0,119,204,.35);
  color: #0077cc; padding: .85rem 1.8rem; border-radius: 50px;
  font-weight: 500; font-size: .88rem;
  display: inline-flex; align-items: center; gap: .5rem;
  cursor: pointer; transition: .25s;
}
.btn-ghost:hover { border-color: var(--glow); color: var(--glow); background: rgba(0,119,204,0.05); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #a87428);
  color: var(--white); padding: .85rem 2rem; border-radius: 50px;
  font-weight: 700; font-size: .88rem; letter-spacing: .03em;
  display: inline-flex; align-items: center; gap: .5rem;
  border: none; cursor: pointer; transition: .25s;
  box-shadow: 0 6px 24px rgba(200,168,75,.25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(200,168,75,.4); }

.btn-wa {
  background: #25D366; color: #fff;
  padding: .85rem 2rem; border-radius: 50px;
  font-weight: 700; font-size: .92rem;
  display: inline-flex; align-items: center; gap: .6rem;
  border: none; cursor: pointer; transition: .25s;
  box-shadow: 0 6px 24px rgba(37,211,102,.25);
}
.btn-wa:hover { background: #1ab854; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(37,211,102,.4); }

/* ── HERO VISUAL (produto) ── */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  animation: fadeUp .9s .2s ease both; position: relative;
}
/* Área da imagem do produto hero */
.product-hero-img {
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(0,119,204,.2);
  background: radial-gradient(circle, rgba(0,119,204,.12) 0%, rgba(240,246,252,.9) 70%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: 0 0 60px rgba(0,119,204,.12);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 0%,100%{box-shadow:0 0 40px rgba(0,119,204,.12)} 50%{box-shadow:0 0 80px rgba(0,119,204,.22)} }
.product-hero-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: drop-shadow(0 8px 24px rgba(0,119,204,.3));
}
.product-hero-img .emoji-placeholder {
  font-size: 6rem; animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* Tags flutuantes */
.float-tag {
  position: absolute;
  background: rgba(255,255,255,.92); border: 1px solid var(--border);
  backdrop-filter: blur(10px); border-radius: 12px;
  padding: .55rem 1rem; font-size: .75rem; font-weight: 600;
  white-space: nowrap;
}
.float-tag.t1 { top: 20px; right: -20px; color: #9a7520; border-color: rgba(200,168,75,.3); }
.float-tag.t2 { bottom: 50px; left: -20px; color: var(--aqua); }
.float-tag.t3 { top: 50%; right: -30px; transform: translateY(-50%); }

/* ── SAVINGS BAND ── */
.savings {
  position: relative; z-index: 2;
  background: linear-gradient(90deg, #9a7520, var(--gold), #9a7520);
  padding: 1.1rem 2rem; text-align: center;
}
.savings p {
  font-size: 1rem; font-weight: 600; color: var(--ocean); letter-spacing: .01em;
}
.savings strong { font-size: 1.15rem; }

/* ── SECTION COMMON ── */
section { position: relative; z-index: 1; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 5%; }
.section-pad { padding: 6rem 5%; }

.section-tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--aqua); display: block; margin-bottom: .7rem;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700;
  line-height: 1.2; letter-spacing: -.02em; margin-bottom: .8rem;
}
.section-title .accent { color: var(--aqua); }
.section-sub { color: var(--gray-2); max-width: 520px; line-height: 1.7; font-size: .93rem; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── BENEFITS ── */
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.benefit-card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  transition: .3s;
}
.benefit-card:hover {
  transform: translateY(-4px); border-color: rgba(0,119,204,.35);
  background: rgba(0,119,204,.04);
}
.benefit-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.benefit-title { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.benefit-text { font-size: .85rem; color: var(--gray-2); line-height: 1.65; }

/* ── PRODUCT SECTION ── */
.product-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
/* Área imagem produto seção */
.product-img-area {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.product-img-frame {
  width: 100%; max-width: 440px; aspect-ratio: 1;
  border-radius: 24px;
  background: rgba(0,119,204,.06); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.product-img-frame img {
  width: 90%; height: 90%; object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0,119,204,.2));
}
.product-img-frame .emoji-placeholder { font-size: 7rem; }

/* Kit grid imagens */
.kit-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1rem;
}
.kit-img-slot {
  aspect-ratio: 1; border-radius: 12px;
  background: rgba(0,119,204,.06); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; font-size: 1.8rem;
}
.kit-img-slot img { width: 100%; height: 100%; object-fit: cover; }

.product-capacity-tag {
  display: inline-block;
  background: rgba(0,119,204,.08); border: 1px solid rgba(0,119,204,.2);
  border-radius: 50px; padding: .3rem 1rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  color: var(--aqua); text-transform: uppercase; margin-bottom: 1.5rem;
}

.product-desc { color: var(--gray-2); line-height: 1.75; font-size: .92rem; margin-bottom: 1.8rem; }

.kit-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .8rem;
}
.kit-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2rem; }
.kit-list li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .88rem; color: var(--gray-2);
}
.kit-list li::before {
  content: '✓';
  width: 18px; height: 18px; flex-shrink: 0;
  background: rgba(0,119,204,.1); border: 1px solid rgba(0,119,204,.25);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .6rem; color: var(--aqua);
}

/* ── COMPARE ── */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.compare-card {
  border-radius: 20px; padding: 2rem; position: relative; overflow: hidden;
}
.compare-card.bad { background: rgba(180,40,40,.06); border: 1px solid rgba(200,50,50,.18); }
.compare-card.good { background: rgba(0,119,204,.05); border: 1px solid rgba(0,119,204,.2); }
.compare-card.good::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--aqua), transparent);
}
.compare-label {
  font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 50px; padding: .25rem .7rem; display: inline-block; margin-bottom: 1rem;
}
.compare-card.bad .compare-label { background: rgba(200,50,50,.12); color: #ff7070; }
.compare-card.good .compare-label { background: rgba(0,119,204,.1); color: var(--aqua); }
.compare-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.compare-pts { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.compare-pts li { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--gray-2); }

/* ── HOW ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step { text-align: center; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(0,119,204,.08); border: 1.5px solid rgba(0,119,204,.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.4rem; font-weight: 700; color: var(--aqua);
  transition: .3s;
}
.step:hover .step-num { background: rgba(0,119,204,.18); border-color: var(--aqua); }
.step-title { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.step-text { font-size: .82rem; color: var(--gray-2); line-height: 1.6; }

/* ── ALERT ── */
.alert-band {
  background: rgba(200,168,75,.05);
  border-top: 1px solid rgba(200,168,75,.1);
  border-bottom: 1px solid rgba(200,168,75,.1);
  padding: 4rem 5%; text-align: center;
}
.alert-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.alert-title { font-size: 1.5rem; font-weight: 700; color: var(--gold-lt); margin-bottom: .8rem; }
.alert-text { color: var(--gray-2); font-size: .92rem; line-height: 1.75; max-width: 720px; margin: auto; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testi-card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem; transition: .3s;
}
.testi-card:hover { transform: translateY(-3px); border-color: rgba(0,119,204,.3); }
.testi-stars { color: var(--gold); font-size: .9rem; margin-bottom: .8rem; letter-spacing: .1em; }
.testi-text { font-size: .85rem; color: var(--gray-2); line-height: 1.7; margin-bottom: 1.2rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .7rem; }
.testi-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mid), var(--aqua));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .78rem; flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: .85rem; }
.testi-city { font-size: .75rem; color: var(--gray-3); }

/* ── FAQ ── */
.faq-list { max-width: 700px; margin: auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
  background: #f8fbff; border: 1px solid rgba(0,119,204,0.25);
  border-radius: var(--radius); overflow: hidden; transition: .3s;
}
.faq-item.open { border-color: rgba(0,119,204,.3); background: rgba(0,119,204,.03); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 1.2rem 1.5rem; display: flex; align-items: center; justify-content: space-between;
  text-align: left; color: #1a1a2e; font-family: var(--ff-body); font-size: .9rem; font-weight: 600;
}
.faq-q:hover { color: var(--aqua); }
.faq-arrow { color: var(--aqua); transition: .3s; font-size: 1rem; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 1.5rem 1.2rem; color: var(--gray-2); font-size: .86rem; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 300px; }

/* ── CTA ── */
.cta-section {
  padding: 6rem 5%; text-align: center;
  background: linear-gradient(135deg, rgba(0,119,204,.06) 0%, rgba(240,246,252,.9) 100%);
  border-top: 1px solid rgba(0,119,204,.12);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,119,204,.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }
.guarantee { margin-top: 1.5rem; font-size: .78rem; color: #1a1a2e; }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  background: #f0f6fc; border-top: 1px solid rgba(0,119,204,.12);
  padding: 2.5rem 5%; text-align: center;
}
footer .footer-logo img { height: 36px; margin: 0 auto .5rem; }
footer .footer-logo-text { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
footer .footer-logo-text span { color: var(--aqua); }
footer p { font-size: .78rem; color: #1a1a2e; }
footer .footer-logo-text { color: #1a1a2e; }

/* ── FLOATING WA ── */
.float-wa {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 200;
  width: 54px; height: 54px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 18px rgba(37,211,102,.45);
  transition: .3s;
}
.float-wa:hover { transform: scale(1.1); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(16px); transition: .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner, .product-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .benefits-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; }
  .hero h1 { font-size: 1.9rem; }
}

/* ══════════════════════════════════════════
   ML-STYLE GALLERY
══════════════════════════════════════════ */
.ml-gallery {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
}

/* Thumbs strip — left column */
.ml-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.ml-thumb {
  width: 70px; height: 70px;
  border-radius: 10px;
  border: 2px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  background: rgba(0,119,204,.06);
  padding: 0;
  transition: border-color .2s, box-shadow .2s;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.ml-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.ml-thumb.active {
  border-color: var(--aqua);
  box-shadow: 0 0 0 1px var(--aqua);
}
.ml-thumb:hover:not(.active) { border-color: rgba(0,119,204,.5); }

.ml-thumb-video {
  color: var(--gray-2); font-size: .68rem; font-weight: 600;
}
.ml-play-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--aqua); color: var(--ocean);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; padding-left: 3px;
}

/* Main image frame */
.ml-main {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 18px;
  background: rgba(0,119,204,.04);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-in;
  min-width: 0;
}
.ml-main img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
  transition: transform .35s ease;
}
.ml-main:hover img { transform: scale(1.06); }
.ml-expand-btn {
  position: absolute; bottom: 10px; right: 10px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.85); border: 1px solid rgba(0,119,204,.2);
  border-radius: 8px; color: #0077cc; font-size: .9rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px); transition: .2s;
}
.ml-expand-btn:hover { background: rgba(0,119,204,.3); border-color: var(--aqua); }

/* Lightbox (shared with gallery) */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,20,40,.96); backdrop-filter: blur(16px);
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lb-media {
  max-width: 90vw; max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
}
.lb-media img { max-width: 88vw; max-height: 85vh; border-radius: 16px; object-fit: contain; box-shadow: 0 20px 80px rgba(0,0,0,.6); }
.lb-media iframe { width: 80vw; height: 45vw; max-width: 900px; max-height: 500px; border: none; border-radius: 16px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.25); color: #fff;
  cursor: pointer; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; transition: .25s;
  backdrop-filter: blur(8px);
}
.lb-close { top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; font-size: 1rem; }
.lb-prev  { left: 1.2rem; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 1.6rem; }
.lb-next  { right: 1.2rem; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 1.6rem; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(0,119,204,.25); border-color: var(--aqua); }

/* Responsive */
@media (max-width: 600px) {
  .ml-gallery { flex-direction: column; }
  .ml-thumbs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .ml-thumb { width: 60px; height: 60px; flex-shrink: 0; }
  .lb-prev { left: .5rem; }
  .lb-next { right: .5rem; }
}
