:root {
  --px-cyan: #00aeef;
  --px-cyan-light: #e0f6ff;
  --px-mid: #2e6da4;
  --px-dark: #004274;
  --px-navy: #00243f;
  --px-navy-95: rgba(0,36,63,0.95);
  --white: #ffffff;
  --bg: #F5F7FA;
  --surface: #ffffff;
  --border: #E8ECF0;
  --border-strong: #D0D7DE;
  --text-primary: #0D1B2A;
  --text-secondary: #4A5568;
  --text-muted: #8A97A8;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background-color: transparent; 
  border-bottom: 1px solid transparent;
  padding: 20px 0;
  /* Smooth out all transitions */
  transition: 
    background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
    border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
  padding: 12px 0;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  
  /* A razor-thin, subtle border defines the edge without looking heavy */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  
  /* Layered natural shadow: soft ambient glow + tight core definition */
  box-shadow: 
    0 1px 2px 0 rgba(0, 0, 0, 0.02),
    0 4px 16px 0 rgba(0, 0, 0, 0.03),
    0 10px 30px -5px rgba(0, 0, 0, 0.03);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--px-cyan) 0%, var(--px-mid) 100%);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--px-navy);
  letter-spacing: -0.3px;
}
.brand-name span { color: var(--px-cyan); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  /* color: white; */
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  display: block;
}
.nav-links a:hover { color: var(--px-cyan); background: rgba(0,36,63,0.05); }
.nav-links a.active { color: var(--px-navy); font-weight: 600; }

.nav-end {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-list-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-list-link:hover { color: var(--px-navy); }

.btn-login {
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: white;
  color: var(--px-navy);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.btn-login:hover { border-color: var(--px-navy); box-shadow: 0 0 0 3px rgba(0,36,63,0.08); }

.btn-cta {
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--px-navy);
  color: white;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-cta:hover { background: var(--px-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,36,63,0.3); }

/* Hamburger */
.pxhamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.pxhamburger span { 
  display: block; 
  width: 22px; height: 2px; 
  background: var(--px-navy); 
  border-radius: 2px; 
  transition: 0.3s; 
}

@media (max-width: 991px) {
  .nav-links, .nav-list-link, .btn-login { display: none; }
  .pxhamburger { display: flex; }
}

/* Mobile drawer */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,36,63,0.45);
  backdrop-filter: blur(4px);
  z-index: 950;
  opacity: 0; visibility: hidden;
  transition: 0.3s;
}
.drawer {
  position: fixed;
  top: 0; right: -100%;
  width: min(85%, 320px);
  height: 100%;
  background: white;
  /* background-color: #111827; */
  z-index: 960;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 80px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.drawer a {
  text-decoration: none;
  color: var(--px-navy);
  /* color: white; */
  font-size: 18px;
  font-weight: 600;
  padding: 14px 0;
  /* border-bottom: 1px solid var(--border); */
  display: block;
  transition: color 0.2s;
}
.drawer a:hover { color: var(--px-cyan); }
.drawer a.active { color: var(--px-cyan); font-weight: 600; }
.drawer-footer { margin-top: auto; padding-top: 24px; }
.drawer-footer a { font-size: 14px; opacity: 0.6; border: none; }
body.menu-open { overflow: hidden; }
body.menu-open .drawer-overlay { opacity: 1; visibility: visible; }
body.menu-open .drawer { right: 0; }
body.menu-open .pxhamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .pxhamburger span:nth-child(2) { opacity: 0; }
body.menu-open .pxhamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
  .hero-wrap * { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

.hero-wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 24px; 
  /* display: flex; */
  /* margin-top: 80px; */
  flex-direction: column;
  gap: 32px; 
}

/* Mobile-first adjustments for smaller screens */
@media (max-width: 768px) {
  .hero-wrap {
    padding: 24px 16px;
    gap: 24px;
  }
}

  /* ── 3. HORIZONTAL SLIDE (THE 4 TILES) ── */
  .strip-wrap {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
  }
  
  .strip-wrap::-webkit-scrollbar { display: none; /* Chrome/Safari */ }

  .tile-sm {
    flex: 1;
    min-width: 260px; /* Forces scroll on smaller screens */
    scroll-snap-align: start;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    background: #0f172a;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.1);
  }

  .tile-sm img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .tile-sm:hover img {
    transform: scale(1.05);
  }

  .vignette-sm {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.1) 60%, transparent 100%);
    z-index: 2;
  }

  .overlay-sm {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 24px;
  }

  .sm-cat {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 6px;
  }

  .sm-title {
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
  }

  .sm-price {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 4px;
  }

/* ── SEARCH BAR ── */
  :root {
    --px-cyan: #00aeef;
    --px-navy: #00243f;
    --text-muted: #8A97A8;
    --border: #E8ECF0;
    --radius-lg: 18px;
    --radius-pill: 999px;
  }

  .search-container-standalone {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
  }

  /* ── MAIN SEARCH BAR ── */
  .ghost-search-bar {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1.5px solid var(--border);
    transition: border-color 0.4s ease;
    position: relative;
  }

  .ghost-search-bar:focus-within {
    border-color: var(--px-cyan);
  }

  .search-icon-wrap {
    color: var(--px-cyan);
    margin-right: 16px;
    display: flex;
    align-items: center;
  }

  .main-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 18px;
    color: var(--px-navy);
    font-weight: 400;
  }

  .main-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
  }

  /* ── ADVANCED TOGGLE ── */
  .filter-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: background 0.3s ease;
    user-select: none;
  }

  .filter-trigger:hover {
    background: rgba(0, 174, 239, 0.05);
  }

  .filter-trigger span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--px-navy);
  }

  .filter-trigger svg {
    transition: transform 0.3s ease;
    color: var(--px-navy);
  }

  .filter-trigger.active svg {
    transform: rotate(180deg);
    color: var(--px-cyan);
  }

  /* ── HIDDEN ADVANCED PANEL ── */
  .advanced-panel {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding-top: 0;
  }

  .advanced-panel.show {
    max-height: 200px;
    opacity: 1;
    padding-top: 24px;
    padding-bottom: 20px;
  }

  .filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .filter-field label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .filter-field select, 
  .filter-field input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    font-size: 14px;
    color: var(--px-navy);
    outline: none;
    cursor: pointer;
  }

  .filter-field select:focus {
    border-color: var(--px-cyan);
  }

  /* Mobile Tweaks */
  @media (max-width: 600px) {
    .main-input { font-size: 16px; }
    .filter-trigger span { display: none; }
    .advanced-panel { grid-template-columns: 1fr 1fr; }
  }

  /* bold heading */
  :root {
    --px-cyan: #00aeef;
    --px-navy: #00243f;
  }

  .statement-wrap {
    padding: 30px 10px;
    text-align: center;
    overflow: hidden; /* Ensures no scroll on small screens */
  }

  .brand-statement {
    /* Uses vw (viewport width) to ensure it's always one line */
    font-size: clamp(30px, 5.5vw, 64px); 
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 0.25em; /* Responsive spacing between words */
    white-space: nowrap;
  }

  .text-navy { color: var(--px-navy); }
  
  .text-accent {
    color: var(--px-cyan);
    position: relative;
    display: inline-block;
  }

  /* Micro-interaction: Subtle fade in */
  .brand-statement {
    animation: statementFade 1s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes statementFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

/* FEATURES MOCKUP SECTION */
 


  /* ── CATEGORIES SECTION ── */
.categories-section {
  padding: 0px 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.categories-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.categories-title { font-size: 28px; color: var(--px-navy); }

.btn-see-all {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--px-cyan);
  font-weight: 700;
  cursor: pointer;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover img { transform: scale(1.08); }

.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,36,63,0.8) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.cat-name { color: #fff; font-size: 18px; font-weight: 700; margin: 0; }
.cat-count { color: rgba(255,255,255,0.8); font-size: 13px; }

/* ── RESPONSIVE ── */
@media (max-width: 850px) {
  .hero-bento-grid { grid-template-columns: 1fr 1fr; }
  .tile-main { grid-column: 1 / 3; aspect-ratio: 16/10; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .category-grid { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -24px; padding: 0 24px; }
  .cat-card { flex: 0 0 70%; }
}


/* FEATURED STAY */
/* ── FILTER TABS ── */


/* ── FOOTER ── */
.footer {
  background: var(--px-navy);
  color: rgba(255,255,255,0.6);
  padding: 60px 28px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand-name { font-size: 18px; font-weight: 700; color: white; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 260px; }
.footer-col h4 { color: white; font-size: 13px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.55); font-size: 14px; text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom a:hover { color: white; }