/* Cycle Plus Brand Styles - Maroon Theme */
:root {
  --cycle-primary: #7c2d12;
  --cycle-secondary: #92400e;
  --cycle-light: #fef2f2;
  --cycle-dark: #451a03;
  --cycle-accent: #dc2626;
}

/* Hero Section */
.cycle-hero {
  /* background: linear-gradient(135deg, var(--cycle-primary) 0%, var(--cycle-secondary) 100%); */
  background: linear-gradient(135deg, #fef2f2 0%, #d5b29f 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

.cycle-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.cycle-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.brand-name {
  display: block;
  font-size: 2rem;
  color: #fef2f2;
  margin-bottom: 0.5rem;
}

.cycle-hero-description {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Products Section */
.products-section {
  padding: 80px 0;
  background: #ffffff;
}

.products-header {
  margin-bottom: 3rem;
}

.products-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cycle-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.products-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid var(--cycle-light);
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
}

.search-box input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--cycle-primary);
  box-shadow: 0 0 0 3px rgba(124, 45, 18, 0.1);
}

.filter-controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-controls select {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  font-size: 1rem;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
}

.filter-controls select:focus {
  outline: none;
  border-color: var(--cycle-primary);
  box-shadow: 0 0 0 3px rgba(124, 45, 18, 0.1);
}

/* Products Grid */
.products-grid {
  display: grid;
  /* grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); */
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(124, 45, 18, 0.15);
  border-color: var(--cycle-primary);
}

.product-image {
  height: 200px;
  background: var(--cycle-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  object-fit: scale-down;
  transition: transform 0.3s ease;
}

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

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--cycle-primary);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-info {
  padding: 1.5rem;
}

.product-category {
  color: var(--cycle-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-description {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.product-specs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.spec-item {
  background: var(--cycle-light);
  color: var(--cycle-dark);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cycle-primary);
  margin-bottom: 1rem;
}

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

.btn-cycle {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}

.btn-cycle-primary {
  background: var(--cycle-primary);
  color: white;
}

.btn-cycle-primary:hover {
  background: var(--cycle-secondary);
  transform: translateY(-1px);
}

.btn-cycle-secondary {
  background: transparent;
  color: var(--cycle-primary);
  border: 2px solid var(--cycle-primary);
}

.btn-cycle-secondary:hover {
  background: var(--cycle-primary);
  color: white;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
}

.no-results i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--cycle-primary);
}

.no-results h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #374151;
}

/* Animation delays for staggered effect */
.product-card:nth-child(1) {
  animation-delay: 0.1s;
}
.product-card:nth-child(2) {
  animation-delay: 0.2s;
}
.product-card:nth-child(3) {
  animation-delay: 0.3s;
}
.product-card:nth-child(4) {
  animation-delay: 0.4s;
}
.product-card:nth-child(5) {
  animation-delay: 0.5s;
}
.product-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cycle-hero-title {
    font-size: 2.5rem;
  }

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

  .products-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-controls {
    justify-content: stretch;
  }

  .filter-controls select {
    flex: 1;
    min-width: auto;
  }

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

@media (max-width: 480px) {
  .cycle-hero-title {
    font-size: 2rem;
  }

  .products-title {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-specs {
    gap: 0.5rem;
  }

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

/* Products Grid
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(124, 45, 18, 0.03), rgba(218, 165, 32, 0.03));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 20px;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(124, 45, 18, 0.12);
  border-color: rgba(124, 45, 18, 0.15);
}

.product-card:hover::before {
  opacity: 1;
}

.product-image {
  height: 280px;
  background: linear-gradient(135deg, #fef9f3 0%, #fef3e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.product-image::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

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

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--cycle-primary), var(--cycle-secondary));
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(124, 45, 18, 0.25);
  z-index: 2;
}

.product-info {
  padding: 1.75rem;
  background: white;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  color: var(--cycle-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  display: inline-block;
  background: rgba(218, 165, 32, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  align-self: flex-start;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  height: 3.36rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-description {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  height: 2.88rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-specs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  min-height: 4rem;
  align-content: flex-start;
}

.spec-item {
  background: linear-gradient(135deg, rgba(124, 45, 18, 0.06), rgba(218, 165, 32, 0.06));
  color: var(--cycle-dark);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(124, 45, 18, 0.1);
  transition: all 0.3s ease;
  height: fit-content;
}

.spec-item:hover {
  background: linear-gradient(135deg, rgba(124, 45, 18, 0.1), rgba(218, 165, 32, 0.1));
  transform: translateY(-1px);
}

.product-price {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cycle-primary), var(--cycle-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-cycle {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  text-align: center;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-cycle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-cycle:hover::before {
  width: 300px;
  height: 300px;
}

.btn-cycle-primary {
  background: linear-gradient(135deg, var(--cycle-primary), var(--cycle-secondary));
  color: white;
  box-shadow: 0 4px 15px rgba(124, 45, 18, 0.25);
}

.btn-cycle-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 45, 18, 0.35);
}

.btn-cycle-primary:active {
  transform: translateY(0);
}

.btn-cycle-secondary {
  background: white;
  color: var(--cycle-primary);
  border: 2px solid var(--cycle-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-cycle-secondary:hover {
  background: linear-gradient(135deg, var(--cycle-primary), var(--cycle-secondary));
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(124, 45, 18, 0.25);
} */