/* Shop Page Styles */
.shop-page {
  --primary-gold: #d4af37;
  --secondary-gold: #ffd700;
  --dark-gold: #aa8c2c;
  --light-gold: #f5e7a3;
  --dark-background: #121212;
  --medium-dark-background: #1a1a1a;
  --dark-card-background: #222222;
  --dark-text: #333333;
  --light-text: #ffffff;
  --medium-light-text: #e0e0e0;
  --accent-color: #8b0000;
  --product-card-bg: #222222;
  --product-card-shadow: rgba(0, 0, 0, 0.3);
  --badge-background: #8b0000;
  background-color: var(--dark-background);
  color: var(--light-text);
}

/* Hero Section */
.shop-hero {
  height: 50vh;
  position: relative;
}

.shop-hero-image {
  background-image: url('images/ABOU7808.jpg');
  background-size: cover;
  background-position: center 20%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: brightness(0.7);
}

.shop-hero .hero-content {
  max-width: 900px;
}

.shop-hero .hero-accent {
  color: var(--primary-gold);
}

.shop-hero .hero-tagline {
  font-size: 1.3rem;
  margin-top: 1rem;
  color: var(--light-text);
  font-weight: 400;
}

/* Shop Intro Section */
.shop-intro {
  padding: 1.5rem 1.5rem;
  background-color: var(--medium-dark-background);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.shop-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(212, 175, 55, 0.05) 0%,
    rgba(212, 175, 55, 0) 70%
  );
  pointer-events: none;
}

.shop-intro h2 {
  color: var(--primary-gold);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.shop-intro h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--dark-gold),
    var(--primary-gold),
    var(--secondary-gold),
    var(--primary-gold),
    var(--dark-gold)
  );
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.shop-intro p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--medium-light-text);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Shop Categories */
.shop-categories {
  padding: 1rem;
  background-color: var(--dark-background);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
}

.category-tab {
  padding: 0.5rem 1.25rem;
  background: rgba(34, 34, 34, 0.7);
  border: 2px solid var(--primary-gold);
  color: var(--light-text);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.category-tab:hover {
  background-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.category-tab.active {
  background: linear-gradient(135deg, var(--dark-gold), var(--primary-gold));
  color: white;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Products Grid */
.products-section {
  padding: 4rem 2rem;
  background-color: var(--dark-background);
  position: relative;
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(212, 175, 55, 0.03) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(212, 175, 55, 0.03) 0%,
      transparent 20%
    );
  pointer-events: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Product Card */
.product-card {
  background-color: var(--dark-card-background);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 15px rgba(212, 175, 55, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.3);
}

.product-image {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.product-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to top, var(--dark-card-background), transparent);
  z-index: 1;
}

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

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

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--badge-background);
  color: white;
  padding: 5px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-details {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    to bottom,
    var(--dark-card-background),
    rgba(25, 25, 25, 1)
  );
}

.product-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--light-text);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.product-tagline {
  color: var(--primary-gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.product-description {
  color: var(--medium-light-text);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--light-gold);
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.product-sizes {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.product-sizes span {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--light-text);
}

.product-sizes span:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.product-sizes span.selected {
  background-color: var(--primary-gold);
  color: #000;
  border-color: var(--primary-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.shop-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--dark-gold), var(--primary-gold));
  color: #111;
  padding: 0.7rem 1.25rem;
  font-weight: 600;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), 0 0 15px rgba(212, 175, 55, 0.1);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

.shop-button:hover {
  background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Shop CTA Section */
.shop-cta {
  background-color: var(--medium-dark-background);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.shop-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.05) 0%,
    transparent 50%,
    rgba(212, 175, 55, 0.03) 100%
  );
  pointer-events: none;
}

.shop-cta h2 {
  color: var(--primary-gold);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
}

.shop-cta h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--dark-gold),
    var(--primary-gold),
    var(--dark-gold)
  );
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.shop-cta p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--medium-light-text);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), #7e0000);
  color: white;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary-gold),
    transparent,
    var(--primary-gold)
  );
  z-index: -1;
  transform: rotate(15deg) scale(1.5);
  opacity: 0;
  transition: all 0.5s ease;
}

.cta-button:hover {
  background: #6e0000;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.5);
}

.cta-button:hover::before {
  opacity: 0.1;
  transform: rotate(0deg) scale(1);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .shop-hero {
    height: 40vh;
  }

  .shop-hero .hero-content h1 {
    font-size: 2.5rem;
  }

  .shop-hero .hero-tagline {
    font-size: 1.1rem;
    margin-top: 0.8rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.25rem;
  }

  .product-image {
    height: 220px;
  }

  .shop-cta h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .shop-hero {
    height: 35vh;
  }

  .shop-hero .hero-content h1 {
    font-size: 1.8rem;
  }

  .shop-intro {
    padding: 1rem;
  }

  .shop-intro h2 {
    font-size: 1.5rem;
  }

  .shop-intro p {
    font-size: 0.9rem;
  }

  .category-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
  }

  .category-tab {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    width: auto;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }

  .product-details h3 {
    font-size: 1.1rem;
  }

  .product-description {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}
