:root {
  --bg-black: #000000;
  --bg-page: #07080b;
  --bg-surface: #0d0f14;
  --bg-card: rgba(16, 18, 24, 0.76);
  --bg-input: rgba(9, 10, 14, 0.9);

  --line-hero: rgba(255, 255, 255, 0.28);
  --line: rgba(255, 255, 255, 0.11);
  --line-hover: rgba(255, 255, 255, 0.24);
  --line-strong: rgba(255, 255, 255, 0.88);

  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.46);

  --white-btn: #f4f5f8;
  --white-btn-text: #0b0d12;

  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.12);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono {
  font-family: var(--font-mono);
}

.mt-xs { margin-top: 8px; }
.mt-md { margin-top: 14px; }

/* =========================================================
   HERO STAGE (MILKINSIDE FULL-BLEED ARCHITECTURAL STYLE)
   ========================================================= */
.hero-stage {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: #0c0e13;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url('./hero-bg.jpg') center center / cover no-repeat;
  transform: scale(1.01);
  z-index: 0;
}

/* Signature muted slate-blue top band from Milkinside Slide 02 */
.hero-header-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(50, 71, 106, 0.72) 0%,
    rgba(50, 71, 106, 0.42) 11%,
    rgba(16, 20, 28, 0.08) 24%,
    transparent 45%,
    rgba(7, 8, 11, 0.72) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Subtle left readability scrim over slatted wall */
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 10, 14, 0.62) 0%,
    rgba(8, 10, 14, 0.32) 45%,
    rgba(8, 10, 14, 0.05) 75%
  );
  z-index: 1;
  pointer-events: none;
}

/* Top Overlay Header */
.site-header {
  position: relative;
  z-index: 10;
  padding: 28px clamp(24px, 4.5vw, 56px) 0;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.brand-logo-sm {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.micro-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.micro-nav a,
.micro-nav-btn {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.18s ease;
}

.micro-nav a:hover,
.micro-nav-btn:hover {
  color: #ffffff;
}

.micro-count {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Two-bar asymmetric minimalist menu trigger */
.menu-trigger {
  width: 34px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  padding: 0;
}

.menu-trigger .bar {
  display: block;
  height: 1.5px;
  background: #ffffff;
  transition: width 0.2s ease, opacity 0.2s ease;
}

.menu-trigger .bar-top {
  width: 22px;
}

.menu-trigger .bar-bottom {
  width: 14px;
}

.menu-trigger:hover .bar-bottom {
  width: 22px;
}

/* Editorial 1px Hairline Index Bar */
.index-bar,
.section-rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-hero);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.section-rule {
  border-top-color: var(--line);
  margin-bottom: 48px;
}

.index-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.index-num {
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.9);
}

.index-dash {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}

.index-right {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

/* Far-right rotated vertical edge tab */
.edge-tab {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  z-index: 30;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 6px;
  transition: color 0.18s ease;
}

.edge-tab:hover {
  color: #ffffff;
}

/* Asymmetric Hero Content */
.hero-content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(56px, 11vh, 130px) clamp(24px, 4.5vw, 56px) clamp(32px, 5vh, 52px);
}

.hero-copy {
  max-width: 600px;
}

.hero-headline {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 18px;
}

.hero-subline {
  font-size: clamp(0.98rem, 1.35vw, 1.16rem);
  font-weight: 300;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.78);
  max-width: 440px;
}

/* Signature Dual-Tone Frosted Glass Bottom Dock */
.glass-dock {
  display: flex;
  align-items: center;
  max-width: 760px;
  margin-top: 48px;
}

.dock-left {
  flex: 0 0 280px;
  min-height: 92px;
  padding: 20px 36px 20px 24px;
  border-radius: 15px;
  background: rgba(10, 12, 17, 0.84);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dock-left:hover {
  background: rgba(14, 17, 24, 0.94);
  border-color: rgba(255, 255, 255, 0.24);
}

.dock-eyebrow {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.56);
  font-weight: 400;
}

.dock-title {
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

/* White rounded-square bridge button straddling the two glass panels */
.dock-bridge {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--white-btn);
  color: var(--white-btn-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 -20px;
  position: relative;
  z-index: 4;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}

.dock-bridge:hover {
  transform: scale(1.06) translateX(2px);
  background: #ffffff;
}

.dock-right {
  flex: 1;
  min-height: 92px;
  padding: 18px 26px 18px 36px;
  border-radius: 15px;
  background: rgba(34, 42, 58, 0.46);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dock-metric {
  display: flex;
  align-items: center;
  gap: 11px;
}

.metric-num {
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.metric-text {
  font-size: 0.7rem;
  line-height: 1.32;
  color: rgba(255, 255, 255, 0.68);
}

.dock-sep {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.14);
}

/* =========================================================
   STICKY 5-STEP ORDER STEPPER BAR
   ========================================================= */
.order-stepper {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 8, 12, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stepper-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.stepper-inner::-webkit-scrollbar { display: none; }

.stepper-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.stepper-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.stepper-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line-hover);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.stepper-item.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.stepper-item.is-active .stepper-dot {
  background: #ffffff;
  color: #090b10;
  border-color: #ffffff;
}

.stepper-item.is-done {
  color: rgba(255, 255, 255, 0.86);
}

.stepper-item.is-done .stepper-dot {
  background: rgba(52, 211, 153, 0.18);
  border-color: rgba(52, 211, 153, 0.65);
  color: #34d399;
}

.stepper-line {
  flex: 1;
  min-width: 14px;
  height: 1px;
  background: var(--line);
}

/* =========================================================
   EDITORIAL MAIN & SECTIONS
   ========================================================= */
.editorial-main {
  background: linear-gradient(180deg, #07080b 0%, #090b10 50%, #06070a 100%);
}

.ed-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4.5vw, 56px);
}

.ed-section {
  padding: 64px 0;
}

.section-intro {
  max-width: 620px;
  margin-bottom: 28px;
}

.ed-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 12px;
}

.ed-subtitle {
  font-size: 0.96rem;
  color: var(--text-soft);
  font-weight: 300;
}

/* Category Filter Toolbar */
.cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.cat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.16s ease;
}

.cat-filter-btn:hover {
  border-color: var(--line-hover);
  color: #ffffff;
}

.cat-filter-btn.is-active {
  background: #ffffff;
  border-color: #ffffff;
  color: #090b10;
  font-weight: 600;
}

.cat-search-wrap {
  min-width: 260px;
  flex: 0 1 320px;
}

.cat-search-wrap input {
  padding: 9px 14px;
  font-size: 0.84rem;
  border-radius: 999px;
}

.cat-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Categories Grid (Monochrome Editorial Cards) */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.category-card {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0;
  overflow: hidden;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.cat-preview {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #090b10;
  position: relative;
}

.cat-preview-svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.35s ease;
}

.category-card:hover .cat-preview-svg {
  transform: scale(1.04);
}

.cat-body {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.category-card:hover {
  border-color: var(--line-hover);
  background: rgba(24, 27, 36, 0.85);
  transform: translateY(-2px);
}

.category-card.is-selected {
  border-color: #34d399;
  background: rgba(52, 211, 153, 0.08);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.4), 0 12px 28px -10px rgba(16, 185, 129, 0.25);
}

.cat-selected-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  background: #34d399;
  color: #06130d;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.category-card.is-selected .cat-selected-badge {
  opacity: 1;
  transform: scale(1);
}

/* Step 1 Continue Bar below Category 25 */
.step-continue-bar {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(16, 20, 28, 0.92);
  border: 1px solid rgba(52, 211, 153, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  scroll-margin-bottom: 40px;
}

.step-continue-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.selected-pill {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #06130d;
  background: #34d399;
  padding: 4px 10px;
  border-radius: 999px;
}

.selected-pill.is-pending {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

.btn.is-locked {
  opacity: 0.42;
  cursor: not-allowed;
}

.btn.is-locked:hover {
  transform: none;
}

.stepper-item.is-locked {
  opacity: 0.45;
}

.step-continue-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
}

.panel-next-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.cat-index {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.category-card.is-selected .cat-index {
  color: #ffffff;
}

.cat-tag {
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-soft);
}

.category-card.is-selected .cat-tag {
  background: #ffffff;
  color: #090b10;
  border-color: #ffffff;
  font-weight: 600;
}

.cat-title {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.cat-desc {
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 300;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.cat-foot {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* =========================================================
   ORDER FORM & STICKY SUMMARY
   ========================================================= */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 336px;
  gap: 20px;
  align-items: start;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  backdrop-filter: blur(16px);
  scroll-margin-top: 68px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.glass-panel:focus-within {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.panel-head-text {
  flex: 1;
  min-width: 0;
}

.panel-step {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #090b10;
  background: #ffffff;
  border-radius: 6px;
  padding: 4px 8px;
  line-height: 1;
  white-space: nowrap;
}

.step-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-hover);
  color: var(--text-muted);
  white-space: nowrap;
}

.step-status.is-done {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}

.panel-head h3 {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 1px;
}

.panel-head p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
  letter-spacing: 0.01em;
}

.req { color: #f87171; }
.opt { color: var(--text-muted); font-weight: 400; font-size: 0.72rem; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  padding: 9px 12px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

textarea {
  resize: vertical;
  min-height: 68px;
  line-height: 1.48;
}

select { cursor: pointer; }

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--line-hover);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 255, 255, 0.75);
  background: #0d0f15;
}

input.has-error,
textarea.has-error {
  border-color: var(--danger);
}

.field-error {
  font-size: 0.75rem;
  color: var(--danger);
  min-height: 0;
}

.field-error:empty {
  display: none;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.char-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Pills (Monochrome Active State) */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-option {
  cursor: pointer;
}

.pill-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-option span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: var(--bg-input);
  border: 1px solid var(--line);
  color: var(--text-soft);
  transition: all 0.16s ease;
}

.pill-option:hover span {
  border-color: var(--line-hover);
  color: #fff;
}

.pill-option input:checked + span {
  background: #ffffff;
  border-color: #ffffff;
  color: #090b10;
  font-weight: 600;
}

/* Color Picker & Detailed Palette */
.color-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.color-active-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

.color-palette-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.color-picker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.color-picker-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

input[type="color"] {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  padding: 3px;
  flex-shrink: 0;
}

input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
input[type="color"]::-webkit-color-swatch { border: none; border-radius: 5px; }

#primaryColorHex {
  width: 96px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  padding: 9px 10px;
  flex-shrink: 0;
}

.color-palette-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
}

.swatch {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 32px;
  justify-self: center;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.swatch:hover {
  transform: scale(1.14);
  border-color: rgba(255, 255, 255, 0.75);
}

.swatch.is-active {
  transform: scale(1.12);
  border-color: #ffffff;
  box-shadow: 0 0 0 2px #090b10, 0 0 0 4px #ffffff;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.feature-check {
  cursor: pointer;
  position: relative;
}

.feature-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.feature-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 11px;
  border-radius: 10px;
  background: var(--bg-input);
  border: 1px solid var(--line);
  height: 100%;
  transition: all 0.16s ease;
}

.feature-check:hover .feature-box {
  border-color: var(--line-hover);
}

.feature-check input:checked + .feature-box {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.78);
}

.feature-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffffff;
}

.feature-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Inspiration Rows */
.inspiration-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inspiration-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 10px;
  align-items: center;
}

.btn-remove-row {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.15rem;
}

.btn-remove-row:hover {
  color: var(--danger);
  border-color: rgba(248, 113, 113, 0.4);
}

.form-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Buttons (Monochrome Architectural) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-sm { padding: 8px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 26px; font-size: 0.92rem; }
.btn-full { width: 100%; padding: 14px 20px; }

.btn-white {
  background: var(--white-btn);
  color: var(--white-btn-text);
  font-weight: 600;
}

.btn-white:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: #ffffff;
  border-color: var(--line-hover);
  background: rgba(255, 255, 255, 0.04);
}

.btn-danger-ghost {
  background: transparent;
  color: var(--danger);
  border-color: rgba(248, 113, 113, 0.25);
}

.btn-danger-ghost:hover {
  background: var(--danger-soft);
}

/* Sticky Summary Sidebar */
.summary-sidebar {
  position: sticky;
  top: 66px;
}

.summary-card {
  background: rgba(12, 14, 19, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

.micro-label {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.summary-top {
  padding-bottom: 12px;
  margin-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.summary-top h3 {
  font-size: 1rem;
  font-weight: 500;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.summary-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.summary-label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.summary-val {
  font-size: 0.88rem;
  color: #ffffff;
  word-break: break-word;
}

.summary-val.muted {
  color: rgba(255, 255, 255, 0.34);
  font-style: italic;
}

.summary-color-val {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mini-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.summary-divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}

.summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.summary-chip {
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-soft);
}

.summary-completeness {
  margin-bottom: 18px;
}

.comp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.76rem;
}

.progress-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #ffffff;
  transition: width 0.25s ease;
}

.summary-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Feedback Section */
.feedback-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.28fr;
  gap: 32px;
  align-items: start;
}

.feedback-intro .ed-title {
  margin-bottom: 12px;
}

.feedback-highlights {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.feedback-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.feedback-highlight-item .mono {
  font-size: 0.72rem;
  color: var(--text-muted);
  min-width: 22px;
}

.feedback-form {
  display: flex;
  flex-direction: column;
}

.opt-tag {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.feedback-rating-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.star-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.25);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.14s ease, border-color 0.14s ease, background 0.14s ease, transform 0.14s ease;
}

.star-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.45);
}

.star-btn.is-active,
.star-btn.is-hover {
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.1);
}

.feedback-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.feedback-success {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.09);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.feedback-success[hidden] {
  display: none;
}

.feedback-success-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #10b981;
  color: #090b10;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feedback-success strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
}

.feedback-success p {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.process-item {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.process-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.process-item h3 {
  font-size: 1.02rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.process-item p {
  font-size: 0.86rem;
  color: var(--text-soft);
  font-weight: 300;
}

/* Footer */
.ed-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: #050608;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-sep {
  color: var(--text-muted);
}

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

.copy-link-btn {
  background: transparent;
  border: none;
  color: var(--text-soft);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s ease;
}

.copy-link-btn:hover { color: #ffffff; }

/* =========================================================
   FULL-SCREEN PURE BLACK MENU OVERLAY (MILKINSIDE STYLE)
   ========================================================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-black);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-shell {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px clamp(24px, 4.5vw, 56px);
}

.circle-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
}

.circle-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.menu-columns {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 280px));
  gap: 48px;
  align-content: center;
  padding: 40px 0;
}

.menu-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.menu-col h4 {
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.menu-col a,
.menu-action-link {
  text-align: left;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: #9a9ca3;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.16s ease, transform 0.16s ease;
}

.menu-col a:hover,
.menu-action-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

/* =========================================================
   MODAL & RIGHT-SIDE DRAWER
   ========================================================= */
.modal-backdrop,
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  z-index: 130;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.modal-backdrop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.drawer-backdrop {
  display: flex;
  justify-content: flex-end;
}

.modal-backdrop.is-open,
.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0c0e13;
  border: 1px solid var(--line-hover);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}

.modal-close-pos {
  position: absolute;
  top: 18px;
  right: 18px;
}

.receipt-hero {
  text-align: center;
  margin-bottom: 18px;
}

.receipt-check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: #34d399;
  font-size: 1.25rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.modal h2 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 2px;
}

.confirm-desc {
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Dia-Style Tactile Thermal Paper Fiscal Receipt ("Bon Fiscal Unic") */
.receipt-ticket {
  margin: 18px auto 24px;
  background-color: #f6f3eb;
  background-image:
    /* Subtle paper fold crease across upper & lower third */
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.45) 0%,
      transparent 14%,
      rgba(20, 18, 14, 0.045) 31%,
      rgba(255, 255, 255, 0.55) 32.5%,
      transparent 38%,
      rgba(20, 18, 14, 0.04) 67%,
      rgba(255, 255, 255, 0.5) 68.5%,
      transparent 76%,
      rgba(20, 18, 14, 0.06) 100%
    ),
    /* Soft organic thermal-paper marks / warm edge patina */
    radial-gradient(ellipse at 12% 18%, rgba(168, 134, 92, 0.1) 0%, transparent 42%),
    radial-gradient(ellipse at 88% 76%, rgba(120, 108, 92, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 82% 14%, rgba(20, 22, 28, 0.05) 0%, transparent 28%);
  color: #15161a;
  padding: 26px 22px 22px;
  position: relative;
  font-family: var(--font-mono);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.5) inset,
    0 28px 65px rgba(0, 0, 0, 0.72),
    0 8px 20px rgba(0, 0, 0, 0.45);
  border: none;
  border-radius: 2px;
  transform: rotate(-0.55deg);
  transition: transform 0.25s ease;
}

.receipt-ticket:hover {
  transform: rotate(0deg);
}

/* Iconic serrated paper tear edges (top & bottom) */
.receipt-ticket::before,
.receipt-ticket::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background-size: 16px 8px;
  background-repeat: repeat-x;
}

.receipt-ticket::before {
  top: -8px;
  background-image:
    linear-gradient(135deg, transparent 50%, #f6f3eb 50%),
    linear-gradient(225deg, transparent 50%, #f6f3eb 50%);
}

.receipt-ticket::after {
  bottom: -8px;
  background-image:
    linear-gradient(45deg, transparent 50%, #f6f3eb 50%),
    linear-gradient(-45deg, transparent 50%, #f6f3eb 50%);
}

/* Tilted ink stamp mark on receipt */
.receipt-stamp {
  position: absolute;
  top: 22px;
  right: 18px;
  transform: rotate(11deg);
  border: 2px solid rgba(16, 138, 96, 0.55);
  color: rgba(16, 138, 96, 0.72);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(16, 138, 96, 0.2) inset;
}

.receipt-head {
  text-align: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1.5px dashed rgba(21, 22, 26, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.receipt-brand {
  color: #0e1014;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.receipt-subhead {
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  color: #626670;
  text-transform: uppercase;
}

.receipt-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 11px;
  margin-bottom: 11px;
  border-bottom: 1.5px dashed rgba(21, 22, 26, 0.22);
}

.receipt-section-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #5b5f69;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.74rem;
  line-height: 1.4;
}

.receipt-key {
  color: #5b5f69;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.receipt-val {
  color: #111317;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.receipt-color-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.receipt-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.3);
  display: inline-block;
}

.receipt-item-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.receipt-item-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.71rem;
  color: #1c1e24;
}

.receipt-item-qty {
  color: #626670;
  flex-shrink: 0;
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0e1014;
  padding: 4px 0 2px;
}

.receipt-brief-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.receipt-brief-label {
  font-size: 0.64rem;
  font-weight: 700;
  color: #5b5f69;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.receipt-brief-box {
  background: rgba(21, 22, 26, 0.045);
  border-left: 2px solid #15161a;
  padding: 7px 10px;
  font-size: 0.72rem;
  color: #1e2026;
  line-height: 1.48;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--font-sans);
}

.receipt-barcode-wrap {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.receipt-barcode {
  width: 80%;
  height: 36px;
  background: repeating-linear-gradient(
    90deg,
    #141519 0px, #141519 2px,
    transparent 2px, transparent 4px,
    #141519 4px, #141519 5px,
    transparent 5px, transparent 8px,
    #141519 8px, #141519 11px,
    transparent 11px, transparent 13px,
    #141519 13px, #141519 14px,
    transparent 14px, transparent 18px,
    #141519 18px, #141519 21px,
    transparent 21px, transparent 23px
  );
  opacity: 0.88;
}

.receipt-footer-code {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: #4b4f58;
}

.receipt-thanks {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #15161a;
  font-weight: 700;
  text-transform: uppercase;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.drawer {
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #08090d;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(24px);
  transition: transform 0.24s ease;
}

.drawer-backdrop.is-open .drawer {
  transform: translateX(0);
}

.drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.drawer-header h2 {
  font-size: 1.15rem;
  font-weight: 500;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
}

.order-history-card {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-history-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.order-history-title {
  font-weight: 500;
  font-size: 0.98rem;
}

.order-history-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.order-history-brief {
  font-size: 0.82rem;
  color: var(--text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.order-history-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.empty-state {
  text-align: center;
  padding: 56px 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(14, 16, 22, 0.94);
  backdrop-filter: blur(14px);
  color: #ffffff;
  border: 1px solid var(--line-hover);
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.84rem;
  z-index: 200;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .order-layout { grid-template-columns: 1fr; }
  .summary-sidebar { position: static; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .feedback-layout { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 820px) {
  .micro-nav { display: none; }
  .edge-tab { display: none; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .glass-dock {
    flex-direction: column;
    align-items: stretch;
  }
  .dock-left { flex: auto; padding: 16px 18px; min-height: auto; }
  .dock-bridge {
    margin: -14px auto;
    transform: rotate(90deg);
  }
  .dock-right {
    padding: 22px 18px 16px;
    min-height: auto;
    flex-wrap: wrap;
    gap: 12px;
  }
  .dock-sep { display: none; }
  .menu-columns { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 680px) {
  .ed-container { padding: 0 14px; }
  .ed-section { padding: 38px 0; }
  .section-rule { margin-bottom: 18px; }
  .section-intro { margin-bottom: 16px; }
  .ed-title { font-size: 1.45rem; margin-bottom: 6px; }
  .ed-subtitle { font-size: 0.84rem; }

  /* Ultra-compact mobile category toolbar & 2-col grid */
  .cat-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 14px;
  }
  .cat-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding-bottom: 2px;
  }
  .cat-filters::-webkit-scrollbar { display: none; }
  .cat-filter-btn {
    flex-shrink: 0;
    padding: 6px 11px;
    font-size: 0.66rem;
  }
  .cat-search-wrap {
    min-width: 0;
    flex: auto;
    width: 100%;
  }
  .cat-search-wrap input {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .category-card { border-radius: 10px; }
  .cat-preview { aspect-ratio: 16 / 9; }
  .cat-body {
    padding: 9px 10px 10px;
    gap: 5px;
  }
  .cat-index { font-size: 0.62rem; }
  .cat-tag {
    font-size: 0.5rem;
    padding: 2px 6px;
    letter-spacing: 0.08em;
  }
  .cat-title { font-size: 0.8rem; line-height: 1.2; }
  .cat-desc {
    font-size: 0.69rem;
    line-height: 1.32;
    -webkit-line-clamp: 2;
  }
  .cat-foot {
    padding-top: 6px;
    font-size: 0.6rem;
  }
  .cat-foot span:last-child { display: none; }
  .color-palette-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 6px;
  }

  /* Compact mobile order steps */
  .order-form { gap: 10px; }
  .glass-panel { padding: 14px; border-radius: 12px; }
  .panel-head { padding-bottom: 10px; margin-bottom: 12px; gap: 10px; }
  .panel-head h3 { font-size: 0.92rem; }
  .panel-head p { font-size: 0.74rem; }
  .form-grid-2 { grid-template-columns: 1fr; gap: 9px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .feature-box { padding: 8px 9px; border-radius: 8px; }
  .feature-title { font-size: 0.74rem; }
  .feature-sub { display: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .inspiration-row { grid-template-columns: 1fr; }
  .summary-card { padding: 15px; }
  .form-footer-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
}