/* BE COOL — Homepage page styles (extracted from index.html <style> block) */
* { box-sizing: border-box; }
html, body { overflow-x: clip; max-width: 100%; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-body); background: var(--bg-page); color: var(--text-body); }
.modal-backdrop { position: fixed; inset: 0; background: rgba(9,35,54,0.55); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; z-index: 1100; padding: 24px; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes shrinkBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
/* Partner logo marquee */
.logos-mask { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent); mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent); }
.logos-track { display: flex; align-items: center; width: max-content; animation: logos-scroll 40s linear infinite; }
@media (prefers-reduced-motion: reduce) { .logos-track { animation: none; } }
@keyframes logos-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Product carousel — hide scrollbar, keep swipe */
.prod-carousel { scrollbar-width: none; -ms-overflow-style: none; }
.prod-carousel::-webkit-scrollbar { display: none; }
/* Product modal — indoor/outdoor unit slots stack on mobile so the label no longer overlaps the image */
@media (max-width: 560px) { .pm-units { grid-template-columns: 1fr !important; } }
/* Store brand logos — 2 per row (2×2 grid) on mobile */
@media (max-width: 560px) { .brand-logos { display: grid !important; grid-template-columns: 1fr 1fr; } .brand-logos > span { width: 100%; } }
/* ---- Leaflet map — BE COOL cool/dark theme ---- */
#map { isolation: isolate; }
.leaflet-container { background: #0a1c2b; font-family: var(--font-body); }
.leaflet-control-zoom a { background: rgba(8,28,44,0.9); color: var(--neutral-0); border-color: rgba(99,193,251,0.3); }
.leaflet-control-zoom a:hover { background: var(--cyan-700); }
.marker-pulse-wrap { display: flex; align-items: center; justify-content: center; }
.marker-pulse { width: 15px; height: 15px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(15,188,201,0.30); position: relative; }
.marker-pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--cyan-400); animation: bc-pulse 2.2s ease-out infinite; }
@keyframes bc-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(3.6); opacity: 0; } }
.marker-label { background: rgba(8,28,44,0.88); color: var(--neutral-0); border: 1px solid rgba(99,193,251,0.4); border-radius: 8px; padding: 3px 10px; font-weight: 700; font-size: 12px; letter-spacing: 0.04em; box-shadow: var(--shadow-md); }
.marker-label.leaflet-tooltip-right::before { border-right-color: rgba(8,28,44,0.88); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: #0d2336; color: rgba(253,253,253,0.9); box-shadow: var(--shadow-lg); }
.leaflet-popup-content-wrapper { border: 1px solid rgba(99,193,251,0.32); border-radius: var(--radius-lg); }
.leaflet-popup-content { margin: 14px 16px; font-size: 13.5px; line-height: 1.5; }
.leaflet-popup-content .bc-accent { display: block; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-300); margin-bottom: 4px; }
.leaflet-popup-content strong { display: block; color: var(--neutral-0); font-size: 15px; margin-bottom: 6px; }
.leaflet-popup-content a { color: var(--cyan-300); font-weight: 600; }
.leaflet-popup-close-button { color: rgba(253,253,253,0.7) !important; }
