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

:root {
  --pink: #ff4fa3;
  --hot-pink: #f72d91;
  --light-pink: #fff0f7;
  --teal: #20cfc9;
  --purple: #9b5de5;
  --gold: #f7b733;
  --dark: #29213a;
  --white: #ffffff;
  --gray: #6d6875;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Fredoka", Arial, sans-serif;
  color: var(--dark);
  background: #fffafb;
}

/* HEADER */

header {
  background: white;
  padding: 18px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: "Pacifico", cursive;
  font-size: 28px;
  color: var(--hot-pink);
}

nav {
  display: flex;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
}

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

/* HERO */

.hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 80px 10%;
  background:
    radial-gradient(circle at 10% 20%, #ffd1e8 0, transparent 25%),
    radial-gradient(circle at 90% 30%, #bff7f4 0, transparent 25%),
    linear-gradient(135deg, #fff7fb, #f5ffff);
}

.hero-text {
  max-width: 650px;
}

.small-title {
  color: var(--hot-pink);
  font-weight: bold;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: clamp(55px, 8vw, 95px);
  line-height: 0.95;
  margin: 15px 0;
}

.hero h1 span {
  color: var(--hot-pink);
  font-family: "Pacifico", cursive;
}

.hero-text p:not(.small-title) {
  font-size: 20px;
  line-height: 1.6;
  color: var(--gray);
}

.hero-button,
#orderButton {
  display: inline-block;
  border: none;
  background: linear-gradient(135deg, var(--hot-pink), var(--purple));
  color: white;
  padding: 16px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(247, 45, 145, 0.25);
  transition: 0.3s;
}

.hero-button:hover,
#orderButton:hover {
  transform: translateY(-3px);
}

/* MAIN BUILDER */

main {
  max-width: 1150px;
  margin: auto;
  padding: 70px 25px;
}

.builder-title {
  text-align: center;
  margin-bottom: 55px;
}

.builder-title p {
  color: var(--hot-pink);
  font-weight: bold;
  letter-spacing: 2px;
}

.builder-title h2 {
  font-size: 48px;
  margin: 10px 0;
}

.builder-title span {
  color: var(--gray);
  font-size: 18px;
}

/* STEPS */

.step {
  display: flex;
  gap: 25px;
  margin-bottom: 35px;
}

.step-number {
  min-width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hot-pink), var(--purple));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: bold;
  box-shadow: 0 6px 15px rgba(247, 45, 145, 0.2);
}

.step-content {
  flex: 1;
  background: white;
  padding: 35px;
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(50, 30, 60, 0.08);
}

.step-content h2 {
  margin-top: 0;
  font-size: 30px;
}

.step-content p {
  color: var(--gray);
}

/* PRODUCT CARDS */

.options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 25px;
}

.product-options {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.option {
  background: #fff;
  border: 2px solid #f1e8ee;
  border-radius: 18px;
  padding: 15px;
  cursor: pointer;
  text-align: center;
  transition: 0.25s;
}

.option:hover {
  transform: translateY(-5px);
  border-color: var(--pink);
}

.option.selected {
  border-color: var(--hot-pink);
  background: var(--light-pink);
  box-shadow: 0 8px 20px rgba(247, 45, 145, 0.15);
}

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff7fb;
}

.product-card h3 {
  margin: 12px 0 5px;
}

.product-card strong {
  color: var(--hot-pink);
  font-size: 18px;
}

/* COLORS */

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

.color {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-weight: bold;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.color span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: 0.2s;
}

.color.selected span {
  outline: 4px solid var(--hot-pink);
  transform: scale(1.1);
}

.color.pink span {
  background: #ff4fa3;
}

.color.teal span {
  background: #20cfc9;
}

.color.gold span {
  background: #f7b733;
}

.color.black span {
  background: #1f1f1f;
}

.color.white span {
  background: white;
  border-color: #ddd;
}

.color.purple span {
  background: #9b5de5;
}

.color.blue span {
  background: #4285f4;
}

.color.red span {
  background: #ef4444;
}

.color.green span {
  background: #22c55e;
}

.color.orange span {
  background: #fb923c;
}

/* HARDWARE + BEADS */

.choice {
  background: white;
  border: 2px solid #eee5eb;
  padding: 22px;
  border-radius: 18px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: 0.25s;
}

.choice:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}

.choice.selected {
  border-color: var(--hot-pink);
  background: var(--light-pink);
}

.choice strong,
.choice span,
.choice small {
  display: block;
}

.choice strong {
  font-size: 18px;
  margin-bottom: 8px;
}

.choice span {
  color: var(--hot-pink);
  font-weight: bold;
  margin-bottom: 7px;
}

.choice small {
  color: var(--gray);
}

/* CHARMS */

.charms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 18px;
  margin-top: 25px;
}

.charm-card {
  border: 2px solid #eee5eb;
  border-radius: 18px;
  padding: 12px;
  cursor: pointer;
  text-align: center;
  transition: 0.25s;
  background: white;
}

.charm-card:hover {
  transform: translateY(-4px);
}

.charm-card.selected {
  border-color: var(--hot-pink);
  background: var(--light-pink);
}

.charm-card input {
  display: none;
}

.charm-card img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff7fb;
}

.charm-card span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

/* PERSONALIZATION */

textarea {
  width: 100%;
  min-height: 140px;
  padding: 18px;
  border: 2px solid #eee5eb;
  border-radius: 15px;
  font-family: inherit;
  font-size: 16px;
  resize: vertical;
}

textarea:focus,
input:focus {
  outline: none;
  border-color: var(--hot-pink);
}

/* CUSTOMER INFO */

.customer-section {
  background: linear-gradient(135deg, #fff0f7, #efffff);
  padding: 40px;
  border-radius: 25px;
  margin: 40px 0;
}

.customer-section h2 {
  margin-top: 0;
  font-size: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-grid input {
  padding: 16px;
  border-radius: 12px;
  border: 2px solid #eee5eb;
  font-family: inherit;
  font-size: 16px;
}

.receipt-note {
  color: var(--hot-pink);
  font-weight: bold;
}

/* SUMMARY */

.summary {
  background: var(--dark);
  color: white;
  padding: 45px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(40, 30, 55, 0.2);
}

.summary h2 {
  font-size: 32px;
  margin-top: 0;
}

#summaryContent {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 18px;
  text-align: left;
  margin: 25px 0;
}

#summaryContent p {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* FOOTER */

footer {
  text-align: center;
  background: #211a2c;
  color: white;
  padding: 60px 20px 30px;
}

footer h2 {
  font-family: "Pacifico", cursive;
  color: var(--pink);
  font-size: 35px;
}

footer p {
  color: #d8d1df;
}

.copyright {
  margin-top: 35px;
  font-size: 13px;
}

/* MOBILE */

@media (max-width: 700px) {

  header {
    padding: 15px 5%;
  }

  nav {
    gap: 12px;
    font-size: 13px;
  }

  .logo {
    font-size: 21px;
  }

  .hero {
    min-height: 450px;
    padding: 60px 8%;
  }

  .hero h1 {
    font-size: 58px;
  }

  .step {
    flex-direction: column;
  }

  .step-number {
    min-width: 48px;
    width: 48px;
    height: 48px;
  }

  .step-content {
    padding: 25px 20px;
  }

  .builder-title h2 {
    font-size: 36px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .summary,
  .customer-section {
    padding: 28px 20px;
  }

}
