/**
 * MicroScope LAB - Main Stylesheet
 * Converted from Figma Make (React/Tailwind) to vanilla CSS
 *
 * Color System:
 * --primary:    #0054a6 (Carl Zeiss Blue)
 * --primary-dk: #003d7a
 * --foreground: #1a1a2e
 * --muted:      #6b7280
 * --bg-light:   #f5f7fa
 * --bg-section: #f7f9fc
 * --border:     rgba(0,0,0,0.08)
 * --footer-bg:  #1a1f36
 */

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

html {
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: #1a1a2e;
  background-color: #ffffff;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

/* ─── Utility ─── */
.bg-white { background-color: #ffffff; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: rgba(107, 114, 128, 0.4); }

.msl-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.msl-content-narrow { max-width: 700px; }
.msl-content-mid { max-width: 780px; }
.msl-content-wide { max-width: 860px; }

.msl-text-muted { color: #6b7280; font-size: 0.88rem; line-height: 1.8; }
.msl-mb-4 { margin-bottom: 1rem; }
.msl-mb-8 { margin-bottom: 2rem; }
.msl-mt-4 { margin-top: 1rem; }
.msl-mt-6 { margin-top: 1.5rem; }
.msl-mt-8 { margin-top: 2rem; }
.msl-spacer { height: 2rem; }

.msl-divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.08);
  max-width: 1280px;
  margin: 0 auto;
}

.msl-link {
  color: #0054a6;
  transition: color 0.2s;
}
.msl-link:hover { text-decoration: underline; }

.msl-link-arrow {
  display: inline-flex;
  align-items: center;
  color: #0054a6;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  gap: 0.125rem;
}
.msl-link-arrow:hover { color: #003d7a; }

.msl-badge {
  display: inline-block;
  background-color: rgba(0, 84, 166, 0.1);
  color: #0054a6;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
}
.msl-badge--green {
  background-color: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.msl-badge--gray {
  background-color: rgba(148, 163, 184, 0.15);
  color: #64748b;
}

/* ─── Order Inactive (準備中メッセージ) ─── */
.msl-order-inactive {
  text-align: center;
  padding: 48px 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.msl-order-inactive__icon {
  margin-bottom: 16px;
}

.msl-order-inactive__message {
  font-size: 1rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 24px;
}

.msl-btn--outline {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid #0054a6;
  border-radius: 8px;
  color: #0054a6;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.msl-btn--outline:hover {
  background: #0054a6;
  color: #fff;
}

/* Product card placeholder (image not ready) */
.msl-product-card__placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.85rem;
}

.msl-section { padding-top: 4rem; padding-bottom: 4rem; }

/* ─── Section Headings ─── */
.msl-section-heading { text-align: center; margin-bottom: 3.5rem; }
.msl-section-heading--left { text-align: left; margin-bottom: 3rem; }
.msl-section-heading__en {
  color: #0054a6;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}
.msl-section-heading__ja {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ─── Page Header ─── */
.msl-page-header { padding-top: 1.5rem; padding-bottom: 3.5rem; }
.msl-page-header__title {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.msl-page-header__desc {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.9;
  max-width: 740px;
  margin-top: 1rem;
}

/* ─── Breadcrumb ─── */
.msl-breadcrumb-wrap { padding-top: 1rem; padding-bottom: 1rem; }
.msl-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #6b7280;
  font-size: 0.8rem;
}
.msl-breadcrumb a { transition: color 0.2s; }
.msl-breadcrumb a:hover { color: #0054a6; }
.msl-breadcrumb span:last-child { color: #1a1a2e; }

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.msl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.msl-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.msl-header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.msl-header__logo-icon {
  width: 2rem;
  height: 2rem;
  color: #0054a6;
}

.msl-header__brand {
  display: block;
  color: #0054a6;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.msl-header__tagline {
  display: none;
  color: #6b7280;
  font-size: 0.7rem;
}

.msl-header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.msl-header__nav-link {
  font-size: 0.875rem;
  color: rgba(26, 26, 46, 0.7);
  transition: color 0.2s;
}
.msl-header__nav-link:hover,
.msl-header__nav-link.is-active { color: #0054a6; }

.msl-header__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.msl-header__hamburger:hover { background-color: rgba(240, 242, 245, 0.5); }

.msl-header__overlay {
  position: fixed;
  inset: 0;
  top: 4rem;
  background: rgba(0, 0, 0, 0.2);
  z-index: 40;
}

.msl-header__mobile-nav {
  position: fixed;
  top: 5rem;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 50;
}

.msl-header__mobile-link {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  color: rgba(26, 26, 46, 0.7);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.2s;
}
.msl-header__mobile-link:last-child { border-bottom: none; }
.msl-header__mobile-link:hover { color: #0054a6; background: rgba(240, 242, 245, 0.3); }
.msl-header__mobile-link.is-active { color: #0054a6; background: rgba(0, 84, 166, 0.05); }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.msl-footer {
  background-color: #1a1f36;
  color: rgba(255, 255, 255, 0.8);
}

.msl-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.msl-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.msl-footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.msl-footer__brand-icon { width: 1.5rem; height: 1.5rem; color: #6da5e0; }
.msl-footer__brand-name { color: #ffffff; font-size: 1.1rem; font-weight: 600; letter-spacing: 0.05em; }
.msl-footer__brand-tagline { color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; line-height: 1.8; margin-bottom: 1.5rem; }
.msl-footer__company { color: rgba(255, 255, 255, 0.5); font-size: 0.8rem; line-height: 2; }

.msl-footer__links { display: flex; flex-direction: column; gap: 0.75rem; }
.msl-footer__links-title,
.msl-footer__contact-title {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.msl-footer__link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.msl-footer__link:hover { color: #ffffff; }

.msl-footer__contact { display: flex; flex-direction: column; gap: 1rem; }
.msl-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.msl-footer__contact-item svg { color: #6da5e0; flex-shrink: 0; }

.msl-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}
.msl-footer__bottom p { color: rgba(255, 255, 255, 0.3); font-size: 0.75rem; }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.msl-hero {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.msl-hero__bg { position: absolute; inset: 0; }
.msl-hero__bg-img { width: 100%; height: 100%; object-fit: cover; }

.msl-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.6), transparent);
}

.msl-hero__content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.msl-hero__title {
  color: #ffffff;
  max-width: 640px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.msl-hero__subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════ */
.msl-products { padding: 6rem 0; background: #ffffff; }

.msl-products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.msl-product-card {
  display: block;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.3s;
  text-decoration: none;
  color: #1a1a2e;
}
.msl-product-card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }

.msl-product-card__image {
  aspect-ratio: 4/3;
  background: #f5f7fa;
  overflow: hidden;
}
.msl-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.msl-product-card:hover .msl-product-card__image img { transform: scale(1.02); }

.msl-product-card__body { padding: 1.5rem; }
.msl-product-card__status { margin-bottom: 0.75rem; }
.msl-product-card__name { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.5rem; }
.msl-product-card__price { color: #1a1a2e; font-size: 0.9rem; margin-bottom: 0.5rem; }
.msl-product-card__price-regular { display: block; color: #6b7280; font-size: 0.85rem; text-decoration: line-through; }
.msl-product-card__price-campaign { display: block; color: #dc2626; font-size: 1.15rem; font-weight: 700; margin-top: 2px; }
.msl-product-card__price-note { display: block; color: #6b7280; font-size: 0.75rem; font-weight: 400; margin-top: 2px; }
.msl-product-card__meta { color: #6b7280; font-size: 0.8rem; }

.msl-product-card--placeholder {
  border-style: dashed;
  border-color: rgba(0, 0, 0, 0.06);
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.msl-product-card--placeholder p { color: rgba(107, 114, 128, 0.4); font-size: 0.85rem; }

/* ═══════════════════════════════════════
   PURCHASE FLOW (Top Page)
   ═══════════════════════════════════════ */
.msl-purchase-flow { padding: 6rem 0; background: #f7f9fc; }

.msl-purchase-flow__steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.msl-flow-step { display: flex; flex-direction: column; align-items: center; text-align: center; width: 260px; }
.msl-flow-step__icon {
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.msl-flow-step__icon svg { color: #0054a6; }
.msl-flow-step__label { color: rgba(0, 84, 166, 0.4); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 0.25rem; }
.msl-flow-step__title { font-size: 1.05rem; font-weight: 500; margin-bottom: 0.5rem; }
.msl-flow-step__desc { color: #6b7280; font-size: 0.85rem; line-height: 1.6; }
.msl-flow-step__arrow { display: none; color: rgba(0, 84, 166, 0.25); }

.msl-purchase-flow__footer { text-align: center; }
.msl-purchase-flow__note { color: #6b7280; font-size: 0.8rem; margin-top: 1.5rem; }

/* ═══════════════════════════════════════
   PRODUCT DETAIL
   ═══════════════════════════════════════ */
.msl-product-header { padding-top: 1rem; padding-bottom: 2.5rem; }
.msl-product-header__title { font-size: 2rem; font-weight: 500; letter-spacing: 0.03em; line-height: 1.4; margin-top: 1rem; }
.msl-product-header__desc { color: #6b7280; font-size: 0.95rem; line-height: 1.8; max-width: 720px; margin-top: 0.75rem; }
.msl-product-header__models { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.msl-product-header__models-label { color: #6b7280; font-size: 0.75rem; }

.msl-model-chip {
  background: #f0f2f5;
  color: rgba(26, 26, 46, 0.8);
  border-radius: 0.375rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.75rem;
  font-weight: 500;
}

/* Gallery */
.msl-gallery { max-width: 800px; margin: 0 auto; }
.msl-gallery__main {
  aspect-ratio: 4/3;
  background: #f7f9fc;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}
.msl-gallery__main img { width: 100%; height: 100%; object-fit: cover; }

.msl-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.msl-gallery__thumb {
  aspect-ratio: 4/3;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  background: none;
  padding: 0;
}
.msl-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.msl-gallery__thumb.is-active { border-color: #0054a6; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.msl-gallery__thumb:hover { border-color: rgba(0, 0, 0, 0.08); }

.msl-gallery__labels { display: flex; justify-content: center; gap: 1.5rem; margin-top: 0.75rem; }
.msl-gallery__label { font-size: 0.75rem; color: #6b7280; }
.msl-gallery__label.is-active { color: #0054a6; }

/* Prose */
.msl-prose { max-width: 800px; color: rgba(26, 26, 46, 0.8); font-size: 0.95rem; line-height: 2; }
.msl-prose p + p { margin-top: 1.5rem; }

/* Components Grid */
.msl-components-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }

.msl-component-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  overflow: hidden;
}
.msl-component-card__image { aspect-ratio: 4/3; background: #f7f9fc; overflow: hidden; }
.msl-component-card__image img { width: 100%; height: 100%; object-fit: cover; }
.msl-component-card__body { padding: 1.25rem; }
.msl-component-card__body h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 0.5rem; }
.msl-component-card__body p { color: #6b7280; font-size: 0.85rem; line-height: 1.7; margin-bottom: 1rem; }
.msl-component-card__dimension {
  background: #f7f9fc;
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.msl-component-card__dimension svg { color: rgba(0, 84, 166, 0.5); flex-shrink: 0; }
.msl-component-card__dimension span { color: #6b7280; font-size: 0.78rem; }

/* Parts Size Images */
.msl-parts-size {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.msl-parts-size img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* Video */
.msl-video-wrapper { max-width: 800px; margin: 0 auto; }
.msl-video-responsive { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 0.75rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.msl-video-responsive iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 0.75rem; }
.msl-video-wrapper iframe { width: 100%; aspect-ratio: 16/9; border-radius: 0.75rem; }
.msl-video-player { width: 100%; border-radius: 0.75rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.msl-video-wrapper__caption { text-align: center; color: #6b7280; font-size: 0.85rem; margin-top: 1.5rem; }

.msl-video-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0a1628, #142240, #0a1628);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.msl-video-placeholder__play {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.msl-video-placeholder__label { color: rgba(255, 255, 255, 0.4); font-size: 0.7rem; margin-top: 1rem; }

/* Pricing */
.msl-pricing { max-width: 720px; }
.msl-pricing__retail { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.msl-pricing__label { color: #6b7280; font-size: 0.85rem; }
.msl-pricing__retail-price { text-decoration: line-through; color: rgba(107, 114, 128, 0.6); font-size: 1.3rem; }
.msl-pricing__special {
  background: rgba(0, 84, 166, 0.05);
  border: 1px solid rgba(0, 84, 166, 0.15);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}
.msl-pricing__special-row { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.msl-pricing__special-label { color: #0054a6; font-size: 0.85rem; font-weight: 500; }
.msl-pricing__special-price { color: #0054a6; font-size: 1.8rem; font-weight: 600; }
.msl-pricing__special-tax { color: #0054a6; font-size: 0.9rem; }
.msl-pricing__special-note { color: #6b7280; font-size: 0.8rem; margin-top: 0.5rem; }
.msl-pricing__shipping-title { font-size: 1rem; font-weight: 500; margin-bottom: 1rem; margin-top: 2rem; }

/* Installation Flat Fee */
.msl-install-flat-fee {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  background: #f7f9fc;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 84, 166, 0.1);
}
.msl-install-flat-fee__label {
  font-size: 0.88rem;
  color: #6b7280;
}
.msl-install-flat-fee__price {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0054a6;
}
.msl-install-flat-fee__tax {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Info Boxes */
.msl-info-boxes { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 720px; }
.msl-info-box {
  background: #f7f9fc;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.msl-info-box__label { color: #0054a6; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.msl-info-box__value { font-size: 1.2rem; font-weight: 500; }

/* Notice */
.msl-notice {
  max-width: 800px;
  background: #f0f3f8;
  border: 1px solid #c8d5e3;
  border-radius: 0.75rem;
  padding: 2rem;
}
.msl-notice__header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.msl-notice__header h3 { font-size: 1.05rem; font-weight: 500; }
.msl-notice__list { margin-bottom: 1.5rem; }
.msl-notice__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(26, 26, 46, 0.8);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.msl-notice__list li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: rgba(0, 84, 166, 0.4);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

/* Order Form Notice */
.msl-order-notice {
  max-width: 720px;
  background: rgba(0, 84, 166, 0.05);
  border: 1px solid rgba(0, 84, 166, 0.15);
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin-bottom: 2.5rem;
}
.msl-order-notice p { color: rgba(26, 26, 46, 0.8); font-size: 0.85rem; line-height: 1.7; }
.msl-order-form { max-width: 720px; }

/* ═══════════════════════════════════════
   TABLES
   ═══════════════════════════════════════ */
.msl-table-wrapper { border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 0.75rem; overflow: hidden; }
.msl-table { width: 100%; border-collapse: collapse; }
.msl-table thead tr { background: #f7f9fc; }
.msl-table th {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.8rem;
  font-weight: 500;
}
.msl-table td {
  padding: 0.75rem 1.5rem;
  font-size: 0.88rem;
}
.msl-table tbody tr { border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.msl-table tbody tr:last-child { border-bottom: none; }

/* Definition Table (Legal page) */
.msl-def-table { border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 0.75rem; overflow: hidden; }
.msl-def-table__row { display: flex; flex-direction: column; border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.msl-def-table__row:last-child { border-bottom: none; }
.msl-def-table__label {
  background: #f7f9fc;
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.msl-def-table__value {
  padding: 0.75rem 1.5rem 1.25rem;
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   TIMELINE (Purchase Flow page)
   ═══════════════════════════════════════ */
.msl-timeline { max-width: 700px; margin: 0 auto; }
.msl-timeline__item { display: flex; gap: 1.5rem; }
.msl-timeline__col { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.msl-timeline__circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #0054a6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 84, 166, 0.15);
}
.msl-timeline__line { width: 1px; flex: 1; background: linear-gradient(to bottom, rgba(0, 84, 166, 0.3), rgba(0, 84, 166, 0.1)); margin: 0.25rem 0; }
.msl-timeline__content { padding-top: 0.5rem; padding-bottom: 3rem; }
.msl-timeline__item--last .msl-timeline__content { padding-bottom: 0; }
.msl-timeline__step-label { color: #0054a6; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; }
.msl-timeline__title { font-size: 1.15rem; font-weight: 500; margin: 0.5rem 0; }
.msl-timeline__desc { color: #6b7280; font-size: 0.9rem; line-height: 1.8; }

/* ═══════════════════════════════════════
   CANCELLATION POLICY
   ═══════════════════════════════════════ */
.msl-cancel-policy { display: flex; flex-direction: column; gap: 1rem; }
.msl-cancel-box { display: flex; align-items: flex-start; gap: 1rem; border-radius: 0.75rem; padding: 1.5rem; }
.msl-cancel-box svg { flex-shrink: 0; margin-top: 0.125rem; }
.msl-cancel-box--ok { background: #f0faf4; border: 1px solid #b8e0c8; }
.msl-cancel-box--ng { background: #fef6f4; border: 1px solid #e8c8c0; }
.msl-cancel-box__title { font-size: 0.95rem; font-weight: 500; }
.msl-cancel-box__desc { color: rgba(26, 26, 46, 0.7); font-size: 0.88rem; line-height: 1.7; margin-top: 0.25rem; }

.msl-section__footer-note { text-align: center; margin-top: 2.5rem; color: #6b7280; font-size: 0.88rem; line-height: 1.8; }

/* ═══════════════════════════════════════
   PRIVACY PAGE
   ═══════════════════════════════════════ */
.msl-privacy-sections { display: flex; flex-direction: column; gap: 3.5rem; }
.msl-privacy-section__title {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.msl-privacy-section__num { color: #0054a6; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; }
.msl-privacy-section p { color: rgba(26, 26, 46, 0.8); font-size: 0.9rem; line-height: 1.9; }

.msl-dot-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.msl-dot-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(26, 26, 46, 0.8);
  font-size: 0.9rem;
  line-height: 1.7;
}
.msl-dot-list li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: rgba(0, 84, 166, 0.35);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.msl-contact-box {
  background: #f7f9fc;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.msl-contact-box__company { font-size: 0.95rem; font-weight: 500; }
.msl-contact-box__item { display: flex; align-items: center; gap: 0.75rem; }
.msl-contact-box__item svg { color: rgba(0, 84, 166, 0.6); flex-shrink: 0; }
.msl-contact-box__item span { color: rgba(26, 26, 46, 0.8); font-size: 0.88rem; }

/* ═══════════════════════════════════════
   FORMS (Fallback when CF7 not installed)
   ═══════════════════════════════════════ */
.msl-form { display: flex; flex-direction: column; gap: 2rem; }
.msl-form__field { }
.msl-form__label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.5rem; }
.msl-form__required { color: #ef4444; font-size: 0.75rem; }
.msl-form__input {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.msl-form__input:focus {
  border-color: #0054a6;
  box-shadow: 0 0 0 3px rgba(0, 84, 166, 0.1);
}
.msl-form__input--short { width: 8rem; }
.msl-form__textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  font-size: 0.9rem;
  font-family: inherit;
  resize: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.msl-form__textarea:focus {
  border-color: #0054a6;
  box-shadow: 0 0 0 3px rgba(0, 84, 166, 0.1);
}
.msl-form__checkboxes,
.msl-form__radios { display: flex; align-items: center; gap: 1.5rem; }
.msl-form__checkbox-label,
.msl-form__radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 400;
}
.msl-form__checkbox-label input,
.msl-form__radio-label input { accent-color: #0054a6; width: 1rem; height: 1rem; }
.msl-form__submit { padding-top: 1rem; }

/* Contact Form 7 styling override */
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #0054a6;
  box-shadow: 0 0 0 3px rgba(0, 84, 166, 0.1);
}
/* CF7 checkbox & radio layout */
.wpcf7 .wpcf7-checkbox,
.wpcf7 .wpcf7-radio {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.wpcf7 .wpcf7-list-item {
  margin: 0; /* CF7 default margin reset */
}
.wpcf7 .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 400;
}
.wpcf7 .wpcf7-list-item input[type="checkbox"],
.wpcf7 .wpcf7-list-item input[type="radio"] {
  accent-color: #0054a6;
  width: 1rem;
  height: 1rem;
  margin: 0;
  cursor: pointer;
}
/* CF7 number input short width */
.wpcf7 input[type="number"] {
  width: 8rem;
}
/* CF7 validation error */
.wpcf7 .wpcf7-not-valid-tip {
  color: #ef4444;
  font-size: 0.78rem;
  margin-top: 0.35rem;
  display: block;
}
.wpcf7 .wpcf7-response-output {
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  margin-top: 1.5rem;
}
/* CF7 spinner */
.wpcf7 .wpcf7-spinner {
  margin-left: 1rem;
}

.wpcf7 input[type="submit"] {
  background: #0054a6;
  color: #ffffff;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.2s;
}
.wpcf7 input[type="submit"]:hover { background: #004590; }

/* Button */
.msl-btn {
  display: inline-block;
  border: none;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.2s;
}
.msl-btn--primary {
  background: #0054a6;
  color: #ffffff;
  padding: 1rem 2.5rem;
}
.msl-btn--primary:hover { background: #004590; }

/* ═══════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════ */
.msl-contact-form-wrap { max-width: 640px; }
.msl-contact-form-wrap .msl-form { gap: 1.75rem; }

/* Radio vertical layout for inquiry type */
.msl-form__radios--vertical {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.wpcf7 .wpcf7-radio.msl-contact-radios--vertical {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.msl-contact-info-box {
  background: #f7f9fc;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  padding: 2rem;
  max-width: 640px;
}
.msl-contact-info-box__title {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.msl-contact-info-box__items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.msl-contact-info-box__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.msl-contact-info-box__item svg {
  color: rgba(0, 84, 166, 0.6);
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.msl-contact-info-box__label {
  font-size: 0.78rem;
  color: rgba(26, 26, 46, 0.5);
  margin-bottom: 0.125rem;
}
.msl-contact-info-box__value {
  font-size: 0.9rem;
  color: rgba(26, 26, 46, 0.8);
}

/* Footer contact link */
.msl-footer__contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
  margin-top: 0.5rem;
}
.msl-footer__contact-link:hover { color: #ffffff; }
.msl-footer__contact-link svg { flex-shrink: 0; }

/* ═══════════════════════════════════════
   RESPONSIVE: Tablet (768px+)
   ═══════════════════════════════════════ */
@media (min-width: 768px) {
  .msl-header__inner { height: 5rem; padding: 0 2rem; }
  .msl-header__tagline { display: block; }
  .msl-header__nav { display: flex; }
  .msl-header__hamburger { display: none; }
  .msl-header__mobile-nav,
  .msl-header__overlay { display: none !important; }

  .msl-hero { height: 560px; }
  .msl-hero__title { font-size: 2rem; }
  .msl-hero__subtitle { font-size: 0.95rem; }

  .msl-products__grid { grid-template-columns: repeat(2, 1fr); }
  .msl-components-grid { grid-template-columns: repeat(3, 1fr); }
  .msl-info-boxes { grid-template-columns: repeat(2, 1fr); }

  .msl-purchase-flow__steps {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
  }
  .msl-flow-step { width: 280px; }
  .msl-flow-step__arrow {
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .msl-footer__grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; }

  .msl-def-table__row {
    display: grid;
    grid-template-columns: 200px 1fr;
    flex-direction: row;
  }
  .msl-def-table__value { padding: 0.75rem 1.5rem; }
}

/* ═══════════════════════════════════════
   RESPONSIVE: Desktop (1024px+)
   ═══════════════════════════════════════ */
@media (min-width: 1024px) {
  .msl-products__grid { grid-template-columns: repeat(3, 1fr); }
}
