/* ==========================================================================
   TACTIC Diving Equipment — Unified Design System ("Abyssal Ink & Titanium")
   ========================================================================== */

:root {
  --bg-void: #060a10;
  --bg-surface: #0b111b;
  --bg-elevated: #101927;
  --bg-card: #131d2d;
  --bg-card-hover: #182538;
  --bg-stage: #ffffff;
  --bg-stage-alt: #f4f6fa;
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);
  --bg-header: rgba(6, 10, 16, 0.84);
  --bg-header-scrolled: rgba(6, 10, 16, 0.95);
  --bg-dropdown: rgba(13, 20, 32, 0.98);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.24);

  --text-primary: #f4f7fb;
  --text-secondary: #a1b0c5;
  --text-muted: #687890;

  --accent-orange: #ff6b1a;
  --accent-orange-hover: #ff823d;
  --accent-orange-soft: rgba(255, 107, 26, 0.14);
  --accent-orange-glow: rgba(255, 107, 26, 0.32);

  --accent-gold: #d4a853;
  --accent-gold-soft: rgba(212, 168, 83, 0.14);
  --accent-cyan: #38bdf8;

  --success: #10b981;
  --danger: #ef4444;

  --font-display: 'Oswald', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.32);
  --shadow-elevated: 0 24px 60px rgba(0, 0, 0, 0.5);
  --container-max: 1280px;
  --nav-height: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="light"] {
  --bg-void: #f4f6fa;
  --bg-surface: #ffffff;
  --bg-elevated: #edf1f7;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-stage: #ffffff;
  --bg-stage-alt: #f1f5f9;
  --bg-glass: rgba(15, 23, 42, 0.04);
  --bg-glass-hover: rgba(15, 23, 42, 0.08);
  --bg-header: rgba(255, 255, 255, 0.86);
  --bg-header-scrolled: rgba(255, 255, 255, 0.96);
  --bg-dropdown: rgba(255, 255, 255, 0.98);

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-strong: rgba(15, 23, 42, 0.22);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --accent-gold: #b45309;
  --accent-gold-soft: rgba(180, 83, 9, 0.1);
  --shadow-card: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-elevated: 0 20px 48px rgba(15, 23, 42, 0.14);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-primary);
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-out), opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tactic-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.tactic-main {
  flex: 1;
  position: relative;
}

.bg-tactical-grid {
  background-image:
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* Eyebrow & Section Headers */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.section-eyebrow::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--accent-orange);
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-heading {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.section-subheading {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 560px;
}

.btn-outline-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
  background: var(--bg-glass);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn-outline-ghost:hover {
  border-color: var(--accent-orange);
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  transform: translateY(-1px);
}

.btn-primary-signal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-orange) 0%, #ff8743 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 24px var(--accent-orange-glow);
  transition: all 0.25s var(--ease-out);
}

.btn-primary-signal:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 107, 26, 0.45);
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */

.tactic-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--bg-header);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.tactic-header.is-scrolled {
  background: var(--bg-header-scrolled);
  border-bottom-color: var(--border-medium);
}

html[data-theme="light"] .tactic-logo img,
html[data-theme="light"] .tactic-mobile-head img,
html[data-theme="light"] .footer-top-brand img,
html[data-theme="light"] .tactic-repair-icon img {
  filter: brightness(0);
}

.tactic-nav-inner {
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tactic-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.tactic-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.tactic-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tactic-nav-item {
  position: relative;
}

.tactic-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.tactic-nav-link:hover,
.tactic-nav-item.active > .tactic-nav-link {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

.tactic-nav-item.active > .tactic-nav-link {
  color: var(--accent-orange);
  background: var(--accent-orange-soft);
}

.tactic-nav-link svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.tactic-nav-dropdown:hover .tactic-nav-link svg,
.tactic-nav-dropdown.open .tactic-nav-link svg {
  transform: rotate(180deg);
}

/* Mega Dropdown Menu */
.tactic-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 440px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-dropdown);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-elevated);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.22s var(--ease-out);
  z-index: 1001;
}

.tactic-nav-dropdown:hover .tactic-dropdown-menu,
.tactic-nav-dropdown.open .tactic-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.tactic-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.tactic-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.tactic-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.tactic-dropdown-link:hover {
  color: var(--text-primary);
  background: var(--accent-orange-soft);
  border-color: rgba(255, 107, 26, 0.28);
}

.tactic-dropdown-link .cat-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.tactic-dropdown-all {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--accent-orange);
}

/* Header Actions */
.tactic-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
  background: var(--bg-glass);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-support-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  background: var(--accent-orange-soft);
}

.nav-theme-btn,
.nav-cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: var(--bg-glass);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.nav-theme-btn:hover,
.nav-cart-btn:hover {
  border-color: var(--accent-orange);
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
}

.nav-theme-btn svg,
.nav-cart-btn svg {
  width: 18px;
  height: 18px;
}

.nav-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}

.tactic-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-medium);
  background: var(--bg-glass);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Drawer */
.tactic-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.tactic-mobile-drawer.is-open {
  display: block;
}

.tactic-mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.72);
  backdrop-filter: blur(6px);
}

.tactic-mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--bg-surface);
  border-left: 1px solid var(--border-medium);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.tactic-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.tactic-mobile-head img {
  height: 26px;
}

.tactic-mobile-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-glass);
  color: var(--text-primary);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tactic-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
}

.tactic-mobile-link:hover,
.tactic-mobile-link.active {
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
}

.tactic-mobile-subcats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 8px 0 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 8px;
}

.tactic-mobile-subcat {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

@media (max-width: 1024px) {
  .tactic-nav-links,
  .nav-support-btn {
    display: none;
  }
  .tactic-mobile-toggle {
    display: inline-flex;
  }
}

/* ==========================================================================
   HOMEPAGE — HERO SHOWCASE
   ========================================================================== */

.hero-showcase {
  position: relative;
  background: var(--bg-void);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.hero-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1981 / 1120;
  max-height: calc(100vh - 140px);
  min-height: 400px;
  overflow: hidden;
  background: #05080d;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.65s var(--ease-out), transform 0.9s var(--ease-out), visibility 0.65s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.12) 0%, rgba(6, 10, 16, 0) 40%, rgba(6, 10, 16, 0.72) 100%);
  pointer-events: none;
}

.hero-slide-cta {
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  bottom: clamp(24px, 5vw, 56px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-slide-tag {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(6, 10, 16, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(6, 10, 16, 0.55);
  backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.hero-arrow:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: translateY(-50%) scale(1.06);
}

.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

/* Hero Switcher Bar */
.hero-controls-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.hero-tabs {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero-tab {
  position: relative;
  padding: 18px 24px;
  border: none;
  border-right: 1px solid var(--border-subtle);
  background: transparent;
  text-align: left;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background 0.25s ease, color 0.25s ease;
}

.hero-tab:last-child {
  border-right: none;
}

.hero-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--accent-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.hero-tab.is-active {
  background: var(--accent-orange-soft);
  color: var(--text-primary);
}

.hero-tab.is-active::before {
  transform: scaleX(1);
}

.hero-tab-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1;
}

.hero-tab.is-active .hero-tab-num {
  color: var(--accent-orange);
}

.hero-tab-title {
  font-size: 15px;
  font-weight: 600;
  color: inherit;
  margin-bottom: 2px;
}

.hero-tab-desc {
  font-size: 12.5px;
  color: var(--text-muted);
}

.hero-slide-cta .btn-outline-ghost {
  background: rgba(6, 10, 16, 0.65);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(10px);
}

.hero-slide-cta .btn-outline-ghost:hover {
  border-color: var(--accent-orange);
  background: var(--accent-orange);
  color: #fff;
}

@media (max-width: 768px) {
  .hero-slides {
    aspect-ratio: 16 / 10;
    min-height: 220px;
  }
  .hero-arrow {
    width: 34px;
    height: 34px;
  }
  .hero-arrow.prev { left: 10px; }
  .hero-arrow.next { right: 10px; }
  .hero-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-tab {
    border-right: 1px solid var(--border-subtle);
    border-bottom: none;
    padding: 10px 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .hero-tab:last-child {
    border-right: none;
  }
  .hero-tab-num {
    font-size: 16px;
  }
  .hero-tab-title {
    font-size: 12px;
    line-height: 1.3;
  }
  .hero-tab-desc {
    display: none;
  }
  .hero-slide-tag {
    display: none;
  }
  .hero-slide-cta {
    bottom: 10px;
    left: 12px;
    right: 12px;
    gap: 8px;
  }
  .hero-slide-cta .btn-primary-signal,
  .hero-slide-cta .btn-outline-ghost {
    padding: 7px 14px;
    font-size: 12px;
  }
}

/* ==========================================================================
   HOMEPAGE — MANIFESTO STRIP
   ========================================================================== */

.manifesto-strip {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
  padding: 26px 0;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.manifesto-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
}

.manifesto-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-orange-soft);
  border: 1px solid rgba(255, 107, 26, 0.25);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.manifesto-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.manifesto-sub {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .manifesto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   HOMEPAGE — INTERACTIVE DIY CUSTOMIZER SPOTLIGHT
   ========================================================================== */

.diy-spotlight-section {
  padding: 88px 0;
  background: radial-gradient(circle at 75% 40%, rgba(255, 107, 26, 0.08), transparent 55%), var(--bg-void);
  border-bottom: 1px solid var(--border-subtle);
}

.diy-spotlight-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-elevated);
}

.diy-stage-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 480px;
  width: 100%;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at center, #ffffff 0%, #e9eef5 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.diy-stage-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: opacity 0.22s ease;
}

.diy-stage-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 4;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(11, 17, 27, 0.86);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.diy-controls-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
}

.diy-controls-panel > p {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0 0 28px;
}

.diy-mini-zone {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.diy-mini-zone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13.5px;
  font-weight: 600;
}

.diy-mini-zone-name {
  color: var(--text-primary);
}

.diy-mini-zone-val {
  color: var(--accent-orange);
  font-size: 12.5px;
}

.diy-mini-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.diy-mini-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.diy-mini-swatch:hover {
  transform: scale(1.14);
}

.diy-mini-swatch.active {
  border-color: var(--bg-card);
  box-shadow: 0 0 0 3px var(--accent-orange);
  transform: scale(1.1);
}

.diy-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .diy-spotlight-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 28px;
  }
}

/* ==========================================================================
   HOMEPAGE — FEATURED GEAR & PRODUCT CARDS
   ========================================================================== */

.featured-section {
  padding: 88px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.tactic-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tactic-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
}

.tactic-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 26, 0.45);
  box-shadow: var(--shadow-card);
}

.tactic-card-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #ffffff;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.tactic-card-stage img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s var(--ease-out);
}

.tactic-product-card:hover .tactic-card-stage img {
  transform: scale(1.06);
}

.tactic-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(11, 17, 27, 0.86);
  color: #f4f7fb;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.tactic-card-badge.is-diy {
  background: var(--accent-orange);
  color: #fff;
}

.tactic-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.tactic-card-cat {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent-gold);
  letter-spacing: 0.06em;
}

.tactic-card-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.38;
}

.tactic-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tactic-card-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.tactic-card-price.is-inquiry {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-gold);
}

.tactic-card-price-old {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

.tactic-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-orange);
}

.tactic-product-card:hover .tactic-card-cta {
  color: var(--accent-orange-hover);
}

@media (max-width: 1024px) {
  .tactic-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   HOMEPAGE — 7-CATEGORY BENTO & FIELD GUIDES
   ========================================================================== */

.categories-section {
  padding: 88px 0;
  background: var(--bg-void);
  border-bottom: 1px solid var(--border-subtle);
}

.category-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.bento-cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: block;
}

.bento-cat-card.is-wide {
  grid-column: span 2;
  aspect-ratio: 8 / 5;
}

.bento-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.bento-cat-card:hover img {
  transform: scale(1.07);
}

.bento-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.05) 35%, rgba(6, 10, 16, 0.88) 100%);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 0.3s ease;
}

.bento-cat-card:hover .bento-cat-overlay {
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.1) 25%, rgba(6, 10, 16, 0.94) 100%);
}

.bento-cat-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.bento-cat-name {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bento-cat-name span.arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.bento-cat-card:hover .bento-cat-name span.arrow {
  background: var(--accent-orange);
  transform: translateX(3px);
}

@media (max-width: 960px) {
  .category-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-cat-card.is-wide {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .category-bento {
    grid-template-columns: 1fr;
  }
  .bento-cat-card,
  .bento-cat-card.is-wide {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
}

/* Field Stories Split */
.stories-section {
  padding: 88px 0;
  background: var(--bg-surface);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.story-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-medium);
  display: block;
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.story-card:hover img {
  transform: scale(1.05);
}

.story-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.12) 0%, rgba(6, 10, 16, 0.9) 100%);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.story-pill {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 107, 26, 0.2);
  border: 1px solid rgba(255, 107, 26, 0.45);
  color: #ffb085;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.story-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.story-card p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--text-secondary);
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.story-card:hover .story-link {
  color: var(--accent-orange);
}

@media (max-width: 768px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }
  .story-card {
    aspect-ratio: 4 / 3;
  }
  .story-card-overlay {
    padding: 22px;
  }
}

/* ==========================================================================
   SHOPPING INDEX (CATEGORY SHOWCASE)
   ========================================================================== */

.shop-index-hero {
  position: relative;
  padding: 72px 0 54px;
  background:
    linear-gradient(180deg, rgba(6, 10, 16, 0.78), rgba(6, 10, 16, 0.94)),
    url('../images/tactic/maobi.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--border-subtle);
  color: #f4f7fb;
}

.shop-index-hero .section-eyebrow {
  color: #d4a853;
}

.shop-index-hero p {
  margin: 0;
  color: #cbd5e1;
  font-size: 16px;
}

.shop-index-grid-section {
  padding: 56px 0 88px;
  background: var(--bg-void);
}

.shop-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.shop-index-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  display: block;
}

.shop-index-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.shop-index-card:hover img {
  transform: scale(1.06);
}

.shop-index-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.05) 40%, rgba(6, 10, 16, 0.92) 100%);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.shop-index-card-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.shop-index-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.shop-index-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-orange);
}

@media (max-width: 960px) {
  .shop-index-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .shop-index-grid {
    grid-template-columns: 1fr;
  }
  .shop-index-card {
    aspect-ratio: 4 / 3;
  }
}

/* ==========================================================================
   SHOPPING LIST (CATALOG)
   ========================================================================== */

.catalog-header {
  padding: 56px 0 40px;
  background: radial-gradient(circle at 20% 0%, rgba(255, 107, 26, 0.12), transparent 50%), var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.catalog-header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.catalog-header h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
}

.catalog-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.catalog-search-box {
  display: flex;
  align-items: center;
  width: min(420px, 100%);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 4px 6px 4px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-search-box:focus-within {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px var(--accent-orange-soft);
}

.catalog-search-box input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  min-width: 0;
}

.catalog-search-box input::placeholder {
  color: var(--text-muted);
}

.catalog-search-box button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--accent-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.catalog-body {
  padding: 40px 0 88px;
  background: var(--bg-void);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 32px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  min-width: 0;
}

.product-grid-container {
  min-width: 0;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.filter-header h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.filter-header a#clear-filters {
  font-size: 13px;
  color: var(--accent-orange);
}

.filter-group h3 {
  margin: 0 0 12px;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  transition: background 0.2s ease;
}

.filter-option:hover {
  background: var(--bg-glass);
}

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-orange);
  cursor: pointer;
}

.filter-option label {
  flex: 1;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}

.filter-option input[type="checkbox"]:checked + label {
  color: var(--text-primary);
  font-weight: 600;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.product-count {
  font-size: 14px;
  color: var(--text-secondary);
}

.search-results-info {
  margin-top: 12px;
  font-size: 13px;
  color: var(--accent-gold);
}

.sort-by {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.sort-by select {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 13.5px;
  outline: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 72px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px dashed var(--border-medium);
}

.empty-state svg {
  width: 64px;
  height: 64px;
  color: var(--text-muted);
  margin: 0 auto 16px;
}

.empty-state h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.empty-state p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

#pagination-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.page-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13.5px;
  transition: all 0.2s ease;
}

.page-btn:hover:not(.disabled) {
  border-color: var(--accent-orange);
  color: var(--text-primary);
}

.page-btn.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
  font-weight: 600;
}

.page-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .catalog-sidebar {
    position: static;
    max-width: 100%;
    overflow: hidden;
  }
  #filter-container .filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  #filter-container .filter-group h3 {
    width: 100%;
    margin-bottom: 4px;
  }
  .filter-option {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
  }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */

.product-detail-section {
  padding: 28px 0 88px;
  background: var(--bg-void);
}

.product-detail-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumb-nav {
  padding: 10px 0 24px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  opacity: 0.45;
}

.breadcrumb-list a:hover {
  color: var(--accent-orange);
}

.breadcrumb-list li:last-child {
  color: var(--text-primary);
  font-weight: 500;
}

.product-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}

.product-gallery {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  min-width: 0;
}

.gallery-main {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at center, #ffffff 0%, #eef2f7 100%);
  border: 1px solid var(--border-medium);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
  margin-bottom: 14px;
}

.gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.35s var(--ease-out);
}

.gallery-main:hover img {
  transform: scale(1.03);
}

.gallery-thumbs-wrap {
  position: relative;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  width: 74px;
  height: 74px;
  border-radius: var(--radius-md);
  background: #f5f7fa;
  border: 2px solid transparent;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  padding: 4px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumb.active {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 2px var(--accent-orange-soft);
}

.gallery-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: rgba(11, 17, 27, 0.9);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.gallery-scroll-btn.visible {
  display: flex;
}

.gallery-scroll-btn.left { left: 4px; }
.gallery-scroll-btn.right { right: 4px; }

.gallery-scroll-btn svg {
  width: 16px;
  height: 16px;
}

/* Product Info Column */
.product-info {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  min-width: 0;
}

.product-title {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.price-section {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 107, 26, 0.08);
  border: 1px solid rgba(255, 107, 26, 0.24);
  margin-bottom: 22px;
}

.product-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.product-price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  color: var(--accent-orange);
  line-height: 1;
}

.product-price::before {
  content: '¥';
  font-size: 20px;
  margin-right: 3px;
}

.product-price.is-inquiry-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.product-inquiry-label {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-gold);
}

.product-original-price {
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-original-price::before {
  content: '¥';
}

.product-description {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.option-section {
  margin-bottom: 22px;
}

.option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.option-label .selected-val {
  color: var(--accent-orange);
  font-weight: 500;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-option {
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background: var(--bg-glass);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.size-option:hover:not(.disabled) {
  border-color: rgba(255, 107, 26, 0.6);
  color: var(--text-primary);
}

.size-option.active {
  border-color: var(--accent-orange);
  background: var(--accent-orange-soft);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--accent-orange);
}

.size-option.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.quantity-selector {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background: var(--bg-glass);
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover:not(:disabled) {
  background: var(--bg-glass-hover);
}

.qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.qty-input {
  width: 56px;
  height: 40px;
  border: none;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  outline: none;
}

.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}

.btn-cart,
.btn-buy {
  height: 50px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s var(--ease-out);
}

.btn-cart {
  border: 1px solid var(--border-strong);
  background: var(--bg-glass);
  color: var(--text-primary);
}

.btn-cart:hover {
  border-color: var(--accent-orange);
  background: var(--accent-orange-soft);
}

.btn-cart svg {
  width: 18px;
  height: 18px;
}

.btn-buy {
  border: none;
  background: linear-gradient(135deg, var(--accent-orange) 0%, #ff8743 100%);
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-orange-glow);
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 107, 26, 0.45);
}

/* Color Customization Workshop */
.color-customization-section {
  margin: 56px 0;
  padding: 36px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-card);
}

.color-customization-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.color-customization-title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
}

.color-customization-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.color-preview-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}

.color-preview-box {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  min-width: 0;
}

.suit-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at center, #ffffff 0%, #e9eef5 100%);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.suit-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.suit-base {
  opacity: 0.15;
}

.color-controls {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  min-width: 0;
}

.color-controls-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.color-controls-title svg {
  width: 18px;
  height: 18px;
  color: var(--accent-orange);
}

.color-zone-group {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.color-zone-group:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.color-zone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.color-zone-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.color-zone-selected {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  font-size: 12px;
  font-weight: 600;
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-height: 92px;
  overflow: hidden;
  padding: 4px;
  transition: max-height 0.35s ease;
}

.color-options.expanded {
  max-height: 800px;
}

.color-option {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.color-option:hover {
  transform: scale(1.12);
}

.color-option.active {
  border-color: var(--bg-card);
  box-shadow: 0 0 0 3px var(--accent-orange);
  transform: scale(1.08);
}

.color-toggle-btn {
  margin-top: 10px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
  background: var(--bg-glass);
  color: var(--text-secondary);
  font-size: 12px;
}

.color-toggle-btn.hidden {
  display: none;
}

.customization-actions-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Detail & Effect Gallery */
.detail-section,
.effect-section {
  margin-top: 56px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.section-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.detail-content {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

.effect-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.effect-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  cursor: zoom-in;
}

.effect-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s var(--ease-out);
}

.effect-item:hover img {
  transform: scale(1.02);
}

.link-section {
  margin-top: 48px;
  padding: 36px;
  border-radius: var(--radius-xl);
  background: var(--accent-orange-soft);
  border: 1px solid rgba(255, 107, 26, 0.3);
  text-align: center;
}

.link-section a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: var(--radius-pill);
  background: var(--accent-orange);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.link-section svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 920px) {
  .product-main,
  .color-preview-container,
  .effect-gallery {
    grid-template-columns: 1fr;
  }
  .product-gallery,
  .color-preview-box {
    position: static;
  }
}

@media (max-width: 560px) {
  .product-info,
  .color-customization-section {
    padding: 20px;
  }
  .action-buttons {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.about-hero-banner {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center 28%;
  border-bottom: 1px solid var(--border-subtle);
}

.about-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.15) 0%, rgba(6, 10, 16, 0.45) 55%, rgba(6, 10, 16, 0.94) 100%);
}

.about-hero-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 24px 36px;
}

.about-hero-caption h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #fff;
}

.about-hero-caption p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
}

.about-story-section {
  padding: 80px 0;
  background: var(--bg-void);
}

.about-timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.timeline-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 12px;
}

.timeline-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.timeline-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.about-narrative {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px;
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.about-paragraph {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin: 0 0 22px;
}

.about-paragraph:last-child {
  margin-bottom: 0;
}

.about-highlight {
  color: var(--accent-orange);
  font-weight: 700;
}

.about-vision-band {
  padding: 76px 24px;
  background: linear-gradient(135deg, rgba(255, 107, 26, 0.1) 0%, var(--bg-surface) 70%);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.about-vision-text {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  color: var(--text-primary);
}

.about-vision-subtext {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
}

@media (max-width: 860px) {
  .about-timeline-grid {
    grid-template-columns: 1fr;
  }
  .about-narrative {
    padding: 26px;
  }
}

/* ==========================================================================
   MANUAL PAGE
   ========================================================================== */

.manual-page {
  padding: 72px 0 96px;
  background: var(--bg-void);
}

.manual-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.manual-header {
  margin-bottom: 40px;
}

.manual-header h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 700;
}

.manual-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.manual-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.manual-item:hover {
  border-color: var(--accent-orange);
  transform: translateY(-2px);
}

.manual-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.manual-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--text-secondary);
}

.manual-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.manual-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-orange), #ff8743);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.manual-download-btn:hover {
  color: #fff;
  box-shadow: 0 8px 22px var(--accent-orange-glow);
}

@media (max-width: 640px) {
  .manual-item {
    flex-direction: column;
    align-items: stretch;
  }
  .manual-download-btn {
    justify-content: center;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 36px;
  color: var(--text-secondary);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.footer-brand-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-column h4 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.footer-column ul li a:hover {
  color: var(--accent-orange);
}

.footer-categories {
  padding-top: 28px;
  margin-bottom: 28px;
  border-top: 1px solid var(--border-subtle);
}

.footer-categories h4 {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-tag {
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-secondary);
}

.category-tag:hover {
  background: var(--accent-orange-soft);
  border-color: var(--accent-orange);
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}

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

/* ==========================================================================
   MODALS, CART DRAWER & TOASTS
   ========================================================================== */

.tactic-auth-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 6, 12, 0.72);
  backdrop-filter: blur(8px);
  z-index: 99999;
  padding: 20px;
}

.tactic-auth-overlay.is-open {
  display: flex;
}

.tactic-repair-modal {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}

.tactic-auth-modal__header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tactic-auth-modal__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.tactic-auth-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--bg-glass-hover);
  color: var(--text-secondary);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tactic-auth-close:hover {
  background: var(--border-medium);
  color: var(--text-primary);
}

.tactic-auth-modal__body {
  padding: 24px 22px;
}

.tactic-repair-content {
  text-align: center;
}

.tactic-repair-icon img {
  height: 36px;
  margin: 0 auto 18px;
}

.tactic-repair-text {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 16px;
}

.tactic-repair-label {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.tactic-repair-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 0.06em;
  margin: 0;
}

.tactic-repair-hint {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

/* Floating Cart & Panel */
.cart-float-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent-orange) 0%, #ff8a47 100%);
  color: #fff;
  box-shadow: 0 10px 28px var(--accent-orange-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  transition: transform 0.25s ease;
}

.cart-float-btn:hover {
  transform: scale(1.06);
}

.cart-float-btn svg {
  width: 24px;
  height: 24px;
}

.cart-float-btn .cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-panel {
  position: fixed;
  right: 24px;
  bottom: 92px;
  width: min(390px, calc(100vw - 32px));
  max-height: 72vh;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevated);
  display: none;
  flex-direction: column;
  z-index: 9997;
  overflow: hidden;
}

.cart-panel.show {
  display: flex;
}

.cart-panel-header,
.cart-panel-footer {
  padding: 16px 20px;
  background: var(--bg-elevated);
}

.cart-panel-header {
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-panel-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.cart-panel-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--bg-glass-hover);
  color: var(--text-secondary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}

.cart-item-image {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: #f5f7fa;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.cart-item-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-meta,
.cart-item-colors {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-orange);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--border-medium);
  background: var(--bg-glass);
  color: var(--text-primary);
}

.cart-item-qty {
  min-width: 20px;
  text-align: center;
  font-size: 13px;
}

.cart-item-delete {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: none;
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-delete svg {
  width: 13px;
  height: 13px;
}

.cart-empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted);
}

.cart-empty svg {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  opacity: 0.45;
}

.cart-panel-footer {
  border-top: 1px solid var(--border-subtle);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cart-total-label {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.cart-total-value {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent-orange);
}

.cart-checkout-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-orange), #ff8743);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
}

.cart-checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.guest-checkout-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.72);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}

.guest-checkout-modal.show {
  display: flex;
}

.guest-checkout-content {
  width: 100%;
  max-width: 560px;
  max-height: 82vh;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.guest-checkout-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.guest-checkout-header h3 {
  margin: 0;
  font-size: 17px;
  color: var(--text-primary);
}

.guest-checkout-body {
  padding: 20px 22px;
  overflow-y: auto;
}

.guest-checkout-body pre {
  background: var(--bg-void);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.guest-checkout-footer {
  padding: 16px 22px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
}

.tactic-toast,
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: #10b981;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  z-index: 999999;
  opacity: 0;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.tactic-toast.show,
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.tactic-toast.error,
.toast.error {
  background: #ef4444;
}

.tactic-toast.info {
  background: #2563eb;
}

/* Lightbox */
.tactic-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.9);
  backdrop-filter: blur(10px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tactic-lightbox.is-open {
  display: flex;
}

.tactic-lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
  background: #fff;
}

.tactic-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   MOBILE RESPONSIVE OVERHAUL (<= 768px)
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .tactic-container,
  .product-detail-container,
  .footer-container,
  .manual-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tactic-nav-inner {
    padding: 0 14px;
    gap: 12px;
  }

  .tactic-logo img {
    height: 24px;
  }

  .tactic-nav-actions {
    gap: 8px;
  }

  .nav-theme-btn,
  .nav-cart-btn,
  .tactic-mobile-toggle {
    width: 36px;
    height: 36px;
  }

  /* 手机端导航栏已有常驻购物车图标，隐藏右下角悬浮圆球避免遮挡内容 */
  .cart-float-btn {
    display: none !important;
  }

  .cart-panel {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-height: 76vh;
  }

  .manifesto-strip {
    padding: 16px 0;
  }

  .manifesto-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .manifesto-item {
    padding: 6px;
    gap: 10px;
  }

  .manifesto-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .manifesto-title {
    font-size: 12.5px;
  }

  .manifesto-sub {
    font-size: 11px;
  }

  .diy-spotlight-section,
  .featured-section,
  .categories-section,
  .stories-section,
  .about-story-section,
  .manual-page {
    padding: 44px 0;
  }

  .section-heading-row {
    margin-bottom: 22px;
    gap: 12px;
  }

  .diy-spotlight-card {
    padding: 16px;
    gap: 20px;
    border-radius: var(--radius-lg);
  }

  .diy-stage-visual {
    max-height: 320px;
  }

  .diy-mini-zone {
    padding: 12px 14px;
    margin-bottom: 10px;
  }

  .diy-mini-swatch {
    width: 26px;
    height: 26px;
  }

  .diy-cta-row {
    flex-direction: column;
    align-items: stretch;
    margin-top: 18px;
  }

  .diy-cta-row .btn-primary-signal,
  .diy-cta-row .btn-outline-ghost {
    width: 100%;
    justify-content: center;
  }

  /* 手机端商品网格改为紧凑双列橱窗，提升浏览效率 */
  .tactic-product-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .tactic-card-stage {
    aspect-ratio: 1 / 1;
    padding: 12px;
  }

  .tactic-card-badge {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 10px;
  }

  .tactic-card-body {
    padding: 12px;
    gap: 6px;
  }

  .tactic-card-cat {
    font-size: 10px;
  }

  .tactic-card-title {
    font-size: 13.5px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .tactic-card-footer {
    padding-top: 8px;
    gap: 6px;
  }

  .tactic-card-price {
    font-size: 15.5px;
  }

  .tactic-card-price.is-inquiry {
    font-size: 12px;
  }

  .tactic-card-cta {
    font-size: 11px;
  }

  .category-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .bento-cat-card,
  .bento-cat-card.is-wide {
    grid-column: span 1;
    aspect-ratio: 4 / 5;
  }

  .bento-cat-card.is-wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }

  .bento-cat-overlay {
    padding: 14px;
  }

  .bento-cat-name {
    font-size: 16px;
  }

  .bento-cat-name span.arrow {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  /* 商城列表筛选条手机端横向滚动 */
  .catalog-header {
    padding: 28px 0 22px;
  }

  .catalog-body {
    padding: 20px 0 56px;
  }

  .catalog-sidebar {
    padding: 14px 16px;
  }

  #filter-container .filter-group {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  #filter-container .filter-group::-webkit-scrollbar {
    display: none;
  }

  #filter-container .filter-group h3 {
    display: none;
  }

  .filter-option {
    flex-shrink: 0;
    margin-bottom: 0;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: var(--bg-glass);
  }

  .filter-option label {
    font-size: 13px;
    white-space: nowrap;
  }

  /* 详情页手机端优化 */
  .product-detail-section {
    padding: 14px 0 56px;
  }

  .breadcrumb-nav {
    padding: 6px 0 14px;
  }

  .product-main {
    gap: 20px;
    margin-bottom: 36px;
  }

  .gallery-main {
    padding: 14px;
    border-radius: var(--radius-lg);
  }

  .gallery-thumb {
    width: 58px;
    height: 58px;
  }

  .product-info {
    padding: 18px;
    border-radius: var(--radius-lg);
  }

  .product-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .price-section {
    padding: 12px 14px;
    margin-bottom: 14px;
  }

  .product-price {
    font-size: 26px;
  }

  .size-option {
    font-size: 12.5px;
    padding: 8px 12px;
  }

  .action-buttons {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .btn-cart,
  .btn-buy {
    height: 44px;
    font-size: 13.5px;
  }

  .color-customization-section {
    margin: 32px 0;
    padding: 18px;
    border-radius: var(--radius-lg);
  }

  .color-customization-title {
    font-size: 20px;
  }

  .color-controls {
    padding: 16px;
  }

  .color-option {
    width: 32px;
    height: 32px;
  }

  .about-hero-banner {
    min-height: 320px;
  }

  .about-hero-caption {
    padding: 20px 16px;
  }

  .about-narrative {
    padding: 20px;
  }

  .footer-section {
    padding: 40px 0 28px;
  }

  .footer-grid {
    gap: 20px;
  }
}

@media (max-width: 360px) {
  .tactic-product-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
}
