:root {
  --pink: #f28bb7;
  --rose: #e76ea1;
  --cream: #fff8f0;
  --bg1: #fff6fb;
  --bg2: #fff;
  --text: #2a2a2a;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  --header: rgba(234, 32, 157, 0.462);
  --surface: #fff;
  --card: #5b175556;
  --muted: #666;
}
/* Dark theme variables removed (undo) */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  background: linear-gradient(
    135deg,
    var(--bg1) 0%,
    var(--bg2) 60%,
    #f6f0f5 100%
  );
  color: var(--text);
  font-family: 'Quicksand', system-ui, sans-serif;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 50;
  background: var(--header);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.brand .logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: conic-gradient(
    from 180deg at 50% 50%,
    var(--pink),
    var(--rose),
    #0808f1
  );
}
nav a {
  margin: 0 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  opacity: 0.85;
}
main {
  padding-top: 84px;
  min-height: 100vh;
}
.view {
  display: none;
  padding: 28px 20px;
}
.view.active {
  display: block;
}
/* Home hero */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0 10px;
}
.hero svg {
  width: 100%;
  height: auto;
  max-height: 180px;
}
.cta {
  margin-top: 18px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  color: white;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(231, 110, 161, 0.5);
  transition: transform 0.2s ease;
}
.cta:hover {
  transform: translateY(-2px);
}
.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin: 18px 0 8px;
}
/* Grid/cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  justify-items: stretch;
}
.card {
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
}
.card h3 {
  margin: 0;
  font-size: 1.05rem;
}
.card .badge {
  font-size: 0.75rem;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f5e6f9;
  color: #6b2e7f;
  align-self: flex-start;
}
.subitem-icon {
  font-size: 28px;
}
/* Category/p Rocduct listing */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 12px;
}
.product {
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.pbody {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.price {
  color: var(--rose);
  font-weight: 700;
}
.btn {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}
.btn.primary {
  background: linear-gradient(135deg, var(--pink), var(--rose));
  color: white;
  border: 0;
}
.btn.ghost {
  background: #f5f5f5;
}
.rating {
  display: flex;
  gap: 4px;
  align-items: center;
}
.star {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
/* Product details */
#details {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.carousel {
  height: 340px;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}
.details-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.muted {
  color: var(--muted);
}
.cartline {
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel {
  height: 340px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  #details {
    grid-template-columns: 1fr;
  }
}
/* SVG startup word animation helpers */
.word {
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  animation: wordIn 0.8s forwards;
}
@keyframes wordIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
