.content-card.svelte-52ed7z{color:inherit;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff14;border-radius:16px;flex-direction:column;gap:.75rem;padding:1.5rem;text-decoration:none;transition:background .25s,border-color .25s,transform .15s;display:flex}.content-card.svelte-52ed7z:hover{background:#ffffff12;border-color:#7c3aed4d;transform:translateY(-2px)}.card-top.svelte-52ed7z{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.badge.svelte-52ed7z{text-transform:uppercase;letter-spacing:.04em;border-radius:100px;padding:.2rem .6rem;font-size:.7rem;font-weight:600}.badge-blue.svelte-52ed7z{color:#93c5fd;background:#3b82f626}.badge-green.svelte-52ed7z{color:#86efac;background:#22c55e26}.badge-purple.svelte-52ed7z{color:#d8b4fe;background:#a855f726}.badge-amber.svelte-52ed7z{color:#fcd34d;background:#f59e0b26}.badge-cyan.svelte-52ed7z{color:#67e8f9;background:#06b6d426}.badge-gray.svelte-52ed7z{color:#ffffff80;background:#ffffff14}.card-category.svelte-52ed7z{color:#fff6;text-transform:capitalize;font-size:.7rem}.card-title.svelte-52ed7z{color:#f1f1f4;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:1.05rem;font-weight:600;line-height:1.35;display:-webkit-box;overflow:hidden}.card-desc.svelte-52ed7z{color:#ffffff73;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:.82rem;line-height:1.55;display:-webkit-box;overflow:hidden}.card-bottom.svelte-52ed7z{border-top:1px solid #ffffff0f;justify-content:space-between;align-items:center;margin-top:auto;padding-top:.5rem;display:flex}.card-price.svelte-52ed7z{background:linear-gradient(135deg,#a78bfa,#f472b6);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;font-size:1rem;font-weight:700}.card-date.svelte-52ed7z{color:#ffffff4d;font-size:.72rem}body{margin:0;font-family:Inter,system-ui,-apple-system,sans-serif}.page-wrapper.svelte-1d6nxft{color:#f1f1f4;background:linear-gradient(135deg,#0f0c29 0%,#1a1a3e 40%,#24243e 100%);min-height:100vh;padding-bottom:4rem;position:relative;overflow:hidden}.backdrop.svelte-1d6nxft{pointer-events:none;background:radial-gradient(at 30% 20%,#7850ff2e 0%,#0000 60%),radial-gradient(at 70% 60%,#ff64c81a 0%,#0000 50%),radial-gradient(at 50% 90%,#50c8ff0f 0%,#0000 40%);position:absolute;inset:0}.navbar.svelte-1d6nxft{justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;padding:1.25rem 2.5rem;display:flex;position:relative}.nav-brand.svelte-1d6nxft{color:#f1f1f4;align-items:center;gap:.6rem;font-size:1.15rem;font-weight:700;text-decoration:none;display:flex}.nav-actions.svelte-1d6nxft{align-items:center;gap:.75rem;display:flex}.btn-ghost.svelte-1d6nxft{color:#fffc;cursor:pointer;background:0 0;border:1px solid #ffffff1f;border-radius:8px;padding:.5rem 1rem;font-family:inherit;font-size:.85rem;font-weight:500;text-decoration:none;transition:background .2s,border-color .2s}.btn-ghost.svelte-1d6nxft:hover{background:#ffffff0f;border-color:#fff3}.btn-accent.svelte-1d6nxft{color:#fff;background:linear-gradient(135deg,#7c3aed,#a855f7);border:none;border-radius:8px;padding:.5rem 1.15rem;font-size:.85rem;font-weight:600;text-decoration:none;transition:opacity .2s,transform .1s}.btn-accent.svelte-1d6nxft:hover{opacity:.9;transform:translateY(-1px)}.archive-header.svelte-1d6nxft{text-align:center;max-width:1200px;margin:0 auto;padding:3rem 2rem 1.5rem;animation:.6s ease-out svelte-1d6nxft-fadeUp;position:relative}@keyframes svelte-1d6nxft-fadeUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.archive-header.svelte-1d6nxft h1:where(.svelte-1d6nxft){letter-spacing:-.02em;margin:0 0 .75rem;font-size:2.5rem;font-weight:800}.gradient-text.svelte-1d6nxft{background:linear-gradient(135deg,#a78bfa,#f472b6,#38bdf8);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.header-sub.svelte-1d6nxft{color:#ffffff80;margin:0;font-size:1rem}.controls.svelte-1d6nxft{gap:1rem;max-width:1200px;margin:1.5rem auto;padding:0 2.5rem;display:flex;position:relative}.search-box.svelte-1d6nxft{flex:1;position:relative}.search-icon.svelte-1d6nxft{color:#ffffff4d;pointer-events:none;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.search-input.svelte-1d6nxft{color:#f1f1f4;box-sizing:border-box;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;outline:none;width:100%;padding:.75rem 1rem .75rem 2.75rem;font-family:inherit;font-size:.9rem;transition:border-color .2s,background .2s}.search-input.svelte-1d6nxft:focus{background:#ffffff12;border-color:#7c3aed66}.search-input.svelte-1d6nxft::placeholder{color:#ffffff4d}.sort-select.svelte-1d6nxft{color:#f1f1f4;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;outline:none;min-width:160px;padding:.75rem 1rem;font-family:inherit;font-size:.85rem}.sort-select.svelte-1d6nxft option:where(.svelte-1d6nxft){color:#f1f1f4;background:#1a1a3e}.category-bar.svelte-1d6nxft{flex-wrap:wrap;gap:.5rem;max-width:1200px;margin:0 auto 1.5rem;padding:0 2.5rem;display:flex;position:relative}.cat-chip.svelte-1d6nxft{color:#fff9;cursor:pointer;text-transform:capitalize;background:#ffffff0a;border:1px solid #ffffff14;border-radius:100px;padding:.4rem .9rem;font-family:inherit;font-size:.78rem;font-weight:500;transition:background .2s,border-color .2s,color .2s}.cat-chip.svelte-1d6nxft:hover{color:#fffc;background:#ffffff14}.cat-chip.active.svelte-1d6nxft{color:#c4b5fd;background:#7c3aed33;border-color:#7c3aed66}.content-area.svelte-1d6nxft{max-width:1200px;margin:0 auto;padding:0 2.5rem;position:relative}.card-grid.svelte-1d6nxft{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.25rem;display:grid}.loading-state.svelte-1d6nxft,.empty-state.svelte-1d6nxft{color:#fff6;flex-direction:column;justify-content:center;align-items:center;gap:1rem;padding:6rem 2rem;display:flex}.spinner.svelte-1d6nxft{border:3px solid #ffffff1a;border-top-color:#a78bfa;border-radius:50%;width:32px;height:32px;animation:.8s linear infinite svelte-1d6nxft-spin}@keyframes svelte-1d6nxft-spin{to{transform:rotate(360deg)}}.pagination.svelte-1d6nxft{justify-content:center;align-items:center;gap:.4rem;margin-top:3rem;padding:0 2.5rem;display:flex;position:relative}.page-btn.svelte-1d6nxft{color:#fff9;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff14;border-radius:8px;padding:.5rem .9rem;font-family:inherit;font-size:.82rem;font-weight:500;transition:background .2s,border-color .2s}.page-btn.svelte-1d6nxft:hover:not(:disabled){background:#ffffff14}.page-btn.active.svelte-1d6nxft{color:#c4b5fd;background:#7c3aed40;border-color:#7c3aed66}.page-btn.svelte-1d6nxft:disabled{opacity:.3;cursor:not-allowed}@media (width<=640px){.archive-header.svelte-1d6nxft h1:where(.svelte-1d6nxft){font-size:1.75rem}.navbar.svelte-1d6nxft{padding:1rem 1.25rem}.controls.svelte-1d6nxft{flex-direction:column;padding:0 1.25rem}.content-area.svelte-1d6nxft{padding:0 1.25rem}.card-grid.svelte-1d6nxft{grid-template-columns:1fr}.category-bar.svelte-1d6nxft,.pagination.svelte-1d6nxft{padding:0 1.25rem}}

/* ==========================================================================
   AFW MARKETPLACE - MOBILE 3-LINE MENU & PARALLEL DESKTOP CATEGORY GRID (V4)
   ========================================================================== */

/* 1. DESKTOP VIEWPORT (> 900px): Hide Mobile Menu Elements */
@media (min-width: 901px) {
  .afw-hamburger,
  #afwHamburgerBtn,
  .afw-mobile-drawer,
  #afwMobileDrawer {
    display: none !important;
  }
}

/* 2. MOBILE VIEWPORT (<= 900px): Clean Header & 3-Line Hamburger Menu */
@media (max-width: 900px) {
  /* HIDE the messy wrapped links row completely from navbar header */
  .nav-center-links,
  div.nav-center-links,
  .navbar .nav-center-links,
  .nav-center-links.svelte-1uha8ag,
  .nav-center-links.svelte-1d6nxft {
    display: none !important;
  }

  /* Keep top navbar clean, single-line, uncrowded */
  .navbar-wrapper {
    padding: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: rgba(8, 6, 20, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  nav.navbar,
  .navbar,
  .navbar.svelte-1d6nxft,
  .navbar.svelte-1uha8ag {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.65rem 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .nav-brand,
  .nav-brand.svelte-1d6nxft,
  .nav-brand.svelte-1uha8ag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
  }

  .brand-name {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
  }

  .brand-img {
    height: 28px !important;
    width: auto !important;
  }

  .nav-actions,
  .nav-actions.svelte-1d6nxft,
  .nav-actions.svelte-1uha8ag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-left: auto !important;
  }

  .btn-ghost,
  .btn-accent {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.78rem !important;
  }

  /* 3-Line Hamburger Button */
  .afw-hamburger,
  #afwHamburgerBtn {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin-left: 0.4rem !important;
    transition: all 0.25s ease !important;
    z-index: 10001 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  }

  .afw-hamburger:hover {
    background: rgba(168, 85, 247, 0.2) !important;
    border-color: #a855f7 !important;
    transform: scale(1.04) !important;
  }

  /* 3 Horizontal Lines */
  .afw-hamburger span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
    transform-origin: center !important;
  }

  /* Transform 3 lines into an X when active */
  .afw-hamburger.is-active {
    background: rgba(168, 85, 247, 0.25) !important;
    border-color: #c084fc !important;
  }

  .afw-hamburger.is-active .bar1 {
    transform: translateY(7px) rotate(45deg) !important;
  }
  .afw-hamburger.is-active .bar2 {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }
  .afw-hamburger.is-active .bar3 {
    transform: translateY(-7px) rotate(-45deg) !important;
  }
}

/* 3. MOBILE DRAWER MODAL OVERLAY */
.afw-mobile-drawer {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  visibility: hidden !important;
  opacity: 0 !important;
  transition: visibility 0.25s ease, opacity 0.25s ease !important;
}

.afw-mobile-drawer.is-open {
  visibility: visible !important;
  opacity: 1 !important;
}

.afw-drawer-backdrop {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(4, 2, 14, 0.78) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.afw-drawer-panel {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: min(85vw, 340px) !important;
  height: 100% !important;
  background: rgba(13, 10, 32, 0.98) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.75) !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 1.5rem 1.25rem !important;
  box-sizing: border-box !important;
  transform: translateX(100%) !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow-y: auto !important;
}

.afw-mobile-drawer.is-open .afw-drawer-panel {
  transform: translateX(0) !important;
}

.afw-drawer-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-bottom: 1.25rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-bottom: 1.25rem !important;
}

.afw-drawer-logo-text {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  background: linear-gradient(135deg, #ffffff, #c4b5fd) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.afw-drawer-close {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  font-size: 1.75rem !important;
  line-height: 1 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.afw-drawer-close:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  border-color: #ef4444 !important;
  color: #fca5a5 !important;
}

.afw-drawer-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.55rem !important;
  flex: 1 !important;
}

.afw-drawer-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  padding: 0.9rem 1.1rem !important;
  border-radius: 12px !important;
  color: #e2e8f0 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.2s ease !important;
}

.afw-drawer-item:hover,
.afw-drawer-item:active {
  background: rgba(168, 85, 247, 0.18) !important;
  border-color: rgba(168, 85, 247, 0.5) !important;
  color: #ffffff !important;
  transform: translateX(4px) !important;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2) !important;
}

.afw-item-icon {
  font-size: 1.15rem !important;
}

.afw-drawer-footer {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
  padding-top: 1.25rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 1.25rem !important;
}

.afw-drawer-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.85rem 1rem !important;
  border-radius: 12px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.afw-btn-ghost {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

.afw-btn-accent {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.45) !important;
}

body.afw-menu-locked {
  overflow: hidden !important;
}

/* 4. HOMEPAGE CATEGORY CARDS: PARALLEL HORIZONTAL DESKTOP GRID */
@media (min-width: 992px) {
  .categories-section,
  .categories-section.svelte-1uha8ag {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 4rem 2rem !important;
  }

  .cat-grid,
  .cat-grid.svelte-1uha8ag {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.75rem !important;
    align-items: stretch !important;
  }

  .cat-card,
  .cat-card.svelte-1uha8ag {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 230px !important;
    padding: 2rem !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 18px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .cat-card:hover,
  .cat-card.svelte-1uha8ag:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(167, 139, 250, 0.5) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px -4px rgba(124, 58, 237, 0.25) !important;
  }
}

@media (min-width: 640px) and (max-width: 991px) {
  .cat-grid,
  .cat-grid.svelte-1uha8ag {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.35rem !important;
  }

  .cat-card,
  .cat-card.svelte-1uha8ag {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 200px !important;
  }
}

@media (max-width: 639px) {
  .cat-grid,
  .cat-grid.svelte-1uha8ag {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* 5. ARCHIVE POSTCARDS & CATEGORY PILLS POLISH */
.content-card,
.content-card.svelte-52ed7z {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.content-card:hover,
.content-card.svelte-52ed7z:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(167, 139, 250, 0.45) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px -4px rgba(124, 58, 237, 0.25) !important;
}

.card-title,
.card-title.svelte-52ed7z {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.08rem !important;
  line-height: 1.4 !important;
  letter-spacing: -0.015em !important;
}

.card-desc,
.card-desc.svelte-52ed7z {
  color: #e2e8f0 !important;
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  opacity: 1 !important;
  letter-spacing: 0.01em !important;
}

.card-date,
.card-date.svelte-52ed7z {
  color: #cbd5e1 !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
}

.card-category,
.card-category.svelte-52ed7z {
  color: #c4b5fd !important;
  font-weight: 600 !important;
  font-size: 0.74rem !important;
}
