:root {
  --bg: #f9f9f9;
  --bg-elevated: #f2f4f4;
  --surface: #ffffff;
  --surface-2: #f2f4f4;
  --surface-solid: #ffffff;
  --border: #e6ecec;
  --border-strong: #d3dbdc;
  --text: #202829;
  --text-secondary: #5a6061;
  --text-muted: #8a9394;
  --accent: #2d3435;
  --accent-indigo: #2d3435;
  --accent-hover: #1f2526;
  --accent-glow: rgba(45, 52, 53, 0.10);
  --brand-green: #2f7a4b;
  --brand-green-bg: #e8f3ec;
  --cyan: #2d3435;
  --cyan-glow: rgba(45, 52, 53, 0.08);
  --price-red: #202829;
  --emerald: #2f7a4b;
  --amber: #b45309;
  --rose: #b91c1c;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-card: 0 2px 8px rgba(32, 40, 41, 0.04);
  --shadow-hover: 0 10px 24px rgba(32, 40, 41, 0.08);
  --shadow-modal: 0 24px 64px rgba(32, 40, 41, 0.18);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.hidden {
  display: none !important;
}

/* ==================== PRICEAI TOP PROMO PILL BAR ==================== */
.promo-bar {
  position: relative;
  z-index: 65;
  min-height: 38px;
  background: #f9f9f9;
  border-bottom: 1px solid #e6ecec;
  color: #5a6061;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-bar-inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.35;
}

.promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e6ecec;
  color: #5a6061;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

/* ==================== CRISP WHITE STICKY NAVBAR ==================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffffff;
  border-bottom: 1px solid #e6ecec;
  box-shadow: none;
}

.topbar-inner {
  max-width: 1360px;
  margin: 0 auto;
  height: 70px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  min-height: 44px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f2f4f4;
  border: 1px solid #e6ecec;
  padding: 3px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.brand-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.brand-tld {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 6px;
  background: #f2f4f4;
  border: 1px solid #e6ecec;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
}

.brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 1px;
}

/* Integrated Header Pill Search */
.header-search {
  flex: 1;
  min-width: 185px;
  max-width: 280px;
  height: 38px;
  display: flex;
  align-items: center;
  background: #f2f4f4;
  border: 1px solid #e6ecec;
  border-radius: 999px;
  padding: 3px 4px 3px 14px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.header-search:focus-within {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.header-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  outline: none;
}

.header-search-input::placeholder {
  color: var(--text-muted);
  font-size: 12.5px;
}

.header-search-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: #2d3435;
  color: #f8f8f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.header-search-btn:hover {
  background: #1f2526;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.desktop-nav {
  background: #eef2f2;
  padding: 4px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid #e6ecec;
}

.nav-link {
  text-decoration: none;
  color: #5a6061;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  transition: color 0.16s ease, background-color 0.16s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #202829;
  background: rgba(255, 255, 255, 0.68);
}

.nav-link.active {
  background: #2d3435;
  color: #f8f8f8;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-announce {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #e6ecec;
  background: #f2f4f4;
  color: #5a6061;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.16s ease;
}

.btn-announce:hover {
  background: #e6ecec;
  border-color: #d3dbdc;
  color: #202829;
}

.lang-toggle {
  display: inline-flex;
  background: #f2f4f4;
  border: 1px solid #e6ecec;
  border-radius: 999px;
  padding: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 9px;
  min-height: 30px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.lang-btn.active {
  background: #2d3435;
  color: #f8f8f8;
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #e6ecec;
  background: #f2f4f4;
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==================== PRICEAI CATEGORY STRIP ==================== */
.category-nav-strip {
  border-top: 1px solid #f2f4f4;
  background: #ffffff;
}

.category-nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-nav-inner::-webkit-scrollbar {
  display: none;
}

.cat-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px 4px 5px;
  border-radius: 999px;
  border: 1px solid #e6ecec;
  background: #ffffff;
  color: #5a6061;
  font-family: inherit;
  font-size: 12.2px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.16s ease;
}

.cat-strip-item:hover {
  background: #f7f9f9;
  border-color: #d3dbdc;
  color: #202829;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(32, 40, 41, 0.05);
}

.cat-strip-item.active {
  background: #2d3435;
  border-color: #2d3435;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(45, 52, 53, 0.16);
}

.cat-strip-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2f4f4;
  color: #5a6061;
  flex-shrink: 0;
  overflow: hidden;
}

.cat-strip-item.active .cat-strip-icon {
  background: #ffffff;
  color: #202829;
}

.cat-strip-icon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

.cat-strip-icon svg {
  width: 13px;
  height: 13px;
  display: block;
}

.mobile-drawer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 12px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 12px 28px rgba(32, 40, 41, 0.08);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  background: #f2f4f4;
  color: var(--text);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none !important;
}

.btn-sm {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 13px;
  border-radius: 9px;
}

.btn-lg {
  min-height: 48px;
  padding: 12px 22px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: #2d3435;
  color: #f8f8f8;
  box-shadow: 0 2px 8px rgba(45, 52, 53, 0.14);
}

.btn-primary:hover:not(:disabled) {
  background: #1f2526;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(45, 52, 53, 0.2);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: 0 1px 2px rgba(32, 40, 41, 0.03);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--accent);
}

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

.btn-ghost:hover:not(:disabled) {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.btn-white {
  background: #ffffff;
  color: #202829;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(32, 40, 41, 0.12);
}

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

.btn-glass {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  font-weight: 600;
}

.btn-glass:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* ==================== LAYOUT SHELL ==================== */
.page-shell {
  position: relative;
  z-index: 1;
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 20px 64px;
}

.view {
  display: none;
  animation: fadeSlide 0.2s ease-out;
}

.view.active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  margin-top: 48px;
}

.section-tight {
  margin-top: 32px;
}

.section-head {
  margin-bottom: 18px;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.section-title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
}

.section-sub {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 660px;
}

.view-header {
  margin-bottom: 24px;
}

.view-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
}

.view-desc {
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 680px;
}

/* ==================== COMPACT EDITORIAL HERO (PriceAI Nordic Studio) ==================== */
.bento-hero {
  display: grid;
  grid-template-columns: 1.94fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.bento-banner {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 24px 28px;
  background: #ffffff;
  border: 1px solid #e6ecec;
  color: #202829;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 206px;
  max-height: 256px;
  box-shadow: 0 2px 10px rgba(32, 40, 41, 0.04);
}

.bento-banner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, #f2f4f4 0%, transparent 70%);
  pointer-events: none;
}

.bento-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-green-bg);
  border: 1px solid #cde4d5;
  color: var(--brand-green);
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(47, 122, 75, 0.18);
  flex-shrink: 0;
}

.bento-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #202829;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.bento-sub {
  font-size: 13.8px;
  color: #5a6061;
  line-height: 1.45;
  max-width: 580px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.bento-trust-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 600;
  color: #5a6061;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.bento-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.bento-actions .btn {
  border-radius: 999px;
}

.bento-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento-tile {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e6ecec;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-card);
  transition: all 0.18s ease;
}

.bento-tile:hover {
  border-color: #2d3435;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.bento-tile-primary {
  background: #ffffff;
  border-color: #e6ecec;
}

.bento-tile-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  background: #f2f4f4;
  border: 1px solid #e6ecec;
}

.bento-tile-secondary .bento-tile-icon {
  background: #f2f4f4;
  border-color: #e6ecec;
}

.bento-tile-copy {
  min-width: 0;
}

.bento-tile-copy strong {
  display: block;
  font-size: 13.8px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.bento-tile-copy span {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
  line-height: 1.35;
}

.bento-tile-arrow {
  margin-left: auto;
  font-size: 16px;
  font-weight: 700;
  color: #2d3435;
  flex-shrink: 0;
}

/* ==================== UNIFORM 5-COLUMN PRODUCT GRID CARDS ==================== */
.bestsellers-grid,
.catalog-grid,
.catalog-shelf-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

/* ==================== CATEGORY SHELVES (v6) ==================== */
.catalog-shelves {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.category-shelf {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.category-shelf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e6ecec;
  flex-wrap: wrap;
}

.category-shelf-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.shelf-cat-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2f4f4;
  color: #202829;
  border: 1px solid #e6ecec;
  flex-shrink: 0;
}

.shelf-cat-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.shelf-cat-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.category-shelf-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

.shelf-count-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f2f4f4;
  color: var(--text-secondary);
  border: 1px solid #e6ecec;
  white-space: nowrap;
}

.btn-shelf-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid #d3dbdc;
  background: #ffffff;
  color: #202829;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.btn-shelf-all:hover {
  background: #f2f4f4;
  border-color: #2d3435;
  transform: translateY(-1px);
}

.catalog-active-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e6ecec;
  box-shadow: 0 2px 8px rgba(32, 40, 41, 0.03);
}

.catalog-active-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-wrap: wrap;
}

.catalog-active-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

.best-card,
.catalog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e6ecec;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(32, 40, 41, 0.03);
  transition: all 0.18s ease;
  cursor: pointer;
}

.best-card:hover,
.catalog-card:hover {
  transform: translateY(-3px);
  border-color: #2d3435;
  box-shadow: 0 10px 24px rgba(32, 40, 41, 0.07);
}

/* v8 PriceAI Real-Logo Card Visual */
.card-visual {
  height: 112px;
  border-radius: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f7f9f9;
  border: 1px solid #eef2f2;
}

.card-logo-circle {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e6ecec;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(32, 40, 41, 0.05);
  flex-shrink: 0;
}

.card-visual img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.card-visual svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
}

.visual-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e6ecec;
  color: #202829;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  max-width: calc(100% - 16px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 6px rgba(32, 40, 41, 0.05);
}

.card-body {
  padding: 10px 2px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.card-cat {
  font-size: 10.5px;
  font-weight: 700;
  color: #8a9394;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #202829;
  min-height: 38px;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-sub {
  font-size: 12px;
  color: #5a6061;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
}

.card-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f2f4f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--price-red);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.card-price.is-quote {
  font-size: 13px;
  font-weight: 700;
  color: #5a6061;
  font-family: var(--font-sans);
}

.card-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #2d3435;
  color: #f8f8f8;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.16s ease;
}

.card-buy-btn:hover {
  background: #1f2526;
}

.card-buy-btn.is-quote {
  background: #f2f4f4;
  color: #202829;
  border-color: #e6ecec;
}

.card-buy-btn.is-quote:hover {
  background: #e6ecec;
}

/* Legacy fallback classes kept clean so pre-v5 markup never breaks */
.card-brand-art {
  width: 100%;
  height: 112px;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f9f9;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.card-brand-art svg,
.card-brand-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.best-card-top,
.catalog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.best-cat-lbl,
.catalog-cat-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.best-title,
.catalog-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 4px;
}

.best-variant,
.catalog-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  flex: 1;
}

.best-price,
.catalog-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--price-red);
}

.best-price.is-quote {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

.catalog-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f2f4f4;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalog-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.catalog-quote-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f2f4f4;
  border: 1px solid #e6ecec;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.catalog-variants-label,
.variant-pills,
.catalog-variant-select,
.catalog-single-variant {
  display: none;
}

/* Catalog Filter Bar & Search */
.catalog-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.catalog-search-wrap {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.catalog-search-input {
  padding-left: 42px !important;
  padding-right: 40px !important;
  min-height: 44px;
  border-radius: 999px !important;
  background: var(--surface) !important;
  border-color: var(--border) !important;
}

.search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: var(--surface-2);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-clear:hover {
  color: var(--text);
  background: var(--border);
}

.catalog-meta-pill {
  padding: 8px 15px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

/* View Mode Switcher (Grid / PriceAI List Table) */
.view-mode-switch {
  display: inline-flex;
  align-items: center;
  background: #eef2f2;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid #e6ecec;
  gap: 2px;
}

.vm-btn {
  border: none;
  background: transparent;
  color: #5a6061;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  min-height: 34px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.vm-btn:hover {
  color: #202829;
}

.vm-btn.active {
  background: #2d3435;
  color: #f8f8f8;
}

/* PriceAI List Table */
.priceai-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e6ecec;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(32, 40, 41, 0.03);
}

.priceai-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.priceai-table thead th {
  padding: 13px 16px;
  background: #f7f9f9;
  border-bottom: 1px solid #e6ecec;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a9394;
  white-space: nowrap;
}

.priceai-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #f2f4f4;
  font-size: 13.5px;
  color: #202829;
  vertical-align: middle;
}

.priceai-table tbody tr {
  transition: background-color 0.14s ease;
  cursor: pointer;
}

.priceai-table tbody tr:hover {
  background: #f7f9f9;
}

.priceai-table tbody tr:last-child td {
  border-bottom: none;
}

.pa-item-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.pa-logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #f2f4f4;
  border: 1px solid #e6ecec;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pa-logo-circle img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.pa-logo-circle svg {
  width: 20px;
  height: 20px;
  display: block;
}

.pa-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-green-bg);
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pa-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2d3435;
  color: #f8f8f8;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.pa-action-btn:hover {
  background: #1f2526;
}

.category-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cat-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 12.8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.cat-pill:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: #f2f4f4;
}

.cat-pill.active {
  background: #2d3435;
  border-color: #2d3435;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(45, 52, 53, 0.16);
}

.cat-pill.active::after {
  content: '✓';
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--brand-green);
  color: #ffffff;
  border: 2px solid var(--bg);
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-count {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.cat-pill.active .cat-count {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.catalog-loading,
.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  color: var(--text-muted);
  font-size: 14px;
}

/* ==================== GOOGLE AI PACKAGES GRID ==================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pkg-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

.pkg-card.pkg-featured {
  border-color: #2d3435;
  background: linear-gradient(180deg, #f7f9f9 0%, #ffffff 34%);
}

.pkg-card.pkg-vip {
  border-color: #d3dbdc;
  background: linear-gradient(180deg, #f7f9f9 0%, #ffffff 34%);
}

.pkg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.pkg-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.pkg-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.pkg-badge.popular {
  background: #2d3435;
  color: #f8f8f8;
  border: 1px solid #2d3435;
}

.pkg-badge.value {
  background: var(--brand-green-bg);
  color: var(--brand-green);
  border: 1px solid #cde4d5;
}

.pkg-badge.vip {
  background: #f2f4f4;
  color: #202829;
  border: 1px solid #d3dbdc;
}

.pkg-badge.cyan {
  background: #f2f4f4;
  color: #5a6061;
  border: 1px solid #e6ecec;
}

.pkg-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
}

.pkg-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.pkg-price {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

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

.pkg-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  flex: 1;
}

.pkg-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.pkg-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald);
  font-weight: 800;
}

.pkg-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.tier-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.tier-pill {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 52px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.16s ease;
  text-align: left;
}

.tier-pill:hover {
  border-color: var(--accent);
  color: var(--text);
}

.tier-pill.active {
  background: #ffffff;
  border-color: #2d3435;
  color: var(--text);
  box-shadow: 0 0 0 1px #2d3435;
}

.tier-pop {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 2px;
}

.tier-k {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

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

.tier-pill.active .tier-p {
  color: var(--accent);
  font-weight: 700;
}

/* ==================== POLICY / INFO GRID ==================== */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.policy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.policy-icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.policy-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.policy-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==================== FAQ ACCORDION ==================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: #d3dbdc;
}

.faq-q {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

.faq-chevron {
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-a {
  display: none;
  padding: 0 18px 16px;
  color: var(--text-secondary);
  font-size: 13.8px;
  line-height: 1.65;
}

.faq-item.open .faq-a {
  display: block;
}

/* ==================== TRUST PILLARS STRIP ==================== */
.trust-pillars-section {
  margin-top: 56px;
}

.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.tp-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.tp-icon.blue { background: #f2f4f4; border: 1px solid #e6ecec; }
.tp-icon.indigo { background: #f2f4f4; border: 1px solid #e6ecec; }
.tp-icon.emerald { background: var(--brand-green-bg); border: 1px solid #cde4d5; }
.tp-icon.amber { background: #f2f4f4; border: 1px solid #e6ecec; }

.tp-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.tp-body p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==================== ACTIVATION PORTAL ==================== */
.notice-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 22px;
}

.notice-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 10px;
}

.notice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: #ffffff;
  border: 1px solid #fcd34d;
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}

.grid-activation {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
  align-items: start;
}

.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.status-card-sticky {
  position: sticky;
  top: 132px;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.card-head.spread {
  justify-content: space-between;
}

.card-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-head h2 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text);
}

.step-badge {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #f2f4f4;
  border: 1px solid #e6ecec;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-badge.accent {
  background: #2d3435;
  border-color: #2d3435;
  color: #f8f8f8;
}

.field {
  margin-bottom: 15px;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.input::placeholder {
  color: var(--text-muted);
  font-size: 13.5px;
}

.input:focus {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.textarea {
  min-height: 86px;
  resize: vertical;
  line-height: 1.5;
}

.input-row {
  display: flex;
  gap: 8px;
}

.input-row .input {
  flex: 1;
}

.pw-wrap {
  position: relative;
}

.pw-wrap .input {
  padding-right: 48px;
}

.pw-eye {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
}

.pw-eye:hover {
  color: var(--text);
  background: var(--border);
}

.balance-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--brand-green-bg);
  border: 1px solid #cde4d5;
  color: var(--brand-green);
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 8px;
}

.balance-bar.err {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.balance-sub {
  margin-left: auto;
  color: var(--text-secondary);
  font-size: 12px;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 8px;
}

.plan-placeholder {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px dashed var(--border-strong);
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

.plan-placeholder.err {
  border-color: #fca5a5;
  color: #b91c1c;
  background: #fef2f2;
}

.plan-option,
.toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 10px 10px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.plan-option input,
.toggle-btn input {
  display: none;
}

.plan-option:has(input:checked),
.toggle-btn:has(input:checked) {
  border-color: #2d3435;
  background: #ffffff;
  color: #202829;
  box-shadow: 0 0 0 1px #2d3435;
}

.toggle-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.hint.warn {
  color: #b45309;
  font-weight: 500;
}

.inline-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 8px 0 18px;
}

.link-btn {
  border: none;
  background: none;
  color: var(--accent);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  min-height: 36px;
}

.link-btn:hover {
  text-decoration: underline;
}

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

/* ==================== LIVE ORDER STATUS ==================== */
.status-empty {
  text-align: center;
  padding: 44px 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.empty-icon {
  font-size: 38px;
  margin-bottom: 10px;
}

.status-hero {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  margin-bottom: 14px;
}

.status-hero > div[style*="fda4af"] {
  color: #be123c !important;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  padding: 6px 10px;
  margin: 6px 0;
}

.status-pill-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.st-pending { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.st-running { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.st-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.st-failed  { background: #ffe4e6; color: #be123c; border: 1px solid #fecdd3; }

.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.step-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--border-strong);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.step-item.done .step-dot {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #ffffff;
}

.step-item.active .step-dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.step-item.fail .step-dot {
  background: var(--rose);
  border-color: var(--rose);
  color: #ffffff;
}

.queue-box {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f2f4f4;
  border: 1px solid #e6ecec;
  color: #202829;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}

.queue-wait-bar {
  margin-top: 8px;
  height: 4px;
  background: #e6ecec;
  border-radius: 999px;
  overflow: hidden;
}

.queue-wait-fill {
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  animation: pulseSlide 1.8s ease-in-out infinite;
}

@keyframes pulseSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(240%); }
}

.order-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 10px;
}

.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.order-id {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.order-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding: 3px 0;
  color: var(--text-muted);
}

.order-row b {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}

.order-msg {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.order-msg.fail {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
}

.order-msg.ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

/* ==================== GUIDE VIEW ==================== */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guide-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.guide-h {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.35;
}

.guide-steps {
  padding-left: 18px;
  font-size: 13.8px;
  color: var(--text-secondary);
}

.guide-steps li {
  margin-bottom: 9px;
}

.guide-steps b {
  color: var(--text);
}

.guide-steps a,
.inline-jump {
  color: var(--accent);
  font-weight: 600;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.guide-ext {
  margin-top: 14px;
}

.guide-cta-bar {
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==================== TOTP GENERATOR ==================== */
.totp-card {
  max-width: 580px;
  margin: 0 auto;
}

.totp-security-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.totp-display {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px 20px;
  text-align: center;
}

.totp-ring-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.totp-ring {
  transform: rotate(-90deg);
}

.totp-ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 4.5;
}

.totp-ring-fg {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.35s linear, stroke 0.2s ease;
}

.totp-timer {
  position: absolute;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.totp-code {
  font-size: clamp(34px, 6vw, 44px);
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--accent);
  margin-bottom: 16px;
}

.totp-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.totp-progress {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.totp-progress > div {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-indigo));
  width: 0%;
  transition: width 0.35s linear;
}

/* ==================== MULTI-COLUMN FOOTER ==================== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 20px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-logo {
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
}

.footer-copy {
  font-size: 13.5px;
  color: var(--text-secondary);
  max-width: 340px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 600;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  transition: color 0.16s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-admin-link {
  opacity: 0.72;
  font-size: 12.5px !important;
}

.footer-admin-link:hover {
  opacity: 1;
}

.footer-bottom {
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-bottom-note {
  font-weight: 600;
  color: var(--emerald);
}

/* ==================== COMPARISON MATRIX ==================== */
.comparison-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  vertical-align: middle;
}

.comparison-table thead th {
  background: var(--surface-2);
  font-weight: 700;
  color: var(--text);
  padding: 16px;
}

.comparison-table tbody th {
  font-weight: 600;
  color: var(--text);
  width: 22%;
  background: var(--surface-2);
}

.comparison-table tbody td {
  color: var(--text-secondary);
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.cmp-th-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.cmp-th-price {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 3px;
}

.cmp-col-featured {
  background: #f7f9f9;
}

.cmp-col-vip {
  background: #f2f4f4;
}

.cmp-yes {
  color: var(--emerald);
  font-weight: 700;
}

.cmp-no {
  color: var(--text-muted);
}

.cmp-action-row td {
  padding-top: 14px;
  padding-bottom: 14px;
}

.route-focus {
  animation: routeGlow 1.8s ease-out;
}

@keyframes routeGlow {
  0% {
    box-shadow: 0 0 0 2px #2d3435, 0 0 24px rgba(45, 52, 53, 0.20);
  }
  100% {
    box-shadow: var(--shadow-card);
  }
}

/* ==================== MODALS (INQUIRY & ANNOUNCEMENT) ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-panel {
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-modal);
  color: var(--text);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.modal-close:hover {
  color: var(--text);
  background: var(--border);
}

/* Announcement Modal */
.announce-panel {
  max-width: 560px;
}

.announce-head-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.announce-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.announce-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 20px;
}

.announce-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.announce-item.warn {
  background: #fffbeb;
  border-color: #fde68a;
}

.announce-item-icon {
  font-size: 20px;
  line-height: 1.2;
  flex-shrink: 0;
}

.announce-item h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.announce-item p {
  font-size: 13.2px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.announce-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

/* 2-Step Checkout Modal */
.modal-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
}

.m-step {
  color: var(--text-muted);
}

.m-step.active {
  color: var(--accent);
}

.m-step.done {
  color: var(--emerald);
}

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

.modal-selected-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f2f4f4;
  border: 1px solid #e6ecec;
  margin-bottom: 14px;
}

.modal-sel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-sel-label {
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 2px;
}

.modal-sel-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.modal-sel-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--price-red);
  white-space: nowrap;
}

#modalVariantSelect {
  background: #ffffff;
  font-weight: 600;
}

.pay-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pay-method-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.pay-method-pill input {
  display: none;
}

.pay-method-pill:has(input:checked) {
  border-color: #2d3435;
  background: #ffffff;
  color: #202829;
  box-shadow: 0 0 0 1px #2d3435;
}

.inquiry-step2 {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inq-top-banner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.inq-top-banner h3 {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 2px;
}

.inq-top-banner p {
  font-size: 13px;
  color: var(--text-secondary);
}

.inq-res-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: var(--emerald);
  font-size: 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.inq-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f2f4f4;
  border: 1px solid #e6ecec;
}

.inq-code-lbl {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.inq-code {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.inq-payment-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid var(--border);
  font-size: 13px;
}

.pay-detail-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.pay-detail-val {
  color: var(--text);
  font-weight: 700;
  word-break: break-all;
  text-align: right;
}

.pay-detail-right {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  justify-content: flex-end;
}

.pay-warn-box {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
  font-size: 12.8px;
  font-weight: 600;
}

.pay-info-notice {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f2f4f4;
  border: 1px solid #e6ecec;
  color: #202829;
  font-size: 13px;
  font-weight: 500;
}

.network-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.network-tab {
  min-height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.network-tab.active {
  border-color: #2d3435;
  background: #2d3435;
  color: #f8f8f8;
}

.inq-proof-section {
  padding: 14px;
  border-radius: var(--radius-md);
  background: #f7f9f9;
  border: 1px solid var(--border);
}

.inq-proof-confirmed {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 13px;
  font-weight: 600;
}

.inq-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==================== ORDER TRACKING VIEW ==================== */
.track-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 20px;
  align-items: start;
}

.track-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.track-meta-cell {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.track-meta-lbl {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.track-meta-val {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.track-cdkey-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.track-cdkey-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 8px;
}

.track-cdkey-val {
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #6ee7b7;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  word-break: break-all;
  margin-bottom: 12px;
}

/* ==================== ADMIN PANEL ==================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-login-card {
  max-width: 460px;
  margin: 0 auto;
}

.admin-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.admin-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.admin-tab {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  min-height: 38px;
  transition: all 0.16s ease;
}

.admin-tab:hover {
  color: var(--text);
  background: var(--surface-2);
}

.admin-tab.active {
  background: var(--accent);
  color: #ffffff;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.admin-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-select {
  width: auto;
  min-width: 200px;
  min-height: 40px;
  font-size: 13.5px;
  padding: 6px 12px;
}

.admin-count-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: #f2f4f4;
  border: 1px solid #e6ecec;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

.admin-orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-order-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-order-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-order-card .order-id {
  background: #2d3435;
  color: #f8f8f8;
  padding: 3px 9px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
}

.admin-order-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.admin-order-meta div b {
  color: var(--text);
  display: block;
  font-weight: 600;
  word-break: break-word;
}

.admin-order-controls {
  display: grid;
  grid-template-columns: 170px 1fr 1fr auto auto;
  gap: 8px;
  align-items: center;
}

.admin-order-controls .input {
  min-height: 38px;
  font-size: 13px;
  padding: 6px 10px;
  background: #ffffff;
}

.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-settings-grid .span-2,
.admin-voucher-form .span-2 {
  grid-column: 1 / -1;
}

.admin-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.admin-inline-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.admin-inline-form .input {
  flex: 1;
  min-width: 140px;
  min-height: 40px;
  font-size: 13.5px;
}

.admin-voucher-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.admin-voucher-form .input {
  min-height: 40px;
  font-size: 13.5px;
}

.admin-sub-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 440px;
  overflow-y: auto;
}

.admin-sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12.5px;
  flex-wrap: wrap;
}

.admin-sub-key {
  font-weight: 700;
  color: var(--accent);
  word-break: break-all;
}

.admin-sub-meta {
  color: var(--text-secondary);
  font-size: 12px;
}

.admin-sub-meta b {
  color: var(--text) !important;
}

/* ==================== ADMIN CATALOG TAB ==================== */
.admin-catalog-filters {
  flex: 1;
}

.admin-search-input {
  min-height: 40px;
  min-width: 220px;
  max-width: 340px;
  font-size: 13.5px;
  padding: 6px 12px;
}

.admin-new-catalog {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: #f7f9f9;
  border: 1px solid #e6ecec;
}

.admin-check-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.admin-check-label {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin-bottom: 0 !important;
  cursor: pointer;
  font-size: 13px !important;
  color: var(--text) !important;
  font-weight: 600;
  user-select: none;
}

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

.admin-catalog-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 680px;
  overflow-y: auto;
  padding-right: 4px;
}

.admin-catalog-row {
  display: grid;
  grid-template-columns: 1.5fr 130px auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.admin-catalog-row.is-inactive {
  opacity: 0.62;
}

.admin-cat-info {
  min-width: 0;
}

.admin-cat-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.admin-cat-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.adm-cat-price {
  min-height: 38px;
  font-size: 13.5px;
  padding: 5px 10px;
  text-align: right;
  background: #ffffff;
}

/* ==================== PRODUCT DETAIL PAGE (/urun/:slug) ==================== */
.pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.pd-bc-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.16s ease;
}

.pd-bc-link:hover {
  color: var(--accent);
}

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

.pd-bc-current {
  color: var(--text);
  font-weight: 700;
}

.pd-not-found {
  text-align: center;
  padding: 48px 24px;
  max-width: 520px;
  margin: 24px auto;
}

.pd-not-found h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.pd-not-found p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.pd-grid {
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  gap: 22px;
  align-items: start;
}

.pd-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.pd-hero-card,
.pd-details-card,
.pd-buy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.pd-visual {
  height: 200px;
  border-radius: 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f2f4f4;
  border: 1px solid #e6ecec;
  margin-bottom: 18px;
}

.pd-visual img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.pd-visual svg {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  display: block;
}

.pd-visual .visual-badge {
  top: 12px;
  left: 12px;
  padding: 4px 11px;
  font-size: 11.5px;
}

.pd-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.pd-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: #f2f4f4;
  border: 1px solid #e6ecec;
  color: #202829;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.16s ease;
}

.pd-cat-pill:hover {
  background: #e6ecec;
}

.pd-delivery-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--brand-green-bg);
  border: 1px solid #cde4d5;
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 700;
}

.pd-title {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 6px;
}

.pd-subtitle {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pd-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pd-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
}

.pd-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.pd-tab {
  border: 1px solid transparent;
  background: var(--surface-2);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  min-height: 38px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.pd-tab:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.pd-tab.active {
  background: #2d3435;
  border-color: #2d3435;
  color: #f8f8f8;
}

.pd-desc-text {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.pd-subhead {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 14px 0 10px;
}

.pd-specs-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pd-specs-list li {
  position: relative;
  padding: 9px 12px 9px 30px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.pd-specs-list li::before {
  content: '✓';
  position: absolute;
  left: 11px;
  top: 9px;
  color: var(--emerald);
  font-weight: 800;
}

.pd-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pd-highlight-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.pd-highlight-item strong {
  display: block;
  font-size: 13.2px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.pd-highlight-item span {
  display: block;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.pd-delivery-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-del-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.pd-del-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #2d3435;
  border: 1px solid #2d3435;
  color: #f8f8f8;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pd-del-step strong {
  display: block;
  font-size: 13.8px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.pd-del-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pd-ai-reminder {
  margin-top: 14px;
  padding: 16px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.pd-ai-rem-title {
  font-size: 14px;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 5px;
}

.pd-ai-reminder p {
  font-size: 13px;
  color: #78350f;
  line-height: 1.55;
  margin-bottom: 12px;
}

.pd-ai-rem-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pd-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-faq-card {
  padding: 13px 15px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.pd-faq-card h4 {
  font-size: 13.8px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.pd-faq-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Right Sticky Buy Card */
.pd-buy-card {
  position: sticky;
  top: 132px;
}

.pd-price-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.pd-price-kicker {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.pd-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--price-red);
  line-height: 1.15;
}

.pd-price.is-quote {
  font-size: 20px;
  font-family: var(--font-sans);
  color: var(--accent);
}

.pd-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--brand-green-bg);
  border: 1px solid #cde4d5;
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pd-section-block {
  margin-bottom: 14px;
}

.pd-block-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.pd-variant-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pd-variant-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 50px;
  padding: 9px 11px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.16s ease;
}

.pd-variant-btn:hover {
  border-color: var(--accent);
  background: #ffffff;
}

.pd-variant-btn.active {
  background: #ffffff;
  border-color: #2d3435;
  box-shadow: 0 0 0 1px #2d3435;
}

.pd-v-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.pd-v-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--price-red);
}

.pd-v-price.is-quote {
  color: var(--accent);
  font-family: var(--font-sans);
}

.pd-qty-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.pd-qty-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pd-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 2px;
}

.pd-qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.pd-qty-btn:hover:not(:disabled) {
  background: #f2f4f4;
  color: #202829;
}

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

.pd-qty-val {
  min-width: 28px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.pd-total-wrap {
  text-align: right;
}

.pd-total-lbl {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.pd-total-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.pd-checkout-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
}

.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

/* ==================== TOAST ==================== */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: all 0.24s ease;
  max-width: 92vw;
  text-align: center;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
}

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

.toast.ok {
  background: #065f46;
  color: #ffffff;
  border: 1px solid #10b981;
}

.toast.err {
  background: #991b1b;
  color: #ffffff;
  border: 1px solid #ef4444;
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1239px) {
  .bestsellers-grid,
  .catalog-grid,
  .catalog-shelf-grid,
  .pd-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1160px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .header-search {
    max-width: 420px;
  }
}

@media (max-width: 1024px) {
  .bento-hero {
    grid-template-columns: 1fr;
  }

  .bento-banner {
    max-height: none;
  }

  .bento-side {
    flex-direction: row;
  }

  .trust-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-grid,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 959px) {
  .bestsellers-grid,
  .catalog-grid,
  .catalog-shelf-grid,
  .pd-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .grid-activation,
  .track-layout,
  .admin-cards-grid,
  .pd-grid {
    grid-template-columns: 1fr;
  }

  .status-card-sticky,
  .pd-buy-card {
    position: static;
  }

  .admin-order-controls,
  .admin-catalog-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) {
  .category-nav-inner {
    max-width: 1420px;
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 5px;
    padding: 8px 16px;
  }

  .cat-strip-item {
    padding: 3px 8px 3px 4px;
    font-size: 11.6px;
    gap: 4px;
  }

  .cat-strip-icon {
    width: 20px;
    height: 20px;
  }

  .cat-strip-icon svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 900px) {
  .category-nav-inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    height: auto;
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .header-right {
    display: contents;
  }

  .topbar-actions {
    margin-left: auto;
  }

  .header-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    height: 38px;
  }

  .category-nav-inner {
    padding: 7px 14px;
  }

  .bento-side {
    flex-direction: column;
  }

  .packages-grid,
  .policy-grid,
  .guide-grid,
  .trust-pillars-grid,
  .admin-settings-grid,
  .admin-voucher-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .input,
  .header-search-input,
  .catalog-variant-select,
  .admin-select,
  .admin-search-input {
    font-size: 16px;
  }

  .btn-announce {
    width: 36px;
    height: 36px;
    justify-content: center;
    padding: 0;
  }
}

@media (max-width: 639px) {
  .page-shell {
    padding: 14px 12px 48px;
  }

  .bestsellers-grid,
  .catalog-grid,
  .catalog-shelf-grid,
  .pd-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .pd-specs-list,
  .pd-highlights-grid,
  .pd-variant-list {
    grid-template-columns: 1fr;
  }

  .pd-visual {
    height: 150px;
  }

  .pd-visual img {
    width: 56px;
    height: 56px;
  }

  .pd-visual svg {
    width: 56px;
    height: 56px;
  }

  .category-shelf-title,
  .catalog-active-title {
    font-size: 16px;
  }

  .best-card,
  .catalog-card {
    padding: 10px;
  }

  .card-visual {
    height: 98px;
  }

  .card-logo-circle {
    width: 48px;
    height: 48px;
  }

  .card-visual img {
    width: 28px;
    height: 28px;
  }

  .card-visual svg {
    width: 28px;
    height: 28px;
  }

  .card-title {
    font-size: 13px;
    min-height: 35px;
  }

  .card-price {
    font-size: 14.5px;
  }

  .card-buy-btn {
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .bento-banner {
    padding: 18px;
    min-height: 180px;
  }

  .pkg-card,
  .glass-card,
  .modal-panel {
    padding: 18px;
  }

  .input-row,
  .toggle-pair,
  .plan-grid,
  .pay-method-grid,
  .track-meta-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}
