* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: #e5e5e5;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border-bottom: 1px solid #2a2a2a;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(244, 212, 164, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(199, 179, 154, 0.03) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 300;
  color: #f4d4a4;
  letter-spacing: 4px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.2rem;
  color: #c7b39a;
  font-weight: 300;
  letter-spacing: 1px;
}

/* FILTER/SORT BAR */
.shop-controls {
  max-width: 1400px;
  margin: 3rem auto 2rem;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.shop-controls h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #f4d4a4;
  letter-spacing: 2px;
}

.controls-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.filter-btn, .sort-select {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #c7b39a;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.filter-btn:hover, .sort-select:hover {
  background: #252525;
  border-color: #f4d4a4;
}

.sort-select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c7b39a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

/* PRODUCTS SECTION */
.products-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  min-height: 50vh;
}

/* PRODUCTS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

/* PRODUCT CARD */
.product-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  border-color: #f4d4a4;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #0a0a0a;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.4s ease;
}

.product-image.secondary {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.product-card:hover .product-image.primary {
  opacity: 0;
}

.product-card:hover .product-image.secondary {
  opacity: 1;
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 400;
  color: #f4d4a4;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.product-price {
  font-size: 1.2rem;
  color: #c7b39a;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.product-note {
  font-size: 0.85rem;
  color: #8a9b7a;
  font-style: italic;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.add-to-cart-btn {
  display: block;
  width: 100%;
  background: #f4d4a4;
  color: #0a0a0a;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  text-decoration: none;
  text-align: center;
}

.add-to-cart-btn:hover {
  background: #fff;
  transform: scale(1.02);
}

/* SHOPIFY COLLECTION STYLING (for future use) */
#shopify-collection {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

#shopify-collection .shopify-buy__product {
  background: #1a1a1a !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
}

#shopify-collection .shopify-buy__product:hover {
  border-color: #f4d4a4 !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3) !important;
}

#shopify-collection .shopify-buy__product__title {
  color: #f4d4a4 !important;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  letter-spacing: 1px !important;
}

#shopify-collection .shopify-buy__product__price {
  color: #c7b39a !important;
  font-size: 1.2rem !important;
}

#shopify-collection button {
  background: #f4d4a4 !important;
  color: #0a0a0a !important;
  border: none !important;
  padding: 0.8rem 1.5rem !important;
  border-radius: 4px !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  font-size: 0.9rem !important;
}

#shopify-collection button:hover {
  background: #fff !important;
  transform: scale(1.02) !important;
}

/* LOADING STATE */
.loading {
  text-align: center;
  padding: 4rem 2rem;
  color: #c7b39a;
}

.loading::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-top: 1rem;
  border: 3px solid #2a2a2a;
  border-top-color: #f4d4a4;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Temp for while under construction */
.shop-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.shop-coming-soon h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #f4d4a4;
  letter-spacing: 2px;
}

.shop-coming-soon p, .shop-coming-soon button {
  padding-top: 2.5%;
  margin-bottom: 1rem;
}

.cta-button {
  margin-top: 1.2rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid #f4d4a4;
  color: #f4d4a4;
  text-decoration: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #c7b39a;
}

.empty-state h3 {
  color: #f4d4a4;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

/* FOOTER */
.footer {
  background: #0a0a0a;
  border-top: 1px solid #2a2a2a;
  padding: 2rem;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-top: 4rem;
}

/* RESPONSIVE */
@media (max-width: 968px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .shop-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-image-container {
    height: 300px;
  }

  #shopify-collection {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .shop-coming-soon p, .shop-coming-soon button {
    width: 75%;
    padding-top: 10%;
    text-align: center;
  }
}