:root {
  --primary: #c2185b;
  --secondary: #f8d7e4;
  --dark: #333;
  --light: #fff;
  --gray: #888;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  background: #fff;
  color: var(--dark);
  line-height: 1.6;
}

header {
  background: var(--primary);
  color: #fff;
  padding: 15px 0;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: auto;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover,
nav a.active {
  color: #ffe6f0;
  text-decoration: underline;
}

.container {
  width: 90%;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(120deg, #fce4ec, #fff);
  text-align: center;
  padding: 80px 20px;
  animation: fadeIn 1.5s;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--primary);
}

.hero p {
  font-size: 1.1rem;
  margin: 20px 0;
  color: var(--gray);
}

.btn {
  background: var(--primary);
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background: #a5114d;
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }

  30% {
    transform: translateX(0);
  }

  33% {
    transform: translateX(-100%);
  }

  63% {
    transform: translateX(-100%);
  }

  66% {
    transform: translateX(-200%);
  }

  97% {
    transform: translateX(-200%);
  }

  100% {
    transform: translateX(0);
  }
}

.featured-products {
  padding: 60px 0;
  text-align: center;
  background: #fff;
}

.featured-products h1 {
  color: var(--primary);
  margin-bottom: 40px;
}

.featured-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.featured-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 230px;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.featured-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.featured-card h3 {
  color: var(--primary);
  margin: 10px 0 5px;
  font-size: 1rem;
}

.featured-card p {
  color: var(--dark);
  font-weight: bold;
  margin-bottom: 10px;
}

.featured-card .btn {
  margin-bottom: 15px;
  align-self: center;
}

.product-list {
  padding: 60px 0;
  text-align: center;
  background: #fff;
}

.product-list h1 {
  color: var(--primary);
  margin-bottom: 40px;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.product-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  width: 240px;
  height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding-bottom: 15px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card h3 {
  color: var(--primary);
  margin: 10px 0 5px;
  font-size: 1rem;
}

.product-card p {
  color: var(--dark);
  font-weight: bold;
  margin-bottom: 10px;
}

.product-card .btn {
  align-self: center;
}

.product-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.product-popup.show {
  display: flex;
}

.popup-content {
  background: #fff;
  border-radius: 15px;
  max-width: 500px;
  padding: 25px;
  position: relative;
  text-align: center;
}

.popup-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.product-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
}

.detail-img img {
  width: 350px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.detail-info {
  flex: 1;
}

.detail-info h1 {
  color: var(--primary);
  margin-bottom: 10px;
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--dark);
  margin-bottom: 20px;
}

.detail-info ul {
  list-style: disc;
  margin-left: 25px;
  color: var(--dark);
}

.detail-info .buttons {
  margin-top: 25px;
}

.auth-bg {
  background: linear-gradient(135deg, #f8d7e4, #fff);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.auth-card {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
  animation: fadeUp 0.8s ease;
}

.auth-card h2 {
  margin-bottom: 20px;
  color: var(--primary);
}

.auth-card input {
  width: 100%;
  padding: 10px;
  margin: 10px 0 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.auth-card .btn {
  width: 100%;
}

.auth-card .note {
  margin-top: 10px;
  color: var(--gray);
}

.about {
  text-align: center;
  padding: 60px 20px;
}

.about h1 {
  color: var(--primary);
  margin-bottom: 20px;
}

.about .info {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: inline-block;
  max-width: 600px;
}

.about img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.promo-banner {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8d7e4, #fff);
  border-top: 3px solid var(--primary);
}

.promo-banner h2 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.promo-banner p {
  color: var(--dark);
  margin-bottom: 25px;
  font-size: 1.1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }

  .product-detail {
    flex-direction: column;
    text-align: center;
  }

  .detail-img img {
    width: 90%;
  }
}

.banner-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 60px;
  background: #fff;
}

.banner-track {
  display: flex;
  width: 300%;
  animation: scrollBanner 80s linear infinite;
}

.banner-track img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border: none;
}

@keyframes scrollBanner {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-200%);
  }
}
    .product-detail-container {
      max-width: 1200px;
      margin: 40px auto;
      padding: 20px;
      background-color: #fff;
      border-radius: 15px;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }

    .product-detail {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      align-items: center;
    }

    .product-image {
      flex: 1 1 350px;
      text-align: center;
    }

    .product-image img {
      max-width: 100%;
      border-radius: 15px;
      transition: transform 0.3s ease;
    }

    .product-image img:hover {
      transform: scale(1.05);
    }

    .product-info {
      flex: 1 1 450px;
    }

    .product-info h1 {
      font-size: 2.2rem;
      margin-bottom: 15px;
      color: #d6336c; 
    }

    .product-info p {
      font-size: 1.1rem;
      margin-bottom: 20px;
      color: #333;
    }

    .price {
      font-size: 1.8rem;
      font-weight: bold;
      color: #d6336c;
      margin-bottom: 25px;
    }

    .buy-btn {
      display: inline-block;
      padding: 14px 30px;
      background-color: #d6336c;
      color: #fff;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      text-decoration: none;
      font-size: 1.1rem;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .buy-btn:hover {
      background-color: #a52a55;
      transform: scale(1.05);
    }

    .product-specs {
      margin-top: 40px;
    }

    .product-specs h2 {
      margin-bottom: 15px;
      color: #003b32; 
    }

    .product-specs ul {
      list-style-type: disc;
      margin-left: 25px;
      font-size: 1rem;
    }

    @media (max-width: 768px) {
      .product-detail {
        flex-direction: column;
        gap: 25px;
      }
    }

.footer {
  background: var(--primary);
  color: #fff;
  padding: 60px 0 20px;
  font-size: 0.95rem;
}

.footer-container {
  width: 80%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer h3,
.footer h4 {
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.footer-about {
  flex: 1 1 300px;
}

.footer-about p {
  line-height: 1.6;
}

.footer-links {
  flex: 1 1 200px;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin: 8px 0;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffe6f0;
  text-decoration: underline;
}

.footer-contact {
  flex: 1 1 250px;
}

.footer-contact p {
  margin: 8px 0;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  transition: transform 0.3s;
}

.social-icons a img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  font-size: 0.9rem;
  color: #f8d7e4;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}
.auth-form {
  max-width: 400px;
  margin: 80px auto;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.auth-form h1 {
  text-align: center;
  margin-bottom: 25px;
  color: var(--primary);
}

.auth-form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

.auth-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.auth-form .btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.auth-form .btn:hover {
  background: var(--accent);
}

.message-box {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #4caf50;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.4s, transform 0.4s;
  z-index: 1000;
  font-weight: 500;
}
.message-box.show {
  opacity: 1;
  transform: translateY(0);
}
