* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;}

html{
    scroll-behavior: smooth;* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;}

html{
    scroll-behavior: smooth;
}

body {
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
    background-color: #F1F1F1;
   }


.page-title {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    /* Adjust alignment based on design */
    color: #360c4b;
    /* Adjust color */

}

/* NavBar */

header {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    background-color: #360c4b;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    position: fixed;
    width: 80%;
    border-radius: 14px;
    margin: 0 10.2% ;
    z-index: 2;
   
    
}

a img {
    width: 90px;
    border-radius: 12px;
    margin-left: 10px;
    margin-top: 3px;
}

input[type="search"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background: none;
  outline: none;
  box-shadow: none;
}


/* NavBar  Search */

#search {
    background-color: rgba(255, 255, 255, 0.947);
    border-radius: 2rem;
    width: 24rem;
    height: 29px;
    border: none;
    margin: 5px 0;
    font-size: 16px;
    padding: 10px;
}




ul li {
    display: inline-block;

    margin: 10px 30px 10px 30px;


}

/* inline is needed for the transform */
li a {
    text-decoration: none;
    color: rgb(240, 248, 255,0.8);
    font-size: medium;
    display: inline-block;            
    transition: color 0.3s ease;
}

li a:hover {
    color: rgb(240, 248, 255); 
    
}   



/* Products Hero Section */
.products-hero {
    position: relative;
    background: linear-gradient(135deg, #360c4b, #4c1d5f, #6b2c8a);
    color: white;
    padding: 140px 0 80px;
    overflow: hidden;
    min-height: 60vh;
    margin-top: 5rem;
    z-index: 1;
   
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 70%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #a855f7;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products Section */


/* .products-section {
    padding: 60px 0;
} */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    margin-left: 40px;
    margin-right: 40px;
   
}

.section-header h2 {
    font-size: 2.5rem;
    color: #360c4b;
    font-weight: 700;
}

.view-toggle {
    display: flex;
    gap: 10px;
    background: white;
    padding: 5px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.view-btn {
    background: none;
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
}

.view-btn.active,
.view-btn:hover {
    background: #360c4b;
    color: white;
    transform: scale(1.05);
}



/* Products Card */

#products{
   background-color: #F1F1F1;
   width: 100%;
   /* position: relative;
   z-index: 3; */
   margin-top: 10px;
}

.products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px ;
  padding-bottom: 40px ;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 28px;
  color: #1a4040;
  font-weight: 600;
}

.see-more {
  text-decoration: none;
  color:  #8316cc;
  font-weight: 500;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
  transition: 0.3s ease;
  position: relative;
  border: 10px solid  #F1F1F1;
  overflow: hidden;
}

/* .product-card:hover {
  transform: translateY(-5px); /* to uplift the card
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
} */

.product-card::before  {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(131, 22, 204, 0.1), transparent);

  transition: left 0.4s ease;
   z-index: 1; /* ✅ add this  */
  
}

.product-card > * {
  position: relative;
 
}

.product-card:hover::before {
    left: 100%; 
}


.product-card:hover{
  transform: translateY(-5px);
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
   cursor: pointer;
}

/* .product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: #f8faf9;
  border-radius: 0 0 50% 50%;
} */

.product-image {
  height: 180px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 8px;
}

.product-image img {
  height: 170px;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

.product-card:hover .product-image img{
  transform: scale(104%);
}



.product-info {
  text-align: center;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a4040;
}

.product-category,
.product-weight {
  font-size: 12px;
  color: #6b7280;
  margin: 3px 0;
}

.product-price {
  font-size: 24px;
  font-weight: bold;
  color: #1a4040;
}

.price-decimal {
  font-size: 14px;
  vertical-align: top;
}

.price-currency {
  font-size: 16px;
  vertical-align: top;
}

/* Cart Controls */
.cart-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.add-btn {
  width: 40px;
  height: 40px;
  background: #f3f4f6;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #1a4040;
  cursor: pointer;
  transition: 0.3s ease;
}

.add-btn:hover {
  background: #8316cc;
  color: white;
  transform: scale(1.1);
}

.quantity-controls {
  display: flex;
  align-items: center;
  background: #84cc16;
  border-radius: 20px;
  padding: 4px 8px;
  gap: 8px;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  background: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  color: #1a4040;
  font-weight: bold;
  cursor: poniter;
  transition: 0.2s ease;
}

.quantity-btn:hover {
  background: #f0f0f0;
  transform: scale(1.1);
}

.quantity-display {
  min-width: 20px;
  color: white;
  font-weight: bold;
  text-align: center;
}

.card-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 0;
  pointer-events: none;

}


/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    background: linear-gradient(135deg, #360c4b, #8316cc);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.load-more-btn:hover::before {
    left: 100%;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(54, 12, 75, 0.3);
}


.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 30px auto;
  font-size: 16px;
  color: #555;
  grid-column: 1 / -1; /* center across full grid */
  text-align: center;
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #0078ff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

 
}

body {
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
    background-color: #F1F1F1;
   }


.page-title {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    /* Adjust alignment based on design */
    color: #360c4b;
    /* Adjust color */

}

/* NavBar */

header {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    background-color: #360c4b;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    position: fixed;
    width: 80%;
    border-radius: 14px;
    margin: 0 10.2% ;
    z-index: 2;
   
    
}

a img {
    width: 90px;
    border-radius: 12px;
    margin-left: 10px;
    margin-top: 3px;
}

input[type="search"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background: none;
  outline: none;
  box-shadow: none;
}


/* NavBar  Search */

#search {
    background-color: rgba(255, 255, 255, 0.947);
    border-radius: 2rem;
    width: 24rem;
    height: 29px;
    border: none;
    margin: 5px 0;
    font-size: 16px;
    padding: 10px;
}




ul li {
    display: inline-block;

    margin: 10px 30px 10px 30px;


}

/* inline is needed for the transform */
li a {
    text-decoration: none;
    color: rgb(240, 248, 255,0.8);
    font-size: medium;
    display: inline-block;            
    transition: color 0.3s ease;
}

li a:hover {
    color: rgb(240, 248, 255); 
    
}   



/* Products Hero Section */
.products-hero {
    position: relative;
    background: linear-gradient(135deg, #360c4b, #4c1d5f, #6b2c8a);
    color: white;
    padding: 140px 0 80px;
    overflow: hidden;
    min-height: 60vh;
    margin-top: 5rem;
    z-index: 1;
   
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 70%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #a855f7;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products Section */


/* .products-section {
    padding: 60px 0;
} */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    margin-left: 40px;
    margin-right: 40px;
   
}

.section-header h2 {
    font-size: 2.5rem;
    color: #360c4b;
    font-weight: 700;
}

.view-toggle {
    display: flex;
    gap: 10px;
    background: white;
    padding: 5px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.view-btn {
    background: none;
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
}

.view-btn.active,
.view-btn:hover {
    background: #360c4b;
    color: white;
    transform: scale(1.05);
}



/* Products Card */

#products{
   background-color: #F1F1F1;
   width: 100%;
   /* position: relative;
   z-index: 3; */
   margin-top: 10px;
}

.products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px ;
  padding-bottom: 40px ;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 28px;
  color: #1a4040;
  font-weight: 600;
}

.see-more {
  text-decoration: none;
  color:  #8316cc;
  font-weight: 500;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
  transition: 0.3s ease;
  position: relative;
  border: 10px solid  #F1F1F1;
  overflow: hidden;
}

/* .product-card:hover {
  transform: translateY(-5px); /* to uplift the card
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
} */

.product-card::before  {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(131, 22, 204, 0.1), transparent);

  transition: left 0.4s ease;
   z-index: 1; /* ✅ add this  */
  
}

.product-card > * {
  position: relative;
 
}

.product-card:hover::before {
    left: 100%; 
}


.product-card:hover{
  transform: translateY(-5px);
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
   cursor: pointer;
}

/* .product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: #f8faf9;
  border-radius: 0 0 50% 50%;
} */

.product-image {
  height: 180px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 8px;
}

.product-image img {
  height: 170px;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

.product-card:hover .product-image img{
  transform: scale(104%);
}



.product-info {
  text-align: center;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a4040;
}

.product-category,
.product-weight {
  font-size: 12px;
  color: #6b7280;
  margin: 3px 0;
}

.product-price {
  font-size: 24px;
  font-weight: bold;
  color: #1a4040;
}

.price-decimal {
  font-size: 14px;
  vertical-align: top;
}

.price-currency {
  font-size: 16px;
  vertical-align: top;
}

/* Cart Controls */
.cart-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.add-btn {
  width: 40px;
  height: 40px;
  background: #f3f4f6;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #1a4040;
  cursor: pointer;
  transition: 0.3s ease;
}

.add-btn:hover {
  background: #8316cc;
  color: white;
  transform: scale(1.1);
}

.quantity-controls {
  display: flex;
  align-items: center;
  background: #84cc16;
  border-radius: 20px;
  padding: 4px 8px;
  gap: 8px;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  background: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  color: #1a4040;
  font-weight: bold;
  cursor: poniter;
  transition: 0.2s ease;
}

.quantity-btn:hover {
  background: #f0f0f0;
  transform: scale(1.1);
}

.quantity-display {
  min-width: 20px;
  color: white;
  font-weight: bold;
  text-align: center;
}

.card-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 0;
  pointer-events: none;

}


/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    background: linear-gradient(135deg, #360c4b, #8316cc);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.load-more-btn:hover::before {
    left: 100%;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(54, 12, 75, 0.3);
}


.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 30px auto;
  font-size: 16px;
  color: #555;
  grid-column: 1 / -1; /* center across full grid */
  text-align: center;
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #0078ff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

 