* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Fredoka', sans-serif;
  background: linear-gradient(135deg, #f9cbd6 0%, #f2afbc 100%);
  min-height: 100vh;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  background: linear-gradient(135deg, #f2e0d2 0%, #f2afbc 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.logo-container {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo-container:hover {
  transform: scale(1.05);
}

.logo-container img {
  height: 45px;
  margin-right: 0.8rem;
}

.wordmark {
  font-weight: 700;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #9e182b, #f2afbc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: #9e182b;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.main-nav a:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  transition: left 0.3s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(158, 24, 43, 0.15);
}

.main-nav a:hover:before {
  left: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-icon {
  font-size: 1.4rem;
  text-decoration: none;
  padding: 0.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  color: #9e182b;
}

.cart-icon:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(158, 24, 43, 0.2);
}

.language-selector {
  position: relative;
}

.language-toggle {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.3);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #9e182b;
}

.language-toggle:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(158, 24, 43, 0.1);
}

.search-bar input {
  padding: 0.8rem 1.2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.2);
  font-family: 'Fredoka', sans-serif;
  font-size: 0.95rem;
  width: 200px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  color: #9e182b;
}

.search-bar input:focus {
  outline: none;
  border-color: #f2afbc;
  background: rgba(255, 255, 255, 0.4);
  width: 240px;
  box-shadow: 0 2px 15px rgba(158, 24, 43, 0.1);
}

.search-bar input::placeholder {
  color: rgba(158, 24, 43, 0.7);
}

/* Product Listing Section */
.product-listing {
  padding: 4rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

.product-listing h2 {
  text-align: center;
  font-size: 3rem;
  font-weight: 600;
  color: #9e182b;
  margin-bottom: 3rem;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.product-listing h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #f9cbd6, #f2afbc);
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.product-card {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(158, 24, 43, 0.1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(249, 203, 214, 0.15), rgba(242, 175, 188, 0.15));
  transition: left 0.4s ease;
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(158, 24, 43, 0.2);
  border-color: rgba(242, 175, 188, 0.6);
}

.product-card:hover::before {
  left: 0;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(158, 24, 43, 0.15);
}

.product-card:hover img {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(158, 24, 43, 0.25);
}

.product-card p {
  font-size: 1.3rem;
  font-weight: 500;
  color: #9e182b;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.product-card .price {
  font-size: 1.1rem;
  color: #f2afbc;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.add-to-cart-btn {
  background: linear-gradient(135deg, #f9cbd6, #f2afbc);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #9e182b;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(158, 24, 43, 0.1);
}

.add-to-cart-btn:hover {
  background: linear-gradient(135deg, #f2afbc, #9e182b);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(158, 24, 43, 0.2);
}

.add-to-cart-btn:active {
  transform: translateY(0);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f2e0d2 0%, #f2afbc 100%);
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  font-size: 1rem;
  font-weight: 400;
  color: #9e182b;
  box-shadow: 0 -4px 20px rgba(158, 24, 43, 0.1);
  margin-top: auto;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  header {
    padding: 1rem 2rem;
  }

  .product-listing {
    padding: 3rem 2rem;
  }
}

@media (max-width: 968px) {
  .main-nav {
    gap: 1rem;
  }

  .main-nav a {
    padding: 0.6rem 1rem;
    font-size: 1rem;
  }

  .search-bar input {
    width: 160px;
  }

  .search-bar input:focus {
    width: 180px;
  }

  .product-listing h2 {
    font-size: 2.5rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    position: relative;
  }

  .header-right {
    order: -1;
    width: 100%;
    justify-content: center;
  }

  .product-listing {
    padding: 2rem 1.5rem;
  }

  .product-listing h2 {
    font-size: 2.2rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .product-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .main-nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .header-right {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .search-bar input {
    width: 140px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-listing h2 {
    font-size: 1.8rem;
  }
}

.header-navigations {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
