:root {
  --bg: #f6f1fa;
  --bg-soft: #fdfafc;
  --moon-blue: #5a6fa8;
  --moon-deep: #3d4d7d;
  --body: #4a4458;
  --accent: #b8a7d9;
  --card: #ffffff;
  --shadow: 0 4px 18px rgba(90, 111, 168, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--body);
  text-align: center;
  line-height: 1.6;
}

h1, h2, h3, .brand {
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  color: var(--moon-blue);
  letter-spacing: 1px;
}

/* Banner */
.banner {
  width: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(184, 167, 217, 0.35), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(122, 143, 196, 0.3), transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(214, 198, 240, 0.4), transparent 60%),
    linear-gradient(160deg, #e8e0f5 0%, #dce4f4 100%);
  position: relative;
  overflow: hidden;
  padding: 48px 16px;
}

.banner img.banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none; /* shown when a real banner image is added */
}

.banner .sparkle {
  position: absolute;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  animation: twinkle 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

.banner .brand {
  font-size: clamp(34px, 6vw, 58px);
  color: var(--moon-deep);
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.8);
  position: relative;
}

.banner .tagline {
  margin-top: 10px;
  font-style: italic;
  color: var(--moon-blue);
  font-size: clamp(15px, 2.5vw, 19px);
  position: relative;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 12px;
  background: var(--bg-soft);
  border-bottom: 1px solid #e6ddf2;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav a {
  text-decoration: none;
  color: var(--moon-blue);
  background: #fff;
  border: 1px solid #ddd0ee;
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 15px;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, background 0.15s ease;
}

nav a:hover { background: #f0eafa; transform: translateY(-2px); }
nav a.active { background: var(--moon-blue); color: #fff; border-color: var(--moon-blue); }

/* Layout */
main { max-width: 1200px; margin: 0 auto; padding: 34px 18px 70px; }

.section-title { font-size: clamp(24px, 4vw, 32px); margin-bottom: 8px; }
.section-sub { font-style: italic; color: var(--body); opacity: 0.85; margin-bottom: 30px; }

/* Product grid: 4 wide on desktop */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid #e9e0f4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}
.card:hover { transform: translateY(-4px); }

.card .photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 30% 30%, #efe8fa, #dfe6f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  overflow: hidden;
}
.card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.card .info { padding: 14px 12px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .name { color: var(--moon-deep); font-size: 17px; }
.card .desc { font-size: 13.5px; opacity: 0.85; flex: 1; }
.card .price { color: var(--moon-blue); font-size: 16px; font-weight: bold; }

.card .buy {
  display: inline-block;
  margin-top: 8px;
  background: var(--moon-blue);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: background 0.15s ease;
}
.card .buy:hover { background: var(--moon-deep); }
.card .buy.soon { background: var(--accent); cursor: default; pointer-events: none; }

/* About / Contact blocks */
.page-block {
  max-width: 680px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid #e9e0f4;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 34px 28px;
  text-align: center;
}
.page-block p { margin-bottom: 16px; }
.page-block a { color: var(--moon-blue); }

.contact-list { list-style: none; margin: 10px 0 20px; }
.contact-list li { margin: 10px 0; font-size: 16px; }
.contact-list .label { color: var(--moon-deep); font-weight: bold; }

footer {
  padding: 26px 16px 34px;
  font-size: 13.5px;
  color: var(--body);
  opacity: 0.8;
  border-top: 1px solid #e6ddf2;
  background: var(--bg-soft);
}

/* Responsive: 4 -> 2, never less than 2 */
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card .info { padding: 10px 8px 14px; }
  .card .photo { font-size: 36px; }
  .card .name { font-size: 14px; }
  .card .desc { font-size: 12px; }
  nav a { padding: 8px 16px; font-size: 14px; }
}
