/* ==========================================================================
   MySunDirection — Product Catalogue Layout, Dual Navigation & Lightbox
   Harmonized with Celestial Dark Navy (#080f20), Charcoal (#0b0d10) & Gold (#f4aa25)
   ========================================================================== */

body.msd-catalogue-body {
  background: #070b14;
  color: #ffffff;
  margin: 0;
  font-family: var(--sans, 'Inter', system-ui, sans-serif);
  overflow-x: hidden;
}

body.msd-lightbox-open {
  overflow: hidden;
}

.msd-catalogue-main section[id],
.msd-catalogue-main div[id] {
  scroll-margin-top: 132px;
}

/* --------------------------------------------------------------------------
   1. Sticky Top Header & 5-Product Navigation
   -------------------------------------------------------------------------- */
.msd-top-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(6, 10, 19, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(244, 170, 37, 0.28);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.msd-top-bar {
  max-width: 1380px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.msd-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: #ffffff;
}

.msd-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: radial-gradient(circle, rgba(244, 170, 37, 0.25), rgba(8, 15, 32, 0.9));
  border: 1px solid rgba(244, 170, 37, 0.55);
  box-shadow: 0 0 16px rgba(244, 170, 37, 0.2);
}

.msd-brand-mark img {
  width: 28px;
  height: 28px;
  display: block;
}

.msd-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.msd-brand-text strong {
  font: 700 17px/1.15 'Playfair Display', Georgia, serif;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.msd-brand-text small {
  font: 500 11px/1.25 'Inter', system-ui, sans-serif;
  color: #c7b18a;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.msd-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  min-height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1ea851, #15803d);
  border: 1px solid rgba(134, 239, 172, 0.5);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.msd-header-wa:hover,
.msd-header-wa:focus-visible {
  color: #ffffff;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.42);
}

.msd-header-wa-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.msd-header-wa-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #dcfce7;
}

.msd-header-wa-num {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

/* Desktop single-row 5-tab bar */
.msd-product-nav {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px 10px;
}

.msd-product-nav-label {
  font: 700 10.5px/1 'Inter', system-ui, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f4aa25;
  margin: 0 0 7px;
  padding-left: 2px;
}

.msd-product-nav-desktop {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.msd-product-nav-mobile {
  display: none;
}

.msd-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(244, 170, 37, 0.2);
  background: rgba(13, 21, 38, 0.72);
  color: #d6dfec;
  font: 600 13.5px/1.2 'Inter', system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.msd-tab:hover,
.msd-tab:focus-visible {
  color: #ffffff;
  border-color: rgba(244, 170, 37, 0.65);
  background: rgba(244, 170, 37, 0.12);
}

.msd-tab.is-active {
  color: #141006;
  background: linear-gradient(135deg, #ffd266, #f4aa25);
  border-color: #ffe08a;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(244, 170, 37, 0.28);
}

.msd-tab:focus-visible,
.msd-wa-cta:focus-visible,
.msd-banner-tap:focus-visible,
.msd-banner-zoom-pill:focus-visible,
.msd-lb-btn:focus-visible,
.msd-lb-close:focus-visible {
  outline: 2px solid #ffd266;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   2. Category Hero Strip (Desktop Visual Design + Concise Phrases)
   -------------------------------------------------------------------------- */
.msd-cat-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 28px 26px;
  border-bottom: 1px solid rgba(244, 170, 37, 0.14);
  background:
    radial-gradient(ellipse 65% 110% at 50% 0%, rgba(244, 170, 37, 0.13), transparent 72%),
    linear-gradient(180deg, #091122 0%, #070b14 100%);
  text-align: center;
}

.msd-cat-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.msd-cat-eyebrow {
  display: inline-block;
  color: #f4aa25;
  font: 700 11px/1 'Inter', system-ui, sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.msd-cat-title {
  margin: 0 0 10px;
  font: 700 clamp(26px, 3.6vw, 42px)/1.14 'Playfair Display', Georgia, serif;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.msd-cat-tagline {
  margin: 0 auto;
  max-width: 720px;
  color: #c2cfe0;
  font: 400 15.5px/1.6 'Inter', system-ui, sans-serif;
}

.msd-cat-phrases {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.msd-cat-phrases li {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(15, 24, 42, 0.85);
  border: 1px solid rgba(244, 170, 37, 0.32);
  color: #ffe2a6;
  font: 600 12.5px/1.2 'Inter', system-ui, sans-serif;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   3. Promotional Banner Sequence & Responsive Split Cards
      (Desktop: Compact Image Left + Curved-End Pill Stack Right; Mobile: Stacked)
   -------------------------------------------------------------------------- */
.msd-banners-stack {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.msd-split-card {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  padding: 22px 26px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(14, 21, 37, 0.78) 0%, rgba(9, 14, 25, 0.88) 100%);
  border: 1px solid rgba(244, 170, 37, 0.28);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45), 0 0 24px rgba(244, 170, 37, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.msd-split-card:hover {
  border-color: rgba(244, 170, 37, 0.5);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 32px rgba(244, 170, 37, 0.12);
}

/* Image column on desktop: ~54% width, restrained height */
.msd-split-media {
  flex: 0 0 54%;
  max-width: 54%;
  position: relative;
}

.msd-split-media .product-banner-frame {
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(255, 213, 0, 0.55);
  border-radius: 14px;
  background: #080b12;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.msd-split-media .product-banner-frame:hover {
  border-color: rgba(255, 213, 0, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(244, 170, 37, 0.18);
}

.msd-banner-tap {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
  position: relative;
}

.product-banner {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.msd-split-zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 9999px;
  background: rgba(8, 12, 22, 0.88);
  border: 1px solid rgba(244, 170, 37, 0.42);
  color: #ffd57e;
  font: 600 11.5px/1 'Inter', system-ui, sans-serif;
  letter-spacing: 0.02em;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.msd-split-media:hover .msd-split-zoom-hint {
  opacity: 1;
  background: rgba(244, 170, 37, 0.25);
  color: #ffffff;
}

/* Right side content */
.msd-split-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.msd-split-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(244, 170, 37, 0.14);
  border: 1px solid rgba(244, 170, 37, 0.42);
  color: #ffd57e;
  font: 700 11px/1 'Inter', system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.msd-split-title {
  margin: 0;
  color: #ffffff;
  font: 700 clamp(18px, 1.8vw, 23px)/1.25 'Playfair Display', Georgia, serif;
}

/* Rectangular containers with curved ends (pills) */
.msd-pill-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
}

.msd-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 9999px; /* rectangular with curved ends */
  background: rgba(244, 170, 37, 0.07);
  border: 1px solid rgba(244, 170, 37, 0.24);
  color: #e2e8f0;
  font: 500 13.5px/1.4 'Inter', system-ui, sans-serif;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.msd-pill-badge:hover {
  background: rgba(244, 170, 37, 0.14);
  border-color: rgba(244, 170, 37, 0.55);
  color: #ffffff;
  transform: translateX(4px);
}

.msd-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5a414;
  box-shadow: 0 0 8px rgba(245, 164, 20, 0.85);
  flex-shrink: 0;
}

.msd-pill-text {
  flex: 1 1 auto;
}

/* --------------------------------------------------------------------------
   4. WhatsApp Enquiry Band (Desktop Horizontal / Mobile Stacked)
   -------------------------------------------------------------------------- */
.msd-wa-band {
  width: 100%;
  max-width: 1280px;
  margin: 4px auto;
}

.msd-wa-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16, 24, 40, 0.96) 0%, rgba(10, 14, 24, 0.98) 100%);
  border: 1px solid rgba(244, 170, 37, 0.36);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
}

.msd-wa-band-copy h2 {
  margin: 0;
  font: 700 clamp(19px, 2.2vw, 25px)/1.25 'Playfair Display', Georgia, serif;
  color: #ffffff;
}

.msd-wa-band-copy p {
  margin: 6px 0 0;
  color: #b7c4d8;
  font: 400 14px/1.5 'Inter', system-ui, sans-serif;
}

.msd-wa-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: 1px solid rgba(134, 239, 172, 0.55);
  color: #ffffff;
  font: 700 14.5px/1.2 'Inter', system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.32);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.msd-wa-cta:hover,
.msd-wa-cta:focus-visible {
  color: #ffffff;
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.45);
}

/* --------------------------------------------------------------------------
   5. Concise Notes, Clarifications & Commercial Terms Strip
   -------------------------------------------------------------------------- */
.msd-notes-panel {
  max-width: 1280px;
  margin: 8px auto 0;
  padding: 20px 24px;
  border-radius: 14px;
  background: rgba(12, 19, 34, 0.84);
  border: 1px solid rgba(244, 170, 37, 0.25);
}

.msd-notes-panel h3 {
  margin: 0 0 10px;
  font: 700 14px/1.3 'Inter', system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd266;
}

.msd-notes-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  color: #c2cfe0;
  font: 400 13.5px/1.55 'Inter', system-ui, sans-serif;
}

.msd-notes-list a {
  color: #ffd266;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.msd-notes-list a:hover {
  color: #ffffff;
}

/* Compact Illuminated Letter Board price strip */
.msd-letter-price-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(244, 170, 37, 0.16), rgba(15, 24, 42, 0.92));
  border: 1.5px solid rgba(244, 170, 37, 0.55);
}

.msd-letter-price-strip strong {
  color: #ffffff;
  font: 700 16px/1.3 'Inter', system-ui, sans-serif;
}

.msd-letter-price-pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: #f4aa25;
  color: #141006;
  font: 800 14px/1.1 'Inter', system-ui, sans-serif;
}

/* Mobile-friendly marquee pause button */
.msd-marquee-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.msd-marquee-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(244, 170, 37, 0.45);
  background: rgba(15, 25, 45, 0.85);
  color: #ffe2a6;
  font: 600 12px/1 'Inter', system-ui, sans-serif;
  cursor: pointer;
}

.msd-marquee-toggle[aria-pressed="true"] {
  background: rgba(244, 170, 37, 0.24);
  border-color: #ffd266;
  color: #ffffff;
}

.board-marquee-track.is-paused-manual,
.shorts-marquee-track.is-paused-manual {
  animation-play-state: paused !important;
}

/* --------------------------------------------------------------------------
   6. Compact Sun Centerpiece (Solar & Engineering Page — Decreased Height)
   -------------------------------------------------------------------------- */
.msd-solar-sun-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 36px 24px 38px;
  margin-top: 24px;
  border-top: 1px solid rgba(244, 170, 37, 0.18);
  border-bottom: 1px solid rgba(244, 170, 37, 0.14);
  background:
    radial-gradient(ellipse 75% 70% at 50% 62%, rgba(242, 156, 34, 0.34), transparent 72%),
    linear-gradient(180deg, #070d1b 0%, #0c172b 55%, #261a11 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 310px;
}

.msd-solar-sun-band .centerpiece {
  z-index: 1;
  max-width: 960px;
}

.msd-solar-sun-band .sunmark {
  width: 156px;
  height: 156px;
  margin-bottom: 14px;
}

.msd-solar-sun-band .brand {
  margin: 0 0 8px;
  font-size: 13px;
}

.msd-solar-sun-band .msd-sun-heading {
  margin: 0 0 8px;
  font: 700 clamp(24px, 3.6vw, 38px)/1.15 'Playfair Display', Georgia, serif;
  color: #ffffff;
}

.msd-solar-sun-band .tagline {
  margin: 0 auto;
  font-size: 14.5px;
  color: #d6e0ee;
}

/* CCTV Cross-Link Strip on CCTV Page */
.msd-cctv-videos-band {
  max-width: 1280px;
  margin: 12px auto 0;
  padding: 24px;
  border-radius: 16px;
  background: rgba(12, 20, 36, 0.88);
  border: 1px solid rgba(244, 170, 37, 0.3);
}

.msd-cctv-videos-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.msd-cctv-videos-head h2 {
  margin: 0;
  font: 700 clamp(20px, 2.4vw, 26px)/1.2 'Playfair Display', Georgia, serif;
  color: #ffffff;
}

.msd-cctv-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.msd-video-link-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: #08101f;
  border: 1px solid rgba(244, 170, 37, 0.28);
  text-decoration: none;
  color: #ffffff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.msd-video-link-card:hover {
  border-color: #ffd266;
  transform: translateY(-2px);
}

.msd-video-thumb-box {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #050a14;
}

.msd-video-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.msd-video-play-dot {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(244, 170, 37, 0.92);
  color: #141006;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.msd-video-link-copy strong {
  display: block;
  font: 700 15px/1.3 'Inter', system-ui, sans-serif;
  color: #ffffff;
  margin-bottom: 4px;
}

.msd-video-link-copy span {
  display: block;
  font: 400 13px/1.45 'Inter', system-ui, sans-serif;
  color: #aec0d6;
}

/* --------------------------------------------------------------------------
   7. Tap-to-Enlarge / Pinch-Zoom Lightbox
   -------------------------------------------------------------------------- */
.msd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  flex-direction: column;
  background: rgba(4, 7, 14, 0.95);
  backdrop-filter: blur(10px);
}

.msd-lightbox[hidden] {
  display: none;
}

.msd-lightbox-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.msd-lightbox-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(9, 15, 28, 0.92);
  border-bottom: 1px solid rgba(244, 170, 37, 0.28);
}

.msd-lightbox-title {
  color: #f8fafc;
  font: 600 13.5px/1.3 'Inter', system-ui, sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msd-lightbox-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.msd-lb-btn,
.msd-lb-close {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(244, 170, 37, 0.42);
  background: #111b2e;
  color: #ffe2a6;
  font: 600 13px/1 'Inter', system-ui, sans-serif;
  cursor: pointer;
}

.msd-lb-close {
  background: #f4aa25;
  color: #141006;
  border-color: #ffd266;
  font-weight: 700;
}

.msd-lightbox-stage {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  touch-action: pinch-zoom pan-x pan-y;
}

#msd-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(255, 213, 0, 0.45);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  transform-origin: center center;
  transition: transform 0.18s ease;
}

#msd-lightbox-img.is-zoomed {
  max-width: none;
  max-height: none;
  width: 92vw;
}

.msd-lightbox-hint {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 8px 16px 12px;
  text-align: center;
  color: #9cb0c9;
  font: 400 12px/1.3 'Inter', system-ui, sans-serif;
}

/* --------------------------------------------------------------------------
   8. Responsive Rules (Tablet & Mobile: Continuous Borders, 2-Row Tabs)
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .msd-top-bar {
    padding: 9px 18px;
  }
  .msd-product-nav {
    padding: 0 18px 10px;
  }
  .msd-tab {
    font-size: 12.5px;
    padding: 8px 8px;
  }
  .msd-cctv-video-grid {
    grid-template-columns: 1fr;
  }
  .msd-split-card {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px;
    border-radius: 16px;
  }
  .msd-split-media {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .msd-split-content {
    width: 100%;
    gap: 10px;
  }
  .msd-split-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .msd-catalogue-main section[id],
  .msd-catalogue-main div[id] {
    scroll-margin-top: 168px;
  }
  .msd-top-bar {
    padding: 8px 14px;
  }
  .msd-brand-mark {
    width: 32px;
    height: 32px;
  }
  .msd-brand-mark img {
    width: 22px;
    height: 22px;
  }
  .msd-brand-text strong {
    font-size: 15px;
  }
  .msd-brand-text small {
    display: none;
  }
  .msd-header-wa {
    padding: 6px 11px;
    min-height: 38px;
    gap: 7px;
  }
  .msd-header-wa-label {
    display: none;
  }
  .msd-header-wa-num {
    font-size: 12px;
  }

  .msd-product-nav {
    padding: 0 12px 9px;
  }
  .msd-product-nav-desktop {
    display: none;
  }
  .msd-product-nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .msd-mobile-row {
    display: grid;
    gap: 6px;
  }
  .msd-mobile-row-3 {
    grid-template-columns: 1.35fr 0.85fr 1fr;
  }
  .msd-mobile-row-2 {
    grid-template-columns: 1fr 1.15fr;
  }
  .msd-product-nav-mobile .msd-tab {
    min-height: 44px;
    padding: 7px 6px;
    font-size: 12px;
    border-radius: 9px;
    white-space: nowrap;
  }

  .msd-cat-hero {
    padding: 20px 14px 16px;
  }
  .msd-cat-eyebrow {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .msd-cat-title {
    font-size: 24px;
    margin-bottom: 6px;
  }
  .msd-cat-tagline {
    font-size: 13.5px;
    line-height: 1.45;
  }
  .msd-cat-phrases {
    margin-top: 12px;
    gap: 6px;
  }
  .msd-cat-phrases li {
    padding: 5px 10px;
    font-size: 11px;
  }

  /* On mobile: clean continuous gold borders around images, minimal clutter */
  .msd-banners-stack {
    padding: 16px 10px 16px;
    gap: 20px;
  }
  .msd-split-card {
    padding: 4px;
    background: transparent;
    border: none;
    box-shadow: none;
    gap: 12px;
  }
  .msd-split-zoom-hint {
    display: none;
  }
  .product-banner-frame {
    border-radius: 12px;
    border: 1.5px solid rgba(255, 213, 0, 0.58);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5), 0 0 14px rgba(244, 170, 37, 0.1);
  }
  .msd-split-content {
    padding: 0 4px;
    gap: 8px;
  }
  .msd-split-tag {
    font-size: 10px;
    padding: 4px 10px;
  }
  .msd-split-title {
    font-size: 16px;
  }
  .msd-pill-stack {
    gap: 7px;
  }
  .msd-pill-badge {
    padding: 7px 12px;
    font-size: 12px;
    border-radius: 9999px;
  }

  .msd-wa-band-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 18px 16px;
    gap: 14px;
  }
  .msd-wa-cta {
    width: 100%;
    white-space: normal;
  }

  .msd-solar-sun-band {
    min-height: 250px;
    padding: 24px 16px 26px;
  }
  .msd-solar-sun-band .sunmark {
    width: 124px;
    height: 124px;
    margin-bottom: 10px;
  }

  .msd-video-link-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 375px) {
  .msd-product-nav-mobile .msd-tab {
    font-size: 11px;
    padding: 6px 4px;
  }
  .msd-lightbox-title {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .msd-solar-sun-band .sunmark,
  .msd-solar-sun-band .sunbody,
  .board-marquee-track,
  .shorts-marquee-track {
    animation: none !important;
  }
}
