:root {
  --bg-color: #050505;
  --surface-color: #111111;
  --text-color: #ffffff;
  --text-muted: #888888;
  --accent-color: #ff3333;
  --accent-hover: #ff4d4d;
  --border-color: #222222;
  --font-main: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
}

.title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: none;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 4px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.cart-icon {
  position: relative;
  font-size: 1.2rem;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background-color: var(--accent-color);
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: -1;
  animation: zoomPan 25s infinite alternate ease-in-out;
}

@keyframes zoomPan {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.1) translate(-2%, -1%);
  }
}

.hero-content {
  text-align: center;
  z-index: 1;
  animation: fadeInUp 1.5s ease-out forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 6vw;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--text-color);
  color: var(--bg-color);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 51, 51, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-color);
}

.btn-outline:hover {
  background-color: var(--text-color);
  color: var(--bg-color);
  box-shadow: none;
}

/* Products Section */
.products {
  padding: 5rem 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-color: #333;
}

.product-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
}

.product-name {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-price {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.add-to-cart {
  width: 100%;
  padding: 0.8rem;
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart:hover {
  background-color: var(--text-color);
  color: var(--bg-color);
}

/* Cart Page */
.page-header {
  padding: 8rem 5% 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.cart-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding: 3rem 5%;
}

@media (max-width: 768px) {
  .cart-container {
    grid-template-columns: 1fr;
  }
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.cart-item-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.cart-item-price {
  color: var(--text-muted);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qty-btn {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}

.qty-btn:hover {
  background: var(--border-color);
}

.remove-btn {
  color: var(--accent-color);
  background: transparent;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: bold;
}

.cart-summary {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.summary-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-color);
}

.checkout-btn {
  width: 100%;
  margin-top: 2rem;
}

/* Payment Methods */
.payment-methods {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.payment-method:hover, .payment-method.active {
  border-color: var(--text-color);
  background-color: rgba(255, 255, 255, 0.05);
}

.payment-icon {
  font-size: 1.5rem;
}

.empty-cart-msg {
  text-align: center;
  padding: 3rem;
  background: var(--surface-color);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

/* Info Sections (Collections, About, Contact) */
.info-section {
  padding: 5rem 5%;
}

.alternate-bg {
  background-color: var(--surface-color);
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.banner {
  height: 250px;
  background: var(--surface-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.banner:hover {
  transform: translateY(-5px);
  border-color: var(--text-color);
}

.banner h3 {
  z-index: 2;
  background: rgba(0,0,0,0.5);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.banner-mens { background: linear-gradient(45deg, #111, #333); }
.banner-womens { background: linear-gradient(45deg, #222, #444); }
.banner-acc { background: linear-gradient(45deg, #151515, #2a2a2a); }

.text-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-family: inherit;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--accent-color);
}

/* Footer Updated */
footer {
  padding: 4rem 5%;
  text-align: center;
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
  background-color: var(--surface-color);
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text-color);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  font-size: 1.2rem;
}

.social-links i {
  cursor: pointer;
  transition: color 0.3s;
}

.social-links i:hover {
  color: var(--accent-color);
}

/* Product Detail Page */
.product-detail-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
  padding: 0 5%;
}

@media (max-width: 768px) {
  .product-detail-container {
    flex-direction: column;
    gap: 2rem;
  }
}

.product-image-section {
  flex: 1;
}

.product-image-section img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.product-info-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.size-selection {
  margin-top: 1rem;
}

.size-options {
  display: flex;
  gap: 1rem;
}

.size-btn {
  width: 50px;
  height: 50px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-btn:hover {
  border-color: var(--text-color);
}

.size-btn.active {
  background: var(--text-color);
  color: var(--bg-color);
  border-color: var(--text-color);
}

/* Comprehensive Mobile Responsiveness */
@media (max-width: 768px) {
  /* Navigation */
  nav {
    flex-direction: column;
    padding: 1rem 5%;
    gap: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  /* Typography */
  .title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 15vw; /* Make hero text impactful on mobile */
    margin-top: 2rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }

  /* Layout Paddings */
  .products, .info-section, .page-header {
    padding: 4rem 5% 2rem;
  }
  
  main[style*="padding-top: 100px;"] {
    padding-top: 140px !important; /* Account for taller nav */
  }

  /* Product Grid */
  .product-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 1.5rem;
  }

  .product-img {
    height: 350px; 
  }

  /* Banner Grid */
  .banner-grid {
    grid-template-columns: 1fr;
  }
  
  .banner {
    height: 180px;
  }

  /* Filter Buttons */
  .section-header div {
    gap: 0.5rem !important;
  }
  
  .section-header .btn-outline {
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem;
    flex: 1 1 calc(50% - 0.5rem); /* Two buttons per row */
    text-align: center;
  }
}

/* Snipcart Custom Dark Theme Overrides */
#snipcart {
  --color-default: #ffffff;
  --color-default-muted: #888888;
  --color-active: #ff3333;
  --color-border: #222222;
  --bg-color-default: #050505;
  --bg-color-alternate: #111111;
  --bg-color-active: #ff3333;
  --color-link: #ff3333;
  --color-link-hover: #ff4d4d;
  --bg-color-button-primary: #ffffff;
  --color-button-primary: #050505;
  --bg-color-button-primary-hover: #ff3333;
  --color-button-primary-hover: #ffffff;
}
