/* Counter Designs page specific styles */

/* Counter Designs Page Hero */
.counter-designs-hero {
  background: #000000;
  color: white;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
}

.counter-designs-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(white, rgba(255, 255, 255, 0.15) 2px, transparent 40px),
    radial-gradient(white, rgba(255, 255, 255, 0.1) 1px, transparent 30px),
    radial-gradient(white, rgba(255, 255, 255, 0.07) 2px, transparent 40px),
    radial-gradient(
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.07) 2px,
      transparent 30px
    );
  background-size:
    550px 550px,
    350px 350px,
    250px 250px,
    150px 150px;
  background-position:
    0 0,
    40px 60px,
    130px 270px,
    70px 100px;
  animation: twinkle 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.counter-designs-hero .hero-content {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.counter-designs-hero .hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
  letter-spacing: 2px;
  font-weight: bold;
}

.counter-designs-hero .hero-content p {
  font-size: 1.3rem;
  margin-bottom: 0;
  opacity: 0.95;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* Counter Designs Content */
.counter-designs-content {
  padding: 4rem 0;
  background: #000000;
  position: relative;
  overflow: hidden;
}

.counter-designs-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(white, rgba(255, 255, 255, 0.15) 2px, transparent 40px),
    radial-gradient(white, rgba(255, 255, 255, 0.1) 1px, transparent 30px),
    radial-gradient(white, rgba(255, 255, 255, 0.07) 2px, transparent 40px),
    radial-gradient(
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.07) 2px,
      transparent 30px
    );
  background-size:
    550px 550px,
    350px 350px,
    250px 250px,
    150px 150px;
  background-position:
    20px 20px,
    60px 80px,
    150px 290px,
    90px 120px;
  animation: twinkle 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.designs-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.designs-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0;
  color: #ffffff;
  letter-spacing: 1px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.designs-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form input {
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 5px;
}

.search-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

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

.design-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.design-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.design-image,
.design-placeholder {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.design-placeholder {
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
}

.design-info {
  padding: 1.5rem;
}

.design-info h3 {
  margin-bottom: 0.5rem;
  color: white;
}

.design-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.design-details {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #4caf50;
}

.shipping {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.design-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.materials {
  color: rgba(255, 255, 255, 0.7);
}

.category a {
  color: #2196f3;
  text-decoration: none;
}

.category a:hover {
  text-decoration: underline;
}

.design-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.no-designs {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Counter Designs Responsive Design */
@media (max-width: 1024px) {
  .counter-designs-hero {
    padding: 4rem 0;
  }

  .counter-designs-hero .hero-content {
    margin: 0 1.5rem;
    padding: 2.5rem;
  }

  .counter-designs-content {
    padding: 3rem 0;
  }

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

@media (max-width: 768px) {
  .counter-designs-hero {
    padding: 3rem 0;
    min-height: 50vh;
  }

  .counter-designs-hero .hero-content {
    margin: 0 1rem;
    padding: 2rem;
  }

  .counter-designs-hero .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }

  .counter-designs-hero .hero-content p {
    font-size: 1.1rem;
  }

  .designs-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .designs-actions {
    justify-content: center;
    order: 2;
  }

  .search-form {
    justify-content: center;
    order: 1;
  }

  .search-form input {
    min-width: 200px;
    flex: 1;
    max-width: 300px;
  }

  .designs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .design-card {
    margin: 0;
  }

  .design-image {
    height: 200px;
  }

  .design-details {
    flex-direction: column;
    gap: 0.5rem;
  }

  .design-actions {
    justify-content: center;
  }

  .no-designs {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .counter-designs-hero {
    padding: 2rem 0;
  }

  .counter-designs-hero .hero-content {
    margin: 0 0.75rem;
    padding: 1.5rem;
  }

  .counter-designs-hero .hero-content h1 {
    font-size: 2rem;
  }

  .counter-designs-hero .hero-content p {
    font-size: 1rem;
  }

  .designs-grid {
    padding: 0 0.75rem;
  }

  .design-card {
    padding: 1rem;
  }

  .design-title {
    font-size: 1.3rem;
  }

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

  .design-actions .btn {
    width: 100%;
    text-align: center;
  }
}
