/* ==========================================================================
   CYNEST CREATIVE STUDIO — VISUAL IDENTITY & E-COMMERCE STYLESHEET
   Color System (Brand Guidelines Edition 01 / 2026):
   - Forest Green:    #2F4A32 (Primary — 32%)
   - Sand Beige:      #E7D9B8 (Secondary — 20%)
   - Charcoal:        #2B2B28 (Neutral — 16%)
   - Clay Red:        #C42828 (Accent / CTA — 10%)
   - Lime:            #C5D86D (Highlight — 7%)
   - Logo Deep Green: #36552D (Signature Logo — 10%)
   - Logo Yellow:     #F5E51B (Signature Logo — 5%)
   Typography: Archivo (Black 900, Bold 700, Regular 400) + JetBrains Mono
   ========================================================================== */

:root {
  /* Core Brand Palette */
  --forest-green: #2F4A32;
  --forest-green-light: #3B5C3F;
  --forest-green-dark: #223624;
  --clay-red: #C42828;
  --clay-red-hover: #D93232;
  --clay-red-dark: #9E1F1F;
  --sand-beige: #E7D9B8;
  --sand-beige-light: #F3ECD9;
  --sand-beige-muted: #CBBBA0;
  --charcoal: #2B2B28;
  --lime: #C5D86D;
  --logo-green: #36552D;
  --logo-yellow: #F5E51B;

  /* Default Theme: Industrial Dark (Alur Web 1, 2, 3 + Charcoal & Forest System) */
  --bg-body: #0E110E;
  --bg-surface: #151915;
  --bg-card: #1A1F1A;
  --bg-card-elevated: #222822;
  --bg-input: #121612;
  --text-primary: #F4EFE4;
  --text-secondary: #C5BFB0;
  --text-muted: #8C887B;
  --border-color: rgba(231, 217, 184, 0.16);
  --border-strong: rgba(231, 217, 184, 0.32);
  --grid-line: rgba(197, 216, 109, 0.045);
  --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.42);

  /* Typography */
  --font-sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Editorial Sand Mode (Brand Guidelines Editorial Recipe: Sand Beige + Forest Green + Charcoal) */
html[data-theme="editorial-sand"] {
  --bg-body: #E7D9B8;
  --bg-surface: #EFE4CA;
  --bg-card: #2B2B28;
  --bg-card-elevated: #2F4A32;
  --bg-input: #1E201D;
  --text-primary: #F4EFE4;
  --text-secondary: #DCD3BE;
  --text-muted: #A9A292;
  --border-color: rgba(43, 43, 40, 0.22);
  --border-strong: rgba(47, 74, 50, 0.45);
  --grid-line: rgba(47, 74, 50, 0.08);
  --shadow-card: 0 12px 28px rgba(43, 43, 40, 0.2);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

html[data-theme="editorial-sand"] body {
  color: var(--charcoal);
}

/* ==========================================================================
   PRE-OPENING INTRO VIDEO SPLASH SCREEN
   ========================================================================== */
body.intro-locked {
  overflow: hidden;
}

.intro-video-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #090C09;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.65s;
}

.intro-video-overlay.intro-dismissed {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  pointer-events: none;
}

.intro-video-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: radial-gradient(circle at center, #1C2B1E 0%, #090C09 100%);
}

.intro-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.intro-overlay-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  background: linear-gradient(to bottom, rgba(14, 17, 14, 0.88) 0%, rgba(14, 17, 14, 0) 100%);
  flex-wrap: wrap;
}

.intro-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(43, 43, 40, 0.85);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(231, 217, 184, 0.28);
  padding: 8px 16px 8px 10px;
  border-radius: var(--radius-md);
}

.intro-mini-logo {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--logo-yellow);
}

.intro-brand-meta {
  display: flex;
  flex-direction: column;
}

.intro-brand-meta strong {
  font-size: 0.88rem;
  color: #FFFFFF;
  letter-spacing: 0.04em;
}

.intro-brand-meta span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--logo-yellow);
}

.intro-top-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.intro-ctrl-btn {
  background: rgba(43, 43, 40, 0.85);
  backdrop-filter: blur(8px);
  color: var(--sand-beige);
  border: 1.5px solid rgba(231, 217, 184, 0.35);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.intro-ctrl-btn:hover {
  background: var(--forest-green);
  color: #FFFFFF;
  border-color: var(--lime);
}

.intro-overlay-bottom {
  position: relative;
  z-index: 3;
  padding: 28px 32px 24px;
  background: linear-gradient(to top, rgba(14, 17, 14, 0.94) 15%, rgba(14, 17, 14, 0) 100%);
}

.intro-caption-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.intro-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
}

.intro-subtext {
  font-size: 0.95rem;
  color: var(--sand-beige);
}

.intro-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(231, 217, 184, 0.2);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.intro-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--lime) 0%, var(--logo-yellow) 50%, var(--clay-red) 100%);
  transition: width 0.15s linear;
}

/* Technical Grid Overlay (06. Graphic Language: Technical grid) */
.tech-grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.hidden {
  display: none !important;
}

img {
  max-width: 100%;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
}

/* ==========================================================================
   TOP TECHNICAL STRIP & HEADER
   ========================================================================== */
.tech-topbar {
  background-color: var(--charcoal);
  color: var(--sand-beige);
  border-bottom: 1px solid rgba(231, 217, 184, 0.15);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 8px 0;
  position: relative;
  z-index: 20;
}

.tech-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tech-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.04em;
}

.tech-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--lime);
  display: inline-block;
  box-shadow: 0 0 8px var(--lime);
}

.tech-divider {
  color: var(--lime);
  opacity: 0.7;
}

.tech-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-switch-btn,
.flow-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.theme-switch-btn {
  background: rgba(231, 217, 184, 0.1);
  color: var(--sand-beige);
  border: 1px solid rgba(231, 217, 184, 0.25);
}

.theme-switch-btn:hover {
  background: rgba(231, 217, 184, 0.2);
}

.swatch-pair {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.sw-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.sw-forest { background: var(--forest-green); border: 1px solid var(--sand-beige); }
.sw-sand { background: var(--sand-beige); }
.sw-clay { background: var(--clay-red); }

.flow-mode-switch {
  background: var(--forest-green);
  color: var(--sand-beige);
  border: 1px solid var(--lime);
}

.flow-mode-switch:hover {
  background: var(--forest-green-light);
}

.flow-mode-switch.admin-active {
  background: var(--clay-red);
  color: #FFFFFF;
  border-color: var(--logo-yellow);
}

.mode-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--logo-yellow);
}

/* Main Site Header */
.site-header {
  background: rgba(21, 25, 21, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 12px 0;
}

html[data-theme="editorial-sand"] .site-header {
  background: var(--forest-green);
  border-bottom: 2px solid var(--charcoal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Official Logo Lockup — preserves Logo Deep Green #36552D & Logo Yellow #F5E51B */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--sand-beige);
}

.brand-logo-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background-color: var(--logo-green);
  border: 1.5px solid rgba(245, 229, 27, 0.35);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-wordmark {
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #FFFFFF;
}

.dot-accent {
  color: var(--logo-yellow);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--sand-beige);
  margin-top: 3px;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-link {
  background: transparent;
  border: 1px solid transparent;
  color: var(--sand-beige);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--lime);
  opacity: 0.85;
}

.nav-link:hover {
  background: rgba(231, 217, 184, 0.1);
  border-color: rgba(231, 217, 184, 0.2);
}

.nav-link.active {
  background: var(--forest-green);
  color: #FFFFFF;
  border-color: var(--lime);
}

html[data-theme="editorial-sand"] .nav-link.active {
  background: var(--charcoal);
  color: var(--sand-beige);
  border-color: var(--logo-yellow);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Flow Progress Step Bar */
.flow-progress-bar {
  background: var(--forest-green-dark);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.flow-progress-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  color: var(--sand-beige);
}

.flow-step-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--sand-beige-muted);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.72rem;
}

.flow-step-chip:hover {
  background: rgba(231, 217, 184, 0.14);
  color: #FFFFFF;
}

.flow-step-chip.current {
  background: var(--clay-red);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.flow-arrow {
  color: var(--logo-yellow);
  font-weight: 700;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  padding: 11px 20px;
  font-size: 0.86rem;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.76rem;
}

.btn-lg {
  padding: 15px 24px;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
}

/* Clay Red Accent CTA (#C42828) */
.btn-clay {
  background-color: var(--clay-red);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.15);
}
.btn-clay:hover {
  background-color: var(--clay-red-hover);
  transform: translateY(-1px);
}

/* Sand Beige Button (#E7D9B8 with Charcoal #2B2B28 text — Color Pairing Rule) */
.btn-sand {
  background-color: var(--sand-beige);
  color: var(--charcoal);
  border-color: var(--sand-beige);
}
.btn-sand:hover {
  background-color: var(--sand-beige-light);
  transform: translateY(-1px);
}

/* Forest Green Primary Button (#2F4A32) */
.btn-forest {
  background-color: var(--forest-green);
  color: #FFFFFF;
  border-color: rgba(197, 216, 109, 0.35);
}
.btn-forest:hover {
  background-color: var(--forest-green-light);
  transform: translateY(-1px);
}

.btn-outline-sand {
  background: transparent;
  color: var(--sand-beige);
  border-color: rgba(231, 217, 184, 0.45);
}
html[data-theme="editorial-sand"] .btn-outline-sand {
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline-sand:hover {
  background: var(--sand-beige);
  color: var(--charcoal);
}

.btn-outline-dark {
  background: rgba(255, 255, 255, 0.04);
  color: var(--sand-beige);
  border-color: var(--border-strong);
}
.btn-outline-dark:hover {
  background: rgba(231, 217, 184, 0.14);
}

/* Labels & Stickers (06. Graphic Language) */
.sticker-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.sticker-lime {
  background-color: var(--lime);
  color: var(--charcoal);
}
.sticker-sand {
  background-color: var(--sand-beige);
  color: var(--charcoal);
}
.sticker-dark {
  background-color: var(--charcoal);
  color: var(--sand-beige);
  border: 1px solid rgba(231, 217, 184, 0.3);
}

.eyebrow-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 6px;
}

html[data-theme="editorial-sand"] .eyebrow-tag {
  color: var(--forest-green);
}

/* ==========================================================================
   VIEW LAYOUT & FRAME HEADERS (MATCHING ALUR WEB 1, 2, 3)
   ========================================================================== */
.main-content {
  flex: 1;
  padding: 28px 0 64px;
}

.app-view {
  display: none;
  animation: fadeIn 0.22s ease;
}

.app-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background-color: var(--charcoal);
  color: var(--sand-beige);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}

.frame-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.frame-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--logo-yellow);
}

.frame-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--forest-green);
  color: var(--sand-beige);
  border: 1px solid rgba(197, 216, 109, 0.35);
}

.frame-step {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sand-beige);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   01. BERANDA (HERO + FEATURED CATEGORIES)
   ========================================================================== */
.hero-editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  margin-bottom: 36px;
}

.hero-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-card);
}

/* Exact Clay Red Hero Box from alur web/2.png */
.hero-card-red {
  background: linear-gradient(135deg, var(--clay-red) 0%, #A51D1D 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-card-red::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 24px solid rgba(231, 217, 184, 0.12);
  pointer-events: none;
}

.hero-tech-coords {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--sand-beige);
  margin-bottom: 14px;
}

.hero-display-title {
  font-weight: 900;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-cta-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
}

/* Right Showcase Column */
.hero-showcase-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-card-top {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  min-height: 270px;
  flex: 1;
  background: var(--charcoal);
}

.showcase-img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  filter: brightness(0.88);
  transition: transform 0.4s ease;
}

.showcase-card-top:hover .showcase-img {
  transform: scale(1.03);
}

.showcase-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(14, 17, 14, 0.96) 15%, rgba(14, 17, 14, 0.2) 100%);
  color: #FFFFFF;
}

.badge-tech {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 8px;
  background: var(--forest-green);
  color: var(--logo-yellow);
  border-radius: 4px;
  margin-bottom: 6px;
}

.showcase-overlay h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.showcase-overlay p {
  font-size: 0.85rem;
  color: var(--sand-beige);
}

.showcase-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.studio-stat-box {
  background: var(--forest-green);
  color: var(--sand-beige);
  border: 1px solid rgba(197, 216, 109, 0.3);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--lime);
  font-weight: 700;
}

.studio-stat-box strong {
  font-size: 1.02rem;
  color: #FFFFFF;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--sand-beige);
  opacity: 0.9;
}

/* Featured Products Section (Produk Unggulan) */
.featured-section {
  margin-bottom: 38px;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.featured-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.featured-cat-card {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.featured-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
  box-shadow: var(--shadow-card);
}

.featured-cat-thumb {
  position: relative;
  height: 220px;
  background: var(--charcoal);
  overflow: hidden;
}

.featured-cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.featured-cat-card:hover .featured-cat-thumb img {
  transform: scale(1.05);
}

.cat-serial {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(43, 43, 40, 0.88);
  color: var(--sand-beige);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 9px;
  border-radius: 4px;
  border: 1px solid rgba(231, 217, 184, 0.25);
}

.featured-cat-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 10px;
}

.featured-cat-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
}

.featured-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
}

.featured-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(231, 217, 184, 0.12);
}

.price-highlight {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--logo-yellow);
  background: rgba(245, 229, 27, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

.arrow-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sand-beige);
}

/* How It Works Banner */
.how-it-works-banner {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.hiw-header {
  margin-bottom: 20px;
}

.hiw-header h2 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.hiw-header p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.hiw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.hiw-card {
  padding: 22px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hiw-forest {
  background: var(--forest-green);
  color: #FFFFFF;
  border: 1px solid rgba(197, 216, 109, 0.35);
}

.hiw-clay {
  background: linear-gradient(135deg, #981E1E 0%, var(--charcoal) 100%);
  color: #FFFFFF;
  border: 1px solid rgba(196, 40, 40, 0.55);
}

.hiw-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.32);
  color: var(--logo-yellow);
}

.hiw-card p {
  font-size: 0.88rem;
  color: var(--sand-beige);
  margin-bottom: 6px;
}

/* ==========================================================================
   02. KATALOG VIEW
   ========================================================================== */
.catalog-top-panel {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 22px;
}

.catalog-title-block h2 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.catalog-title-block p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.search-input-wrap {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sand-beige-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  background: var(--bg-input);
  color: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(197, 216, 109, 0.15);
}

/* Filter Pills matching alur web/1.png & 2.png */
.category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-pill {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--forest-green);
  color: var(--sand-beige);
  border: 1px solid rgba(197, 216, 109, 0.25);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.cat-pill:hover {
  background: var(--forest-green-light);
  color: #FFFFFF;
}

.cat-pill.active {
  background: var(--clay-red);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}

/* Selectable Product Grid */
.custom-selectable-panel {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 22px;
}

.selectable-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}

.selectable-panel-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.selectable-hint {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--lime);
}

.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.catalog-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.catalog-item-card:hover {
  border-color: var(--sand-beige);
  background: rgba(231, 217, 184, 0.06);
}

.catalog-item-card.selected {
  border-color: var(--logo-yellow);
  background: rgba(47, 74, 50, 0.38);
  box-shadow: 0 0 0 1px var(--logo-yellow);
}

.catalog-item-thumb {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--charcoal);
  border: 1px solid rgba(231, 217, 184, 0.2);
}

.catalog-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-item-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.catalog-radio-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--sand-beige);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.catalog-item-card.selected .radio-circle {
  border-color: var(--logo-yellow);
}

.catalog-item-card.selected .radio-circle::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--logo-yellow);
}

.catalog-item-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #FFFFFF;
}

.catalog-item-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.catalog-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.catalog-item-price {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--lime);
  font-weight: 700;
}

.catalog-item-actions {
  display: flex;
  gap: 6px;
}

.btn-mini-detail,
.btn-mini-order {
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-mini-detail {
  background: rgba(231, 217, 184, 0.14);
  color: var(--sand-beige);
  border-color: rgba(231, 217, 184, 0.25);
}
.btn-mini-detail:hover {
  background: var(--sand-beige);
  color: var(--charcoal);
}

.btn-mini-order {
  background: var(--clay-red);
  color: #FFFFFF;
}
.btn-mini-order:hover {
  background: var(--clay-red-hover);
}

/* Catalog Bottom CTA Bar */
.catalog-bottom-cta {
  background: var(--charcoal);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.catalog-cta-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cta-question {
  font-size: 0.84rem;
  color: var(--sand-beige-muted);
}

.catalog-cta-info strong {
  font-size: 1.05rem;
  color: var(--logo-yellow);
}

.catalog-cta-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   03. DETAIL PRODUK VIEW
   ========================================================================== */
.detail-back-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.btn-text-back {
  background: transparent;
  border: none;
  color: var(--sand-beige);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

html[data-theme="editorial-sand"] .btn-text-back {
  color: var(--charcoal);
}

.btn-text-back:hover {
  color: var(--logo-yellow);
}

.detail-sub-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.product-detail-layout {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  box-shadow: var(--shadow-card);
}

.detail-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-main-photo {
  width: 100%;
  height: 390px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--forest-green-dark);
  border: 1.5px solid var(--border-strong);
  position: relative;
}

.detail-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumbs-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.detail-thumb-btn {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--charcoal);
  padding: 0;
  flex-shrink: 0;
  opacity: 0.7;
  transition: var(--transition);
}

.detail-thumb-btn.active,
.detail-thumb-btn:hover {
  border-color: var(--logo-yellow);
  opacity: 1;
}

.detail-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.detail-title {
  font-size: 2rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 6px 0 10px;
}

.detail-desc {
  font-size: 1rem;
  color: var(--sand-beige);
  line-height: 1.65;
  margin-bottom: 16px;
}

.detail-specs-table {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.spec-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  font-size: 0.88rem;
  border-bottom: 1px dashed rgba(231, 217, 184, 0.12);
  padding-bottom: 8px;
}

.spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.spec-val {
  color: #FFFFFF;
  font-weight: 600;
}

.detail-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   04. FORM ORDER / CUSTOM & TANYAKAN HARGA VIEW
   ========================================================================== */
.order-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.order-form-card,
.order-sidebar-card {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.order-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
  background: var(--bg-input);
  padding: 5px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.order-mode-tab {
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--sand-beige-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.order-mode-tab.active {
  background: var(--forest-green);
  color: #FFFFFF;
}

.order-mode-tab[data-order-mode="inquiry"].active {
  background: var(--clay-red);
  color: #FFFFFF;
}

.order-form-header h2 {
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.order-form-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--sand-beige);
  margin-bottom: 6px;
}

.req {
  color: var(--clay-red);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-input);
  color: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--lime);
}

.upload-dropzone {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-input);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.upload-dropzone:hover {
  border-color: var(--lime);
  background: rgba(47, 74, 50, 0.2);
}

.hidden-file-input {
  display: none;
}

.upload-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--sand-beige);
  font-size: 0.88rem;
}

.upload-preview-box {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.upload-preview-box img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--sand-beige);
}

.upload-preview-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
}

.btn-remove-file {
  background: var(--clay-red);
  color: #FFFFFF;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.74rem;
  cursor: pointer;
  width: fit-content;
}

.form-error-msg {
  background: rgba(196, 40, 40, 0.2);
  border: 1px solid var(--clay-red);
  color: #FFD2D2;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  margin-bottom: 14px;
}

.order-submit-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.form-footnote {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Order Sidebar */
.preview-reference-box {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.preview-img-frame {
  width: 100%;
  height: 210px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 10px 0 12px;
  background: var(--charcoal);
  border: 1px solid var(--border-strong);
}

.preview-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inquiry-flow-explainer h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--sand-beige);
}

.flow-mini-steps {
  list-style: none;
  display: grid;
  gap: 12px;
}

.flow-mini-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.84rem;
}

.step-badge-mini {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}
.step-badge-mini.clay { background: var(--clay-red); color: #FFFFFF; }
.step-badge-mini.forest { background: var(--forest-green); color: var(--sand-beige); }

.flow-mini-steps p {
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ==========================================================================
   05. PESANAN TERKIRIM & KONFIRMASI WHATSAPP VIEW
   ========================================================================== */
.confirmation-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.confirmation-card {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.conf-top-note {
  align-self: flex-start;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.conf-check-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(197, 216, 109, 0.14);
  border: 2px solid var(--lime);
  color: var(--lime);
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.confirmation-card h2 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.conf-subtitle {
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 360px;
  margin-bottom: 22px;
}

/* Forest Green Order Number Box matching 05 PESANAN TERKIRIM in alur web/2.png & 3.png */
.order-number-box {
  width: 100%;
  background: var(--forest-green);
  border: 1.5px solid rgba(197, 216, 109, 0.4);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: left;
  position: relative;
  margin-bottom: 18px;
}

.order-number-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--sand-beige);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.order-number-value {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
}

.order-status-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 800;
  background: var(--clay-red);
  color: #FFFFFF;
}

.conf-summary-list {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.85rem;
  margin-bottom: 20px;
  display: grid;
  gap: 6px;
}

.conf-bottom-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Right Side: 03 Konfirmasi WhatsApp & Order Lookup */
.wa-simulation-and-tracker {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wa-offer-card,
.order-lookup-card {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.wa-card-header h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.wa-bubble-box {
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
}

.wa-bubble-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--lime);
  font-weight: 700;
  margin-bottom: 6px;
}

.wa-bubble-box p {
  font-size: 0.9rem;
  color: var(--sand-beige);
  line-height: 1.6;
}

.wa-outcome-boxes {
  display: grid;
  gap: 10px;
}

.wa-outcome-agree {
  background: var(--forest-green);
  border: 1px solid rgba(197, 216, 109, 0.35);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  font-size: 0.86rem;
}

.wa-outcome-discuss {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.order-lookup-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.order-lookup-card p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.lookup-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.lookup-result-box {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 0.86rem;
}

/* ==========================================================================
   06. STUDIO & BRAND GUIDELINES VIEW
   ========================================================================== */
.brand-identity-showcase {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.brand-foundation-card,
.color-system-panel {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.brand-foundation-card h2 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.brand-foundation-card p {
  color: var(--sand-beige);
  max-width: 840px;
  margin-bottom: 18px;
}

.brand-values-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.val-chip {
  background: var(--forest-green);
  border: 1px solid rgba(197, 216, 109, 0.3);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.val-chip strong {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--logo-yellow);
}

.val-chip span {
  font-size: 0.82rem;
  color: var(--sand-beige);
}

.color-system-panel h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.color-swatches-bar {
  display: flex;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 110px;
  flex-wrap: wrap;
}

.color-swatch-item {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 120px;
}

.color-swatch-item strong {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.color-swatch-item span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  opacity: 0.9;
}

.portfolio-masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portfolio-card-img {
  height: 240px;
  background: var(--charcoal);
  overflow: hidden;
}

.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.portfolio-card:hover .portfolio-card-img img {
  transform: scale(1.05);
}

.portfolio-card-caption {
  padding: 14px 16px;
}

.portfolio-card-caption span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--lime);
}

.portfolio-card-caption h4 {
  font-size: 1rem;
  color: #FFFFFF;
  margin-top: 3px;
}

/* ==========================================================================
   ALUR ADMIN (LOGIN -> DASHBOARD -> DAFTAR PESANAN -> DETAIL -> STATUS)
   ========================================================================== */
.admin-flow-banner {
  background: var(--charcoal);
  color: var(--sand-beige);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-flow-pill {
  display: inline-block;
  background: var(--clay-red);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.admin-flow-heading {
  font-size: 1.75rem;
  font-weight: 900;
  color: #FFFFFF;
}

.admin-flow-sub {
  font-size: 0.9rem;
  color: var(--sand-beige-muted);
}

.admin-quick-nav {
  display: flex;
  gap: 10px;
}

.admin-section {
  display: none;
  animation: fadeIn 0.2s ease;
}

.admin-section.active {
  display: block;
}

.admin-card-frame {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.admin-login-frame,
.admin-status-frame {
  max-width: 560px;
  margin: 0 auto;
}

.admin-access-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--clay-red);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.admin-login-body h2 {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.admin-login-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

/* 02. Dashboard Admin */
.dashboard-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.date-pill-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-input);
  color: var(--sand-beige);
  border: 1px solid rgba(245, 229, 27, 0.35);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.admin-stat-card {
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #FFFFFF;
}

.admin-stat-card:hover {
  transform: translateY(-3px);
}

.stat-clay {
  background: var(--clay-red);
  border-color: rgba(255, 255, 255, 0.25);
}

.stat-forest {
  background: var(--forest-green);
  border-color: rgba(197, 216, 109, 0.35);
}

.stat-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sand-beige);
}

.stat-card-num {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
}

.stat-card-hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Recent Orders Table */
.recent-orders-block {
  margin-bottom: 28px;
}

.recent-orders-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.admin-orders-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.admin-orders-table th {
  background: rgba(0, 0, 0, 0.3);
  color: var(--sand-beige-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-color);
}

.admin-orders-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(231, 217, 184, 0.08);
  color: #FFFFFF;
}

.admin-orders-table tr:hover td {
  background: rgba(231, 217, 184, 0.04);
}

/* Status Badges matching alur web/1.png */
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.status-NEGO {
  background: #8B3A2B;
  color: #FFE3D8;
  border: 1px solid #D46A52;
}

.status-Baru {
  background: var(--clay-red);
  color: #FFFFFF;
}

.status-Diproses {
  background: var(--forest-green);
  color: var(--lime);
  border: 1px solid rgba(197, 216, 109, 0.45);
}

.status-Selesai {
  background: #254028;
  color: #FFFFFF;
  border: 1px solid var(--sand-beige-muted);
}

/* Admin Workflow Guide (Bottom of alur web/3.png) */
.admin-workflow-guide {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
}

.awg-header h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.awg-header p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.awg-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.awg-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.awg-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}
.awg-num.clay { background: var(--clay-red); color: #FFFFFF; }
.awg-num.forest { background: var(--forest-green); color: var(--sand-beige); }

.awg-step-card h4 {
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.awg-step-card p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.awg-footer-note {
  font-size: 0.82rem;
  color: var(--lime);
}

/* 03. Daftar Pesanan List Cards */
.admin-list-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.admin-order-cards-list {
  display: grid;
  gap: 12px;
}

.admin-order-row-card {
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.admin-order-row-card:hover {
  border-color: var(--logo-yellow);
  background: rgba(47, 74, 50, 0.25);
}

.aorc-left h4 {
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.aorc-left p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.aorc-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 04. Detail Pesanan Admin */
.admin-detail-box {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  margin-top: 12px;
}

.admin-detail-head {
  margin-bottom: 18px;
}

.admin-detail-head h2 {
  font-size: 1.65rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.admin-kv-table {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.admin-kv-row {
  display: grid;
  grid-template-columns: 120px 16px 1fr;
  font-size: 0.92rem;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(231, 217, 184, 0.12);
}

.admin-kv-key {
  color: var(--text-secondary);
}

.admin-kv-val {
  color: #FFFFFF;
  font-weight: 600;
}

.admin-ref-card {
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-ref-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.admin-price-offer-box {
  background: rgba(47, 74, 50, 0.28);
  border: 1px solid rgba(197, 216, 109, 0.35);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.admin-detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

/* 05. Perbarui Status Radio List */
.status-subtext {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.status-radio-list {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.status-radio-card {
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.status-radio-card input {
  display: none;
}

.custom-radio-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--sand-beige-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.status-radio-card.selected {
  border-color: var(--logo-yellow);
  background: rgba(47, 74, 50, 0.35);
}

.status-radio-card.selected .custom-radio-dot {
  border-color: var(--logo-yellow);
}

.status-radio-card.selected .custom-radio-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--logo-yellow);
}

.status-radio-info {
  display: flex;
  flex-direction: column;
}

.status-radio-info strong {
  font-size: 1rem;
  color: #FFFFFF;
}

.status-radio-info span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.status-action-buttons {
  display: grid;
  gap: 10px;
}

/* ==========================================================================
   TOAST & FOOTER
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--forest-green);
  color: #FFFFFF;
  border: 1.5px solid var(--logo-yellow);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  z-index: 100;
  font-size: 0.88rem;
  font-weight: 700;
}

.site-footer {
  background: var(--charcoal);
  color: var(--sand-beige);
  border-top: 2px solid var(--forest-green);
  padding: 42px 0 32px;
  position: relative;
  z-index: 10;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 28px;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--logo-yellow);
  margin: 12px 0 6px;
}

.footer-desc {
  font-size: 0.84rem;
  color: var(--sand-beige-muted);
}

.footer-links-col h4,
.footer-palette-col h4 {
  font-size: 0.92rem;
  color: #FFFFFF;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-nav-btn,
.footer-admin-btn {
  background: none;
  border: none;
  color: var(--sand-beige-muted);
  font-size: 0.84rem;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.footer-nav-btn:hover,
.footer-admin-btn:hover {
  color: var(--logo-yellow);
}

.footer-mini-swatches {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.footer-mini-swatches span {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-editorial-grid,
  .product-detail-layout,
  .order-layout-grid,
  .confirmation-split-grid,
  .admin-detail-box {
    grid-template-columns: 1fr;
  }

  .featured-cards-grid {
    grid-template-columns: 1fr;
  }

  .catalog-product-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats-grid,
  .awg-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-cta-row,
  .hiw-grid,
  .form-row-2,
  .order-submit-dual,
  .admin-detail-actions,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hide-mobile {
    display: none;
  }
}
