/* Define the color palette for easy customization */
:root {
  --brand-pink: #ff4c7a;
  --brand-light-pink: #ffe4ea;
  --logo-bg: #fce7f3;
}

/* Global body background */
body {
  background-color: #ffdeeb;
  font-family: "Quicksand", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Navigation bar - Enhanced for seamless blend */
.custom-navbar {
  background: linear-gradient(135deg, #ffffff 0%, #fef7ff 100%);
  padding: 1rem 0;
  border-bottom: none;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(255, 76, 122, 0.1);
}

.custom-navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--brand-pink) 50%,
    transparent 100%
  );
  opacity: 0.3;
}

.container-fluid {
  max-width: 1440px;
  margin: 0 auto;
}

/* --- Brand Logo & Name --- */
.logo-img {
  background-color: var(--logo-bg);
  border-radius: 12px;
  padding: 4px;
}

.brand-name {
  font-weight: 700; /* Bold font */
  font-size: 1.4rem;
  color: var(--brand-pink);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* --- Search Bar --- */
.search-container {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.search-input {
  height: 48px;
  border-radius: 35px;
  border: 1.5px solid var(--brand-pink);
  background-color: #ffe4ea;
  padding-left: 20px;
  padding-right: 45px;
}

/* Style for when the search bar is selected */
.search-input:focus {
  background-color: white;
  box-shadow: 0 0 0 0.25rem rgba(232, 93, 156, 0.25);
  border-color: var(--brand-pink);
}

/* Search button with icon */
.search-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 48px;
  display: flex;
  align-items: center;
  border: none;
  background: transparent;
  color: var(--brand-pink);
  font-size: 1.3rem;
  padding: 0 16px 0 0;
}

/* --- Right Side Icons --- */
.nav-icon i {
  color: var(--brand-pink);
  transition: transform 0.2s ease-in-out;
}

.nav-icon:hover i {
  transform: scale(1.15); /* Slightly enlarges icon on hover */
}

/* Mobile nav text links */
.nav-text {
  color: #ff5f7b !important;
  font-weight: 400 !important;
  text-align: left;
  width: 100%;
  display: block;
  padding: 12px 16px !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: 4px;
}

.nav-text:hover {
  background-color: var(--brand-light-pink);
  color: var(--brand-pink) !important;
  transform: translateX(5px);
}

/* Custom navbar toggler styling */
.navbar-toggler {
  border: 2px solid var(--brand-pink);
  border-radius: 8px;
  padding: 8px 12px;
  background-color: var(--brand-light-pink);
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 76, 122, 0.25);
}

.navbar-toggler:hover {
  background-color: var(--brand-pink);
  border-color: var(--brand-pink);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff4c7a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
}

.navbar-toggler:hover .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile navbar improvements */
@media (max-width: 991.98px) {
  .custom-navbar {
    padding: 0.75rem 0;
  }

  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.98);
    margin-top: 1rem;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(255, 76, 122, 0.15);
    border: 1px solid var(--brand-light-pink);
  }

  .search-container {
    margin-bottom: 1.5rem;
  }

  .search-input {
    height: 44px;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .logo-img {
    width: 45px;
    height: 45px;
  }

  .mobile-nav-menu {
    border-top: 1px solid var(--brand-light-pink);
    padding-top: 1rem;
    margin-top: 1rem;
  }

  .nav-text i {
    color: var(--brand-pink);
    font-size: 1.2rem;
  }

  .nav-text span {
    font-weight: 500;
    font-size: 1.1rem;
  }
}

/* Mobile-specific adjustments to keep logo, brand name, and hamburger on same line */
@media (max-width: 575.98px) {
  .navbar-brand {
    margin-right: auto;
  }
  
  .brand-name {
    font-size: 1.1rem !important;
    margin-left: 0.5rem !important;
  }

  .logo-img {
    width: 40px !important;
    height: 40px !important;
  }
  
  .navbar-toggler {
    padding: 6px 10px;
    margin-left: 0.5rem;
  }
  
  .navbar-toggler-icon {
    width: 20px;
    height: 20px;
  }
}

/* Enhanced mobile touch targets */
@media (max-width: 767px) {
  .nav-text {
    min-height: 48px; /* Better touch targets */
    font-size: 1.1rem;
  }

  .search-input {
    height: 48px;
    font-size: 16px;
  }

  .search-btn {
    height: 48px;
    width: 48px;
  }
}
/* Tablet-specific adjustments and improved spacing */
@media (min-width: 576px) and (max-width: 991.98px) {
  .custom-navbar .row {
    gap: 18px 0;
  }
  .custom-navbar .row > div {
    margin-bottom: 0 !important;
    min-height: 70px;
  }
  .search-container {
    margin: 0 auto;
  }
  .brand-name {
    font-size: 1.2rem;
  }
}

/* Hero Section - Completely Redesigned */
.HeroSection {
  background: linear-gradient(
    135deg,
    #fef7ff 0%,
    #fff0f8 25%,
    #ffe4f1 50%,
    #ffd6ea 75%,
    #ffc8dd 100%
  );
  position: relative;
  padding-top: 16;
  padding-bottom: 16;
  margin: 0;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Hero decorative elements */
.HeroSection::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 76, 122, 0.1) 0%,
    transparent 70%
  );
  animation: float 20s ease-in-out infinite;
}

.HeroSection::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 80%;
  height: 150%;
  background: radial-gradient(
    ellipse,
    rgba(255, 200, 221, 0.3) 0%,
    transparent 70%
  );
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.HeroSection .container,
.HeroSection .hero-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 6rem 2rem;
  position: relative;
  z-index: 10;
}

.HeroContent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 60vh;
}

/* Hero Text Content - Enhanced Design */
.HeroText {
  position: relative;
  z-index: 20;
}

.HeroTitle {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  font-family: "Poppins", Arial, sans-serif;
  line-height: 0.9;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #d6336c 0%, #ff4c7a 50%, #ff6b9d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(255, 76, 122, 0.3);
  animation: titleEntrance 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  transform: translateY(50px);
  opacity: 0;
}

@keyframes titleEntrance {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.HeroSub {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: #8b5a6b;
  margin-bottom: 3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  animation: subtitleEntrance 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
  transform: translateY(30px);
  opacity: 0;
}

@keyframes subtitleEntrance {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.HeroSub::before {
  content: "✨";
  margin-right: 0.5rem;
  font-size: 1.2em;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 1;
  }
}

.HeroBtn {
  background: linear-gradient(135deg, #ff4c7a 0%, #d6336c 100%);
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  padding: 1.2rem 3rem;
  border: none;
  box-shadow: 0 8px 25px rgba(255, 76, 122, 0.4);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: buttonEntrance 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.6s forwards;
  transform: translateY(20px);
  opacity: 0;
}

@keyframes buttonEntrance {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.HeroBtn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.HeroBtn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 76, 122, 0.6);
}

.HeroBtn:hover::before {
  left: 100%;
}

/* Hero Image - Enhanced with modern styling */
.HeroImage {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
}

.HeroImage img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 25px 50px rgba(255, 76, 122, 0.3);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  animation: imageEntrance 1.5s cubic-bezier(0.23, 1, 0.32, 1) 0.9s forwards;
  transform: translateY(30px) scale(0.9);
  opacity: 0;
  position: relative;
}

@keyframes imageEntrance {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.HeroImage::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, #ff4c7a, #ffc8dd, #ffe4ea);
  border-radius: 40px;
  z-index: -1;
  opacity: 0.6;
  animation: imageBgPulse 4s ease-in-out infinite;
}

@keyframes imageBgPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

.HeroImage:hover img {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 35px 70px rgba(255, 76, 122, 0.4);
}

/* Responsive Design for New Hero */
@media (max-width: 960px) {
  .HeroSection {
    min-height: 80vh;
  }

  .HeroSection .container,
  .HeroSection .hero-container {
    padding: 3rem 1.5rem;
  }

  .HeroContent {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .HeroTitle {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }

  .HeroSub {
    font-size: clamp(1rem, 4vw, 1.4rem);
  }

  .PromotionsSection .container,
  .PromotionsSection .promotions-container,
  .PromotionsSection .container-fluid,
  .CategoriesSection .container,
  .CategoriesSection .categories-container,
  .CategoriesSection .container-fluid,
  .TestimonialsSection .container,
  .TestimonialsSection .testimonials-container {
    padding: 3rem 1.5rem;
    margin: 0 auto;
  }

  .FooterSection .container,
  .FooterSection .footer-main {
    padding: 3rem 1.5rem 1rem 1.5rem;
  }

  .HeroImage {
    margin-top: 2rem;
  }

  .HeroImage img {
    max-width: 400px;
  }
}

@media (max-width: 600px) {
  .HeroSection {
    min-height: 70vh;
  }

  .HeroSection .container,
  .HeroSection .hero-container {
    padding: 4rem 1rem;
  }

  .HeroTitle {
    font-size: clamp(2rem, 10vw, 3rem);
    margin-bottom: 1.5rem;
  }

  .HeroSub {
    font-size: clamp(1rem, 4vw, 1.2rem);
    margin-bottom: 2rem;
  }

  .HeroBtn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .HeroImage img {
    max-width: 350px;
  }

  .PromotionsSection .container,
  .PromotionsSection .promotions-container,
  .PromotionsSection .container-fluid,
  .CategoriesSection .container,
  .CategoriesSection .categories-container,
  .CategoriesSection .container-fluid,
  .TestimonialsSection .container,
  .TestimonialsSection .testimonials-container {
    padding: 2.5rem 1rem;
    margin: 0 auto;
  }

  .FooterSection .container,
  .FooterSection .footer-main {
    padding: 2.5rem 1rem 1rem 1rem;
  }
}

/* Promotions Section */
.PromotionsSection {
  background: #fbe4fa;
  padding: 0;
  margin: 0;
  width: 100%;
}

.PromotionsSection .container,
.PromotionsSection .promotions-container,
.PromotionsSection .container-fluid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
}

.promotions-container {
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.promotions-title {
  color: #ff4c7a;
  font-size: 2.2rem;
  font-weight: 700;
  font-family: "Poppins", Arial, sans-serif;
  margin-bottom: 2.2rem;
}

.promotions-items {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.promo-item {
  background: #fff;
  border: 2px solid #ffb6c9;
  border-radius: 16px;
  padding: 0; /* Remove padding so image fills the card */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px; /* Set a predictable base width */
  aspect-ratio: 1 / 1; /* Creates a responsive square shape */
  box-sizing: border-box;
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden; /* Ensure image doesn't overflow the border radius */
}

.promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.promo-item img {
  width: 100%;
  height: 100%; /* Image now fills its responsive parent */
  border-radius: 14px; /* Match the container border radius minus border width */
  object-fit: cover;
  object-position: center; /* Center the image for better composition */
}

.promotions-btn-row {
  display: flex;
  justify-content: center;
}

.promotions-btn {
  background: #ffb6c9;
  color: #ff4c7a;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 24px;
  padding: 0.7rem 2.5rem;
  border: 2px solid #ffb6c9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: background 0.2s, color 0.2s;
  margin-top: 1.5rem;
  cursor: pointer;
}

.promotions-btn:hover {
  background: #ff4c7a;
  color: #fff;
}

/* --- RESPONSIVE IMPROVEMENTS --- */

/* For Tablets */
@media (max-width: 900px) {
  .promotions-items {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center the items */
    gap: 1.5rem;
  }
  .promo-item {
    width: 100%; /* Make items take full width */
    max-width: 400px; /* Set a reasonable max-width */
    flex: none; /* Remove flex properties */
  }
  .promotions-title {
    font-size: 1.8rem;
  }
  .promotions-btn {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
  }
}

/* For Mobile Phones */
@media (max-width: 600px) {
  .PromotionsSection {
    padding: 3rem 1rem;
    margin: 0 auto;
  }
  .promotions-container {
    padding: 0;
    margin: 0 auto;
  }
  .promotions-items {
    flex-direction: column; /* Stack promo items vertically */
    align-items: center;
  }
  .promo-item {
    width: 100%; /* Make items take full container width */
    max-width: 400px; /* Set a reasonable max-width */
    flex: none; /* Reset flex property from tablet view */
  }
  .promotions-title {
    font-size: 1.5rem;
  }
  .promotions-btn {
    width: 100%; /* Make button full-width for a clear call-to-action */
  }
}
/* Categories Section */
.CategoriesSection {
  background: #fdf6e3;
  padding: 0;
  margin: 0;
  width: 100%;
}

.CategoriesSection .container,
.CategoriesSection .categories-container,
.CategoriesSection .container-fluid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
}

.categories-container {
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.categories-title {
  color: #ffc107;
  font-size: 2.2rem;
  font-weight: 700;
  font-family: "Poppins", Arial, sans-serif;
  margin-bottom: 2.2rem;
}

.categories-items {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.category-item {
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  width: 260px; /* Set a base width */
  aspect-ratio: 3 / 4; /* Makes height responsive to width (portrait shape) */
  display: flex;
  transition: box-shadow 0.2s, transform 0.2s;
  border: none;
}

.category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-item img {
  width: 100%;
  height: 100%; /* Makes image fill the responsive parent */
  object-fit: cover;
  border-radius: 18px; /* Match the container border radius */
  object-position: center; /* Center the image for better composition */
}

.category-label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.6rem;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0);
  padding: 0.2rem 0.7rem;
  border-radius: 12px;
}

/* --- RESPONSIVE IMPROVEMENTS --- */

/* For Tablets */
@media (max-width: 900px) {
  .categories-items {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center the items */
    gap: 1.5rem;
  }
  .category-item {
    width: 100%; /* Make items take full width */
    max-width: 350px; /* Set a reasonable max-width */
    flex: none; /* Remove flex properties */
  }
  .categories-title {
    font-size: 1.8rem;
  }
  .category-label {
    font-size: 1.2rem;
  }
}

/* For Mobile Phones */
@media (max-width: 600px) {
  .CategoriesSection {
    padding: 3rem 1rem;
    margin: 0 auto;
  }
  .categories-container {
    padding: 0;
    margin: 0 auto;
  }
  .categories-items {
    flex-direction: column; /* This stacks the items vertically */
    align-items: center; /* Center the single column of items */
    gap: 1.5rem;
  }
  .category-item {
    width: 100%; /* Make each item take up the full available width */
    max-width: 350px; /* Set a max-width for better appearance on larger phones */
    flex: none; /* Reset the flex property from the tablet view */
    aspect-ratio: 4 / 3; /* A wider aspect ratio looks better for full-width cards */
  }
  .categories-title {
    font-size: 1.5rem;
  }
  .category-label {
    font-size: 1.3rem;
  }
}

/* Testimonials Section */
.TestimonialsSection {
  background: #ffe4ea;
  padding: 0;
  margin: 0;
  width: 100%;
}

.TestimonialsSection .container,
.TestimonialsSection .testimonials-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.testimonials-container {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.testimonials-title {
  color: #f7b6c7;
  font-size: 2.2rem;
  font-weight: 700;
  font-family: "Poppins", Arial, sans-serif;
  margin-bottom: 2.2rem;
}

.testimonials-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7b6c7;
  border-radius: 28px;
  padding: 1.2rem 2.2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap; /* Allows wrapping on medium screens */
}

.testimonials-summary {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 2.2rem;
  color: #ff4c7a;
  font-weight: 700;
  flex-wrap: wrap; /* Allows summary items to wrap if needed */
  justify-content: center; /* Center items if they wrap */
}

.testimonials-rating {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff4c7a;
}

.testimonials-stars .star {
  color: #fff;
  font-size: 2rem;
  margin: 0 0.1em;
}

.testimonials-count {
  font-size: 1.2rem;
  color: #e48fa3;
  font-weight: 400;
}

.testimonials-btn {
  background: #ff4c7a;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 24px;
  padding: 0.7rem 2.5rem;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: background 0.2s;
  cursor: pointer;
}

.testimonials-btn:hover {
  background: #e93c6a;
}

.testimonials-cards-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.testimonial-card {
  background: #f7b6c7;
  border-radius: 28px;
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  width: 320px; /* Use width instead of max-width for more predictable wrapping */
  box-sizing: border-box;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.testimonial-title {
  color: #000 !important;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  font-family: "Poppins", Arial, sans-serif;
  text-align: left;
}

.testimonial-text {
  color: #7a7a7a;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  font-family: "Poppins", Arial, sans-serif;
  flex-grow: 1; /* Allows text to take up available space, pushing user info to the bottom */
}

.testimonial-user-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto; /* Pushes this row to the bottom of the card */
}

.testimonial-avatar {
  background: #fff;
  color: #ff4c7a;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", Arial, sans-serif;
  flex-shrink: 0; /* Prevents the avatar from shrinking */
}

.testimonial-user-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.testimonial-user {
  color: #222;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: "Poppins", Arial, sans-serif;
  margin-bottom: 0.2rem;
}

.testimonial-user-details .testimonials-stars .star {
  color: #ff4c7a;
  font-size: 1.2rem;
}

/* --- RESPONSIVE IMPROVEMENTS --- */

/* For Tablets (and smaller) */
@media (max-width: 900px) {
  .TestimonialsSection {
    padding: 2rem 0;
  }

  .testimonials-summary-row {
    justify-content: center; /* Center the items instead of spacing them out */
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .testimonials-title {
    font-size: 1.8rem;
  }

  .testimonials-cards-row {
    flex-direction: column; /* Stack cards vertically */
    align-items: center; /* Center the cards */
    gap: 1.5rem;
  }

  .testimonial-card {
    width: 100%; /* Make cards take full width */
    max-width: 400px; /* Set a reasonable max-width */
  }
}

/* For Mobile Phones */
@media (max-width: 600px) {
  .testimonials-container {
    padding: 0 15px; /* Add side padding to avoid text touching the edges */
  }

  .testimonials-summary-row {
    flex-direction: column; /* Stack the summary and the button vertically */
  }

  .testimonials-summary {
    flex-direction: column; /* Stack the rating, stars, and count */
    gap: 0.5rem;
    font-size: 1.8rem;
  }

  .testimonials-rating {
    font-size: 2rem;
  }

  .testimonials-count {
    font-size: 1rem;
  }

  .testimonials-btn {
    font-size: 1.2rem;
    width: 100%; /* Make button full-width */
  }

  .testimonials-cards-row {
    flex-direction: column; /* Stack cards vertically */
    align-items: center; /* Center the stack */
    gap: 1.5rem;
  }

  .testimonial-card {
    width: 100%; /* Make cards take the full width of the container */
  }

  .testimonial-title,
  .testimonial-user {
    font-size: 1rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }
}

/* Footer Section */
.FooterSection {
  background: linear-gradient(135deg, #b8d1fd 0%, #d4e4ff 100%);
  padding-left: 2rem;
  padding-right: 2rem;
  margin: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Add decorative overlay */
.FooterSection::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E")
    repeat;
  opacity: 0.3;
}

.FooterSection .container,
.FooterSection .footer-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 2rem 1rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-main {
  display: flex;
  justify-content: space-around;
  gap: 4rem;

  padding-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  text-align: left;
}

.footer-col h4 {
  color: #2c3e50;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: "Poppins", Arial, sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #ff4c7a, rgba(255, 76, 122, 0.3));
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-col ul li {
  color: #5a6c7d;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-family: "Poppins", Arial, sans-serif;
  text-align: left;
  transition: all 0.3s ease;
}

.footer-col ul li a {
  color: #5a6c7d;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 4px 0;
  position: relative;
}

.footer-col ul li a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff4c7a;
  transition: width 0.3s ease;
}

.footer-col ul li a:hover {
  color: #2c3e50;
  transform: translateX(5px);
}

.footer-col ul li a:hover::before {
  width: 100%;
}

/* Specific styling for social media list item */
.footer-col ul li.footer-social {
  text-align: center !important;
  margin-bottom: 0 !important;
  padding: 0;
}

.footer-social {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  /* Override list item styles for social section */
  text-align: center !important;
  margin-bottom: 0 !important;
}

.footer-icon {
  display: flex;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: rgba(255, 76, 122, 0.1);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 76, 122, 0.2);
}

.footer-icon:hover {
  background: rgba(255, 76, 122, 0.2);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 76, 122, 0.3);
}

.footer-icon svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.footer-icon:hover svg {
  transform: scale(1.1);
}

.footer-copyright {
  background: rgba(255, 76, 122, 0.1);
  backdrop-filter: blur(10px);
  color: #2c3e50;
  text-align: center;
  font-size: 1.1rem;
  font-family: "Poppins", Arial, sans-serif;
  padding: 1.5rem 0;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 76, 122, 0.2);
  position: relative;
  z-index: 1;
  /* Make it span full viewport width */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}
/* Footer responsive styles */
@media (max-width: 900px) {
  .FooterSection .footer-main {
    padding-left: 4rem; /* Increased left padding for tablet */
  }
  .footer-main {
    gap: 2rem;
  }
  .footer-col {
    min-width: 150px;
  }
  .footer-col h4 {
    font-size: 1.2rem;
  }
  .footer-col ul li {
    font-size: 1rem;
  }
  .footer-copyright {
    font-size: 1rem;
  }
  .footer-social {
    justify-content: center;
  }
}

/* --- GLOBAL FOOTER STYLES --- */
/* Use Flexbox for the main footer area to create a side-by-side column layout */
.FooterSection .footer-main {
  display: flex;
  flex-wrap: wrap; /* Allows columns to wrap if space is limited */
  justify-content: space-between; /* Distributes columns evenly */
  padding: 24px 0;
}

/* Center the copyright text on all screen sizes */
.FooterSection .footer-copyright {
  text-align: center;
  padding: 16px;
}

/* --- MOBILE-ONLY STYLES --- */
/* For screens smaller than 768px */
@media (max-width: 767px) {
  .FooterSection {
    padding: 0;
  }

  .FooterSection .footer-main {
    flex-direction: column;
    padding: 3rem 1.5rem 1.5rem 1.5rem;
    gap: 2rem;
  }

  /* Center-align text and add horizontal padding within each column */
  .FooterSection .footer-col {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0;
  }

  .footer-col ul {
    text-align: center;
  }

  .footer-col ul li {
    text-align: center;
  }

  .footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-col ul li {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .footer-social {
    justify-content: center;
    gap: 1.5rem;
  }

  .footer-icon {
    width: 50px;
    height: 50px;
  }

  .footer-icon svg {
    width: 30px;
    height: 30px;
  }

  .footer-copyright {
    font-size: 0.95rem;
    padding: 1.5rem 1rem;
  }
}

/* ===== ORDER DETAILS PAGE STYLES ===== */

/* Order Details Page Background */
.order-container {
  padding: 2rem;
  margin-top: 2rem;
}

.sidebar {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.main-content {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-left: 1rem;
}

.profile-section {
  text-align: center;
  margin-bottom: 2rem;
}

.profile-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.profile-name {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.profile-email {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
}

.sidebar-menu li {
  margin-bottom: 1rem;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.sidebar-menu a:hover {
  background-color: #f8f9fa;
  color: var(--brand-pink);
}

.sidebar-menu a.active {
  background-color: var(--brand-pink);
  color: white;
}

.sidebar-menu i {
  margin-right: 0.75rem;
  width: 20px;
}

.page-title {
  color: #ff6b6b;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.order-table {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.table-header {
  background-color: #f8f9fa;
  font-weight: bold;
  color: #333;
}

.table th {
  border: none;
  padding: 1.5rem 1rem;
  font-weight: 600;
}

.table td {
  border: none;
  padding: 1.5rem 1rem;
  vertical-align: middle;
}

.order-row {
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.order-row:hover {
  background-color: #fafafa;
}

.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
}

.status-delivered {
  background-color: #d4edda;
  color: #155724;
}

.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.order-number {
  font-weight: bold;
  color: #333;
}

.order-total {
  font-weight: bold;
  font-size: 1.1rem;
  color: #333;
}

@media (max-width: 768px) {
  .main-content {
    margin-left: 0;
    margin-top: 1rem;
  }

  .order-container {
    padding: 1rem;
  }

  .table-responsive {
    font-size: 0.9rem;
  }
}

/* ===== SAVED ADDRESS PAGE STYLES ===== */

.address-container {
  padding: 2rem;
  margin-top: 2rem;
}

.address-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.address-card {
  background: white;
  border: 2px solid #ff6b6b;
  border-radius: 15px;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.address-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.15);
}

.address-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.address-icon {
  width: 40px;
  height: 40px;
  background-color: #ff6b6b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.address-icon.work {
  background-color: #6c8cff;
}

.address-icon i {
  color: white;
  font-size: 1.2rem;
}

.address-type {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.default-badge {
  background-color: #d4edda;
  color: #155724;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-left: auto;
}

.address-details {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.address-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.address-actions {
  display: flex;
  gap: 1rem;
}

.address-actions a {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.address-actions a:hover {
  color: #ff4757;
}

.address-actions a.delete {
  color: #dc3545;
}

.address-actions a.delete:hover {
  color: #c82333;
}

.add-address-card {
  background: transparent;
  border: 2px dashed #ff6b6b;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ff6b6b;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.add-address-card:hover {
  background-color: #fff5f5;
  border-color: #ff4757;
  color: #ff4757;
  text-decoration: none;
}

.add-address-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.add-address-text {
  font-size: 1.2rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .address-container {
    padding: 1rem;
  }

  .address-cards-container {
    grid-template-columns: 1fr;
  }
}

/* ===== CHANGE PASSWORD PAGE STYLES ===== */

.password-container {
  padding: 2rem;
  margin-top: 2rem;
}

.password-form {
  max-width: 500px;
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-label {
  color: #000 !important;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  display: block !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Additional specific selector for password form labels */
.password-form .form-label {
  color: #000 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.password-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-icon {
  position: absolute;
  left: 15px;
  z-index: 2;
  color: #666;
  font-size: 1.1rem;
}

.form-control.password-input {
  padding-left: 45px;
  padding-right: 45px;
  height: 50px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.form-control.password-input:focus {
  border-color: var(--brand-pink);
  box-shadow: 0 0 0 0.2rem rgba(255, 76, 122, 0.25);
  background-color: white;
}

.toggle-password {
  position: absolute;
  right: 15px;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 1rem;
  z-index: 2;
}

.toggle-password:hover {
  color: var(--brand-pink);
}

.save-btn {
  background-color: var(--brand-pink);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: lowercase;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.save-btn:hover {
  background-color: #ff3366;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 76, 122, 0.3);
}

.password-requirements {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #666;
}

.password-requirements ul {
  margin: 0;
  padding-left: 1.2rem;
}

.password-requirements li {
  margin-bottom: 0.3rem;
}

.requirement-met {
  color: #28a745;
}

.requirement-not-met {
  color: #dc3545;
}

@media (max-width: 768px) {
  .password-container {
    padding: 1rem;
  }

  .password-form {
    max-width: 100%;
  }
}

/* ===== CHECKOUT PAGE STYLES ===== */ /* Checkout Page Background */
.checkout-page {
  background: #ffc8dd;
  min-height: 100vh;
  padding: 2rem 0;
}

/* Checkout Header */
.checkout-header {
  text-align: center;
  margin-bottom: 2rem;
}

.checkout-title {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff4c7a;
  margin: 0;
}

.checkout-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin: 0;
  margin-top: 0.5rem;
}

.checkout-header i {
  font-size: 1.5rem;
  color: #ff4c7a;
}

/* Checkout Sections */
.checkout-section {
  background: rgb(223, 135, 158);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title {
  color: white;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  color: white;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
  font-family: "Poppins", Arial, sans-serif;
}

.checkout-input {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 25px;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.checkout-input:focus {
  background: white;
  box-shadow: 0 4px 15px rgba(255, 76, 122, 0.3);
  border: none;
  outline: none;
}

/* Payment Method */
.payment-method {
  text-align: center;
}

.payfast-btn {
  background: linear-gradient(135deg, #ff4c7a 0%, #ff6b9d 100%);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 76, 122, 0.4);
}

.payfast-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 76, 122, 0.6);
}

.payment-info {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-family: "Poppins", Arial, sans-serif;
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.payment-icon {
  background: white;
  color: #333;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.7rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  transition: transform 0.2s ease;
  text-align: center;
  min-width: 70px;
}

.payment-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Card Payment Icons */
.payment-icon.visa {
  background: #1a1f71;
  color: white;
}

.payment-icon.mastercard {
  background: #eb001b;
  color: white;
}

.payment-icon.debit-cards {
  background: #2c5aa0;
  color: white;
}

.payment-icon.visa-checkout {
  background: #fcb131;
  color: #1a1f71;
}

.payment-icon.store-cards {
  background: #6c757d;
  color: white;
}

/* Bank Payment Icons */
.payment-icon.instant-eft {
  background: #0066cc;
  color: white;
}

.payment-icon.sid-secure {
  background: #004d40;
  color: white;
}

.payment-icon.absa-pay {
  background: #cc0000;
  color: white;
}

.payment-icon.capitec-pay {
  background: #0066ff;
  color: white;
}

/* Mobile Payment Icons */
.payment-icon.apple-pay {
  background: #000;
  color: white;
}

.payment-icon.samsung-pay {
  background: #1428a0;
  color: white;
}

.payment-icon.qr-code {
  background: #4caf50;
  color: white;
}

.payment-icon.snapscan {
  background: #00bcd4;
  color: white;
}

.payment-icon.scan-to-pay {
  background: #ff9800;
  color: white;
}

.payment-icon.zapper {
  background: #9c27b0;
  color: white;
}

.payment-icon.scode {
  background: #795548;
  color: white;
}

/* Mobile Network Payment Icons */
.payment-icon.mtn-momo {
  background: #ffcc00;
  color: #000;
}

.payment-icon.mukuru-pay {
  background: #e91e63;
  color: white;
}

/* Digital Payment Icons */
.payment-icon.paypal {
  background: #0070ba;
  color: white;
}

.payment-icon.mobicred {
  background: #ff6b35;
  color: white;
}

.payment-icon.moretyme {
  background: #673ab7;
  color: white;
}

/* Order Summary */
.order-summary {
  margin-top: 1.5rem;
  background: rgb(223, 135, 158) !important;
}

.order-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.order-item:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
}

.product-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 1rem;
  flex-shrink: 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-details {
  flex-grow: 1;
}

.product-name {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
}

.product-qty {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
  margin-top: 0.2rem;
}

.product-price {
  text-align: right;
}

.price {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Order Totals */
.order-totals {
  padding-top: 1rem;
  margin-bottom: 2rem;
}

.total-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.total-label {
  color: white;
  font-family: "Poppins", Arial, sans-serif;
}

.total-value {
  color: white;
  font-weight: 600;
}

.final-total {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 0.8rem;
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.final-total .total-label,
.final-total .total-value {
  font-weight: 700;
  font-size: 1.2rem;
}

/* Pay Button */
.pay-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff4c7a 0%, #ff6b9d 100%);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 76, 122, 0.4);
  font-family: "Poppins", Arial, sans-serif;
}

.pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 76, 122, 0.6);
}

/* Desktop Layout - Constrain Card Width */
@media (min-width: 992px) {
  .checkout-page .container .row .col-12 {
    max-width: 800px;
    margin: 0 auto;
  }
}

/* Responsive Design */
@media (max-width: 991px) {
  .checkout-page {
    padding: 1rem 0;
  }

  .checkout-section {
    padding: 1.5rem;
    color: rgb(223, 135, 158);
  }

  .checkout-title {
    font-size: 2rem;
  }

  .order-summary {
    position: static;
    margin-top: 1rem;
    background: rgb(223, 135, 158) !important;
  }
}

@media (max-width: 767px) {
  .checkout-page {
    padding: 0.5rem 0;
  }

  .checkout-section {
    padding: 1rem;
    margin-bottom: 1rem;
    color: rgb(223, 135, 158);
  }

  .checkout-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .product-image {
    width: 50px;
    height: 50px;
  }

  .product-name {
    font-size: 0.9rem;
  }

  .payment-icons {
    gap: 0.4rem;
    justify-content: center;
  }
  
  .payment-icon {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
    min-width: 60px;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .checkout-section {
    padding: 0.8rem;
    color: rgb(223, 135, 158);
  }

  .payfast-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .checkout-input {
    padding: 0.6rem 1rem;
  }
  
  .payment-icons {
    gap: 0.3rem;
  }
  
  .payment-icon {
    font-size: 0.6rem;
    padding: 0.25rem 0.4rem;
    min-width: 50px;
  }
}

/* Order Confirmation Page Styles */
.order-confirmation-page {
  min-height: 100vh;
  background: #ffc8dd;
  padding: 3rem 0;
  font-family: "Poppins", Arial, sans-serif;
}

/* Success Icon */
.success-icon {
  width: 80px;
  height: 80px;
  background: #ff4c7a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 25px rgba(255, 76, 122, 0.3);
}

.success-icon i {
  font-size: 2.5rem;
  color: white;
  font-weight: bold;
}

/* Thank You Message */
.confirmation-title {
  color: #ff4c7a;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.confirmation-subtitle {
  color: white;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.confirmation-email {
  color: white;
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 0;
}

/* Order Confirmation Card */
.order-confirmation-card {
  background: #df879e;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Order Header */
.order-header {
  margin-bottom: 1.5rem;
}

.order-info {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.order-label {
  color: white;
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.order-value {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Dividers */
.order-divider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 2rem 0;
}

/* Section Titles */
.order-confirmation-page .section-title {
  color: white;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border-bottom: none;
  padding-bottom: 0;
}

/* Items Section */
.items-section {
  margin-bottom: 1.5rem;
}

.order-item {
  margin-bottom: 1.5rem;
}

.order-item:last-child {
  margin-bottom: 0;
}

.order-item .product-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 1rem;
  flex-shrink: 0;
}

.order-item .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-item .product-details {
  flex-grow: 1;
}

.order-item .product-name {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-family: "Poppins", Arial, sans-serif;
}

.order-item .product-qty {
  color: white;
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0;
  opacity: 0.8;
}

.order-item .product-price .price {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Shipping Section */
.shipping-section,
.delivery-section {
  margin-bottom: 1rem;
}

.shipping-address {
  color: white;
}

.address-name {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.address-line {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  opacity: 0.9;
}

/* Delivery Section */
.delivery-date-box {
  background: #ff4c7a;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
}

.delivery-icon {
  font-size: 1.5rem;
  color: white;
  margin-right: 1rem;
  flex-shrink: 0;
}

.delivery-content {
  display: flex;
  flex-direction: column;
}

.delivery-date {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.delivery-note {
  color: white;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 767px) {
  .order-confirmation-page {
    padding: 2rem 0;
  }

  .confirmation-title {
    font-size: 2rem;
  }

  .order-confirmation-card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .success-icon {
    width: 60px;
    height: 60px;
  }

  .success-icon i {
    font-size: 2rem;
  }

  .order-info {
    text-align: left;
    margin-bottom: 1rem;
  }

  .order-value {
    font-size: 1.1rem;
  }

  .delivery-date-box {
    padding: 0.8rem;
  }

  .delivery-icon {
    font-size: 1.3rem;
  }
}

/* Shipping Options Styles */
.shipping-options {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.shipping-options h4 {
  margin-bottom: 1rem;
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
}

.shipping-method {
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  background-color: white;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.shipping-method:hover {
  border-color: var(--brand-pink);
  box-shadow: 0 2px 8px rgba(255, 76, 122, 0.1);
}

.shipping-method input[type="radio"] {
  display: none;
}

.shipping-method input[type="radio"]:checked + label {
  color: var(--brand-pink);
}

.shipping-method input[type="radio"]:checked + label .shipping-method {
  border-color: var(--brand-pink);
  background-color: var(--brand-light-pink);
}

.shipping-method-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.service-name {
  font-weight: 600;
  color: #333;
  flex: 1;
}

.delivery-time {
  color: #666;
  font-size: 0.9rem;
  margin: 0 1rem;
}

.shipping-cost {
  font-weight: 700;
  color: var(--brand-pink);
  font-size: 1.1rem;
}

.shipping-method:has(input:checked) {
  border-color: var(--brand-pink);
  background-color: var(--brand-light-pink);
}

.shipping-method:has(input:checked) .service-name {
  color: var(--brand-pink);
}
