
:root {
  --pink: #ff4fa3;
  --pink-light: #ffb3d9;
  --pink-bg: #fff0f6;
  --pink-muted: #ffe0ef;
  --text: #2d1b2e;
  --text-mid: #9a7090;
  --shadow: 0 4px 24px rgba(255, 79, 163, 0.1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'DM Sans', Arial, sans-serif;
  background: var(--pink-bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 179, 217, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 24px;
  text-align: center;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 79, 163, 0.08);
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #5a3060;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

nav a:hover { color: var(--pink); }

/* ── Hero ── */
.hero {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(160deg, #ffd6eb 0%, #fff8fc 55%, var(--pink-bg) 100%);
}

.hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 700;
  color: var(--text);
}

.hero h2 em {
  color: var(--pink);
  font-style: italic;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 32px;
}

/* ── Shared button ── */
.btn {
  display: inline-block;
  background: var(--pink);
  color: white;
  padding: 13px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(255, 79, 163, 0.3);
}

.btn:hover {
  background: #e63d93;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 79, 163, 0.4);
}

/* ── Products section ── */
#products {
  padding: 60px 24px;
}

#products h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 6px;
  color: var(--text);
}

.section-sub {
  text-align: center;
  color: var(--text-mid);
  font-size: 0.9rem;
  margin: 0 0 36px;
}

/* ── Product grid ── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

/* ── Cards ── */
.card {
  background: white;
  padding: 22px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255, 79, 163, 0.16);
}

.special {
  border: 2.5px solid var(--pink);
  background: linear-gradient(160deg, #fff, #fff8fb);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.card-top h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin: 0;
  font-weight: 700;
  color: var(--text);
}

.price-tag {
  background: var(--pink-muted);
  color: var(--pink);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-tag.deal {
  background: var(--pink);
  color: white;
}

/* ── Scent label ── */
.pick-label {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mid);
  margin: 0 0 10px;
  transition: color 0.2s;
}

.pick-label.nudge {
  animation: nudge 0.5s ease;
  color: var(--pink);
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-4px); }
  40%       { transform: translateX(4px); }
  60%       { transform: translateX(-3px); }
  80%       { transform: translateX(3px); }
}

/* ── Scents container ── */
.scents-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  flex: 1;
  align-content: flex-start;
}

/* ── Scent chips ── */
.scent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px 5px 9px;
  border-radius: 20px;
  border: 1.5px solid #f0c8da;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
  color: var(--text-mid);
  white-space: nowrap;
}

.scent:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: #fff5fb;
  transform: translateY(-1px);
}

.scent.selected {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
  font-weight: 500;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 79, 163, 0.25);
}

/* ── Color dot ── */
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c, #ccc);
  flex-shrink: 0;
  display: inline-block;
}

.scent.selected .dot {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

/* ── Order button ── */
/* ── Glitter toggle ── */
.glitter-toggle {
  display: block;
  margin-bottom: 12px;
  cursor: pointer;
  user-select: none;
}

.glitter-toggle input { display: none; }

.glitter-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1.5px dashed #f0c8da;
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-mid);
  transition: all 0.2s;
}

.glitter-toggle:hover .glitter-btn {
  border-color: var(--pink);
  color: var(--pink);
  background: #fff5fb;
}

.glitter-toggle input:checked + .glitter-btn {
  background: linear-gradient(135deg, #ffe6f6, #fff8dd);
  border-color: #ffb3d9;
  border-style: solid;
  color: #b05590;
  font-weight: 600;
}

/* ── Custom Gloss card ── */
.custom-card {
  border: 2px dashed var(--pink-light);
  background: linear-gradient(160deg, #fff, #fff8fc);
}

.price-tag.custom-price {
  background: linear-gradient(135deg, var(--pink-muted), #fff3cc);
  color: #b05090;
}

.custom-scent-wrap {
  margin: 4px 0 12px;
}

.or-divider {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-mid);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.custom-scent-input {
  width: 100%;
  padding: 9px 14px;
  border-radius: 20px;
  border: 1.5px solid #f0c8da;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  background: transparent;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-scent-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 79, 163, 0.1);
}

.custom-scent-input::placeholder { color: var(--text-mid); }

/* ── Order button ── */
.order-btn {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 30px;
  background: var(--pink-muted);
  color: #c080a0;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
  pointer-events: auto;
  margin-top: auto;
  cursor: pointer;
}

.order-btn.active {
  background: var(--pink);
  color: white;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 79, 163, 0.3);
}

.order-btn.active:hover {
  background: #e63d93;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 79, 163, 0.4);
}

/* ── Other sections ── */
section { padding: 50px 20px; }

section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text);
}

section p {
  text-align: center;
  line-height: 1.7;
  color: var(--text-mid);
}

section p strong { color: var(--text); }

#contact p { margin-bottom: 16px; }

/* ── Footer ── */
footer {
  text-align: center;
  padding: 24px;
  background: var(--pink-light);
  color: #5a3060;
  font-size: 0.85rem;
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 20px; }
  .card { padding: 18px; }
}
