:root {
  --bg: #050505;
  --card: #0a0a0c;
  --accent: #00ffaa;
  --text: #f5f5f5;
  --muted: #a1a1aa;
  --border: #1a1a1c;
  --hover-accent: #00e699;
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #050505;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(0, 255, 170, 0.03), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(0, 255, 170, 0.03), transparent 25%);
  color: var(--text);
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
.btn,
.nav-links a,
.badge,
.price-tag,
.tag {
  font-family: 'Outfit', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 12, 0.8);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
}

.left-nav {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.right-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.logo-link {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(108, 240, 194, 0.12);
  color: var(--text);
}

.logo {
  height: 90px;
  width: auto;
  margin: -15px 0;
  display: block;
  filter: brightness(0) invert(1);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  padding: 0 20px 40px;
}

.hero-content {
  padding: 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(108, 240, 194, 0.16);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 18px 0;
  line-height: 1.4;
  letter-spacing: 1.5px;
}

.hero p {
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--hover-accent));
  color: #000;
  box-shadow: 0 8px 24px rgba(0, 255, 170, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 255, 170, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: var(--text);
}

.hero-media {
  justify-self: center;
  width: 100%;
  max-width: 500px;
  position: relative;
  background: radial-gradient(circle at 30% 30%, rgba(108, 240, 194, 0.18), transparent 40%),
    var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.hero-media img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 14px;
}

.stat strong {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 32px 0 18px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

@media (min-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 170, 0.3);
  box-shadow: 0 12px 30px rgba(0, 255, 170, 0.1);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(to bottom, #111, #1a1a1a);
  /* Dark background for product photos */
  padding: 10px;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
  /* Slight zoom on hover */
}

.card.nocta-card img {
  object-fit: cover;
}

.brand-nike img {
  object-position: center bottom;
  transition: transform 0.3s ease;
}


.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.price-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-tag {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.second-price {
  font-size: 0.85rem;
  color: #aaa;
  font-weight: 500;
}

.second-price strong {
  color: var(--accent);
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
}

.featured-band {
  margin: 40px 0;
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(108, 240, 194, 0.1), rgba(108, 240, 194, 0.02));
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.featured-item h4 {
  margin: 0 0 6px;
}

.product-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
  padding: 32px 0;
}

.product-gallery {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.product-gallery img {
  width: 100%;
  border-radius: 12px;
  background: #0b0c10;
}

.product-info h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 38px);
}

.product-info p {
  color: var(--muted);
  margin: 0 0 16px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.chip {
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 14px 0 18px;
}

.info-box {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

footer {
  margin: 50px 0 30px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

/* Mobile Header Actions */
.mobile-header-actions {
  display: none;
}

/* Sidebar Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: rgba(13, 13, 15, 0.98);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
  z-index: 999;
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-sidebar.open {
  left: 0;
}

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

.sidebar-header h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.btn-close-sidebar {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-close-sidebar:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.sidebar-nav {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.sidebar-nav a {
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-nav a:hover,
.sidebar-nav a:active {
  background: rgba(108, 240, 194, 0.12);
  color: var(--accent);
}

@media (max-width: 768px) {

  /* Show mobile elements */
  .mobile-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  /* Hide desktop navigation */
  .desktop-nav {
    display: none !important;
  }

  /* Navbar adjustments */
  .navbar {
    justify-content: space-between;
    padding: 12px 0;
  }

  /* Logo sizing for mobile */
  .logo {
    height: 60px;
    margin: 0;
  }

  /* Cart button mobile */
  .cart-btn-mobile {
    padding: 8px 12px !important;
  }

  /* Hero section mobile optimization */
  .hero {
    grid-template-columns: 1fr;
    padding: 20px 0 30px;
    gap: 24px;
  }

  .hero-content {
    padding: 20px;
    order: 2;
  }

  .hero-media {
    order: 1;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 14px;
  }

  .badge {
    font-size: 12px;
    padding: 8px 14px;
  }

  .stat-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat {
    padding: 12px;
  }

  .stat strong {
    font-size: 16px;
  }

  .stat span {
    font-size: 13px;
  }

  /* Hero actions */
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Section titles */
  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  /* Cards grid mobile - 2 columns */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Adjust card content for smaller cards */
  .card-body {
    padding: 12px;
  }

  .card-body h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .card-body p {
    font-size: 12px;
    line-height: 1.4;
  }

  .card img {
    height: 160px;
  }

  .price-tag {
    font-size: 1rem;
  }

  .second-price {
    font-size: 0.75rem;
  }

  .tag {
    font-size: 10px;
    padding: 4px 8px;
  }

  /* Button adjustments for smaller cards */
  .card .btn {
    font-size: 12px;
    padding: 8px 12px;
  }

  /* Featured band */
  .featured-band {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  /* Container padding */
  .container {
    width: 95vw;
  }

  /* Cart sidebar mobile */
  .cart-sidebar {
    max-width: 100%;
    width: 100%;
  }
}

/* --- DESIGN PREMIUM POLISH --- */

/* Hero Gradient & Animation */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 170, 0.1) 0%, transparent 50%);
  z-index: -1;
  animation: pulseGradient 10s infinite alternate;
}

@keyframes pulseGradient {
  from {
    transform: scale(1);
    opacity: 0.5;
  }

  to {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* Glassmorphism Cards */
.card {
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 255, 170, 0.3);
  box-shadow: 0 12px 40px rgba(0, 255, 170, 0.15);
}

.card-body h3 {
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}

.card-body p {
  color: var(--muted);
}

/* Button Glows */
.btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
  z-index: -1;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  color: #0b0d10;
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
  z-index: 1000;
}

@keyframes slideIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Brand Sections */
.brand-section {
  margin-bottom: 80px;
  position: relative;
  display: block;
}

.brand-banner {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  background-color: #000;
  border-radius: 16px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.banner-bape,
.banner-adidas {
  height: 200px;
  object-fit: cover;
  background-color: transparent;
}

.banner-new-balance {
  height: 200px;
  object-fit: cover;
  background-color: transparent;
}

.banner-essentials {
  height: 200px;
  object-fit: cover;
  background-color: transparent;
}

/* --- BRAND CAROUSEL SECTION --- */
.brands-carousel-section {
  padding: 40px 0;
  position: relative;
}

.brands-slider-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.brand-nav-btn {
  background: rgba(10, 10, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.brand-nav-btn:hover {
  background: var(--accent);
  color: #000;
  transform: scale(1.1);
}

.brand-nav-btn.prev {
  left: 0;
  transform: translateX(-50%);
}

.brand-nav-btn.next {
  right: 0;
  transform: translateX(50%);
}

.brands-slider {
  width: 100%;
  overflow-x: auto;
  padding: 10px 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.brands-slider::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.brands-track {
  display: inline-flex;
  gap: 20px;
  width: max-content;
  margin: 0 auto;
}

.brand-card {
  position: relative;
  width: 200px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-card:hover {
  border-color: rgba(0, 255, 170, 0.5);
  box-shadow: 0 8px 24px rgba(0, 255, 170, 0.15);
  transform: translateY(-4px);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.brand-card:hover .brand-logo {
  transform: scale(1.05);
}

.brand-card.vibrant-card {
  width: 240px;
  height: 320px;
  flex-direction: column;
  padding: 0;
  justify-content: flex-start;
}

.brand-image-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.5s ease, filter 0.3s ease;
}

.brand-card:hover .brand-logo-img {
  transform: scale(1.08);
}

.brand-info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  background: linear-gradient(to top, rgba(10, 10, 12, 1), rgba(10, 10, 12, 0.6));
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.brand-card:hover .brand-name {
  color: var(--accent);
}

@media (max-width: 768px) {
  .brand-card {
    width: 160px;
    height: 80px;
  }

  .brand-card.vibrant-card {
    width: 180px;
    height: 250px;
  }

  .brand-image-wrapper {
    height: 180px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-nav-btn {
    display: none;
    /* Hide arrows on mobile, keep swipe */
  }

  .brands-slider {
    padding: 10px 0;
  }
}

/* --- Brand Section Header (Clean, no banner) --- */
.brand-section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  margin-top: 16px;
}

.brand-title {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-title-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(0, 255, 170, 0.4), transparent);
}

/* Carousel Customization */
.carousel {
  border-radius: 16px;
  overflow: hidden;
}

.carousel-inner {
  border-radius: 16px;
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #0b0c10;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(108, 240, 194, 0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-control-prev {
  left: 10px;
}

.carousel-control-next {
  right: 10px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(108, 240, 194, 0.4);
  opacity: 1;
}

.carousel-indicators {
  margin-bottom: 10px;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 4px;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: var(--accent);
  width: 12px;
  height: 12px;
}

/* --- Shopping Cart Sidebar --- */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: rgba(13, 13, 15, 0.95);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

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

.cart-header h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.btn-close-cart {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-close-cart:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr 30px;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.cart-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.brand-nike .cart-item img,
.cart-item.nike img {
  background: #0b0c10;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cart-item-details h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.cart-item-details .price {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

.old-price {
  text-decoration: line-through;
  color: #777;
  font-size: 0.85rem;
  margin-right: 6px;
  font-weight: 400;
}

.btn-remove-item {
  background: none;
  border: none;
  color: #ff5555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.btn-remove-item:hover {
  opacity: 1;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  background: rgba(13, 13, 15, 0.95);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

.cart-total span:last-child {
  color: var(--accent);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.quantity-controls button {
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.quantity-controls button:hover {
  opacity: 0.7;
}

.quantity-controls span {
  font-size: 14px;
  font-weight: 500;
  min-width: 12px;
  text-align: center;
}

/* --- Community Section --- */
.community-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.community-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.community-info h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.community-info p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 32px;
}

.community-carousel {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
}

.community-carousel .carousel-item img {
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.community-carousel:hover .carousel-item img {
  transform: scale(1.03);
}

@media (max-width: 992px) {
  .community-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .community-carousel .carousel-item img {
    height: 300px;
  }

  .community-info {
    order: -1;
    text-align: center;
  }
}

/* --- Mobile Navigation --- */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background-color: var(--text);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Transform hamburger to X */
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
}

/* Filters Section */
.filters-section {
  margin: 30px 0;
  padding: 20px 0;
}

.filters-container {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.filter-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-select:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

.filter-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 240, 194, 0.1);
}

.filter-select option {
  background: var(--card);
  color: var(--text);
}

/* Clothing Type Filters */
.clothing-type-filters {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.clothing-type-filters label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.95rem;
}

.type-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.type-filter-btn {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.type-filter-btn:hover {
  background: rgba(108, 240, 194, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.type-filter-btn.active {
  background: linear-gradient(135deg, rgba(108, 240, 194, 0.2), rgba(108, 240, 194, 0.1));
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 15px rgba(108, 240, 194, 0.2);
}

.type-filter-btn .count {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.type-filter-btn.active .count {
  background: var(--accent);
  color: #0b0d10;
}

@media (max-width: 768px) {
  .clothing-type-filters {
    margin-top: 15px;
    padding-top: 15px;
  }

  .type-filter-buttons {
    gap: 8px;
  }

  .type-filter-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .type-filter-btn .count {
    font-size: 0.75rem;
    padding: 2px 6px;
  }
}

#clear-filters {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .filters-container {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .filter-group {
    min-width: 100%;
  }

  #clear-filters {
    width: 100%;
  }
}

/* Sizes Page */
.sizes-page {
  min-height: calc(100vh - 80px);
}

.hero-small {
  background: linear-gradient(135deg, rgba(108, 240, 194, 0.1), rgba(108, 240, 194, 0.05));
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.hero-small h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--text);
}

.hero-small p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.sizes-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.size-section {
  margin-bottom: 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
}

.size-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.size-description {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.size-table thead {
  background: rgba(108, 240, 194, 0.1);
}

.size-table th {
  padding: 15px;
  text-align: center;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.size-table td {
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.size-table tbody tr:hover {
  background: rgba(108, 240, 194, 0.05);
}

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

.size-tip {
  background: rgba(108, 240, 194, 0.1);
  border-left: 4px solid var(--accent);
  padding: 15px 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.size-tip strong {
  color: var(--accent);
}

.size-cta {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(108, 240, 194, 0.1), rgba(108, 240, 194, 0.05));
  border-radius: 16px;
  margin-top: 40px;
}

.size-cta h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text);
}

.size-cta p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .hero-small h1 {
    font-size: 2rem;
  }

  .size-section {
    padding: 20px;
  }

  .size-section h2 {
    font-size: 1.5rem;
  }

  .size-table {
    font-size: 0.9rem;
  }

  .size-table th,
  .size-table td {
    padding: 10px 8px;
  }

  .size-cta h3 {
    font-size: 1.5rem;
  }

  .size-cta p {
    font-size: 1rem;
  }
}

/* Size Selector */
.size-selector {
  margin: 20px 0;
}

.size-selector label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1rem;
}

.size-select {
  width: 100%;
  max-width: 300px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.size-select:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

.size-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 240, 194, 0.1);
}

.size-select option {
  background: var(--card);
  color: var(--text);
}

.size-required {
  border-color: #ff4444 !important;
  animation: shake 0.3s ease;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

/* Cart Item Size */
.cart-item-size {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.cart-item-size strong {
  color: var(--accent);
}

@media (max-width: 768px) {
  .size-select {
    max-width: 100%;
  }
}

/* Cart Item Colorway */
.cart-item-colorway {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.cart-item-colorway strong {
  color: var(--accent);
}

/* Colorway Selector */
.colorway-selector {
  margin: 20px 0;
}

.colorway-selector label {
  display: block;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text);
  font-size: 1rem;
}

.colorway-options {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.colorway-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 12px;
  border: 2px solid transparent;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

.colorway-option:hover {
  border-color: var(--accent);
  background: rgba(108, 240, 194, 0.05);
  transform: translateY(-2px);
}

.colorway-option.selected {
  border-color: var(--accent);
  background: rgba(108, 240, 194, 0.1);
  box-shadow: 0 0 0 3px rgba(108, 240, 194, 0.1);
}

.color-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--border);
  transition: all 0.3s ease;
}

.colorway-option:hover .color-circle {
  border-color: var(--accent);
  transform: scale(1.1);
}

.colorway-option.selected .color-circle {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(108, 240, 194, 0.3);
}

.colorway-option span {
  font-size: 0.85rem;
  text-align: center;
  color: var(--text);
  font-weight: 500;
  max-width: 100px;
}

@media (max-width: 768px) {
  .colorway-options {
    gap: 10px;
  }

  .colorway-option {
    padding: 10px;
  }

  .color-circle {
    width: 50px;
    height: 50px;
  }

  .colorway-option span {
    font-size: 0.75rem;
  }
}

/* =========================================
   HERO CAROUSEL
   ========================================= */
.hero-carousel {
  position: relative;
  width: 80%;
  margin: 28px auto 0;
  height: 78vh;
  min-height: 480px;
  max-height: 760px;
  overflow: hidden;
  border-radius: 32px;
  background: #050505;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}

.hc-track {
  display: flex;
  width: 200%;
  /* 2 slides */
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.hc-slide {
  position: relative;
  width: calc(100% / 2);
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.hc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(5, 5, 5, 0.85) 0%,
      rgba(5, 5, 5, 0.5) 50%,
      rgba(5, 5, 5, 0.15) 100%);
}

.hc-content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 40px;
  max-width: 620px;
}

.hc-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 255, 170, 0.15);
  border: 1px solid rgba(0, 255, 170, 0.3);
  color: var(--accent);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hc-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: -1px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hc-subtitle {
  font-size: clamp(14px, 1.5vw, 17px);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hc-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Navigation Buttons */
.hc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(10, 10, 12, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.hc-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.hc-btn-prev {
  left: 20px;
}

.hc-btn-next {
  right: 20px;
}

/* Dot indicators */
.hc-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hc-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 255, 170, 0.5);
}

/* Mobile carousel adjustments */
@media (max-width: 768px) {
  .hero-carousel {
    height: 70vh;
    min-height: 420px;
  }

  .hc-overlay {
    background: linear-gradient(to bottom,
        rgba(5, 5, 5, 0.3) 0%,
        rgba(5, 5, 5, 0.75) 100%);
  }

  .hc-content {
    padding-top: 0;
  }

  .hc-subtitle {
    display: none;
  }

  .hc-btn {
    display: none;
  }

  .hc-actions {
    flex-direction: column;
  }

  .hc-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================
   CATALOG HERO (simple, no image)
   ========================================= */
.catalog-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.catalog-hero-content {
  max-width: 680px;
}

.catalog-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin: 16px 0 12px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.catalog-hero p {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
  font-size: 1.05rem;
}