@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Poppins', sans-serif; }

body {
  background: #fff6fa;
  color: #333;
}

/* Header */
header {
  background: linear-gradient(135deg, #c2185b, #f06292);
  color: #fff;
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h2 {
  font-weight: 700;
  letter-spacing: 1px;
}

header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 16px;
  font-weight: 500;
  transition: opacity 0.2s;
}

header nav a:hover {
  opacity: 0.8;
}

/* Container */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 16px;
}

/* Banner */
.banner {
  background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    url("https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?auto=format&fit=crop&w=1200&q=80")
    center/cover no-repeat;
  height: 260px;
  border-radius: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  padding: 24px;
  color: #fff;
}

.banner h1 {
  font-size: 2rem;
  max-width: 500px;
}

/* Section title */
.section-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: #c2185b;
}

/* Products grid */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
}

/* Product card */
.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card .info {
  padding: 12px;
  flex: 1;
}

.card h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.card .price {
  color: #c2185b;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Buttons */
button, .btn {
  background: linear-gradient(135deg, #c2185b, #f06292);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.1s, box-shadow 0.1s, opacity 0.1s;
  text-align: center;
  display: inline-block;
}

button:hover, .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(194,24,91,0.3);
  opacity: 0.95;
}

.btn.secondary {
  background: #555;
}

/* List items (cart, orders) */
.list-item {
  background: #fff;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Forms */
input, textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #c2185b;
}

/* Totals / highlights */
.total {
  font-size: 1.2rem;
  font-weight: 700;
  color: #c2185b;
  margin: 12px 0;
}

/* Footer spacing helper */
.spacer {
  height: 20px;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .banner {
    height: 200px;
  }

  .banner h1 {
    font-size: 1.4rem;
  }
}
