:root {
  --bg-body: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --brand: #8b5cf6;
  --black: #000000;
  --card-radius: 24px;
  --pill-radius: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.18);
  --shadow-subtle: 0 8px 25px rgba(15, 23, 42, 0.12);
  --max-width: 1200px;
  --primary-black: #0e0e0e;
  --text-dark: #1a1a1a;
  --text-gray: #666666;
  --bg-light: #e6e7eb;
  /* The light grey background from the image */
  --white: #ffffff;
  --radius-md: 12px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.5;
  
}
select, option{
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

.page-wrap {
  min-height: 100vh;
  background-color: #ffffff;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  padding: 10px 24px;
  border-radius: 30px;
  border: none;
  font-weight: 500;
  
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-black {
  background-color: var(--primary-black);
  color: var(--white);
  cursor: pointer;
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-black);
}

/*sections*/
section {
  padding: 72px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-subtitle {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
}


/* ===== HERO (Figma-style) ===== */
.hero-festival {
  position: relative;
  margin-top: 80px;
  min-height: 520px;
  height: clamp(520px, 72vh, 720px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-festival .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/images/festivals.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-festival .hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      1200px 600px at 30% 35%,
      rgba(0, 0, 0, 0.15),
      rgba(0, 0, 0, 0.55)
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55));
}

.hero-festival .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 90px 24px 50px;
}

.hero-festival .hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.hero-festival .hero-subtitle {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
}

/* Glass filter bar */
.hero-festival .hero-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr)) auto;
  gap: 12px;
  align-items: center;
  max-width: 980px;

  padding: 10px 10px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.filter-pill {
  position: relative;
  height: 44px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.20);
  display: flex;
  align-items: center;
  padding: 0 38px 0 16px;
}

.filter-pill select {
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 13px;
  appearance: none;
  -webkit-appearance: none;
  
}

.filter-pill select option {
  color: #111827;
}

.filter-pill i {
  position: absolute;
  right: 14px;
  font-size: 12px;
  opacity: 0.9;
  pointer-events: none;
  cursor: pointer;
}

.hero-apply {
  height: 44px;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 900px) {
  .hero-festival .hero-inner {
    padding: 86px 18px 44px;
  }

  .hero-festival .hero-filters {
    grid-template-columns: 1fr 1fr;
    border-radius: 22px;
    padding: 12px;
  }

  .hero-apply {
    grid-column: 1 / -1;
    width: 100%;
  }
}


/* Filter Bar inside Hero */
.filter-bar {
  position: absolute;
  bottom: 60px;
  left: 80px;
  right: 80px;
  padding: 10px 15px 10px;
  border-radius: 15px;
  display: flex;
  gap: 15px;
  transition: all 0.4s ease;
  background-color: rgba(215, 206, 206, 0);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.089);
  backdrop-filter: blur(5px);
}

.filter-item {
  flex: 1;
  border-radius: 8px;
  padding: 12px;
  color: #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  
  transition: all 0.4s ease;
  background-color: rgba(159, 158, 158, 0);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.089);
  backdrop-filter: blur(10px);
}

/* ===== FIGMA EVENTS SECTION ===== */
.figma-events {
  padding: 60px 20px;
}

.figma-events .events-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.figma-events .section-header {
  text-align: center;
  margin-bottom: 18px;
}

.figma-events .section-header h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 10px;
}

.figma-events .section-header p {
  color: var(--text-gray);
  max-width: 720px;
  margin: 0 auto 18px auto;
  font-size: 13px;
  line-height: 1.7;
}

/* Pills */
.events-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.pill {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  cursor: pointer;
  transition: 0.15s ease;
}

.pill:hover {
  transform: translateY(-1px);
}

.pill.is-active {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

/* Block header */
.events-block {
  margin-top: 22px;
}

.block-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 14px 0 10px;
}

.block-header h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  text-align: left;
}

.block-hint {
  font-size: 12px;
  color: var(--text-gray);
  text-align: right;
}

/* Horizontal scroll row */
.events-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  
}

.events-row:active {
  
}

/* Hide scrollbar */
.events-row::-webkit-scrollbar {
  height: 8px;
}
.events-row::-webkit-scrollbar-thumb {
  background: rgba(17, 24, 39, 0.15);
  border-radius: 999px;
}
.events-row::-webkit-scrollbar-track {
  background: transparent;
}

/* Card */
.figma-events .event-card {
  flex: 0 0 auto;
  width: 360px;
  max-width: 90vw;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  text-align: left;
  scroll-snap-align: start;
}

.figma-events .card-image {
  height: 190px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.figma-events .card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 16px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.figma-events .card-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.figma-events .card-date {
  font-size: 11px;
  opacity: 0.92;
}

.figma-events .card-details {
  padding: 14px 16px 16px;
}

.figma-events .detail-row {
  font-size: 12px;
  color: #111827;
  margin-bottom: 8px;
}

.figma-events .price {
  font-weight: 700;
}

/* Footer = tag left, button right */
.figma-events .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: 12px;
}

/* Tag list (max 3 rows) */
.tag-list {
  --tagH: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: calc((var(--tagH) * 3) + (6px * 2)); /* clamp to 3 rows */
  overflow: hidden;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--tagH);
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 11px;
  white-space: nowrap;
}

.tag-pill i {
  color: #f59e0b;
  font-size: 11px;
}

/* Button sizing like Figma */
.btn-ticket {
  padding: 8px 18px;
  font-size: 12px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
}


    /* LOCATIONS */
    .locations {
        background: #ffffff;
    }

    .locations-layout {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
        gap: 24px;
        align-items: start;
    }

    .locations-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .location-card {
        border-radius: 24px;
        overflow: hidden;
        box-shadow: var(--shadow-subtle);
    }

    .location-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .locations-filter-card {
        border-radius: 28px;
        background: #f3f4f6;
        padding: 22px 22px 24px;
        box-shadow: var(--shadow-subtle);
    }

    .locations-filter-card h4 {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .locations-filter-card p {
        font-size: 13px;
        color: var(--text-muted);
        margin-bottom: 22px;
    }

    .locations-select-wrap {
        background: #ffffff;
        border-radius: var(--pill-radius);
        border: 1px solid rgba(148, 163, 184, 0.7);
        padding: 10px 16px;
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
    }

    .locations-select-wrap i {
        font-size: 14px;
        color: var(--text-muted);
    }

    .locations-select {
        border: none;
        background: transparent;
        outline: none;
        flex: 1;
        font-size: 14px;
    }

    .locations-btn {
        width: 100%;
        padding: 12px 18px;
        border-radius: var(--pill-radius);
        border: none;
        background: #000;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        
        margin-top: 4px;
    }


/* NEWSLETTER */
.newsletter-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.newsletter-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 56px 24px;
  box-shadow: var(--shadow-soft);
}

.newsletter-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/background.jpg");
  background-size: 100%;
  background-position: center;
}

.news-glass {
  width: 90%;
  height: 100%;
  position: relative;
  justify-self: center;
  padding: 40px 10px 40px;
  border-radius: 20px;
  transition: all 0.4s ease;
  overflow: hidden;
  background-color: rgba(163, 163, 163, 0.023);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(7px);
}

.newsletter-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 540px;
  margin: 0 auto;
}

.newsletter-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.newsletter-text {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 26px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.newsletter-input-wrap {
  width: 100%;
  max-width: 420px;
  background: transparent;
  border-radius: var(--pill-radius);
  border: 1px solid rgba(249, 250, 251, 0.8);
  padding: 10px 18px;
}

.newsletter-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #f9fafb;
  font-size: 14px;
}

.newsletter-input::placeholder {
  color: rgba(229, 231, 235, 0.9);
}

.newsletter-btn {
  max-width: 420px;
  width: 100%;
  border-radius: var(--pill-radius);
  border: none;
  padding: 12px 24px;
  background: #ffffff;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  
}

 /* FOOTER */
    footer {
        background: #000000;
        color: #f9fafb;
        padding: 56px 24px 32px;
    }

    .footer-inner {
        max-width: var(--max-width);
        margin: 0 auto;
    }

    .footer-top {
        display: grid;
        grid-template-columns: minmax(0, 2.1fr) repeat(3, minmax(0, 1.1fr));
        gap: 40px;
        padding-bottom: 36px;
        border-bottom: 1px solid rgba(55, 65, 81, 0.7);
    }

    .footer-logo-row {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .footer-logo {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .footer-logo-icon {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        background: linear-gradient(135deg, #a855f7, #6366f1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 20px;
    }

    .footer-logo-text {
        font-size: 20px;
        font-weight: 600;
    }

    .footer-logo-text span {
        font-weight: 400;
    }

    .footer-desc {
        font-size: 13px;
        color: rgba(249, 250, 251, 0.85);
        max-width: 280px;
    }

    .footer-social {
        margin-top: 8px;
    }

    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 999px;
        border: 1px solid rgba(249, 250, 251, 0.6);
        font-size: 16px;
    }

    .footer-col-title {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .footer-links {
        list-style: none;
        font-size: 13px;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .footer-links a {
        color: rgba(249, 250, 251, 0.86);
    }

    .footer-bottom {
        padding-top: 18px;
        font-size: 12px;
        color: rgba(156, 163, 175, 0.9);
        text-align: center;
    }


/* Responsive */
@media (max-width: 768px) {
  .block-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-logo{
    height:50px;
  }
  .block-hint {
    text-align: left;
  }
  .figma-events .event-card {
    width: 320px;
  }
          .locations-layout {
            grid-template-columns: 1fr;
        }

        .locations-grid {
            grid-template-columns: 1fr;
        }
                .location-selector{
            width: 100%;
        }

}

   :root{
  --text-main: #111827;
  --pill-radius: 999px;
  --max-width: 1200px;

  --nav-bg: rgba(255,255,255,.9);
  --nav-border: rgba(148,163,184,.15);
  --nav-shadow: 0 18px 45px rgba(15,23,42,.10);

  --menu-bg: rgba(255,255,255,.92);
  --menu-border: rgba(148,163,184,.18);
}

/* ===== NAVBAR ===== */
header.navbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 16px 24px;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--nav-border);
}

.navbar-inner{
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* LEFT */
.nav-left{
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-left a{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.nav-logo{
  height: 40px;
  display: block;
}

.nav-logo-text{
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.nav-logo-text span{
  font-weight: 400;
}

/* SEARCH (DESKTOP) */
.nav-search-desktop{
  flex: 1;
  max-width: 520px;
  display: flex;
  justify-content: center;
}

.nav-search-pill{
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: #f9fafb;
  border-radius: var(--pill-radius);
  border: 1px solid rgba(148,163,184,0.3);
  box-shadow: 0 4px 18px rgba(15,23,42,0.06);
}

.nav-search-input{
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--text-main);
}

.nav-search-divider{
  width: 1px;
  height: 24px;
  background: rgba(148,163,184,0.6);
}

.nav-select-city{
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--text-main);
}

.nav-search-icon{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* RIGHT */
.nav-right{
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-lang{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.nav-button{
  padding: 8px 18px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(148,163,184,0.6);
  background: #fff;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-main);
}

.nav-button.primary{
  background: #000;
  border-color: #000;
  color: #fff;
}

/* MOBILE TOGGLE */
.nav-mobile-toggle{
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ===== PROFILE DROPDOWN ===== */
.nav-profile{ position: relative; }

.nav-profile-btn{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.55);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(14px);
  cursor:pointer;
}

.nav-avatar{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
}

.nav-avatar-fallback{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 700;
  font-size: 13px;
  background: rgba(17,24,39,.08);
  color: var(--text-main);
}

.nav-profile-email{
  font-size: 13px;
  color: var(--text-main);
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-profile-chevron{
  font-size: 12px;
  opacity: .8;
}

.nav-profile-menu{
  position:absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  padding: 10px;
  border-radius: 18px;
  background: var(--menu-bg);
  border: 1px solid var(--menu-border);
  box-shadow: var(--nav-shadow);
  backdrop-filter: blur(18px);
  z-index: 10000;

  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: .16s ease;
}

.nav-profile-menu.is-open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-profile-menu a{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  color: var(--text-main);
  text-decoration:none;
  font-size: 14px;
}

.nav-profile-menu a:hover{
  background: rgba(17,24,39,.06);
}

.nav-profile-menu hr{
  border: 0;
  height: 1px;
  background: rgba(148,163,184,.35);
  margin: 8px 6px;
}

.nav-profile-menu a.danger{
  color: #b91c1c;
}

/* Hide email on smaller screens (desktop-ish) */
@media (max-width: 980px){
  .nav-profile-email,
  .nav-profile-chevron{
    display:none;
  }
}

/* ===== MOBILE DRAWER (NO WHITE STRIP BUG) ===== */
.nav-mobile-drawer{
  display: none; /* default: hidden */
}

@media (max-width: 768px){
  /* hide desktop bits */
  .nav-search-desktop,
  .nav-lang,
  .nav-button{
    display:none !important;
  }

  /* hide the profile trigger on mobile (user info is in drawer) */
  .nav-profile{
    display:none !important;
  }

  /* show hamburger */
  .nav-mobile-toggle{
    display:flex;
    margin-left: auto;
  }

  header.navbar{
    padding: 14px 16px;
  }

  .navbar-inner{
    gap: 12px;
  }

  .nav-logo-text{
    font-size: 18px;
  }

  /* drawer shell: overlays, invisible when closed */
  .nav-mobile-drawer{
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 9998;

    padding: 0;               /* IMPORTANT: no padding here */
    opacity: 0;               /* closed */
    pointer-events: none;     /* closed */
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
  }

  .nav-mobile-drawer.open{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* the actual sheet */
  .nav-mobile-inner{
    margin: 12px 16px 16px;
    border-radius: 22px;
    background: var(--menu-bg);
    border: 1px solid var(--menu-border);
    box-shadow: 0 8px 25px rgba(15,23,42,.12);
    backdrop-filter: blur(18px);
    padding: 14px;
  }
}

/* mobile search row */
.nav-mobile-search{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,.28);
  background: rgba(249,250,251,.85);
}

.nav-mobile-search i{ opacity:.8; }

.nav-mobile-search input{
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: var(--text-main);
}

.nav-mobile-go{
  border: 0;
  padding: 8px 12px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  cursor:pointer;
  font-size: 13px;
}

/* state select */
.nav-mobile-filter{
  margin-top: 12px;
}

.nav-mobile-label{
  display:block;
  font-size: 12px;
  color: rgba(17,24,39,.70);
  margin: 0 0 6px 4px;
}

.nav-mobile-filter select{
  width: 100%;
  border: 1px solid rgba(148,163,184,.28);
  background: rgba(249,250,251,.85);
  border-radius: 16px;
  padding: 12px;
  outline: none;
  font-size: 14px;
}

/* actions */
.nav-mobile-actions{
  margin-top: 14px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.nav-mobile-user{
  display:flex;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(17,24,39,.04);
  border: 1px solid rgba(148,163,184,.18);
}

.nav-mobile-avatar{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(17,24,39,.08);
  flex: 0 0 auto;
}

.nav-mobile-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-mobile-userinfo{ min-width: 0; }

.nav-mobile-name{
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
}

.nav-mobile-email{
  font-size: 12px;
  color: rgba(17,24,39,.70);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* "View profile" inside the user block should be subtle */
.nav-mobile-userinfo .nav-mobile-link{
  padding: 8px 0;
  border: 0;
  background: transparent;
  text-decoration: underline;
}

/* generic links */
.nav-mobile-link{
  display:block;
  padding: 12px 12px;
  border-radius: 16px;
  text-decoration:none;
  color: var(--text-main);
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(255,255,255,.6);
}

.nav-mobile-link:hover{
  background: rgba(17,24,39,.05);
}

.nav-mobile-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 18px;
  text-decoration:none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(148,163,184,.28);
}

.nav-mobile-btn.outline{
  background: rgba(255,255,255,.7);
  color: var(--text-main);
}

.nav-mobile-btn.primary{
  background: #000;
  color: #fff;
  border-color: #000;
}

.nav-mobile-btn.create{
  background: rgba(0,0,0,.92);
  color:#fff;
  border-color: rgba(0,0,0,.92);
}

.nav-mobile-btn.add{
  background: rgba(17,24,39,.08);
  color: var(--text-main);
}

.filter-pill{ position:relative; }
    .filter-pill select{ padding-right: 42px; }

    .filter-pill-btn{
      border: 0;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      text-align: left;
    }

    .filter-clear{
      position:absolute; right:10px; top:50%; transform:translateY(-50%);
      width:22px; height:22px; border-radius:999px;
      display:grid; place-items:center;
      text-decoration:none; font-size:16px; line-height:1;
      color: rgba(255,255,255,.75);
      background: rgba(0,0,0,.25);
      border: 1px solid rgba(255,255,255,.25);
      backdrop-filter: blur(10px);
      z-index: 5;
    }
    .filter-clear:hover{ color:#fff; background: rgba(0,0,0,.35); }

    .card-image{ position:relative; }
    .listing-badge{
      position:absolute; top:12px; left:12px; z-index:3;
      display:inline-flex; align-items:center; gap:8px;
      padding:8px 10px; border-radius:999px;
      font-size:12px; font-weight:600;
      border:1px solid rgba(255,255,255,.35);
      background: rgba(0,0,0,.35);
      color:#fff;
      backdrop-filter: blur(10px);
    }

    /* Modal */
    .modal-backdrop{
      position: fixed;
      inset: 0;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 18px;
      background: rgba(0,0,0,.45);
      z-index: 9999;
    }
    .modal-backdrop.is-open{ display:flex; }

    .modal-card{
      width: min(520px, 100%);
      border-radius: 22px;
      border: 1px solid rgba(255,255,255,.22);
      background: rgba(255,255,255,.10);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      box-shadow: 0 20px 55px rgba(0,0,0,.35);
      overflow: hidden;
      color: #fff;
    }
    .modal-head{
      display:flex;
      align-items:center;
      justify-content: space-between;
      padding: 16px 16px 10px;
    }
    .modal-title{ font-weight: 700; }
    .modal-close{
      width: 34px; height: 34px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.22);
      background: rgba(0,0,0,.25);
      color: #fff;
      font-size: 20px;
      cursor: pointer;
    }
    .modal-body{
      padding: 14px 16px 8px;
      display: grid;
      gap: 12px;
    }
    .modal-field{ display:grid; gap: 8px; }
    .modal-label{ font-size: 13px; opacity: .9; }
    .modal-select{
      width: 100%;
      padding: 12px 12px;
      border-radius: 14px;
      border: 1px solid rgba(255,255,255,.22);
      background: rgba(0,0,0,.22);
      color: #fff;
    }
    .modal-actions{
      display:flex;
      align-items:center;
      justify-content: space-between;
      padding: 12px 16px 16px;
    }
    .modal-link{
      color: rgba(255,255,255,.85);
      text-decoration: none;
    }
    .modal-link:hover{ text-decoration: underline; }