* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #0c0c0e;
  min-height: 100vh;
}

.header {
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  color: #a24b61;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4a5568;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover::after {
  width: 100%;
}

.hero {
  padding: 4rem 0;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.search-box {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.products {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: rgb(145, 65, 65);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2d3748;
}

.product-description {
  color: #718096;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #e53e3e;
  margin-bottom: 1rem;
}

.product-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border-radius: 10px;
  margin-top: 1rem;
}

.product-card:hover .product-details {
  max-height: 300px;
  padding: 1rem;
}

.product-specs {
  list-style: none;
  margin-bottom: 1rem;
}

.product-specs li {
  padding: 0.3rem 0;
  color: #4a5568;
  position: relative;
  padding-left: 1.5rem;
}

.product-specs li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #38a169;
  font-weight: bold;
}

.buy-button {
  width: 100%;
  padding: 0.8rem;
  background: linear-gradient(135deg, #c7e5e9, #81a24b);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.buy-button:hover {
  transform: translateY(-2px);
}

.toggle-details {
  display: none;
}

.toggle-label {
  display: block;
  padding: 0.5rem;
  background: linear-gradient(135deg, #ff0505, #f6f3fa);
  color: white;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.toggle-label:hover {
  transform: translateY(-2px);
}

.toggle-details:checked + .toggle-label + .product-details-full {
  max-height: 400px;
  padding: 1.5rem;
}

.product-details-full {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  border-radius: 15px;
  margin-top: 1rem;
}

.footer {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 2rem 0;
  text-align: center;
  backdrop-filter: blur(10px);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: #6e0f4a;
}

.footer-section p, .footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  line-height: 1.8;
}

.footer-section a:hover {
  color: #cdff17;
}

@media (max-width: 768px) {
  .nav-menu {
      display: none;
  }
  
  .hero h1 {
      font-size: 2.5rem;
  }
  
  .products-grid {
      grid-template-columns: 1fr;
  }
  
  .container {
      padding: 0 1rem;
  }
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.product-card {
  animation: fadeInUp 0.6s ease forwards;
}

.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; }