/* ===== RESET & BASE STYLES ===== */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}


body {
  font-family: 'Fredoka', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #ffffff 30%, #FFFCF0 72%, #FED4E1 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


/* ===== HEADER & NAVIGATION ===== */
.curtain {
  width: 100%;
  height: 50px;
  background: url('../Images/curtain.png') repeat-x center top;
  background-size: auto 100%;
  border: 1px solid red; /* Temporary to see it */
}


.header-top {
  background-color: #ffffff;
  height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  position: relative;
}


.header-logo {
  height: 55px;
  width: auto;
}


/* Social Icons */
.socials-rectangle {
  background-color: #fcb2deff;
  border-radius: 25px;
  padding: 5px 25px;
  display: flex;
  gap: 20px;
  margin-left: 200px;
}


.socials-rectangle a {
  color: #ffffffff;
  font-size: 18px;
  transition: all 0.3s ease;
}


.socials-rectangle a:hover { transform: translateY(-5px); }
.socials-rectangle a:active { transform: scale(0.9); }


/* Right Side Icons */
.header-right-icons {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-right: 200px;
}


.login-with-text {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}


.login-with-text:hover { transform: translateY(-5px); }
.login-with-text:active { transform: scale(0.95); }


.login-circle {
  background-color: #fcb2deff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}


.login-circle i {
  color: #ffffffff;
  font-size: 16px;
}


.login-label {
  color: #AF2C48;
  font-weight: 500;
  transition: all 0.3s ease;
}


.basket-icon {
  color: #FF94BF;
  font-size: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}


.basket-icon:hover { transform: translateY(-5px); }
.basket-icon:active { transform: scale(0.9); }


/* Navigation */
.header-nav {
  background: linear-gradient(to right, #f7b9d2, #FF94BF, #fe76ac);
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}


.header-nav .nav-link {
  color: #fff;
  font-weight: 100;
  font-size: 1.1rem;
  margin: 0 15px;
  line-height: normal;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 4px 20px;
  border-radius: 25px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.header-nav .nav-link:hover {
  transform: translateY(-5px);
  background-color: rgba(252, 178, 222, 0.3);
}


.header-nav .nav-link.active {
  background-color: #ffffff;
  border-radius: 25px;
  padding: 4px 20px;
  color: #AF2C48 !important;
  font-weight: 100;
  line-height: normal;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ===== HERO SECTION ===== */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: auto; /* Let content determine height */
  min-height: auto;
}


.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
}


.hero-title {
  font-size: 70px;
  font-weight: 100;
  color: #AF2C48;
  text-align: center;
  max-width: 700px;
  margin: 0 0 11px 0;
}


.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 25px);
  font-weight: 100;
  text-align: center;
  margin-bottom: 20px;
  max-width: 700px;
}


.hero-btn {
  width: 225px;
  height: 50.51px;
  background-color: #D1D2F1;
  color: #AF2C48;
  font-size: 20px;
  font-weight: 100;
  border: 1px solid #867C87;
  border-radius: 85px;
  box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.15);
  margin-left: 132px;
  margin-right: 20px;
}


.hero-btn:hover {
  background-color: #D1D2F1;
  border: 1px solid #867C87;
  cursor: pointer;
  transform: translateY(-3px);
  transition: transform 0.2s ease;
}


.hero-bunny {
  display: flex;
  align-items: right;
  justify-content: flex-end;
}


.hero-bunny img {
  width: 1100px;
  height: auto;
  display: block;
  max-width: 90%;
}


/* ===== SPECIAL SECTION ===== */
.special-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 100vh;
}


.special-left {
  flex: 1 1 50%;
  background: url('images/flowers.png') no-repeat center center;
  background-size: cover;
  box-sizing: border-box;
}


.special-right {
  flex: 1 1 50%;
  background-color: #FFF8F0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 60px;
  box-sizing: border-box;
}


.special-title {
  font-size: 70px;
  font-weight: 600;
  color: #AF2C48;
  margin: 0 0 20px 0;
  line-height: 1.2;
  text-align: center;
  text-shadow: 2px 2px 0 #EF9C5F, 3px 3px 0 #EF9C5F;
}


.special-title span {
  display: block;
  font-family: 'Fasthand', cursive;
  color: #FCD9B1;
  font-size: 85px;
  font-weight: normal;
  margin-top: 0px;
  text-shadow: 2px 2px 0 #EF9C5F, 3px 3px 0 #EF9C5F;
}


.special-subtitle {
  font-size: 22px;
  color: #555;
  margin: 0;
  line-height: 1.8;
  max-width: 600px;
}


.send-gift-btn {
  font-family: 'Fredoka', sans-serif;
  font-size: 16px;
  background-color: #ffc8df;
  color: #AF2C48;
  border: 1px solid #867C87;
  border-radius: 85px;
  padding: 15px 40px;
  margin-top: 30px;
  cursor: pointer;
  box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.send-gift-btn:hover {
  transform: translateY(-5px);
  box-shadow: 16px 16px 0px rgba(0, 0, 0, 0.15);
}

/* ===== HOW IT WORKS SECTION ===== */
.section-1 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, #FEDEED 0%, #D1D2F1 100%);
  padding: 60px 20px;
  overflow: hidden;
  box-sizing: border-box;
}

.how-it-works-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 58px;
  font-weight: 100;
  color: #AF2C48;
  text-align: center;
  margin-bottom: 60px;
}

.steps-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 366px;
  text-align: center;
  flex: 1 1 280px;
}

.step-box {
  background: #fff;
  width: 280px;
  height: 350px;
  border-radius: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
}

.step-box img {
  max-width: 130%;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-box img:hover { 
  transform: translateY(-15px); 
}

.step-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #AF2C48;
  margin-bottom: 10px;
}

.step-subtext {
  font-family: 'Fredoka', sans-serif;
  font-size: 16px;
  color: #000000;
  line-height: 1.4;
  max-width: 250px;
  margin: 0 auto;
  text-align: center;
}


/* ===== GIFT SECTION ===== */
.section-2 {
  background-color: #D1D2F1;
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}


.clouds-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0vh;
  background: url('../Images/cloudsbg.png') repeat-x bottom center;
  background-size: auto 100%;
  z-index: 1;
  border: 1px solid blue; /* Temporary to see it */
}


.section-2-content {
  text-align: center;
  max-width: 800px;
  padding: 20px;
  position: relative;
  z-index: 2;
}


.section-2-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 100;
  font-size: 48px;
  color: #AF2C48;
  margin-bottom: 20px;
}


.section-2-subtext {
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000;
  line-height: 1.5;
  margin-bottom: 50px;
}


.gift-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.gift-img {
  width: 800px;
  max-width: 90%;
  height: auto;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}


.view-more-btn {
  font-family: 'Fredoka', sans-serif;
  font-size: 16px;
  background-color: #D1D2F1;
  color: #AF2C48;
  border: 1px solid #867C87;
  border-radius: 85px;
  box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.15);
  padding: 15px 40px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 3;
}


.view-more-btn:hover { transform: translateY(-5px); }


/* ===== COLLECTIONS SECTION ===== */
.section-3 {
  background: linear-gradient(to bottom, #F5F5FB 0%, #FEE7E7 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}


.section-3-content {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}


.section-3-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 100;
  font-size: 48px;
  color: #AF2C48;
  margin-bottom: 20px;
}


.section-3-subtext {
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000;
  margin-bottom: 50px;
}


.collections-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}


.collections-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 30px;
  padding: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center;
  flex-wrap: nowrap;
  max-width: 100%;
}


.collections-scroll::-webkit-scrollbar { display: none; }


.collections-scroll:has(.collection-card:nth-child(1):last-child),
.collections-scroll:has(.collection-card:nth-child(2):last-child),
.collections-scroll:has(.collection-card:nth-child(3):last-child) {
  justify-content: center;
}


.no-products-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px;
  color: #AF2C48;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.no-products-message h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}


.no-products-message p {
  font-size: 1.2rem;
}


.collection-card {
  flex: 0 0 auto;
  width: 300px;
  height: 400px;
  border-radius: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.collection-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}


.collection-image {
  width: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 60px;
  margin-bottom: 15px;
}


.collection-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


.collection-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 100;
  color: #AF2C48;
  font-size: 22px;
  margin-bottom: 10px;
}


.collection-subtitle {
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000;
  margin-bottom: 15px;
}


.collection-btn {
  font-family: 'Fredoka', sans-serif;
  font-size: 16px;
  color: #AF2C48;
  background-color: #fff;
  border: none;
  border-radius: 85px;
  padding: 10px 30px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.collection-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}


.scroll-btn {
  background-color: #AF2C48;
  color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  z-index: 2;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}


.scroll-btn:hover {
  background-color: #8a2238;
  transform: scale(1.1);
}


.scroll-btn.left { margin-right: 20px; }
.scroll-btn.right { margin-left: 20px; }


.collections-wrapper:has(.collection-card:nth-child(3):last-child) .scroll-btn,
.collections-wrapper:has(.collection-card:nth-child(2):last-child) .scroll-btn,
.collections-wrapper:has(.collection-card:nth-child(1):last-child) .scroll-btn,
.collections-wrapper:has(.no-products-message) .scroll-btn {
  display: none;
}


/* ===== ABOUT SECTION ===== */
.section-4 {
  background-color: #FFFCF1;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}


.section-4-content {
  display: flex;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  gap: 30px;
  flex-wrap: wrap;
}


.section-4-image img {
  width: 100%;
  max-width: 550px;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.section-4-image img:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}


.section-4-text {
  flex: 1;
  min-width: 500px;
  text-align: left;
}


.section-4-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 100;
  font-size: 48px;
  color: #AF2C48;
  margin-bottom: 20px;
}


.section-4-subtext {
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000;
  line-height: 1.6;
  margin-bottom: 30px;
}


/* ===== REVIEWS SECTION ===== */
.reviews-section {
  background: linear-gradient(to bottom, #fff0f0 0%, #ffd4e3 100%);
  padding: 80px 20px;
  text-align: center;
}


.reviews-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 100;
  font-size: 48px;
  color: #AF2C48;
  margin-bottom: 50px;
}


.reviews-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}


.review-box {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 25px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  max-width: 350px;
  flex: 1;
  transition: all 0.4s ease;
  position: relative;
  opacity: 0.7;
  transform: scale(0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  min-height: 180px;
}


/* Pinched corners effect */
.review-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, transparent 50%, #ffffff 50%);
  border-top-right-radius: 25px;
}


.review-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ffffff 50%, transparent 50%);
  border-bottom-left-radius: 25px;
}


.review-box:nth-child(2),
.review-box.active {
  opacity: 1;
  transform: scale(1.1);
  z-index: 2;
  max-width: 380px;
  background: linear-gradient(135deg, #ffffff, #fff5f8);
  box-shadow: 0 15px 30px rgba(175, 44, 72, 0.2);
}


.review-product {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid #FF94BF;
  flex-shrink: 0;
}


.review-content {
  flex: 1;
}


.review-text {
  font-family: 'Fredoka', sans-serif;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 15px;
  font-style: italic;
}


.reviewer-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #AF2C48;
  margin: 0;
}


/* ===== LOGIN PAGE ===== */
body.login-page {
  margin: 0;
  padding: 0;
  font-family: 'Fredoka', sans-serif;
  background: linear-gradient(135deg, #ffb6d9, #ff88bb);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}


.login-container {
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  width: 350px;
  text-align: center;
  animation: fadeIn 0.7s ease-in-out;
}


.login-container h2 {
  color: #e75480;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: bold;
}


.login-container input[type="text"],
.login-container input[type="password"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 2px solid #ffcce0;
  border-radius: 12px;
  outline: none;
  font-size: 1rem;
  transition: 0.3s;
}


.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus {
  border-color: #ff66aa;
  box-shadow: 0 0 8px rgba(255, 102, 170, 0.5);
}


.login-container button {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border: none;
  border-radius: 12px;
  background: #ff66aa;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}


.login-container button:hover {
  background: #e75480;
  transform: scale(1.03);
}


.login-container p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #555;
}


.login-container a {
  color: #ff66aa;
  font-weight: bold;
  text-decoration: none;
}


.login-container a:hover { text-decoration: underline; }


/* ===== POPUP & AUTH STYLES ===== */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}


.popup-container {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  width: 90%;
  max-width: 400px;
  position: relative;
  border: 3px solid #FF94BF;
}


.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #AF2C48;
}


.auth-form { display: none; }
.auth-form.active { display: block; }


.form-title {
  text-align: center;
  color: #AF2C48;
  margin-bottom: 1.5rem;
  font-family: 'Fredoka', sans-serif;
}


.form-group { margin-bottom: 1rem; }


.input-with-icon { position: relative; }


.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #FF94BF;
}


.input-with-icon input {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border: 2px solid #E8C8D4;
  border-radius: 20px;
  font-size: 1rem;
  font-family: 'Fredoka', sans-serif;
}


.input-with-icon input:focus {
  outline: none;
  border-color: #FF94BF;
}


.submit-btn {
  width: 100%;
  background: #D1D2F1;
  color: #555;
  border: 1px solid #999;
  padding: 12px;
  border-radius: 25px;
  font-size: 1.1rem;
  cursor: pointer;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.3s ease;
}


.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(209, 210, 241, 0.4);
}


.submit-btn:active { animation: bounce 0.3s ease; }


.switch-form-text {
  text-align: center;
  margin-top: 1.5rem;
  color: #666;
  font-family: 'Fredoka', sans-serif;
}


.switch-link {
  color: #AF2C48;
  text-decoration: none;
  font-weight: 600;
}


.switch-link:hover { text-decoration: underline; }


.login-circle {
  cursor: pointer;
  transition: transform 0.3s ease;
}


.login-circle:hover { transform: scale(1.1); }


/* ===== CUTE NOTIFICATION STYLES ===== */
.cute-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    animation: slideInRight 0.5s ease-out;
    max-width: 350px;
}


.cute-notification.success {
    background: linear-gradient(135deg, #FFE4EC, #FFC8DF);
    border: 3px solid #FF94BF;
    border-radius: 25px;
    box-shadow: 0 10px 25px rgba(255, 148, 191, 0.3);
}


.cute-notification.error {
    background: linear-gradient(135deg, #FFE4E4, #FFC8C8);
    border: 3px solid #FF6B6B;
    border-radius: 25px;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}


.notification-content {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}


.notification-icon {
    font-size: 2rem;
    animation: bounce 0.6s ease;
}


.notification-message {
    font-family: 'Fredoka', sans-serif;
    font-weight: 500;
    color: #AF2C48;
    font-size: 1.1rem;
    flex: 1;
    text-align: left;
}


.notification-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #AF2C48;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}


.notification-close:hover {
    background-color: rgba(175, 44, 72, 0.1);
}


/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
}


@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}


.cute-notification.hiding {
    animation: fadeOut 0.5s ease-in forwards;
}


/* Heart pulse animation for success messages */
.heart-pulse {
    animation: heartPulse 1.5s ease-in-out infinite;
}


@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}


/* Loading animation for buttons */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


.submit-btn.loading {
    position: relative;
    color: transparent;
}


.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}


@keyframes spin {
    to { transform: rotate(360deg); }
}


/* ===== CUTE VALIDATION MODAL STYLES ===== */
.validation-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}


.validation-modal {
    background: linear-gradient(135deg, #FFE4EC, #FFC8DF);
    border: 3px solid #FF94BF;
    border-radius: 25px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 35px rgba(255, 148, 191, 0.3);
    animation: modalBounce 0.5s ease-out;
}


.validation-modal.error {
    background: linear-gradient(135deg, #FFE4E4, #FFC8C8);
    border: 3px solid #FF6B6B;
}


.validation-modal-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: heartPulse 1.5s ease-in-out infinite;
}


.validation-modal-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    color: #AF2C48;
    margin-bottom: 15px;
    font-weight: 600;
}


.validation-modal-message {
    font-family: 'Fredoka', sans-serif;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
}


.validation-modal-button {
    background: #AF2C48;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}


.validation-modal-button:hover {
    background: #8a2238;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(175, 44, 72, 0.3);
}


@keyframes modalBounce {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    70% {
        transform: scale(1.05) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* Real-time validation styles */
.input-error {
    border: 2px solid #FF6B6B !important;
    background-color: #FFF5F5;
}


.input-success {
    border: 2px solid #4CAF50 !important;
}


.validation-message {
    font-size: 0.8rem;
    margin-top: 5px;
    padding: 0 10px;
    text-align: left;
}


.validation-message.error {
    color: #FF6B6B;
}


.validation-message.success {
    color: #4CAF50;
}


/* Logout Modal Specific Styles */
#logoutModal .validation-modal {
    background: linear-gradient(135deg, #FFF9C4, #FFECB3);
    border: 3px solid #FFD54F;
}


#logoutModal .validation-modal-icon {
    animation: wave 2s ease-in-out infinite;
}


@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}


.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}


.modal-buttons .validation-modal-button {
    min-width: 120px;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}


#logoutCancelBtn {
    background: #D1D2F1 !important;
    color: #555 !important;
    border: 2px solid #A5A6D6 !important;
}


#logoutCancelBtn:hover {
    background: #B8B9E3 !important;
    transform: translateY(-2px);
}


#logoutConfirmBtn {
    background: #AF2C48 !important;
    color: white !important;
}


#logoutConfirmBtn:hover {
    background: #8a2238 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(175, 44, 72, 0.3);
}


/* ===== FOOTER ===== */
.footer {
  background-color: #FF94BF;
  color: white;
  font-family: 'Fredoka', sans-serif;
  padding: 30px 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
}


.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../Images/dots-pattern-white.png') repeat;
  opacity: 0.1;
}


.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  gap: 30px;
  position: relative;
  z-index: 1;
}


/* About Section */
.footer-about {
  flex: 1;
  min-width: 250px;
}


.footer-logo {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: white;
}


.footer-about p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 15px;
  opacity: 0.9;
  max-width: 280px;
  color: white;
}


.footer-socials {
  display: flex;
  gap: 12px;
}


.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}


.footer-socials a:hover {
  background: white;
  color: #FF94BF;
  transform: translateY(-3px);
}


/* Links Section */
.footer-links {
  flex: 1;
  min-width: 150px;
}


.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: white;
  position: relative;
  display: inline-block;
}


.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 35px;
  height: 2px;
  background: white;
}


.footer-links ul {
  list-style: none;
  padding: 0;
}


.footer-links li { margin-bottom: 8px; }


.footer-links a {
  color: white !important;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0.9;
}


.footer-links a:hover {
  opacity: 1;
  padding-left: 5px;
  color: white !important;
}


/* Contact Section */
.footer-contact {
  flex: 1;
  min-width: 250px;
}


.footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: white;
  position: relative;
  display: inline-block;
}


.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 35px;
  height: 2px;
  background: white;
}


.footer-contact p {
  font-size: 0.9rem;
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.9;
  color: white;
}


.footer-contact i { width: 20px; }


/* Bottom Bar */
.footer-bottom {
  text-align: center;
  margin-top: 25px;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 15px;
  opacity: 0.8;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  color: white;
}


.footer-top-image {
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.footer-top-image img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
  
  /* Default mobile-first height */
  min-height: 30px;
}

/* Progressive enhancement for larger screens */
@media (min-width: 361px) {
  .footer-top-image img {
    min-height: 35px;
  }
}

@media (min-width: 481px) {
  .footer-top-image img {
    min-height: 40px;
  }
}

@media (min-width: 768px) {
  .footer-top-image img {
    min-height: 50px;
  }
}

@media (min-width: 1024px) {
  .footer-top-image img {
    min-height: 60px;
  }
}

@media (min-width: 1200px) {
  .footer-top-image img {
    min-height: 70px;
  }
}

@media (min-width: 1920px) {
  .footer-top-image img {
    min-height: 80px;
  }
}

/* Adjust footer padding to accommodate the decoration */
.footer {
  font-family: 'Fredoka', sans-serif;
  padding: 10px 20px 15px; /* Reduced top padding to make space for decoration */
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
}


/* ===== ANIMATIONS ===== */
@keyframes bounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.1); }
  50%  { transform: scale(0.95); }
  70%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}


@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


.hero-btn.bounce { animation: bounce 0.4s ease; }


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .socials-rectangle { margin-left: 100px; }
  .header-right-icons { margin-right: 100px; }
}


@media (max-width: 992px) {
  .socials-rectangle { margin-left: 50px; }
  .header-right-icons { margin-right: 50px; }
}


@media (max-width: 768px) {
  .header-top {
    height: 60px;
    padding: 10px 0;
  }
 
  .header-logo { height: 40px; }
 
  .socials-rectangle {
    margin-left: 20px;
    padding: 4px 15px;
    gap: 15px;
  }
 
  .socials-rectangle a { font-size: 16px; }
 
  .header-right-icons {
    margin-right: 20px;
    gap: 15px;
  }
 
  .login-circle {
    width: 30px;
    height: 30px;
  }
 
  .login-circle i { font-size: 14px; }
  .login-label { font-size: 14px; }
  .basket-icon { font-size: 18px; }
  .header-nav { height: 40px; }
 
  .header-nav .nav-link {
    font-size: 1rem;
    margin: 0 10px;
    padding: 4px 15px;
  }


  /* Hero Section */
  .hero-container { flex-direction: column; }
  .hero-title { font-size: clamp(28px, 6vw, 50px); }
  .hero-btn {
    width: clamp(150px, 60%, 225px);
    margin: 0 auto;
    display: block;
  }
  .hero-bunny img { width: clamp(200px, 80vw, 500px); }


  /* Special Section */
  .special-left,
  .special-right { flex: 1 1 100%; min-height: 300px; }
  .special-right { padding: 40px 20px; }
  .special-title { font-size: 40px; }
  .special-title span { font-size: 52px; }
  .special-subtitle { font-size: 18px; max-width: 90%; }


  @media (max-width: 768px) {


  /* Gift Section */
  .section-2-title { font-size: 32px; }
  .section-2-subtext { font-size: 16px; margin-bottom: 30px; }
  .clouds-bottom { height: 10vh; }
  .gift-img { width: 90%; }


  /* Collections */
  .section-3-title { font-size: 36px; }
  .section-3-subtext { font-size: 16px; margin-bottom: 30px; }
  .collections-scroll { gap: 20px; padding: 15px; }
  .collection-card {
    width: 240px;
    height: 320px;
    border-radius: 60px;
    padding: 15px;
  }
  .collection-title { font-size: 18px; }
  .collection-subtitle { font-size: 14px; }
  .collection-btn { font-size: 14px; padding: 8px 25px; }
  .scroll-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .scroll-btn.left { margin-right: 10px; }
  .scroll-btn.right { margin-left: 10px; }


  /* About Section */
  .section-4-content {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 50px;
  }
  .section-4-text {
    flex: none;
    min-width: auto;
    width: 90%;
    text-align: center;
  }
  .section-4-image img { max-width: 80%; margin: 0 auto; }
  .section-4-title { font-size: 36px; }
  .section-4-subtext { font-size: 16px; }


  /* Reviews */
  .reviews-title { font-size: 36px; margin-bottom: 30px; }
  .reviews-wrapper { flex-direction: column; gap: 15px; }
  .review-box,
  .review-box:nth-child(2),
  .review-box.active {
    max-width: 90%;
    transform: scale(1);
    opacity: 1;
    margin-bottom: 10px;
  }
}


@media (max-width: 576px) {
  .socials-rectangle {
    margin-left: 10px;
    padding: 3px 10px;
    gap: 10px;
  }
 
  .socials-rectangle a { font-size: 14px; }
 
  .header-right-icons {
    margin-right: 10px;
    gap: 10px;
  }
 
  .login-with-text .login-label { display: none; }
  .login-circle { width: 28px; height: 28px; }
  .basket-icon { font-size: 16px; }
 
  .header-nav .nav-link {
    font-size: 0.9rem;
    margin: 0 5px;
    padding: 4px 10px;
  }
}


/* ===========================
   About Page Styles
   =========================== */


.section-title {
  color: #AF2C48;
  font-weight: 500;
  margin-bottom: 1rem;
}


.story-section {
  background: #ffffff;
  border: 3px solid #ff97c4;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}


.founders img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ff97c4;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 15px;
  transition: transform 0.3s;
}


.founders img:hover {
  transform: scale(1.08);
}


.founder-name {
  font-weight: 600;
  color: #af2c48;
}


.founder-role {
  font-size: 0.9rem;
  color: #555;
}


.quote-section {
  background: #fff;
  border-left: 6px solid #ff94bf;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}


html, body {
  height: 100%;
}


/* Fix for footer positioning */
main {
    flex: 1;
}


body.about-page {
  background: linear-gradient(
    to bottom,
    #fffdfd 0%,
    #fff5f8 50%,
    #ffe6f0 85%,
    #ffb6d9 100%
  );
  background-repeat: no-repeat;
  background-attachment: fixed; /* makes it stretch consistently */
  background-size: 100% 100%;   /* force cover without tiling */
  min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* ============================
   Build Box Page - CLEAN FIXED LAYOUT
============================ */
.build-box-page {
  background: none !important;
  min-height: auto;
  width: 100%;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.container.py-5.build-box-page {
  max-width: 100%;
  padding: 20px !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.builder-steps {
  width: 100%;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.builder-step {
  width: 100%;
  margin: 0;
  padding: 20px 0 60px 0;
  flex: 1;
}



/* ============================
   STEP 1: Progress Steps & Box Selection
============================ */
.progress-steps {
  margin: 40px 0;
  padding: 0;
}

.step-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 1rem;
  position: relative;
  gap: 20px;
}

.step-progress::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: #f0d7e5;
  z-index: 1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 100px;
}

.step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #f0d7e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #f0d7e5;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.step.active .step-circle,
.step.completed .step-circle {
  background: #ff70a6;
  border-color: #ff70a6;
  color: white;
}

.step span {
  font-size: 0.9rem;
  color: #f0d7e5;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.step.active span,
.step.completed span {
  color: #ff70a6;
  font-weight: 600;
}

.step-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0;
}

.step-header h3 {
  color: #fe82b4 !important;
  margin-bottom: 10px;
}

.step-header .text-muted {
  font-size: 1.1rem;
}

.text-muted {
margin-bottom: 3rem;
} 

.box-option {
  background: #fff;
  border: 3px solid #f8e1ed;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.box-option:hover {
  transform: translateY(-8px);
  border-color: #ff70a6;
  box-shadow: 0 15px 30px rgba(255, 112, 166, 0.2);
}

.box-option.selected {
  border-color: #ff4081;
  background: linear-gradient(135deg, #fff 0%, #ffe6f0 100%);
  box-shadow: 0 10px 25px rgba(255, 64, 129, 0.3);
}

.box-image {
  margin-bottom: 15px;
}

.box-image img {
  width: 200px;
  height: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.box-option:hover .box-image img {
  transform: scale(1.1);
}

.price-tag {
  background: #ff8bb6;
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: 100;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 10px;
  transition: all 0.3s ease;
  width: 120px;
  text-align: center;
  box-sizing: border-box;
}

#step-1 .box-option:hover .price-tag {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(175, 44, 72, 0.3);
}

/* ============================
   STEP 2: Product Selection
============================ */
.builder-step[data-step="2"] {
  padding: 25px 0 70px 0 !important;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.builder-step[data-step="2"] .step-header {
  margin-bottom: 30px !important; /* Reduced from 50px */
}

.builder-step[data-step="2"] .step-header h3 {
  font-size: 2rem !important;
  color: #ff70a6;
}

.builder-step[data-step="2"] .step-header .text-muted {
  font-size: 1.2rem !important;
  color: #666 !important;
  margin-bottom: 10px !important;
}

/* Category Filter Tabs */
.category-filters {
  margin: 20px 0 30px 0; /* Better spacing */
  text-align: center;
}

.btn-outline-pink {
  border: 2px solid #ff70a6;
  color: #ff70a6;
  background: white;
  border-radius: 25px;
  margin: 5px;
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-pink:hover,
.btn-outline-pink.active {
  background: #ff70a6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 112, 166, 0.3);
}

.cart-summary {
  background: #dddef6;
  border-radius: 50px;
  padding: 15px 30px;
  margin: 20px auto;
  max-width: 400px;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(255, 112, 166, 0.15);
  display: flex;
  justify-content: space-between;
}

.builder-step[data-step="2"] .categories-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 25px;
  width: 100%;
}

.category-section {
  margin-bottom: 60px;
  padding: 0 10px;
}

.category-title {
  color: #ff70a6;
  border-bottom: 3px solid #ffe6f0;
  padding: 20px !important;
  margin-bottom: 35px !important;
  font-weight: 700 !important;
  font-size: 1.8rem !important;
  text-align: center !important;
  background: #ffffff !important;
  border-radius: 15px !important;
  box-shadow: 0 4px 12px rgba(255, 112, 166, 0.1) !important;
}

.builder-step[data-step="2"] .row.g-3 {
  gap: 25px !important;
  margin: 0 -12px;
}

.builder-step[data-step="2"] .col-xl-3 {
  padding: 0 12px;
  margin-bottom: 25px;
}

.product-card {
  background: #fff;
  border: 2px solid #f8e1ed;
  border-radius: 20px;
  padding: 25px 20px !important;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  min-height: 350px;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #ff70a6;
  box-shadow: 0 12px 25px rgba(255, 112, 166, 0.2);
}

.product-image {
  text-align: center;
  margin-bottom: 20px;
  height: 160px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.product-image img {
  max-height: 140px !important;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.product-name {
  color: #333;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.2rem !important;
  line-height: 1.3;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-price {
  color: #ff70a6;
  font-weight: 700;
  font-size: 1.4rem !important;
  margin-bottom: 20px;
  text-align: center;
}

/* ============================
   STEP 3: Letter & Envelope
============================ */
.letter-section,
.envelope-section {
  width: 100%;
}

.letter-textarea {
  border: 2px solid #f8e1ed;
  border-radius: 15px;
  padding: 20px;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s ease;
  width: 100%;
}

.letter-textarea:focus {
  border-color: #ff70a6;
  box-shadow: 0 0 0 0.2rem rgba(255, 112, 166, 0.25);
}

.letter-counter {
  text-align: right;
  font-size: 0.9rem;
  color: #666;
  margin-top: 5px;
}

.envelope-select {
  border: 2px solid #f8e1ed;
  border-radius: 15px;
  padding: 12px 15px;
  font-size: 1rem;
  width: 100%;
  max-width: 300px;
}

/* ============================
   STEP 4: Review Order
============================ */
.review-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 0;
}

.order-details-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 0;
}

.review-section {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0d7e5;
}

.review-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.review-title {
  color: #ff70a6;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.review-item {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  border-left: 4px solid #ff70a6;
  margin-bottom: 10px;
}

.review-items {
  max-height: 300px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 8px;
  border-left: 4px solid #ff70a6;
}

.review-total-section {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 20px;
  margin-top: 20px;
}

.subtotal, .shipping-fee, .service-fee, .total-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9ecef;
}

.total-amount {
  border-bottom: none;
  font-size: 1.3rem;
  font-weight: bold;
  color: #ff70a6;
  margin-bottom: 0;
  padding-bottom: 0;
}

.review-letter {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #ff70a6;
  white-space: pre-wrap;
  min-height: 100px;
}

.review-letter-small {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  border-left: 4px solid #ff70a6;
  white-space: pre-wrap;
  min-height: 80px;
  font-size: 0.9rem;
  max-height: 120px;
  overflow-y: auto;
}

/* ============================
   STEP 5: Delivery & Payment
============================ */
.builder-step[data-step="5"] .order-details-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 0;
}

.builder-step[data-step="5"] .details-title {
  color: #ff70a6;
  font-weight: 600;
  font-size: 1.3rem;
  border-bottom: 2px solid #ffe6f0;
  padding-bottom: 10px;
}

.delivery-form .form-group {
  margin-bottom: 1rem;
}

.delivery-form .form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.delivery-form .form-control,
.delivery-form .form-select {
  border: 2px solid #f8e1ed;
  border-radius: 10px;
  padding: 10px 15px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  width: 100%;
}

.delivery-form .form-control:focus,
.delivery-form .form-select:focus {
  border-color: #ff70a6;
  box-shadow: 0 0 0 0.2rem rgba(255, 112, 166, 0.25);
}

.builder-step[data-step="5"] .form-control,
.builder-step[data-step="5"] .form-select {
  border: 2px solid #f8e1ed;
  border-radius: 12px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.builder-step[data-step="5"] .form-control:focus,
.builder-step[data-step="5"] .form-select:focus {
  border-color: #ff70a6;
  box-shadow: 0 0 0 0.2rem rgba(255, 112, 166, 0.25);
}

.payment-options .form-check {
  padding: 10px 0;
  border-bottom: 1px solid #f0d7e5;
}

.payment-options .form-check:last-child {
  border-bottom: none;
}

.payment-options .form-check-input {
  margin-top: 0.3rem;
}

.payment-options .form-check-label {
  font-weight: 500;
  color: #495057;
  font-size: 1rem;
}

.builder-step[data-step="5"] .payment-option-card {
  border: 2px solid #f8e1ed;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.builder-step[data-step="5"] .payment-option-card:hover {
  border-color: #ff70a6;
  background: #fff5f8;
}

.builder-step[data-step="5"] .payment-option-card .form-check-input:checked {
  background-color: #ff70a6;
  border-color: #ff70a6;
}

.builder-step[data-step="5"] .review-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  margin: 0;
  height: fit-content;
  position: sticky;
  top: 20px;
}

/* ============================
   BUTTONS
============================ */
.btn-pink {
  background: #D1D2F1;
  color: #AF2C48;
  border: 1px solid #3d3d3d;
  border-radius: 50px;
  padding: 8px 10px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(209, 210, 241, 0.3);
  min-width: 100px;
  width: auto;
}

.btn-pink:hover {
  background: #D1D2F1;  /* Keep purple color on hover */
  color: #AF2C48;      /* Keep text color on hover */
  border-color: #3d3d3d; /* Keep border color on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(209, 210, 241, 0.4); /* Match button color */
}

.btn-pink:active {
  transform: translateY(0) scale(0.95);
}



.btn-primary {
  background: #a4a4e0;
  border: 1px solid #3d3d3d;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 500;
  font-size: 1.1rem; /* Add this line */
  min-width: 150px;
  color: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(209, 210, 241, 0.3);
}

.btn-primary:hover {
  background: #a7a8d8;
  color: #ffffff;
  border-color: #7a7a7a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(209, 210, 241, 0.4);
}

.btn-primary:active {
  transform: translateY(0) scale(0.95);
}

.btn-secondary {
  background: #8d8d8e;
  border: 1px solid #495057;
  border-radius: 25px;
  font-size: 1.1rem; /* Add this line */
  min-width: 150px;
  padding: 12px 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
  color: white;
}

.btn-secondary:hover {
  background: #7c8084;
  border-color: #495057;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(108, 117, 125, 0.4);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.95);
}

.complete-order-section {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border-radius: 15px;
  padding: 20px;
  border: 2px solid #ff70a6;
  text-align: center;
}

.popup-message {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #ff70a6, #ff4081);
  color: #fff;
  padding: 15px 25px;
  border-radius: 50px;
  display: none;
  animation: fadeInOut 3s forwards;
  box-shadow: 0 5px 20px rgba(255, 112, 166, 0.4);
  z-index: 1000;
  font-weight: 600;
}

.text-pink {
  color: #AF2C48 !important;
  font-weight: 600 !important;
}

.text-center.mb-5 {
  margin-bottom: 1rem !important; /* Reduce from 3rem to 1rem */
}

.progress-steps.mb-5 {
  margin-top: 1rem !important; /* Add top margin to progress */
}
/* ============================
   FOOTER & LAYOUT
============================ */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

footer {
  flex-shrink: 0;
  width: 100%;
  background: #fff;
  margin-top: auto;
}

/* ============================
   RESPONSIVE DESIGN
============================ */
@media (max-width: 768px) {
  .step-progress {
    flex-direction: column;
    gap: 20px;
    max-width: 300px;
  }
  
  .step-progress::before {
    display: none;
  }
  
  .builder-nav {
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
  }
  
  .btn-prev, .btn-next {
    width: 100%;
    max-width: 250px;
  }
  
  .step-header {
    text-align: center;
  }
  
  .builder-step {
    padding-bottom: 80px;
  }
  
  .builder-step[data-step="2"] {
    padding: 15px 0 50px 0 !important;
  }
  
  .builder-step[data-step="2"] .categories-container {
    padding: 0 15px;
  }
  
  .builder-step[data-step="2"] .step-header h3 {
    font-size: 1.6rem !important;
  }
  
  .builder-step[data-step="2"] .category-section .category-title {
    font-size: 1.4rem !important;
    padding: 15px !important;
    margin-bottom: 30px !important;
  }
  
  .builder-step[data-step="2"] .product-card {
    padding: 20px 15px !important;
    min-height: 320px;
  }
  
  .builder-step[data-step="5"] .review-card {
    position: static;
    margin-top: 30px;
  }
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(20px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(20px); }
}

/* Custom Delete Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-box {
  background: #fff;
  border-radius: 20px;
  padding: 25px 30px;
  max-width: 350px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  animation: pop 0.25s ease;
}

.modal-box h3 {
  margin-bottom: 10px;
  color: #333;
}

.modal-box p {
  color: #666;
  font-size: 15px;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.btn-confirm,
.btn-cancel {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-confirm {
  background-color: #ff70a6;
  color: white;
}

.btn-cancel {
  background-color: #ddd;
  color: #333;
}

.btn-confirm:hover {
  background-color: #f48fa4;
}

.btn-cancel:hover {
  background-color: #ccc;
}

@keyframes pop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

