

:root {
  /* ===== Color tokens (medium-dark slate, brighter than v2) ===== */
  --bg:           #1c2440;
  --bg-soft:      #252e4d;
  --bg-section:   #2d375b;
  --bg-card:      #323d65;
  --bg-elevated:  #3b4775;
  --bg-input:     #252e4d;

  --border:       #475589;
  --border-strong:#5a6aa2;

  --text:         #f1f4fb;
  --text-muted:   #b8c1d8;
  --text-dim:     #8e98b3;

  --primary:      #7ab6ff;
  --primary-hover:#94c4ff;
  --primary-soft: rgba(122,182,255,.16);

  --accent:       #ff8e54;
  --accent-hover: #ffa370;
  --accent-soft:  rgba(255,142,84,.16);

  --success:      #3fb950;
  --error:        #f85149;
  --warning:      #d29922;

  /* ===== Layout ===== */
  --max-width:    1280px;
  --max-content:  960px;
  --max-narrow:   720px;
  --header-h:     72px;
  --radius:       6px;
  --radius-lg:    12px;
  --radius-xl:    16px;

  /* ===== Shadows ===== */
  --shadow-sm:    0 1px 2px rgba(0,0,0,.3);
  --shadow:       0 4px 12px rgba(0,0,0,.35), 0 1px 3px rgba(0,0,0,.2);
  --shadow-lg:    0 12px 32px rgba(0,0,0,.4), 0 4px 12px rgba(0,0,0,.3);
  --shadow-glow:  0 0 0 1px rgba(91,158,255,.2), 0 8px 32px rgba(91,158,255,.15);

  /* ===== Transitions ===== */
  --t-fast:       .15s ease;
  --t:            .2s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family:
    "Noto Sans JP",
    -apple-system, BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic Medium", "Yu Gothic",
    Meiryo,
    "MS PGothic",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'tnum', 'kern';
  font-variant-numeric: tabular-nums;
  min-height: 100vh;
  overflow-x: hidden;
}
.mono {
  font-family: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
  font-feature-settings: 'tnum';
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--primary-hover); }
button { cursor: pointer; font-family: inherit; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--accent); color: #fff; }

/* ===== Container ===== */
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}
.container-narrow { max-width: var(--max-narrow); margin-left: auto; margin-right: auto; padding: 0 20px; }
@media (min-width: 768px) {
  .container { padding-left: 32px; padding-right: 32px; }
}

/* ============================================================
   HEADER (with company subtitle)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 36, 64, .88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 1;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand-logo:hover { color: var(--text); }
.brand-mark {
  width: 28px; height: 28px;
  flex-shrink: 0;
}
.brand-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.015em;
  white-space: nowrap;
}
.brand-text b { color: var(--text); font-weight: 700; }
.brand-text span { color: var(--accent); font-weight: 800; }

.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}
.brand-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.brand-meta-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: 'IBM Plex Mono', monospace;
}
.brand-meta-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hide sub-meta on small screens */
@media (max-width: 900px) {
  .brand-divider, .brand-meta { display: none; }
}

/* ===== Nav ===== */
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}
.nav-list a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0;
  position: relative;
  transition: color var(--t-fast);
}
.nav-list a:hover, .nav-list a.active { color: var(--text); }
.nav-list a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -25px;
  height: 2px;
  background: var(--accent);
}

.nav-list .has-megamenu {
  position: relative;
}
.nav-list .has-megamenu > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-list .has-megamenu .nav-caret {
  width: 11px;
  height: 11px;
  opacity: 0.7;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-list .has-megamenu:hover > a .nav-caret,
.nav-list .has-megamenu:focus-within > a .nav-caret,
.nav-list .has-megamenu.is-open > a .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 640px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 4px 12px rgba(0,0,0,0.2);
  padding: 24px;
  margin-top: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}
.megamenu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-list .has-megamenu:hover > .megamenu,
.nav-list .has-megamenu:focus-within > .megamenu,
.nav-list .has-megamenu.is-open > .megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.megamenu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.megamenu-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.megamenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.megamenu-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}
.megamenu-list a:hover,
.megamenu-list a:focus-visible {
  background: rgba(122,182,255,0.1);
  color: var(--primary);
}
.megamenu-list a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}
.megamenu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(122,182,255,0.12);
  color: var(--primary);
  flex-shrink: 0;
}
.megamenu-icon svg { width: 16px; height: 16px; }
.megamenu-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
  text-align: left;
}
.megamenu-label-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  text-align: left;
}
.megamenu-label-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.4;
  text-align: left;
}
.megamenu-label-main {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.megamenu-label-sub {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.megamenu-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 8px;
}
.megamenu-list-grid a {
  padding: 8px 12px;
  font-size: 13px;
  justify-content: space-between;
}
.megamenu-list-grid .mono {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.megamenu-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 9px 14px;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--t-fast), transform var(--t-fast);
}
.megamenu-cta:hover {
  background: var(--primary-hover);
  transform: translateX(2px);
}
.megamenu-cta svg { width: 12px; height: 12px; }

@media (max-width: 880px) {
  .megamenu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    margin-left: 0;
    padding: 16px;
    box-shadow: none;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
  }
  .nav-list .has-megamenu .nav-caret {
    margin-left: auto;
  }
  .nav-list .has-megamenu > a {
    width: 100%;
    justify-content: space-between;
  }
  .megamenu-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .nav-list .has-megamenu:hover > .megamenu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .nav-list .has-megamenu.is-open > .megamenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .megamenu-list-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--t-fast);
  min-height: 40px;
}
.cart-btn:hover {
  border-color: var(--primary);
  color: var(--text);
  background: var(--bg-card);
}
.cart-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  font-family: 'IBM Plex Mono', monospace;
}
.cart-count.empty { background: var(--border-strong); color: var(--text-dim); }

.nav-toggle {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { border-color: var(--primary); }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    box-shadow: var(--shadow-lg);
  }
  .nav-list.open { display: flex; }
  .nav-list a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }
  .nav-list a:last-child { border-bottom: none; }
  .nav-list a.active { color: var(--accent); }
  .nav-list a.active::after { display: none; }
}

@media (max-width: 480px) {
  .header-inner { gap: 8px; }
  .brand-text { font-size: 16px; }
  .brand-mark { width: 24px; height: 24px; }
  .cart-btn { padding: 8px 12px 8px 10px; font-size: 12px; }
  .cart-btn span.cart-label { display: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 56px 0 20px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .brand-logo { margin-bottom: 20px; }
.footer-info {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.85;
}
.footer-info dt {
  display: inline;
  color: var(--text-dim);
  font-weight: 500;
  margin-right: 6px;
  font-size: 12px;
}
.footer-info dd { display: inline; margin: 0; color: var(--text-muted); }
.footer-info dd::after { content: ''; display: block; }
.footer-info a { color: var(--text-muted); }
.footer-info a:hover { color: var(--primary); }

.footer-col h5 {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: 'IBM Plex Mono', monospace;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--text-muted); font-size: 13px; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-dim);
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--text-muted); font-weight: 500; }
.footer-bottom-links a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .site-footer { padding: 48px 0 20px; margin-top: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: -.005em;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,122,61,.3);
}
.btn-secondary {
  background: var(--primary);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--text);
  background: var(--bg-card);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 15px; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 12px; }
.btn-block { width: 100%; }
.btn[disabled], .btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-head {
  background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg) 100%);
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: .04em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; color: var(--border-strong); }
.page-head h1 {
  font-size: clamp(28px, 5.5vw, 44px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-head h1 em { font-style: normal; color: var(--accent); }
.page-head .lead {
  color: var(--text-muted);
  font-size: clamp(14px, 2vw, 16px);
  max-width: 720px;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .page-head { padding: 40px 0 32px; }
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 104px);
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(255,122,61,.08), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(91,158,255,.06), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(255,122,61,.25);
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero h1 {
  font-size: clamp(32px, 6.5vw, 64px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 900px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero h1 b { font-weight: 800; color: var(--primary); }

.hero p {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero p b { color: var(--text); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

.hero-stats {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-cell {
  padding: 20px 24px;
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -.02em;
}
.stat-num em { color: var(--accent); font-style: normal; }
.stat-label { font-size: 12px; color: var(--text-muted); }

@media (max-width: 768px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-cell { padding: 18px 20px; border-bottom: 1px solid var(--border); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 380px) {
  .hero-stats { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; }
  .stat-cell:not(:last-child) { border-bottom: 1px solid var(--border); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: clamp(56px, 8vw, 80px) 0; }
.section-alt { background: var(--bg-soft); }

.section-head {
  margin-bottom: clamp(36px, 5vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
}
.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  max-width: 720px;
}
.section-head h2 em { font-style: normal; color: var(--accent); }
.section-head .desc {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 380px;
  line-height: 1.7;
}

/* ============================================================
   BRANDS BAR
   ============================================================ */
.brands-bar {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(28px, 4vw, 36px) 0;
}
.brands-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.brands-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brands-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
  flex: 1;
  justify-content: center;
}
.brand-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .04em;
}
@media (max-width: 768px) {
  .brands-list { gap: 18px; }
  .brand-pill { font-size: 11px; }
}

/* ============================================================
   CATEGORIES (home)
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.cat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.cat-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  background: var(--bg-elevated);
  color: inherit;
}
.cat-card:hover::after { transform: scaleX(1); }

.cat-icon {
  width: 44px; height: 44px;
  background: var(--accent-soft);
  border: 1px solid rgba(255,122,61,.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.cat-icon svg { width: 22px; height: 22px; }
.cat-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.cat-en {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: .08em;
  margin-bottom: 14px;
  display: block;
  text-transform: uppercase;
}
.cat-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 18px;
}
.cat-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: gap var(--t-fast), color var(--t-fast);
}
.cat-card:hover .cat-link { color: var(--accent); gap: 10px; }

@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: 1fr; gap: 12px; } }

/* ============================================================
   PRODUCT CARDS & GRID
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  background: var(--bg-elevated);
}

.product-img {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #f5f7fa 0%, #e1e6ef 100%);
  position: relative;
  overflow: hidden;
  display: block;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 14px;
  background: #fff;
  transition: transform var(--t);
}
.product-card:hover .product-img img { transform: scale(1.04); }
.product-img-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa, #d8dde7);
  color: var(--bg);
  opacity: .35;
}
.product-img-fallback svg { width: 60%; height: 60%; max-width: 100px; max-height: 100px; }
.product-tag {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(28,36,64,.88);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 100px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-brand {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 600;
}
.product-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 4px;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-name-en {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-price-row {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}
.product-price {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.product-price-vat {
  font-size: 10px;
  color: var(--text-dim);
  white-space: nowrap;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  margin-top: 10px;
}
.btn-cart-add {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  transition: background var(--t-fast);
  min-height: 38px;
}
.btn-cart-add:hover { background: var(--primary-hover); }
.btn-detail {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0 12px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all var(--t-fast);
  min-height: 38px;
}
.btn-detail:hover {
  border-color: var(--primary);
  color: var(--primary);
}

@media (max-width: 600px) {
  .product-body { padding: 12px; }
  .product-name { font-size: 12px; min-height: 32px; }
  .product-name-en { font-size: 9px; }
  .product-price { font-size: 15px; }
  .product-price-vat { display: none; }
}

/* ============================================================
   FILTERS (NON-STICKY now)
   ============================================================ */
.filter-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.filter-row + .filter-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.filter-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.chip-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--t-fast);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  font-family: inherit;
}
.chip:hover {
  border-color: var(--primary);
  color: var(--text);
}
.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.search-box {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all var(--t-fast);
  min-height: 40px;
}
.search-box input::placeholder { color: var(--text-dim); }
.search-box input:focus {
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(91,158,255,.15);
}
.search-box::before {
  content: '';
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b758c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

@media (max-width: 768px) {
  .filter-wrap { padding: 16px; }
  .filter-row { gap: 12px; }
  .filter-label { width: 100%; margin-bottom: -6px; }
  .search-box { width: 100%; flex-basis: 100%; min-width: 0; }
}

/* ============================================================
   BRAND/CATEGORY SECTIONS in catalog
   ============================================================ */
.cat-block {
  margin-bottom: 56px;
  scroll-margin-top: 100px;
}
.cat-block-header {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.cat-block-header::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 100%;
  background: radial-gradient(circle at 100% 50%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.cat-block-header > * { position: relative; }
.cat-block-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 600;
}
.cat-block-header h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -.02em;
  color: var(--text);
}
.cat-block-header p {
  color: var(--text-muted);
  font-size: 13px;
  max-width: 720px;
  line-height: 1.7;
}

.brand-section { margin-bottom: 40px; }
.brand-section.hidden { display: none; }
.brand-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.brand-header-left {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.brand-header h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}
.brand-header .cat-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
}
.brand-header .count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .cat-block-header { padding: 20px; }
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 32px 0;
  align-items: start;
}
.pd-gallery { display: flex; flex-direction: column; gap: 14px; }
.pd-image {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #f5f7fa 0%, #e1e6ef 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  user-select: none;
  -webkit-user-select: none;
}

.pd-slider {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
}
.pd-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.pd-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.pd-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 32px;
  box-sizing: border-box;
  pointer-events: none;
}

.pd-image > img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 32px;
  background: #fff;
  transition: opacity .2s ease, transform .3s ease;
}
.pd-image:hover .pd-slide img { transform: scale(1.02); transition: transform 0.3s ease; }

.pd-image-counter {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(28,36,64,0.92);
  color: #fff;
  padding: 6px 12px;
  border-radius: 100px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  z-index: 2;
  pointer-events: none;
}
.pd-image-counter span:first-child { color: var(--accent); }

.pd-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28,36,64,0.85);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  backdrop-filter: blur(8px);
  transition: all var(--t-fast);
  opacity: 0.8;
}
.pd-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}
.pd-nav:active { transform: translateY(-50%) scale(0.96); }
.pd-nav svg { width: 22px; height: 22px; }
.pd-nav-prev { left: 14px; }
.pd-nav-next { right: 14px; }
@media (max-width: 600px) {
  .pd-nav { width: 38px; height: 38px; }
  .pd-nav svg { width: 18px; height: 18px; }
  .pd-nav-prev { left: 10px; }
  .pd-nav-next { right: 10px; }
}

.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.pd-thumb {
  position: relative;
  aspect-ratio: 1/1;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  cursor: pointer;
  transition: all var(--t-fast);
  overflow: hidden;
}
.pd-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .25s ease;
}
.pd-thumb:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.pd-thumb:hover img { transform: scale(1.06); }
.pd-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255,142,84,.25),
              0 4px 12px rgba(255,142,84,.18);
}
.pd-thumb.active::after {
  content: '';
  position: absolute;
  top: 4px; right: 4px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff;
}
.pd-thumb-num {
  position: absolute;
  top: 4px; left: 4px;
  background: rgba(28,36,64,0.85);
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  z-index: 1;
}

@media (max-width: 600px) {
  .pd-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .pd-thumb-num { font-size: 8px; padding: 1px 4px; }
}
@media (max-width: 380px) {
  .pd-thumbs { grid-template-columns: repeat(4, 1fr); }
}
.pd-info-brand {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: .08em;
  margin-bottom: 16px;
  text-transform: uppercase;
  border: 1px solid rgba(255,122,61,.25);
}
.pd-name {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.pd-name-en {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pd-price-block {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 24px;
}
.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.pd-price {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.02em;
}
.pd-price-eur {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--text-dim);
}
.pd-price-note {
  font-size: 12px;
  color: var(--text-muted);
}

.pd-meta {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.pd-meta li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.pd-meta li:last-child { border-bottom: none; }
.pd-meta dt {
  color: var(--text-dim);
  font-size: 11px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pd-meta dd { color: var(--text); margin: 0; }

.pd-actions {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}
.qty-control button {
  width: 44px;
  height: 48px;
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--text);
  font-weight: 600;
  transition: background var(--t-fast);
}
.qty-control button:hover { background: var(--bg-elevated); }
.qty-control input {
  width: 56px;
  height: 48px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--bg-soft);
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  outline: none;
  -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pd-description {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 32px;
}
.pd-description h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
}
.pd-description p, .pd-description li {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 10px;
}
.pd-description ul { padding-left: 22px; list-style: disc; }

@media (max-width: 900px) {
  .product-detail { grid-template-columns: 1fr; gap: 28px; padding: 20px 0; }
  .pd-actions { grid-template-columns: auto 1fr; }
  .pd-actions > a, .pd-actions > .btn { grid-column: 1 / -1; }
}

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
}
.step {
  padding: 16px 14px;
  text-align: center;
  position: relative;
  border-right: 1px solid var(--border);
}
.step:last-child { border-right: none; }
.step .step-n {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: .1em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.step .step-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.step.active { background: var(--accent-soft); }
.step.active .step-n,
.step.active .step-name { color: var(--accent); }
.step.done .step-n::before { content: '✓ '; color: var(--success); }
.step.done .step-name { color: var(--text); }

@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* ============================================================
   CART
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  padding: 24px 0;
  align-items: start;
}
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 16px;
  align-items: center;
}
.cart-row-img {
  width: 80px; height: 80px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-row-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cart-row-info { min-width: 0; }
.cart-row-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.4;
  color: var(--text);
}
.cart-row-info h4 a { color: inherit; }
.cart-row-info h4 a:hover { color: var(--accent); }
.cart-row-info .meta {
  font-size: 11px;
  color: var(--text-dim);
  font-family: 'IBM Plex Mono', monospace;
}
.cart-row-info .unit-price {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.cart-row-qty .qty-control { transform: scale(.85); transform-origin: left center; }
.cart-row-price {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  text-align: right;
  white-space: nowrap;
}
.cart-row-remove {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 36px; height: 36px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--t-fast);
}
.cart-row-remove:hover {
  border-color: var(--error);
  color: var(--error);
}

.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.cart-summary h3 {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.summary-row.total {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 16px;
  color: var(--text);
  font-weight: 700;
}
.summary-row.total .price {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-size: 22px;
}

.cart-empty {
  text-align: center;
  padding: 64px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}
.cart-empty .empty-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: var(--accent-soft);
  border: 1px solid rgba(255,122,61,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.cart-empty .empty-icon svg { width: 28px; height: 28px; }
.cart-empty h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}
.cart-empty p { color: var(--text-muted); margin-bottom: 24px; font-size: 14px; }

@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; gap: 20px; }
  .cart-summary { position: static; }
}
@media (max-width: 600px) {
  .cart-row {
    grid-template-columns: 64px 1fr auto;
    grid-template-areas:
      "img info remove"
      "img qty price";
    gap: 10px;
    padding: 14px;
  }
  .cart-row-img { grid-area: img; width: 64px; height: 64px; }
  .cart-row-info { grid-area: info; }
  .cart-row-qty { grid-area: qty; }
  .cart-row-price { grid-area: price; align-self: end; }
  .cart-row-remove { grid-area: remove; align-self: start; }
  .cart-row-info h4 { font-size: 13px; }
}

/* ============================================================
   CHECKOUT FORM
   ============================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  padding: 24px 0;
  align-items: start;
}
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 16px;
}
.form-card h3 {
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.form-card h3 .step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid .span-2 { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.form-field label .req { color: var(--accent); margin-left: 2px; }

.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all var(--t-fast);
  min-height: 44px;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-dim); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91,158,255,.15);
  background: var(--bg-card);
}
.form-field textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-field input[readonly] { background: var(--bg-soft); color: var(--text-muted); }
.form-field .hint {
  font-size: 11px;
  color: var(--text-dim);
}
.form-field input[type=checkbox],
.form-field input[type=radio] {
  width: auto;
  min-height: auto;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.checkbox-row:first-of-type { border-top: none; }
.checkbox-row input[type=checkbox] {
  width: 18px; height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}
.checkbox-row label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  flex: 1;
  line-height: 1.5;
}
.checkbox-row label strong { color: var(--text); }
.checkbox-row label a { color: var(--primary); text-decoration: underline; }

.address-row {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 8px;
}
.btn-zip {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
  min-height: 44px;
}
.btn-zip:hover { border-color: var(--primary); color: var(--primary); }

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.payment-opt {
  position: relative;
  cursor: pointer;
}
.payment-opt input { position: absolute; opacity: 0; pointer-events: none; }
.payment-opt span {
  display: block;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all var(--t-fast);
  color: var(--text-muted);
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.payment-opt input:checked + span {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .payment-options { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
}

/* ============================================================
   ORDER SUMMARY TABLES
   ============================================================ */
.order-summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.order-summary-table th,
.order-summary-table td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.order-summary-table th {
  font-size: 10px;
  color: var(--text-dim);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--bg-soft);
}
.order-summary-table td.right,
.order-summary-table th.right { text-align: right; }
.order-summary-table .price-cell {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:last-child { border-bottom: none; }
.info-table th {
  width: 130px;
  text-align: left;
  padding: 12px 10px 12px 0;
  font-size: 11px;
  color: var(--text-dim);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
  vertical-align: top;
}
.info-table td {
  padding: 12px 0;
  color: var(--text);
}

@media (max-width: 600px) {
  .info-table th { width: 100px; font-size: 10px; }
  .info-table td { font-size: 13px; }
}

/* ============================================================
   ORDER COMPLETE
   ============================================================ */
.order-success {
  text-align: center;
  padding: 56px 24px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(255,122,61,.3);
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.order-success::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,122,61,.06), transparent 60%);
  pointer-events: none;
}
.order-success-icon {
  width: 72px; height: 72px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 0 0 8px rgba(255,122,61,.15), 0 0 0 18px rgba(255,122,61,.06);
  position: relative;
}
.order-success-icon svg { width: 32px; height: 32px; }
.order-success h2 {
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -.02em;
  color: var(--text);
  position: relative;
}
.order-success p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  position: relative;
}
.order-id-box {
  display: inline-block;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 18px;
  margin-top: 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 14px;
  position: relative;
}
.order-id-box em {
  font-style: normal;
  color: var(--accent);
  margin-left: 6px;
  letter-spacing: .04em;
}

/* ============================================================
   POLICY (privacy / terms) PAGES
   ============================================================ */
.policy-content {
  background: #ffffff;
  border: 1px solid #e5e8ee;
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  margin: 24px 0 40px;
  font-size: 14px;
  line-height: 1.85;
  color: #1a1f35;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.policy-content,
.policy-content * {
  color: #1a1f35;
}
.policy-content h1 {
  color: #0a0e1a;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid #ff7a3d;
}
.policy-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: #ff7a3d;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ff7a3d;
  letter-spacing: -.01em;
  display: inline-block;
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0a0e1a;
  margin: 22px 0 8px;
}
.policy-content p { 
  color: #1a1f35;
  margin-bottom: 14px;
}
.policy-content p[style*="color:var(--text-muted)"],
.policy-content p[style*="color: var(--text-muted)"] {
  color: #6b7180 !important;
}
.policy-content p[style*="color:var(--text-dim)"],
.policy-content p[style*="color: var(--text-dim)"] {
  color: #8d92a0 !important;
}
.policy-content ul, .policy-content ol { 
  margin: 12px 0 16px 22px; 
  color: #1a1f35;
}
.policy-content ul { list-style: disc; }
.policy-content ol { list-style: decimal; }
.policy-content li { 
  margin-bottom: 6px; 
  color: #1a1f35;
}
.policy-content strong {
  color: #0a0e1a;
  font-weight: 700;
}
.policy-content hr {
  border: none;
  border-top: 2px solid #ff7a3d !important;
}
.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
  background: #ffffff;
}
.policy-content th, .policy-content td {
  border: 1px solid #d4d8e0;
  padding: 10px 14px;
  text-align: left;
  color: #1a1f35;
  background: #ffffff;
}
.policy-content th {
  background: #f1f3f7;
  font-weight: 700;
  color: #0a0e1a;
}
.policy-content a { 
  color: #ff7a3d; 
  text-decoration: underline; 
  text-underline-offset: 2px;
}

/* dl/dt/dd inside policy-content (light card) */
.policy-content dl.policy-info {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  margin: 18px 0;
  border: 1px solid #d4d8e0;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}
.policy-content dl.policy-info dt {
  margin: 0;
  padding: 12px 14px;
  background: #f1f3f7;
  color: #0a0e1a;
  font-weight: 700;
  font-size: 13.5px;
  border-bottom: 1px solid #e5e8ee;
  display: flex;
  align-items: center;
}
.policy-content dl.policy-info dd {
  margin: 0;
  padding: 12px 14px;
  background: #ffffff;
  color: #1a1f35;
  font-size: 13.5px;
  line-height: 1.7;
  border-bottom: 1px solid #e5e8ee;
  border-left: 1px solid #e5e8ee;
}
.policy-content dl.policy-info dt:last-of-type,
.policy-content dl.policy-info dd:last-of-type {
  border-bottom: none;
}

@media (max-width: 600px) {
  .policy-content { padding: 24px 20px; font-size: 13px; }
  .policy-content h1 { font-size: 22px; }
  .policy-content h2 { font-size: 17px; margin-top: 28px; }
  .policy-content dl.policy-info { grid-template-columns: 1fr; }
  .policy-content dl.policy-info dt {
    background: #fff5ee;
    color: #ff7a3d;
    border-bottom: none;
    padding: 10px 14px 4px;
    font-size: 12px;
  }
  .policy-content dl.policy-info dd {
    border-left: none;
    padding: 4px 14px 12px;
  }
}

/* ============================================================
   SITEMAP
   ============================================================ */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.sitemap-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.sitemap-block h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sitemap-block ul { display: flex; flex-direction: column; gap: 4px; }
.sitemap-block li { padding: 4px 0; }
.sitemap-block a { color: var(--text-muted); font-size: 13px; }
.sitemap-block a:hover { color: var(--accent); }
.sitemap-block li ul {
  padding-left: 14px;
  margin-top: 4px;
  border-left: 2px solid var(--border);
  gap: 2px;
}
.sitemap-block li ul a { font-size: 12px; }

@media (max-width: 768px) {
  .sitemap-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================================
   NOTICES & ALERTS
   ============================================================ */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.notice-info {
  background: var(--primary-soft);
  color: var(--primary);
  border-left: 3px solid var(--primary);
}
.notice-warn {
  background: var(--accent-soft);
  color: var(--accent);
  border-left: 3px solid var(--accent);
}
.notice-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 11px;
  font-family: 'IBM Plex Mono', monospace;
}
.notice-info .notice-icon { background: var(--primary); color: #fff; }
.notice-warn .notice-icon { background: var(--accent); color: #fff; }
.notice strong { color: inherit; }
.notice div { color: var(--text); flex: 1; }

/* ============================================================
   PROCESS GRID
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: all var(--t);
}
.process-step:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.process-step .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 36px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
  opacity: .85;
}
.process-step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.process-step p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
}
@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: clamp(36px, 5vw, 56px);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,122,61,.15), transparent 70%);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -.02em;
  color: var(--text);
}
.cta-banner p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 14px;
}
.cta-banner .hero-actions { justify-content: center; }

/* ============================================================
   TOAST
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastIn .25s ease, toastOut .25s ease 2.7s forwards;
  pointer-events: auto;
}
.toast.success { border-color: var(--success); }
.toast.success::before { content: '✓'; background: var(--success); }
.toast.error { border-color: var(--error); }
.toast.error::before { content: '!'; background: var(--error); }
.toast::before {
  content: 'i';
  width: 22px; height: 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
@keyframes toastIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { to { transform: translateX(120%); opacity: 0; } }

@media (max-width: 480px) {
  .toast-container { left: 16px; right: 16px; bottom: 16px; }
  .toast { min-width: 0; max-width: 100%; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  padding: 24px 0;
  align-items: start;
}
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 16px;
}
.contact-info-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  font-size: 14px;
}
.contact-detail-icon {
  width: 32px; height: 32px;
  background: var(--bg-elevated);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 14px; height: 14px; }
.contact-detail-label {
  font-size: 10px;
  color: var(--text-dim);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.contact-detail-value {
  color: var(--text);
  font-weight: 500;
  word-break: break-all;
}
.contact-detail-value a { color: var(--text); }
.contact-detail-value a:hover { color: var(--primary); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT (product introduction)
   ============================================================ */
.about-section {
  padding: clamp(48px, 6vw, 64px) 0;
  border-bottom: 1px solid var(--border);
}
.about-section:nth-child(even) { background: var(--bg-soft); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-grid.reverse > div:first-child { order: 2; }
.about-grid h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
}
.about-grid h2 em { font-style: normal; color: var(--accent); }
.about-cat-tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(255,122,61,.25);
  padding: 6px 12px;
  border-radius: 100px;
  letter-spacing: .08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.about-grid p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 16px;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}
.about-features li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
  color: var(--text);
}
.about-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 14px; height: 2px;
  background: var(--accent);
}
.about-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f5f7fa 0%, #d8dde7 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 24px;
  background: #fff;
}
.about-image .badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(28,36,64,.92);
  color: #fff;
  padding: 5px 12px;
  font-size: 10px;
  font-family: 'IBM Plex Mono', monospace;
  border-radius: 100px;
  letter-spacing: .08em;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 1;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-grid.reverse > div:first-child { order: 0; }
}

/* ============================================================
   INVOICE PAGE (printable)
   ============================================================ */
.invoice-page {
  background: var(--bg-soft);
  min-height: 100vh;
  padding: 32px 0;
}
.invoice-actions {
  max-width: 800px;
  margin: 0 auto 16px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 0 16px;
}
.invoice-doc {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  color: #1a1a1a;
  padding: 48px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  font-family: 'Noto Sans JP', -apple-system, 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', Meiryo, sans-serif;
}
.invoice-doc .invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 3px solid #ff7a3d;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}
.invoice-doc h1 {
  font-size: 36px;
  font-weight: 800;
  color: #0a0e1a;
  letter-spacing: -.02em;
}
.invoice-doc .invoice-meta {
  text-align: right;
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}
.invoice-doc .invoice-meta strong { color: #0a0e1a; }
.invoice-doc h2 {
  font-size: 14px;
  font-weight: 700;
  color: #ff7a3d;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 32px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
  font-family: 'IBM Plex Mono', monospace;
}
.invoice-doc table { width: 100%; border-collapse: collapse; font-size: 13px; }
.invoice-doc table th {
  background: #f7f9fc;
  color: #0a0e1a;
  font-weight: 700;
  padding: 10px;
  border-bottom: 2px solid #ddd;
  text-align: left;
}
.invoice-doc table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  color: #1a1a1a;
}
.invoice-doc table .right { text-align: right; }
.invoice-doc table .mono {
  font-family: 'IBM Plex Mono', monospace;
}
.invoice-doc .totals-row {
  background: #fff8f3;
  font-weight: 700;
  font-size: 16px;
}
.invoice-doc .totals-row td { color: #ff7a3d !important; padding: 14px 10px; }
.invoice-doc .info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.invoice-doc .info-row { padding: 4px 0; font-size: 13px; }
.invoice-doc .info-row .lbl { color: #777; display: inline-block; width: 80px; font-size: 11px; }
.invoice-doc .info-row .val { color: #1a1a1a; font-weight: 500; }
.invoice-doc .footer-note {
  margin-top: 40px;
  padding: 20px;
  background: #f7f9fc;
  border-radius: 4px;
  font-size: 12px;
  color: #555;
  line-height: 1.8;
}
.invoice-doc .bank-info {
  background: #fff8f3;
  border: 1px solid #ffd9c2;
  border-radius: 4px;
  padding: 20px;
  margin-top: 24px;
}
.invoice-doc .bank-info h3 {
  font-size: 14px;
  color: #ff7a3d;
  margin-bottom: 12px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.invoice-doc .bank-row {
  display: flex;
  padding: 6px 0;
  font-size: 13px;
}
.invoice-doc .bank-row .lbl { color: #777; width: 100px; }
.invoice-doc .bank-row .val { color: #0a0e1a; font-weight: 600; }

@media print {
  @page { size: A4; margin: 12mm 10mm; }

  body { background: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-header, .site-footer, .invoice-actions, .toast-container,
  .page-titlebar, #header, #footer { display: none !important; }
  .invoice-page { background: #fff !important; padding: 0; margin: 0; }

  .invoice-doc {
    max-width: 100%;
    box-shadow: none !important;
    padding: 0;
    background: #fff !important;
    color: #000 !important;
  }

  .invoice-doc table tr,
  .invoice-doc .info-grid > div,
  .invoice-doc .invoice-totals,
  .invoice-doc .invoice-notes { break-inside: avoid; page-break-inside: avoid; }
  .invoice-doc table thead { display: table-header-group; }

  .invoice-doc a { color: inherit; text-decoration: none; }
}
@media (max-width: 600px) {
  .invoice-doc { padding: 24px; }
  .invoice-doc h1 { font-size: 28px; }
  .invoice-doc .info-grid { grid-template-columns: 1fr; gap: 16px; }
  .invoice-doc table { font-size: 12px; }
  .invoice-doc table th, .invoice-doc table td { padding: 8px 6px; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  z-index: 200;
  white-space: nowrap;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  color: #fff;
}

.brand-text em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  margin-left: 6px;
  letter-spacing: -0.01em;
}
.brand-meta-tag {
  display: inline-block;
  font-size: 9px;
  color: var(--accent);
  border: 1px solid rgba(255,142,84,0.45);
  background: rgba(255,142,84,0.08);
  padding: 3px 7px;
  border-radius: 100px;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 4px;
  width: fit-content;
}
.brand-svg { width: 32px; height: 32px; flex-shrink: 0; }

.page-titlebar {
  background:
    linear-gradient(180deg, var(--bg-section) 0%, var(--bg-soft) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 32px;
  position: relative;
}
.page-titlebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.5;
}
.page-titlebar-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  background: rgba(255,142,84,0.1);
  border: 1px solid rgba(255,142,84,0.25);
  border-radius: 100px;
  margin-bottom: 12px;
}
.page-titlebar-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
.page-titlebar-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 12px 0 0;
  max-width: 720px;
}
@media (max-width: 768px) {
  .page-titlebar { padding: 24px 0 22px; }
  .page-titlebar-title { font-size: 24px; }
  .page-titlebar-desc { font-size: 13px; }
  .page-titlebar-eyebrow { font-size: 10px; padding: 4px 10px; margin-bottom: 10px; }
}

.page-head { display: none !important; }

.page-titlebar-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.page-titlebar-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
  padding: 2px 0;
}
.page-titlebar-breadcrumb a:hover { color: var(--accent); }
.page-titlebar-breadcrumb .sep {
  color: var(--text-dim);
  font-size: 12px;
  opacity: 0.5;
}
.page-titlebar-breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.site-footer {
  background:
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding: 64px 0 28px;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer-brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.footer-brand-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.footer-brand-card .brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
}
.footer-brand-card .brand-logo .brand-text b { color: var(--text); }
.footer-brand-card .brand-logo .brand-text span { color: var(--accent); }

.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 22px;
}

.footer-contact-quick {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--t-fast);
}
.footer-contact-item:hover {
  border-color: var(--accent);
  background: rgba(255,142,84,0.08);
  transform: translateX(2px);
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-nav-area {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-nav-block {}
.footer-nav-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-nav-title-en {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.16em;
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(255,142,84,0.1);
  border: 1px solid rgba(255,142,84,0.3);
  border-radius: 100px;
  text-transform: uppercase;
}

.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--t-fast);
  position: relative;
  overflow: hidden;
}
.footer-chip::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}
.footer-chip:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.footer-chip:hover::after { transform: scaleX(1); }

.footer-chip .chip-num {
  font-size: 10px;
  color: var(--accent);
  background: rgba(255,142,84,0.12);
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255,142,84,0.25);
}

.footer-chip-sm {
  padding: 9px 14px;
  font-size: 13px;
}

/* Footer link list (Quick Links / Related Sites) */
.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-link-list li {
  margin: 0;
}
.footer-link-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.15s ease;
  display: inline-block;
  padding: 4px 0;
}
.footer-link-list a:hover {
  color: var(--accent);
}

/* Footer sites list (LIVEDATA related sites) */
.footer-sites-list {
  gap: 10px;
}
.footer-sites-list a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: rgba(122,182,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.15s ease;
}
.footer-sites-list a:hover {
  background: rgba(255,142,84,0.08);
  border-color: rgba(255,142,84,0.3);
}
.footer-sites-list a strong {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
}
.footer-site-url {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* Footer hotlines */
.footer-hotlines {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-hotline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(255,142,84,0.08), rgba(255,122,61,0.04));
  border: 1px solid rgba(255,142,84,0.2);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.footer-hotline:hover {
  background: linear-gradient(135deg, rgba(255,142,84,0.15), rgba(255,122,61,0.08));
  border-color: rgba(255,142,84,0.4);
}
.footer-hotline-tag {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.footer-hotline-num {
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-company-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.company-info-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 12px;
  padding: 4px 0;
}
.company-info-label {
  color: var(--text-dim);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  flex-shrink: 0;
  min-width: 90px;
}
.company-info-value {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
}
.footer-copyright {
  font-size: 12px;
  color: var(--text-dim);
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-bottom-links a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-bottom-links a:hover { color: var(--accent); }
.footer-bottom-links a strong { color: var(--text); font-weight: 700; }
.footer-bottom-links .dot { color: var(--text-dim); font-size: 14px; }

@media (max-width: 880px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .site-footer {
    padding: 48px 0 24px;
    margin-top: 56px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
@media (max-width: 480px) {
  .footer-chip { padding: 10px 14px; font-size: 13px; }
  .footer-chip-sm { padding: 7px 12px; font-size: 12px; }
  .footer-chip .chip-num { font-size: 9px; padding: 2px 6px; }
  .company-info-row { flex-direction: column; gap: 4px; }
  .company-info-label { min-width: 0; }
}

#header { min-height: 64px; background: var(--bg); }
#footer { min-height: 100px; background: var(--bg-soft); }
@media (max-width: 768px) {
  #header { min-height: 56px; }
}

.shipping-notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(135deg,
    rgba(122,182,255,0.06) 0%,
    rgba(122,182,255,0.10) 100%);
  border: 1px solid rgba(122,182,255,0.25);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0 0;
  position: relative;
  overflow: hidden;
}
.shipping-notice::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right,
    rgba(122,182,255,0.10), transparent 70%);
  pointer-events: none;
}

.shipping-notice-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(122,182,255,0.15);
  border: 1px solid rgba(122,182,255,0.3);
  border-radius: var(--radius);
  color: var(--primary);
}
.shipping-notice-icon svg {
  width: 22px; height: 22px;
}

.shipping-notice-body { flex: 1; min-width: 0; }
.shipping-notice-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}
.shipping-notice-head strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}
.shipping-notice-tag {
  font-size: 10px;
  color: var(--accent);
  background: rgba(255,142,84,0.12);
  border: 1px solid rgba(255,142,84,0.35);
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  font-weight: 700;
  white-space: nowrap;
}
.shipping-notice-text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .shipping-notice { padding: 14px; gap: 12px; }
  .shipping-notice-icon { width: 36px; height: 36px; }
  .shipping-notice-icon svg { width: 18px; height: 18px; }
  .shipping-notice-text { font-size: 12px; }
  .shipping-notice-head strong { font-size: 13px; }
}

@media (hover: none) and (pointer: coarse) {
  .btn-sm,
  .btn-cart-add,
  .btn-detail {
    min-height: 44px;
  }
  .btn-cart-add,
  .btn-detail {
    font-size: 13px;
  }
}

.footer-nav-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: -8px 0 14px;
  line-height: 1.5;
  max-width: 480px;
}
.footer-chip-external {
  align-items: center;
  gap: 12px;
  padding: 13px 16px 13px 14px;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(122,182,255,0.05) 100%);
  border: 1px solid rgba(122,182,255,0.25);
  min-width: 280px;
}
.footer-chip-external:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(122,182,255,0.08) 100%);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(122,182,255,0.15);
}
.footer-chip-external::after {
  background: var(--primary);
}
.footer-chip-external .chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(122,182,255,0.12);
  color: var(--primary);
  flex-shrink: 0;
}
.footer-chip-external .chip-icon svg {
  width: 16px;
  height: 16px;
}
.footer-chip-external .chip-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.footer-chip-external .chip-text-main {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.footer-chip-external:hover .chip-text-main {
  color: var(--primary);
}
.footer-chip-external .chip-text-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.footer-chip-external .chip-external-icon {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  opacity: 0.6;
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.footer-chip-external .chip-external-icon svg {
  width: 14px;
  height: 14px;
}
.footer-chip-external:hover .chip-external-icon {
  color: var(--primary);
  opacity: 1;
  transform: translate(2px, -2px);
}

@media (max-width: 600px) {
  .footer-chip-external {
    min-width: 0;
    width: 100%;
    padding: 12px 14px;
  }
  .footer-chip-external .chip-text-main {
    font-size: 13px;
  }
  .footer-chip-external .chip-text-sub {
    font-size: 10.5px;
  }
}

@media (max-width: 768px) {
  .btn, .chip, button, .nav-list a, .footer-nav-block a,
  .footer-chip, input[type="checkbox"] + label, input[type="radio"] + label {
    min-height: 44px;
  }
  .btn-sm { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
  .chip { padding-top: 11px; padding-bottom: 11px; }
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="password"], input[type="number"], input[type="search"],
  textarea, select { font-size: 16px !important; }
  body, html { overflow-x: hidden; max-width: 100vw; }
  img, video, iframe { max-width: 100%; height: auto; }
  body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
}

@supports (padding: max(0px)) {
  body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  .site-header { padding-top: env(safe-area-inset-top); }
  .site-footer { padding-bottom: env(safe-area-inset-bottom); }
}


/* ===== Mobile-First Optimizations (v1.3) ===== */

/* All images naturally responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile mega menu scrollable */
@media (max-width: 768px) {
  .megamenu {
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Footer chips on small screens */
  .footer-chips {
    gap: 6px;
  }
  .footer-chip-sm .chip-text {
    font-size: 12px;
  }
  
  /* Company info layout */
  .footer-company-info {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .company-info-row {
    flex-direction: column;
    gap: 4px;
  }
  .company-info-label {
    font-size: 9.5px;
  }
}

/* iOS input zoom prevention */
@supports (-webkit-touch-callout: none) {
  input, textarea, select {
    font-size: 16px !important;
  }
}

/* Dark mode (auto follow system) */
@media (prefers-color-scheme: light) {
  /* Dark-themed but readable in light mode */
}

/* Mobile landscape header */
@media (max-width: 768px) and (orientation: landscape) {
  .site-header { padding-top: 4px; padding-bottom: 4px; }
}

/* Print styles (invoice etc.) */
@media print {
  .site-header, .site-footer, .nav-toggle, .header-actions { display: none !important; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}


/* ===== Mobile Nav Toggle (Hamburger) — v1.4 ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--bg-elevated, #1a1f35);
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, border-color 0.15s;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text, #f1f4fb);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle:hover { border-color: var(--primary, #7ab6ff); }
.nav-toggle:active { background: rgba(255,142,84,0.1); }
.nav-toggle[aria-expanded="true"] {
  background: rgba(255,142,84,0.15);
  border-color: var(--accent, #ff8e54);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu visibility — explicit (overrides previous) */
@media (min-width: 901px) {
  .nav-toggle { display: none !important; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex !important; }
  
  .nav-list {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--bg, #0a0e1a);
    border-bottom: 1px solid var(--border, rgba(255,255,255,0.1));
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 99;
  }
  .nav-list.open {
    display: flex !important;
  }
  .nav-list > li {
    width: 100%;
    list-style: none;
  }
  .nav-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 4px;
    border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
    font-size: 15px;
    color: var(--text, #f1f4fb);
    text-decoration: none;
    min-height: 48px;
  }
  .nav-list > li:last-child > a { border-bottom: none; }
  .nav-list > li > a.active { color: var(--accent, #ff8e54); }
  .nav-list > li > a.active::after { display: none; }

  /* Mega menu in mobile — collapsible inline */
  .has-megamenu .megamenu {
    position: static !important;
    display: none;
    width: 100% !important;
    margin: 0 0 8px 0;
    padding: 8px 12px 12px;
    background: rgba(122,182,255,0.04);
    border-radius: 8px;
    border: 1px solid var(--border, rgba(255,255,255,0.08));
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .has-megamenu.is-open .megamenu {
    display: block;
  }
  .megamenu-inner {
    grid-template-columns: 1fr !important;
    display: block !important;
    gap: 0 !important;
  }
  .megamenu-col {
    margin-bottom: 12px;
  }
  .megamenu-col:last-child { margin-bottom: 0; }
  .megamenu-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .megamenu-list a {
    padding: 10px 12px;
    background: var(--bg-card, #1a1f35);
    border-radius: 6px;
    min-height: 44px;
  }
  .megamenu-cta-btn {
    display: flex !important;
    margin-top: 8px;
  }

  /* Caret rotation when megamenu open */
  .has-megamenu > a .nav-caret {
    transition: transform 0.2s;
  }
  .has-megamenu.is-open > a .nav-caret {
    transform: rotate(180deg);
  }

  /* Body scroll lock when menu open */
  body.menu-open {
    overflow: hidden;
  }
}

/* Header inner mobile layout */
@media (max-width: 900px) {
  .site-header { position: relative; }
  .header-inner {
    gap: 8px;
    flex-wrap: nowrap;
  }
  .brand-block {
    flex: 1;
    min-width: 0;
  }
  .brand-meta { display: none; }
  .brand-divider { display: none; }
  .header-actions {
    flex-shrink: 0;
    gap: 8px;
    align-items: center;
  }
  /* Cart styles handled below in 'Header Cart' section — no override here */
}

/* ===== Mobile select / form spacing fix — v1.4 ===== */
@media (max-width: 768px) {
  /* Mobile select/option spacing */
  select {
    padding: 12px 36px 12px 12px;
    font-size: 16px !important;  /* iOS zoom prevention */
    line-height: 1.4;
    background-position: right 12px center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4 L6 8 L10 4' fill='none' stroke='%23999' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-size: 12px;
  }
  
  .form-row {
    margin-bottom: 16px;
  }
  
  .form-row label,
  label {
    display: block;
    margin-bottom: 8px;
    font-size: 13.5px;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  textarea,
  select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    box-sizing: border-box;
  }
  
  textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  /* Checkbox / agree label wrap */
  .form-row.form-row-agree label,
  label[for="cf-agree"] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
    font-size: 13px;
  }
  .form-row.form-row-agree input[type="checkbox"],
  input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    width: 18px;
    height: 18px;
  }
}


/* ===== About Products — Category Section ===== */
.cat-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 24px 0;
}
.cat-section-reverse .cat-section-content { order: 2; }
.cat-section-reverse .cat-section-image { order: 1; }

.cat-section-content {
  min-width: 0;
}
.cat-section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,142,84,0.12);
  color: var(--accent);
  border: 1px solid rgba(255,142,84,0.25);
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.cat-section-title {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 18px 0;
  color: var(--accent);
}
.cat-section-title-en {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-top: 4px;
}
.cat-section-desc {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 15px;
  margin-bottom: 20px;
}
.cat-section-points {
  list-style: none;
  margin: 0 0 28px 0;
  padding: 0;
}
.cat-section-points li {
  position: relative;
  padding: 9px 0 9px 22px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.6;
}
.cat-section-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.cat-section-btn {
  align-self: flex-start;
}
.cat-section-image {
  position: relative;
  background: linear-gradient(135deg, rgba(122,182,255,0.08), rgba(255,142,84,0.04));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  overflow: hidden;
}
.cat-section-image img {
  max-width: 100%;
  max-height: 360px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4));
}
.cat-section-image-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: var(--accent);
  color: #0a0e1a;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  z-index: 1;
}

@media (max-width: 900px) {
  .cat-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cat-section-reverse .cat-section-content { order: 1; }
  .cat-section-reverse .cat-section-image { order: 2; }
  .cat-section-title { font-size: 26px; }
  .cat-section-title-en { font-size: 19px; }
  .cat-section-image { min-height: 280px; padding: 20px; }
  .cat-section-image img { max-height: 260px; }
}

/* ===== Header Cart — Text + Badge design ===== */
.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-elevated, #1a1f35);
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 10px;
  color: var(--text, #f1f4fb);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.15s;
  position: relative;
}
.header-cart:hover {
  border-color: var(--accent, #ff8e54);
  background: rgba(255,142,84,0.08);
}
.header-cart svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.header-cart .cart-label {
  font-weight: 600;
  letter-spacing: 0.02em;
}
.header-cart .cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--accent, #ff8e54);
  color: #0a0e1a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.header-cart .cart-count.empty {
  background: var(--border-strong, #2a3149);
  color: var(--text-dim, #8892a8);
}

/* Mobile cart — Hide label, icon + badge only */
@media (max-width: 900px) {
  .header-cart {
    width: auto;
    height: 44px;
    padding: 8px 12px;
    gap: 6px;
  }
  .header-cart .cart-label {
    font-size: 12px;
  }
  .header-cart .cart-count {
    min-width: 20px;
    height: 20px;
    font-size: 11px;
  }
}
@media (max-width: 480px) {
  .header-cart .cart-label { display: none; }
  .header-cart {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  .header-cart .cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    border: 2px solid var(--bg, #0a0e1a);
  }
}

/* Hero — Single line */
.hero h1 { white-space: normal; }
@media (min-width: 768px) {
  .hero h1.hero-h1-oneline {
    white-space: nowrap;
  }
}

/* ===== Drawer Mobile Menu — Side slide drawer ===== */
@media (max-width: 900px) {
  /* Mobile menu — right side slide full-height */
  .nav-list {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: 0;
    width: min(86%, 360px);
    max-height: 100vh !important;
    height: 100vh;
    padding: 64px 0 32px !important;
    background: var(--bg, #0a0e1a) !important;
    border-left: 1px solid var(--border, rgba(255,255,255,0.1));
    border-bottom: none !important;
    box-shadow: -12px 0 32px rgba(0,0,0,0.5);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex !important;
    overflow-y: auto;
    z-index: 1000;
  }
  .nav-list.open {
    transform: translateX(0);
  }
  
  .nav-list > li {
    width: 100%;
    border-bottom: 1px solid var(--border, rgba(255,255,255,0.06));
  }
  .nav-list > li:last-child { border-bottom: none; }
  .nav-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px !important;
    border-bottom: none !important;
    font-size: 16px !important;
    font-weight: 600;
    color: var(--text);
    min-height: 56px;
  }
  .nav-list > li > a.active {
    color: var(--accent);
    background: rgba(255,142,84,0.05);
  }
  
  /* Drawer close button (X at top-right) */
  .nav-list::before {
    content: "✕";
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 22px;
    font-weight: 300;
    cursor: pointer;
    pointer-events: none;
  }
  
  /* Megamenu as accordion (inside drawer) */
  .has-megamenu .megamenu {
    position: static !important;
    display: none;
    width: 100% !important;
    margin: 0;
    padding: 0;
    background: rgba(122,182,255,0.04);
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    overflow: hidden;
    max-height: none;
  }
  .has-megamenu.is-open .megamenu {
    display: block;
    animation: drawerSlideDown 0.25s ease-out;
  }
  @keyframes drawerSlideDown {
    from { opacity: 0; max-height: 0; }
    to { opacity: 1; max-height: 1000px; }
  }
  .megamenu-inner {
    grid-template-columns: 1fr !important;
    display: block !important;
    gap: 0 !important;
    padding: 12px 24px 16px !important;
  }
  .megamenu-col { margin-bottom: 8px; }
  .megamenu-col:last-child { margin-bottom: 0; }
  .megamenu-title {
    font-size: 11px !important;
    color: var(--text-dim) !important;
    letter-spacing: 0.08em;
    margin-bottom: 8px !important;
  }
  .megamenu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .megamenu-list a {
    padding: 12px 14px !important;
    background: var(--bg-elevated, #1a1f35) !important;
    border-radius: 6px;
    margin-bottom: 6px;
    min-height: 48px;
    font-size: 14px !important;
  }
  .megamenu-list a .megamenu-icon {
    width: 28px !important;
    height: 28px !important;
  }
  .megamenu-cta-btn {
    margin-top: 12px;
    padding: 12px 16px !important;
    background: var(--accent) !important;
    color: #0a0e1a !important;
    font-weight: 700 !important;
    border-radius: 8px;
    text-align: center;
    justify-content: center;
  }
  
  /* Megamenu parent caret indicator */
  .has-megamenu > a .nav-caret {
    transition: transform 0.2s;
  }
  .has-megamenu.is-open > a .nav-caret {
    transform: rotate(180deg);
  }
  
  /* Backdrop overlay */
  body.menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    pointer-events: none;
  }
}


/* ===== Mobile select width fix v1.5 ===== */
@media (max-width: 768px) {
  select,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .form-row {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }
  /* Native dropdown — OS handles option list. Just keep box within viewport. */
  select option {
    word-wrap: break-word;
    white-space: normal;
  }
  /* contact form container */
  .contact-grid,
  form.contact-form,
  .contact-form-section {
    overflow-x: hidden;
    max-width: 100%;
  }
}

/* iPad / tablet medium size */
@media (max-width: 1024px) {
  .contact-grid {
    overflow-x: hidden;
  }
}


/* ===== Megamenu sub-list (mobile drawer products by category) v1.5 ===== */
.megamenu-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  background: rgba(0,0,0,0.2);
  border-radius: 6px;
  margin-top: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}
.megamenu-list li.sub-open .megamenu-sublist {
  display: block;
  animation: subListSlide 0.2s ease-out;
}
@keyframes subListSlide {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 2000px; }
}
.megamenu-sublink {
  display: block;
  padding: 10px 16px 10px 36px;
  font-size: 13px;
  color: var(--text-muted, #b8c2d8);
  text-decoration: none;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  min-height: 40px;
  background: transparent !important;
  border-radius: 0 !important;
  margin: 0 !important;
}
.megamenu-sublist li:last-child .megamenu-sublink { border-bottom: none; }
.megamenu-sublink:hover,
.megamenu-sublink:active {
  color: var(--accent, #ff8e54);
  background: rgba(255,142,84,0.06) !important;
}
.megamenu-cat-caret {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s;
  color: var(--text-dim, #8892a8);
}
.megamenu-list li.sub-open .megamenu-cat-link .megamenu-cat-caret {
  transform: rotate(180deg);
}
.megamenu-cat-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

/* Desktop: hide sub-list (only visible in mobile drawer) */
@media (min-width: 901px) {
  .megamenu-sublist { display: none !important; }
  .megamenu-cat-caret { display: none; }
}

/* Drawer close button (X) — explicit element */
.nav-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 8px;
  color: var(--text, #f1f4fb);
  cursor: pointer;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
}
.nav-close-btn:hover { background: rgba(255,255,255,0.05); }
.nav-close-btn svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 900px) {
  .nav-close-btn { display: flex; }
  /* Hide ::before pseudo-X (replaced by real button) */
  .nav-list::before { display: none !important; content: none !important; }
}


/* ===== Megamenu CTA Button — Desktop SVG fix v1.6 ===== */
.megamenu-cta-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--accent, #ff8e54);
  color: #0a0e1a !important;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s;
}
.megamenu-cta-btn:hover {
  background: #ff7a3d;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255,142,84,0.35);
}
.megamenu-cta-btn svg {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
}
.megamenu-col-cta .megamenu-cta-text {
  font-size: 13px;
  color: var(--text-muted, #b8c2d8);
  line-height: 1.6;
  margin: 0 0 14px 0;
}

/* All SVGs inside megamenu — safety net */
.megamenu svg {
  flex-shrink: 0;
}
.megamenu-cta-btn > svg,
.megamenu .megamenu-cta-btn svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px;
  max-height: 14px;
}

/* ===== Mobile Drawer — Brighter & Better Readability v1.6 ===== */
@media (max-width: 900px) {
  .nav-list {
    background: #1a2138 !important;  /* brighter than #0a0e1a */
    color: #ffffff !important;
  }
  .nav-list > li > a {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 16px !important;
  }
  .nav-list > li > a:hover,
  .nav-list > li > a:active {
    background: rgba(255,142,84,0.12) !important;
  }
  .nav-list > li > a.active {
    color: var(--accent, #ff8e54) !important;
    background: rgba(255,142,84,0.08) !important;
  }
  
  /* Megamenu inner — brighter */
  .has-megamenu .megamenu {
    background: #232a44 !important;  /* brighter than #1a1f35 */
  }
  
  /* Category section header — clear visual divider */
  .megamenu-title {
    font-size: 11px !important;
    color: #ff8e54 !important;
    letter-spacing: 0.1em;
    margin: 12px 0 10px !important;
    padding: 6px 0 6px 24px !important;
    border-bottom: 1px solid rgba(255,142,84,0.2);
    font-weight: 700 !important;
  }
  
  /* Category link — clearly distinct from products */
  .megamenu-list > li {
    margin-bottom: 6px;
    list-style: none;
  }
  .megamenu-list > li > a.megamenu-cat-link,
  .megamenu-list > li > a {
    background: #2d3654 !important;  /* slightly brighter card */
    color: #ffffff !important;
    border-radius: 8px;
    padding: 14px 16px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  }
  .megamenu-list > li > a .megamenu-icon {
    width: 32px !important;
    height: 32px !important;
    background: rgba(255,142,84,0.15);
    border-radius: 6px;
    flex-shrink: 0;
  }
  .megamenu-list > li > a .megamenu-icon svg {
    width: 18px !important;
    height: 18px !important;
    color: #ff8e54;
  }
  .megamenu-list > li > a .megamenu-label-name {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
  }
  .megamenu-list > li > a .megamenu-label-desc {
    color: #b8c2d8 !important;
    font-size: 11.5px;
    display: block;
    margin-top: 2px;
  }
  
  /* Sub-list (products under category) — distinct subtle color */
  .megamenu-sublist {
    background: #161c30 !important;  /* darker than card to indicate nested */
    border-left: 3px solid #ff8e54;
    border-radius: 0 0 6px 6px;
    margin: -2px 0 8px 12px !important;
  }
  .megamenu-sublink {
    color: #d4dcef !important;
    font-size: 13px !important;
    padding: 11px 14px 11px 22px !important;
    line-height: 1.4;
  }
  .megamenu-sublink:hover,
  .megamenu-sublink:active {
    color: #ff8e54 !important;
    background: rgba(255,142,84,0.08) !important;
  }
  
  /* Caret on category — clearer indicator */
  .megamenu-cat-caret {
    color: #ff8e54 !important;
    margin-left: auto;
  }
  .megamenu-cat-caret svg {
    width: 12px !important;
    height: 12px !important;
  }
  
  /* CTA section in mobile drawer */
  .megamenu-col-cta {
    padding: 12px 16px !important;
    margin-top: 8px;
    background: rgba(255,142,84,0.05);
    border-radius: 8px;
  }
  .megamenu-col-cta .megamenu-title {
    color: #ff8e54 !important;
    border-bottom: none;
    padding-left: 0 !important;
    margin-top: 0 !important;
  }
  .megamenu-col-cta .megamenu-cta-text {
    color: #d4dcef !important;
    font-size: 12.5px;
    margin-bottom: 10px !important;
  }
  
  /* Close button — brighter */
  .nav-close-btn {
    background: rgba(255,255,255,0.08) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.15) !important;
  }
  .nav-close-btn:hover { background: rgba(255,255,255,0.15) !important; }
}


/* ============================================================
   Custom Select (in-viewport dropdown) v1.6
   ============================================================ */
.cs-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.cs-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  min-height: 48px;
  background: var(--bg-input, #1a2138);
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 8px;
  color: var(--text, #f1f4fb);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.15s, background 0.15s;
  box-sizing: border-box;
}
.cs-trigger:hover { border-color: var(--accent, #ff8e54); }
.cs-trigger:focus {
  outline: none;
  border-color: var(--accent, #ff8e54);
  box-shadow: 0 0 0 3px rgba(255,142,84,0.12);
}
.cs-label {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-muted, #b8c2d8);
  font-size: 14px;
}
.cs-wrap.cs-has-value .cs-label {
  color: var(--text, #f1f4fb);
}
.cs-caret {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--text-muted, #b8c2d8);
  transition: transform 0.2s;
}
.cs-wrap.cs-open .cs-caret {
  transform: rotate(180deg);
  color: var(--accent, #ff8e54);
}
.cs-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #232a44;
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  z-index: 100;
  display: none;
  max-height: 280px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* Stay within viewport on mobile */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.cs-wrap.cs-open .cs-options {
  display: block;
  animation: csFadeIn 0.15s ease-out;
}
@keyframes csFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.cs-options li {
  padding: 12px 14px;
  cursor: pointer;
  color: var(--text, #f1f4fb);
  font-size: 14px;
  line-height: 1.4;
  transition: background 0.1s;
  -webkit-tap-highlight-color: transparent;
  white-space: normal;
  word-break: keep-all;
}
.cs-options li:hover {
  background: rgba(255,142,84,0.1);
  color: var(--accent, #ff8e54);
}
.cs-options li:active {
  background: rgba(255,142,84,0.18);
}

/* Mobile: ensure dropdown fits screen perfectly */
@media (max-width: 768px) {
  .cs-options {
    max-height: 60vh;
    font-size: 15px;
  }
  .cs-options li {
    padding: 14px 16px;
    font-size: 15px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .cs-trigger {
    font-size: 16px;  /* iOS no-zoom */
    min-height: 50px;
  }
  .cs-label { font-size: 15px; }
}


/* ============================================================
   Radio Chip Group (Contact form subject) — v1.8
   completely replaces native select to fix mobile dropdown issues
   ============================================================ */
.subject-radios {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  width: 100%;
}
.subject-radio-item {
  position: relative;
  margin: 0;
}
.subject-radio-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.subject-radio-item label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 12px;
  background: var(--bg-input, #1a2138);
  border: 1.5px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 10px;
  color: var(--text, #f1f4fb);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.15s ease;
  min-height: 52px;
  line-height: 1.3;
  box-sizing: border-box;
  word-break: keep-all;
}
.subject-radio-item label:hover {
  border-color: var(--accent, #ff8e54);
  background: rgba(255,142,84,0.05);
}
.subject-radio-item input[type="radio"]:focus-visible + label {
  outline: 2px solid var(--accent, #ff8e54);
  outline-offset: 2px;
}
.subject-radio-item input[type="radio"]:checked + label {
  background: linear-gradient(135deg, #ff8e54, #ff7a3d);
  color: #0a0e1a;
  font-weight: 700;
  border-color: var(--accent, #ff8e54);
  box-shadow: 0 4px 14px rgba(255,142,84,0.35);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .subject-radios {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .subject-radio-item label {
    font-size: 13px;
    padding: 12px 8px;
    min-height: 50px;
  }
}
@media (max-width: 360px) {
  .subject-radios {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Agree Checkbox Label — Horizontal & Natural — v1.8
   ============================================================ */
.checkbox-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 16px 0 !important;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 8px;
}
.checkbox-row input[type="checkbox"] {
  flex-shrink: 0 !important;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent, #ff8e54);
  cursor: pointer;
}
.checkbox-row label {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: 13.5px;
  line-height: 1.6;
  cursor: pointer;
  word-break: keep-all;
  margin: 0 !important;
}
.checkbox-row label .req-pill {
  display: inline-block;
  padding: 2px 8px;
  background: var(--accent, #ff8e54);
  color: #0a0e1a;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.checkbox-row label .agree-text {
  flex: 1;
  min-width: 0;
  word-break: keep-all;
  line-height: 1.7;
}
.checkbox-row label a {
  color: var(--accent, #ff8e54);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .checkbox-row label { font-size: 12.5px; }
  .checkbox-row label .req-pill { font-size: 10px; padding: 2px 7px; }
}

/* ============================================================
   Terms / Privacy Modal — v1.8
   ============================================================ */
.terms-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: tmFadeIn 0.2s ease-out;
}
.terms-modal-backdrop.open { display: flex; }
@keyframes tmFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.terms-modal {
  position: relative;
  background: #f8f9fb;
  color: #1a1f35;
  border-radius: 14px;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: tmSlideIn 0.25s ease-out;
  overflow: hidden;
}
@keyframes tmSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.terms-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e8ee;
  background: #ffffff;
  flex-shrink: 0;
}
.terms-modal-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0a0e1a;
}
.terms-modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #d4d8e0;
  border-radius: 8px;
  color: #1a1f35;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}
.terms-modal-close:hover {
  background: #f1f3f7;
  border-color: #1a1f35;
}
.terms-modal-close svg { width: 18px; height: 18px; }
.terms-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  font-size: 14px;
  line-height: 1.75;
  color: #1a1f35;
}
.terms-modal-body h1, .terms-modal-body h2, .terms-modal-body h3 {
  color: #0a0e1a;
  margin-top: 1.4em;
}
.terms-modal-body h1:first-child { margin-top: 0; }
.terms-modal-body table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.terms-modal-body th, .terms-modal-body td { padding: 8px 10px; border: 1px solid #d4d8e0; text-align: left; }
.terms-modal-body th { background: #f1f3f7; font-weight: 600; }
.terms-modal-body a { color: #ff7a3d; }
.terms-modal-loading {
  padding: 60px 20px;
  text-align: center;
  color: #6b7180;
}
@media (max-width: 600px) {
  .terms-modal-backdrop { padding: 0; }
  .terms-modal {
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    max-width: 100%;
  }
  .terms-modal-header { padding: 14px 16px; }
  .terms-modal-title { font-size: 15px; }
  .terms-modal-body { padding: 16px 18px; font-size: 13.5px; }
}

body.modal-open { overflow: hidden; }


/* ============================================================
   Breadcrumb (Page location indicator) — v1.10
   ============================================================ */
.breadcrumb {
  margin: 0 0 24px 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
}
.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
  padding: 0 var(--container-pad, 24px);
}
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted, #b8c2d8);
  line-height: 1;
  margin: 0;
}
.breadcrumb-item a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted, #b8c2d8);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.breadcrumb-item a:hover {
  color: var(--accent, #ff8e54);
  background: rgba(255,142,84,0.06);
}
.breadcrumb-item a svg {
  flex-shrink: 0;
  opacity: 0.7;
}
.breadcrumb-item.breadcrumb-current {
  color: var(--text, #f1f4fb);
  font-weight: 600;
}
.breadcrumb-item.breadcrumb-current span {
  padding: 4px 6px;
}
.breadcrumb-sep {
  color: var(--text-dim, #6b7180);
  font-size: 14px;
  user-select: none;
  list-style: none;
  margin: 0;
}

@media (max-width: 600px) {
  .breadcrumb {
    padding: 10px 0;
    margin: 0 0 16px 0;
  }
  .breadcrumb-list {
    gap: 4px;
    padding: 0 16px;
  }
  .breadcrumb-item {
    font-size: 12px;
  }
  .breadcrumb-item a,
  .breadcrumb-item.breadcrumb-current span {
    padding: 4px 4px;
  }
}

/* Print: hide breadcrumb */
@media print {
  .breadcrumb,
  .breadcrumb-no-print {
    display: none !important;
  }
}


/* ============================================================
   Policy Info List (dl/dt/dd) — replaces tables — v1.11
   ============================================================ */
.policy-info {
  margin: 16px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 8px;
  overflow: hidden;
}
.policy-info dt {
  margin: 0;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text, #f1f4fb);
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.06));
  display: flex;
  align-items: center;
}
.policy-info dd {
  margin: 0;
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--text, #f1f4fb);
  line-height: 1.7;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.06));
  border-left: 1px solid var(--border, rgba(255,255,255,0.06));
}
.policy-info dt:last-of-type,
.policy-info dd:last-of-type {
  border-bottom: none;
}

@media (max-width: 600px) {
  .policy-info {
    grid-template-columns: 1fr;
  }
  .policy-info dt {
    padding: 10px 14px 6px;
    background: rgba(255,142,84,0.08);
    color: var(--accent, #ff8e54);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-bottom: none;
  }
  .policy-info dd {
    padding: 6px 14px 12px;
    border-left: none;
    border-bottom: 1px solid var(--border, rgba(255,255,255,0.06));
  }
  .policy-info dt:last-of-type {
    border-top: 1px solid var(--border, rgba(255,255,255,0.06));
  }
  .policy-info dt:first-of-type {
    border-top: none;
  }
}

/* Modal-specific override (light theme inside modal) */
.terms-modal-body .policy-info {
  border: 1px solid #d4d8e0;
}
.terms-modal-body .policy-info dt {
  background: #f1f3f7;
  color: #0a0e1a;
  border-bottom-color: #d4d8e0;
}
.terms-modal-body .policy-info dd {
  background: #ffffff;
  color: #1a1f35;
  border-bottom-color: #e5e8ee;
  border-left-color: #d4d8e0;
}
@media (max-width: 600px) {
  .terms-modal-body .policy-info dt {
    background: #fff5ee;
    color: #ff7a3d;
  }
  .terms-modal-body .policy-info dd {
    background: #ffffff;
    color: #1a1f35;
  }
}


/* ============================================================
   Modal table/list color override — ensure visibility — v1.11
   ============================================================ */
.terms-modal-body * {
  color: #1a1f35 !important;
}
.terms-modal-body a {
  color: #ff7a3d !important;
  text-decoration: underline;
}
.terms-modal-body strong {
  color: #0a0e1a !important;
  font-weight: 700;
}
.terms-modal-body h1, 
.terms-modal-body h2, 
.terms-modal-body h3, 
.terms-modal-body h4 {
  color: #0a0e1a !important;
  font-weight: 700;
}
.terms-modal-body h2 {
  color: #ff7a3d !important;
  border-bottom: 2px solid #ff7a3d;
  padding-bottom: 6px;
  margin-top: 32px !important;
}
.terms-modal-body h2:first-child { margin-top: 0 !important; }

/* dl/dt/dd inside modal — clear visibility */
.terms-modal-body dl.policy-info {
  border: 1px solid #d4d8e0 !important;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff !important;
}
.terms-modal-body dl.policy-info dt {
  background: #f1f3f7 !important;
  color: #0a0e1a !important;
  font-weight: 700 !important;
  border-bottom: 1px solid #d4d8e0 !important;
  padding: 12px 14px !important;
}
.terms-modal-body dl.policy-info dd {
  background: #ffffff !important;
  color: #1a1f35 !important;
  border-bottom: 1px solid #e5e8ee !important;
  border-left: 1px solid #d4d8e0 !important;
  padding: 12px 14px !important;
  line-height: 1.7;
}
.terms-modal-body dl.policy-info dt:last-of-type,
.terms-modal-body dl.policy-info dd:last-of-type {
  border-bottom: none !important;
}

@media (max-width: 600px) {
  .terms-modal-body dl.policy-info {
    grid-template-columns: 1fr !important;
  }
  .terms-modal-body dl.policy-info dt {
    background: #fff5ee !important;
    color: #ff7a3d !important;
    border-left: none !important;
  }
}

.terms-modal-body p {
  color: #1a1f35 !important;
  line-height: 1.75;
  margin: 12px 0;
}
.terms-modal-body ul, .terms-modal-body ol {
  color: #1a1f35 !important;
}
.terms-modal-body ul li, .terms-modal-body ol li {
  color: #1a1f35 !important;
  margin: 6px 0;
}

/* Hide breadcrumb inside modal */
.terms-modal-body .breadcrumb { display: none !important; }


/* ============================================================
   MOBILE DRAWER v3.0 — ID-based, image-style design
   ID specificity (100) overrides any class conflict
   ============================================================ */

/* === Backdrop (separate DOM element) === */
#mobile-backdrop-v3 {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 99000;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease;
}
#mobile-backdrop-v3.open {
  display: block;
  opacity: 1;
}

/* === Drawer (separate DOM element) === */
#mobile-drawer-v3 {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86vw;
  max-width: 380px;
  height: 100vh;
  margin: 0;
  padding: 0;
  background: #ffffff;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
  z-index: 99999;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  font-family: inherit;
  color: #1a1f35;
}
#mobile-drawer-v3.open {
  display: block;
  transform: translateX(0);
}

/* Hide on desktop */
@media (min-width: 901px) {
  #mobile-drawer-v3,
  #mobile-backdrop-v3 {
    display: none !important;
  }
}

/* === Drawer Header (navy bar with title + X) === */
#mdv3-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  background: #1e3a5f;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 5;
}
#mdv3-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}
#mdv3-close {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}
#mdv3-close:hover,
#mdv3-close:active {
  background: rgba(255, 255, 255, 0.12);
}
#mdv3-close svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

/* === Body === */
#mdv3-body {
  background: #ffffff;
  padding: 0;
  margin: 0;
}
.mdv3-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mdv3-list > li {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #eef0f4;
  background: #ffffff;
}
.mdv3-list > li:last-child {
  border-bottom: none;
}

/* Top-level link */
.mdv3-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 18px 20px;
  background: #ffffff;
  color: #1a1f35;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  box-sizing: border-box;
  border: none;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}
.mdv3-link:hover,
.mdv3-link:active {
  background: #fff7f1;
  color: #ff7a3d;
}
.mdv3-link.active {
  color: #ff7a3d;
  background: #fff5ee;
  border-left: 3px solid #ff7a3d;
  padding-left: 17px;
}

/* Caret */
.mdv3-caret {
  color: #6b7180;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.mdv3-has-sub.open .mdv3-caret {
  transform: rotate(180deg);
  color: #ff7a3d;
}

/* === Sub-panel (製品紹介 expansion) === */
.mdv3-sub {
  background: #f8f9fb;
  padding: 8px 0 16px;
  border-top: 1px solid #eef0f4;
}
.mdv3-sub[hidden] { display: none; }
.mdv3-sub-title {
  font-size: 11px;
  font-weight: 700;
  color: #ff7a3d;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 20px 8px;
}

/* Category list */
.mdv3-cat-list {
  list-style: none;
  margin: 0;
  padding: 0 12px;
}
.mdv3-cat-item {
  list-style: none;
  margin: 6px 0;
  padding: 0;
}
.mdv3-cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 13px 14px;
  background: #ffffff;
  color: #0a0e1a;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
  transition: all 0.15s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.mdv3-cat-btn:hover,
.mdv3-cat-btn:active {
  background: #fff7f1;
  border-color: #ff8e54;
}
.mdv3-cat-name {
  flex: 1;
  text-align: left;
  font-weight: 600;
  color: #0a0e1a;
}
.mdv3-cat-caret {
  color: #6b7180;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.mdv3-cat-item.open .mdv3-cat-caret {
  transform: rotate(180deg);
  color: #ff7a3d;
}

/* Product list (sub-list) */
.mdv3-prod-list {
  list-style: none;
  margin: 4px 0 8px 8px;
  padding: 0;
  background: #ffffff;
  border: 1px solid #e5e8ee;
  border-left: 3px solid #ff8e54;
  border-radius: 0 8px 8px 0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.mdv3-prod-list[hidden] { display: none; }
.mdv3-prod-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mdv3-prod-link {
  display: block;
  padding: 11px 14px;
  color: #1a1f35;
  font-size: 12.5px;
  text-decoration: none;
  background: transparent;
  border-bottom: 1px solid #f1f3f7;
  line-height: 1.4;
  font-weight: 500;
}
.mdv3-prod-list li:last-child .mdv3-prod-link {
  border-bottom: none;
}
.mdv3-prod-link:hover,
.mdv3-prod-link:active {
  background: #fff7f1;
  color: #ff7a3d;
}

/* CTA button */
.mdv3-cta {
  display: block;
  margin: 12px 12px 0;
  padding: 13px 16px;
  background: #ff7a3d;
  color: #ffffff;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.mdv3-cta:hover,
.mdv3-cta:active {
  background: #ff6a23;
}

/* Body lock when drawer open */
body.mdv3-open {
  overflow: hidden;
}

/* === On mobile, hide the legacy nav-list completely === */
@media (max-width: 900px) {
  body .nav-list,
  body .nav-list.mobile-drawer-v2,
  body ul.nav-list {
    display: none !important;
  }
  /* Hide also the menu-backdrop pseudo */
  body.menu-open::after,
  body::after {
    display: none !important;
    content: none !important;
  }
  /* Header — solid (no blur) on mobile */
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(28, 36, 64, 1) !important;
  }
}


/* ============================================================
   Footer — bottom spacing (links not stuck to page edge)
   ============================================================ */
.site-footer {
  padding-bottom: 32px;
}
.footer-bottom {
  padding-bottom: 12px;
}
@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 24px;
  }
}


/* ============================================================
   Modal — .policy-content inside modal (consistent with page)
   ============================================================ */
.terms-modal-body .policy-content {
  background: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #1a1f35 !important;
}
.terms-modal-body .policy-content,
.terms-modal-body .policy-content * {
  color: #1a1f35 !important;
}
.terms-modal-body .policy-content h1 {
  color: #0a0e1a !important;
  border-bottom-color: #ff7a3d !important;
}
.terms-modal-body .policy-content h2 {
  color: #ff7a3d !important;
  border-bottom-color: #ff7a3d !important;
}
.terms-modal-body .policy-content h3 {
  color: #0a0e1a !important;
}
.terms-modal-body .policy-content a {
  color: #ff7a3d !important;
}
.terms-modal-body .policy-content strong {
  color: #0a0e1a !important;
}


/* ============================================================
   Mobile Optimization v3.3 — Final polish
   ============================================================ */

/* iOS auto-zoom prevention — input/textarea/select 16px+ */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="url"],
  input[type="search"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important; /* iOS auto-zoom prevention */
  }
  
  /* Touch target — min 44px (Apple) / 48px (Android) */
  button,
  .btn,
  a.btn,
  input[type="submit"],
  input[type="button"],
  .nav-toggle,
  .header-actions a,
  .footer-chip {
    min-height: 44px;
  }
  
  /* Block horizontal scroll */
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  /* Mobile font legibility — Noto Sans JP for Kanji/Kana */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "palt" 1; /* JP letter spacing */
  }
  
  /* Body legibility */
  p, li {
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  
  /* Container side padding */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  /* Auto-responsive images */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Tables — horizontal scroll on mobile */
  .policy-content table,
  .terms-modal-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    max-width: 100%;
  }
  .policy-content dl.policy-info,
  .terms-modal-body dl.policy-info {
    display: block;
    white-space: normal;
  }
}

/* Anti-aliasing desktop (Noto Sans JP) */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* JP font feature settings */
:root {
  font-feature-settings: "palt" 1;
}
