/* ==============================================================
   PURE NIKE STORE DESIGN SYSTEM - NEXT-GEN ATHLETIC MINIMALISM
   Inspired by Nike.com, Nike App & UI/UX Pro Max Architecture
   ============================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --nike-black: #111111;
  --nike-white: #ffffff;
  --nike-gray-bg: #f5f5f5;
  --nike-gray-card: #f6f6f6;
  --nike-gray-border: #e5e5e5;
  --nike-gray-subtext: #707072;
  --nike-gray-light: #fafafa;
  --nike-accent-orange: #fa541c;
  --nike-accent-blue: #0284c7;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font-nike: 'Anton', 'Impact', "Helvetica Neue", -apple-system, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  background-color: var(--nike-white);
  color: var(--nike-black);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px;
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

.nike-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

@media (max-width: 640px) {
  .nike-shell {
    padding: 0 16px;
  }
}

.font-nike {
  font-family: var(--font-nike);
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

/* ==============================================================
   1. NIKE GLOBAL TOP MARQUEE (JUST DO IT. PERFORMANCE)
   ============================================================== */
.nike-marquee-strip {
  background: var(--nike-gray-bg);
  border-bottom: 1px solid var(--nike-gray-border);
  padding: 10px 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--nike-black);
}

.nike-marquee-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nike-marquee-link {
  color: var(--nike-black);
  text-decoration: underline;
  font-weight: 800;
  margin-left: 6px;
}

.nike-marquee-link:hover {
  color: var(--nike-gray-subtext);
}

/* ==============================================================
   2. NIKE STICKY MAIN HEADER
   ============================================================== */
.nike-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--nike-gray-border);
  width: 100%;
}

.nike-header-flex {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 960px) {
  .nike-header-flex {
    height: 68px;
  }
}

.nike-brand-area {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nike-logo {
  height: 28px;
  width: auto;
  display: block;
}

@media (min-width: 769px) {
  .nike-logo {
    height: 32px;
  }
}

.nike-nav-menu {
  display: none;
}

@media (min-width: 960px) {
  .nike-nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
  }
}

.nike-nav-item {
  font-size: 15px;
  font-weight: 700;
  color: var(--nike-black);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.15s ease;
}

.nike-nav-item:hover {
  color: var(--nike-gray-subtext);
}

.nike-nav-highlight {
  color: var(--nike-accent-blue) !important;
  font-weight: 800;
}

.nike-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 769px) {
  .nike-header-actions {
    gap: 12px;
  }
}

.nike-search-pill {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--nike-gray-bg);
  border-radius: 999px;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--nike-gray-subtext);
  font-size: 13px;
  font-weight: 600;
  width: 180px;
  transition: background 0.2s ease;
}

@media (min-width: 769px) {
  .nike-search-pill {
    display: flex;
  }
}

.nike-search-pill:hover {
  background: #e8e8e8;
}

.nike-action-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--nike-black);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.nike-action-icon-btn:hover, .nike-action-icon-btn:active {
  background: var(--nike-gray-bg);
}

.nike-bag-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--nike-black);
  color: var(--nike-white);
  font-size: 10px;
  font-weight: 800;
  border-radius: 999px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nike-hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 18px;
  color: var(--nike-black);
  cursor: pointer;
}

@media (min-width: 960px) {
  .nike-hamburger-btn {
    display: none;
  }
}

/* ==============================================================
   3. MOBILE OFF-CANVAS DRAWER
   ============================================================== */
.nike-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nike-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.nike-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 84%;
  max-width: 320px;
  height: 100%;
  background: #ffffff;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
}

.nike-drawer-overlay.active .nike-mobile-drawer {
  transform: translateX(0);
}

.nike-drawer-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--nike-gray-border);
}

.nike-drawer-links {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.nike-drawer-link {
  font-size: 18px;
  font-weight: 800;
  color: var(--nike-black);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==============================================================
   4. HORIZONTAL CATEGORY PILLS BAR (TOUCH SCROLL)
   ============================================================== */
.nike-pill-wrapper {
  background: #ffffff;
  border-bottom: 1px solid var(--nike-gray-border);
  position: relative;
  width: 100%;
}

.nike-pill-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nike-pill-bar::-webkit-scrollbar {
  display: none;
}

.nike-tab-pill {
  background: var(--nike-gray-bg);
  color: var(--nike-black);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.nike-tab-pill:active, .nike-tab-pill.active {
  background: var(--nike-black);
  color: var(--nike-white);
}

/* ==============================================================
   5. HERO VISUAL STAGE
   ============================================================== */
.nike-hero-stage {
  padding-top: 16px;
  padding-bottom: 48px;
}

@media (min-width: 769px) {
  .nike-hero-stage {
    padding-top: 24px;
    padding-bottom: 64px;
  }
}

.nike-hero-banner {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #000000;
}

@media (min-width: 769px) {
  .nike-hero-banner {
    aspect-ratio: 21 / 9;
    border-radius: 28px;
  }
}

.nike-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.96);
  display: block;
}

.nike-hero-text-block {
  text-align: center;
  max-width: 880px;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 769px) {
  .nike-hero-text-block {
    margin-top: 40px;
  }
}

.nike-badge-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nike-black);
  margin-bottom: 8px;
}

.nike-mega-title {
  font-size: clamp(38px, 9vw, 88px);
  line-height: 0.92;
  color: var(--nike-black);
  letter-spacing: -0.03em;
}

.nike-hero-desc {
  font-size: clamp(14px, 3.5vw, 17px);
  line-height: 1.5;
  color: var(--nike-gray-subtext);
  font-weight: 500;
  margin-top: 14px;
  max-width: 640px;
}

.nike-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  width: 100%;
}

@media (max-width: 480px) {
  .nike-cta-row {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  .nike-cta-row a {
    width: 100%;
    text-align: center;
  }
}

.btn-nike-black {
  background: var(--nike-black);
  color: var(--nike-white);
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-nike-black:hover {
  background: #333333;
}

.btn-nike-black:active {
  transform: scale(0.98);
}

.btn-nike-white {
  background: var(--nike-white);
  color: var(--nike-black);
  border: 1px solid #cccccc;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-nike-white:hover {
  background: var(--nike-gray-bg);
}

.btn-nike-white:active {
  transform: scale(0.98);
}

/* ==============================================================
   6. PRODUCT SECTIONS & CARDS (NIKE SHELF GRID)
   ============================================================== */
.nike-section-wrap {
  padding: 32px 0 48px;
}

.nike-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.nike-section-title {
  font-size: clamp(22px, 4vw, 32px);
  color: var(--nike-black);
  line-height: 1;
}

.nike-section-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--nike-black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nike-section-link:hover {
  color: var(--nike-gray-subtext);
}

.nike-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .nike-card-grid {
    gap: 16px;
  }
}

@media (min-width: 960px) {
  .nike-card-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.nike-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.nike-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--nike-gray-card);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin-bottom: 12px;
}

@media (min-width: 769px) {
  .nike-card-media {
    border-radius: 20px;
    padding: 20px;
  }
}

.nike-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--nike-black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
}

.nike-card-badge.orange {
  color: var(--nike-accent-orange);
}

.nike-card-media img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nike-card:hover .nike-card-media img {
  transform: scale(1.08);
}

.nike-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--nike-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nike-card-subtitle {
  font-size: 13px;
  color: var(--nike-gray-subtext);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nike-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.nike-card-price {
  font-size: 16px;
  font-weight: 900;
  color: var(--nike-black);
}

/* ==============================================================
   7. NIKE 2-COLUMN BIG EDITORIAL BANNERS (SHOP BY SPORT)
   ============================================================== */
.nike-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 769px) {
  .nike-editorial-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.nike-editorial-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #000000;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  text-decoration: none;
  color: #ffffff;
}

@media (max-width: 640px) {
  .nike-editorial-card {
    aspect-ratio: 4 / 3;
    padding: 24px;
  }
}

.nike-editorial-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.78);
  transition: transform 0.4s ease;
}

.nike-editorial-card:hover img {
  transform: scale(1.04);
}

.nike-editorial-content {
  position: relative;
  z-index: 2;
}

.nike-editorial-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}

.nike-editorial-title {
  font-size: clamp(26px, 4vw, 42px);
  line-height: 0.95;
  color: #ffffff;
}

.nike-editorial-btn {
  display: inline-block;
  margin-top: 16px;
  background: #ffffff;
  color: #111111;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.nike-editorial-card:hover .nike-editorial-btn {
  background: var(--nike-gray-bg);
}

/* ==============================================================
   8. NIKE CLASSIC 3-COLUMN ESSENTIALS (SPOTLIGHT BENTO)
   ============================================================== */
.nike-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 850px) {
  .nike-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.nike-bento-card {
  background: var(--nike-gray-card);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.25s ease;
}

@media (min-width: 769px) {
  .nike-bento-card {
    border-radius: 28px;
    padding: 36px 32px;
  }
}

.nike-bento-card:hover {
  box-shadow: 0 16px 32px rgba(0,0,0,0.06);
}

.nike-bento-media {
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  overflow: hidden;
}

.nike-bento-media img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.nike-bento-card:hover .nike-bento-media img {
  transform: scale(1.05);
}

.nike-bento-tag {
  font-size: 11px;
  font-weight: 900;
  color: var(--nike-gray-subtext);
  letter-spacing: 0.08em;
}

.nike-bento-heading {
  font-size: 24px;
  color: var(--nike-black);
  margin-top: 4px;
}

.nike-bento-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--nike-gray-subtext);
  margin-top: 8px;
}

.nike-bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--nike-black);
  text-decoration: none;
}

.nike-bento-cta:hover {
  color: var(--nike-accent-blue);
}

/* ==============================================================
   9. NIKE MANIFESTO FULL BLEED (IF YOU HAVE A BODY...)
   ============================================================== */
.nike-manifesto-stage {
  background: #000000;
  color: #ffffff;
  padding: 64px 0;
  text-align: center;
  margin: 48px 0;
}

@media (min-width: 769px) {
  .nike-manifesto-stage {
    padding: 80px 0;
    margin: 64px 0;
  }
}

.nike-manifesto-title {
  font-size: clamp(34px, 7vw, 72px);
  line-height: 0.95;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* ==============================================================
   10. NIKE APP MEMBERSHIP BANNER
   ============================================================== */
.nike-member-promo {
  background: var(--nike-gray-bg);
  border-radius: 28px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin: 32px 0 64px;
}

@media (max-width: 768px) {
  .nike-member-promo {
    padding: 32px 24px;
    border-radius: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}

.nike-member-tag {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nike-black);
}

.nike-member-title {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1;
  color: var(--nike-black);
  margin-top: 8px;
}

.nike-member-desc {
  font-size: 14px;
  color: var(--nike-gray-subtext);
  margin-top: 10px;
  max-width: 580px;
  line-height: 1.5;
}

/* ==============================================================
   11. NIKE CATEGORY DIRECTORY STRIP
   ============================================================== */
.nike-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 48px 0 32px;
}

@media (min-width: 900px) {
  .nike-directory-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 64px 0 40px;
  }
}

.nike-dir-col-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--nike-black);
  margin-bottom: 16px;
}

.nike-dir-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nike-dir-list a {
  font-size: 14px;
  color: var(--nike-gray-subtext);
  text-decoration: none;
  font-weight: 500;
}

.nike-dir-list a:hover {
  color: var(--nike-black);
}

/* ==============================================================
   12. AUTHENTIC NIKE GLOBAL FOOTER
   ============================================================== */
.nike-footer {
  background: var(--nike-black);
  color: #ffffff;
  padding: 56px 0 32px;
  margin-top: auto;
}

.nike-footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

@media (min-width: 540px) {
  .nike-footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 900px) {
  .nike-footer-cols {
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
  }
}

.nike-footer-title {
  font-size: 13px;
  color: #ffffff;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.nike-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nike-footer-links a,
.nike-footer-links span {
  font-size: 12px;
  font-weight: 600;
  color: var(--nike-gray-subtext);
  text-decoration: none;
}

.nike-footer-links a:hover {
  color: #ffffff;
}

.nike-footer-bottom {
  border-top: 1px solid #222222;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 11px;
  color: var(--nike-gray-subtext);
}

@media (min-width: 769px) {
  .nike-footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.nike-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.nike-footer-legal a {
  color: var(--nike-gray-subtext);
  text-decoration: none;
}

.nike-footer-legal a:hover {
  color: #ffffff;
}

/* ==============================================================
   13. NIKE APP FIXED BOTTOM TAB BAR (MOBILE ONLY)
   ============================================================== */
.nike-mobile-tabbar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(56px + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--nike-gray-border);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
}

@media (min-width: 769px) {
  .nike-mobile-tabbar {
    display: none;
  }
}

.nike-tabbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--nike-gray-subtext);
  text-decoration: none;
  flex: 1;
  height: 100%;
  font-size: 10px;
  font-weight: 700;
  gap: 4px;
  transition: color 0.15s ease;
}

.nike-tabbar-item.active, .nike-tabbar-item:active {
  color: var(--nike-black);
}

.nike-tabbar-item i {
  font-size: 18px;
}
