
/* Hero Section */
/* .hero-section{
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 4rem  5rem;
  background: var(--gradient-main);
  }
  .hero-section .hero-text{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
    width: calc(50% - 2rem);

  }
  .hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}
.hero-text .text {
  font-size: 1rem;
  color: var(--text-color);
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
  .hero-img{
    display: flex;
    justify-content: center;
    width: 50%;

  }
.hero-img img {
  max-width: 100%;
  height: auto;
}

@media only screen and (max-width:900px){
  .hero-section{
    flex-direction: column;
  background: var(--gradient);
  }
  .hero-section .hero-text{
    width: 100%;
  }
  .hero-img{
    width: 100%;

  }
}
@media only screen and (max-width:530px){
   .hero-section{
    gap: 1rem;
    padding: 2rem;
  }
  .hero-text h1 {
  font-size: 1.9rem;
  
}
.hero-section .hero-text{
    gap: 1rem;
   }

} */
/* CATEGORIES */

.categories-section{
    display: flex;
    align-items: center;
    gap: 4rem;
    overflow: auto;
    
}
.category{
display: flex;
flex-direction: column;
gap: 1rem;
align-items: center;
}
.category img{
    height: 120px;
    width: 120px;
    border-radius: 50%;
}
.category h4 {
    font-size: 1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--third-color);
}
/* Responsive Design */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 30px;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .hero-image img {
    width: 80%;
  }
}

/* Highlights Section */
.highlights {
  background: var(--highlight-bg);
  text-align: center;
  padding: 60px 50px;
  border-radius: 15px;
}

.highlight-grid {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  padding: 10px 0 30px; /* space above and below items */
  overflow-y: visible; /* prevents image cut on hover */
}

.highlight-grid::-webkit-scrollbar {
  height: 8px;
}
.highlight-grid::-webkit-scrollbar-thumb {
  background-color: var(--soft-accent);
  border-radius: 10px;
}

.highlight-item {
  min-width: 160px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.highlight-item:hover {
  transform: translateY(-8px);
}

.highlight-item .img {
  border-radius: 50%;
  overflow: hidden;
  width: 130px;
  height: 130px;
  margin: 0 auto;
  box-shadow: var(--box-shadow);
  position: relative;
  transition: all 0.4s ease;
}

.highlight-item .img::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--soft-accent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.highlight-item:hover .img::after {
  opacity: 1;
}

.highlight-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.highlight-item:hover img {
  transform: scale(1.15);
}

.highlight-item h3 {
  margin-top: 15px;
  font-size: 1rem;
  color: var(--heading-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

.highlight-item:hover h3 {
  color: var(--soft-accent);
}

/* Responsive */
@media (max-width: 768px) {
  .highlight-grid {
    gap: 20px;
  }
  .highlight-item {
    min-width: 120px;
  }
  .highlight-item .img {
    width: 100px;
    height: 100px;
  }
}

/* Favourite Picks Section */
.fav-picks {
  text-align: center;
  background-color: #fff;
}


.fav-picks .section-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #e07a8a;
  display: block;
  margin: 12px auto 0;
  border-radius: 3px;
}

/* Grid Layout */
.fav-pick-grid {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 10px 30px;

}

.fav-pick-grid::-webkit-scrollbar {
  height: 8px;
}
.fav-pick-grid::-webkit-scrollbar-thumb {
  background: #e07a8a;
  border-radius: 8px;
}

/* Item Cards */
.fav-pick-items {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 15px;
  min-width: 240px;
  transition: all 0.4s ease;
  position: relative;
  cursor: pointer;
  width: calc((100% - 8rem) / 5);
}

.fav-pick-items:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(233, 30, 99, 0.25);
}

/* Image Wrapper */
.fav-pick-items .img {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.fav-pick-items img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background-color: #f5f5f5; /* optional */
  transition: transform 0.4s ease;
}

.fav-pick-items:hover img {
  transform: scale(1.08);
}

/* Heart Icon */
.fav-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.2rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  padding: 6px;
  transition: var(--transition);
}

.fav-icon:hover {
  color: var(--main-color);
  background: rgba(255, 255, 255, 0.9);
}

/* Product Name */
.fav-pick-items h3 {
  margin-top: 15px;
  font-size: 1rem;
  color: var(--heading-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

.fav-pick-items:hover h3 {
  color: var(--main-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .fav-picks {
    padding: 60px 30px;
  }

  .fav-pick-items {
    min-width: 200px;
  }

  .fav-pick-items img {
    height: 170px;
  }
}

@media (max-width: 576px) {
  .fav-picks {
    padding: 50px 20px;
  }

  .fav-pick-grid {
    gap: 1.2rem;
  }

  .fav-pick-items {
    min-width: 150px;
    padding: 10px;
    border-radius: 15px;
  }

  .fav-pick-items img {
    height: 130px;
    border-radius: 10px;
  }

  .fav-icon {
    font-size: 1rem;
    padding: 4px;
  }

  .fav-pick-items h3 {
    font-size: 0.9rem;
    margin-top: 10px;
  }

}

/* --------------- Featured Products Section --------------- */
.products {
  padding: 60px 60px 80px;
  background-color: #fff;
  text-align: center;
}


/* Product Grid */
/* .products-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  justify-items: center;
} */

.products-content {
  display: flex;
  gap: 3rem;
  width: 100%;
  flex-wrap: wrap;
}
.products-content a{
  text-decoration: none;
}


/* Product Card */
/* .product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  width: 100%;
  max-width: 220px;
} */
 .product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  /* position: relative; */
  transition: var(--transition);
  width: calc((100% - 9rem) / 4);

}

/* Product Image */
/* .product-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 250px;
}

.product-img img {
   width: 100%;
  height: 100%;
  object-fit: cover;
  transition: tranform .3s ease;
} */

/* Hover: Image zoom only */
/* .product-img:hover img {
  transform: scale(1.05);
} */

.product-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 250px; /* fixed height, but image will fill properly */
  border-radius: 12px;
  /* background: #f2f2f2; */
}

.product-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Hover zoom effect */
.product-img:hover img {
  transform: translate(-50%, -50%) scale(1.08);
}


/* Wishlist Icon */
.wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.wishlist:hover {
  background: var(--main-color);
  color: #fff;
}

/* Product Info */
.product-info {
  padding: 12px 15px 18px;
  text-align: left;
}

.product-rating {
  font-size: 15px;
  color: var(--text-light);
}

.product-rating i {
  color: gold;
  margin-right: 3px;
}

.product-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-top: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.product-price {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.current-price-index {
  font-size: 1.5rem;
  color: var(--heading-color);
  font-weight: 700;
}

.original-price {
  text-decoration: line-through;
  color: #888;
  font-size: 1rem;
}

.discount-rate {
  color: #388e3c;
  font-weight: 500;
  font-size: 0.85rem;
}

/* Add to Cart Button */
.add-to-cart {
  margin-top: 10px;
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: var(--border-radius);
  background-color: var(--main-color);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  align-items: center;
}

.add-to-cart:hover {
  background-color: var(--main-dark);
}
/* quantity UI – keep visual size similar to original button */
.qty-box {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 8px; */
  background: #fff;
  border: 1px solid #ddd;
  padding: 6px 10px;
  border-radius: 6px;
  box-sizing: border-box;
  vertical-align: middle;
}

/* minus/plus buttons style */
.qty-box button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* quantity number */
.qty-box .qty {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}

/* accessibility: focus styles */
.qty-box button:focus { outline: 2px solid #ffb300; outline-offset: 2px; }


/* ---------------- Responsive Design ---------------- */
@media only screen and (max-width:930px){
  .product-card {
  width: calc((100% - 3rem) / 2);
}
}
@media only screen and (max-width:500px){
  .product-card {
  width:100%;
}
}

/* --------------- Best Sellers Section --------------- */
.bestsellers {
  padding: 60px 60px 80px;
  background-color: #fff;
  text-align: center;
}
/* .bestsellers-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  justify-items: center;
} */
 .bestsellers-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

/* Reuse product-card design from previous section */


/* Wishlist */
.bestsellers .wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.bestsellers .wishlist:hover {
  background: var(--main-color);
  color: #fff;
}

/* Info */
.bestsellers .product-info {
  padding: 12px 15px 18px;
  text-align: left;
}

.bestsellers .product-rating {
  font-size: 13px;
  color: var(--text-light);
}

.bestsellers .product-rating i {
  color: gold;
  margin-right: 3px;
}

.bestsellers .product-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 6px;
}

.bestsellers .product-price {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.bestsellers .current-price-index {
  font-size: 1.1rem;
  color: var(--main-color);
  font-weight: 700;
}

.bestsellers .original-price {
  text-decoration: line-through;
  color: #888;
  font-size: 0.85rem;
}

.bestsellers .discount-rate {
  color: #388e3c;
  font-weight: 500;
  font-size: 0.85rem;
}

/* Add to Cart */
.bestsellers .add-to-cart {
  margin-top: 10px;
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: var(--border-radius);
  background-color: var(--main-color);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.bestsellers .add-to-cart:hover {
  background-color: var(--main-dark);
}


/* Responsive */
@media (max-width: 992px) {
  .bestsellers {
    padding: 50px 30px;
  }
  .bestsellers .product-card {
    max-width: 210px;
  }
  .bestsellers .product-img {
    height: 190px;
  }
}

@media (max-width: 768px) {
  .bestsellers {
    padding: 40px 20px;
  }

  .bestsellers .section-title {
    font-size: 1.6rem;
  }

  .bestsellers-content {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
  }

  .bestsellers .product-card {
    max-width: 180px;
  }

  .bestsellers .product-img {
    height: 160px;
  }

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

  .bestsellers .current-price-index {
    font-size: 1rem;
  }

  .bestsellers .add-to-cart {
    font-size: 0.8rem;
    padding: 7px;
  }

}

@media (max-width: 480px) {
  .bestsellers-content {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .bestsellers .product-card {
    max-width: 160px;
  }
  .bestsellers .product-img {
    height: 140px;
  }
}


/* banner section */
.banner{
  padding-inline: 0% !important;
  margin: 0%;
  padding-block: 5rem;
}
.banner img{
  width: 100%;
}


/* How It Works Section */
.working {
  background-color: #fff;
  padding: 5rem;
  text-align: center;
}

.how-it-works {
  display: flex;
  justify-content: space-evenly;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
}

.steps-card {
  flex: 1 1 280px;
  max-width: 340px;
  background: #fff;
  border-radius: 15px;
  padding: 1.8rem 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.steps-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(236, 169, 191, 0.15), rgba(255, 255, 255, 0.1));
  z-index: 0;
}

.steps-card:hover {
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

.icon-wrap {
  height: 90px;
  width: 90px;
  border-radius: 50%;
  background: #fce6ef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}

.icon-wrap img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.steps-card:hover .icon-wrap img {
  transform: scale(1.1);
}

.steps-card h4 {
  color: var(--accent-color);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
}

.steps-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .working {
    padding: 40px 20px;
  }

  .how-it-works {
    flex-direction: column;
    gap: 1.5rem;
  }
  .steps-card {
    max-width: 100%;
  }
  .steps-card h4 {
    font-size: 1rem;
  }
  .steps-card p {
    font-size: 12px;
  }
  .icon-wrap {
    height: 90px;
    width: 90px;
  }
  .icon-wrap img {
    width: 55px;
    height: 55px;
  }
}

/* Subscribe Section */
.subscribe {
  margin-top: 80px;
  padding: 0;
}

.subscribe-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--main-color), var(--light-bg));
  padding: 40px 60px;
  border-radius: var(--border-radius);
  flex-wrap: wrap;
  gap: 20px;
  overflow: hidden;
}

.sub-content {
  flex: 1 1 400px;
  color: #fff;
}

.sub-content h1 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.sub-content p {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 20px;
}

/* Form */
.subscribe-form {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  max-width: 500px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.subscribe-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--text-dark);
  border-radius: 50px 0 0 50px;
  min-width: 0;
}

.subscribe-form input::placeholder {
  color: #888;
}

.subscribe-form button {
  background: var(--main-dark);
  color: #fff;
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  transition: var(--transition);
}

.subscribe-form button:hover {
  background: var(--text-dark);
}

.sub-img {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sub-img img {
  width: 100%;
  height: auto;
  max-width: 250px;
  object-fit: contain;
}

/* Responsive Design */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .subscribe-content {
    padding: 30px 40px;
  }
  .sub-content h1 {
    font-size: 1.8rem;
  }
  .sub-img img {
    max-width: 350px;
  }
}

/* Mobile (≤992px) */
@media (max-width: 992px) {
  .subscribe-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    gap: 10px;
  }

  /* Hide image */
  .sub-img {
    display: none;
  }

  .sub-content {
    flex: unset;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .sub-content h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }

  .sub-content p {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  /* Make form full width with margin */
  .subscribe-form {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    border-radius: 15px;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    margin-top: 10px;
  }

  .subscribe-form input,
  .subscribe-form button {
    width: 100%;
    border-radius: 8px;
    margin: 5px 0;
  }

  .subscribe-form input {
    background: #fff;
    font-size: 1rem;
    padding: 14px 15px;
  }

  .subscribe-form button {
    background: var(--main-dark);
    font-size: 1rem;
    padding: 14px;
    font-weight: 600;
    transition: 0.3s;
  }

  .subscribe-form button:hover {
    background: var(--text-dark);
  }
}

/* Small Mobile (≤570px) */
@media (max-width: 570px) {
  .sub-content h1 {
    font-size: 1.4rem;
  }

  .sub-content p {
    font-size: 0.95rem;
  }

  .subscribe-form input {
    font-size: 0.9rem;
    padding: 12px 14px;
  }

  .subscribe-form button {
    font-size: 0.9rem;
    padding: 12px 14px;
  }

  .subscribe-content {
    padding: 30px 15px;
  }
}


/* Customer Review Section */
.review {
  /* background: linear-gradient(180deg, #fff 0%, #fff5f8 100%); */
  padding: 70px 50px;
  text-align: center;
}


.review-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
   overflow-x: auto;
   scroll-behavior: smooth;
   padding-block: 10px;
}
 
/* Review Card */
.review-card {
  flex: 0 0 auto ;
  width: calc((100% - 4rem) / 3);
  background: #fff;
  border-radius: var(--border-radius);
  border: 1px solid #f4b2c6;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 25px 20px;
  text-align: center;
  position: relative;
  transition: all 0.35s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(212, 106, 140, 0.25);
  border-color: #f4b2c6;
}

/* Profile Image */
.review-img img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 3px solid var(--main-color);
  transition: transform 0.3s ease;
}

.review-card:hover .review-img img {
  transform: scale(1.05);
}

/* Header (Rating + Date) */
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  margin-bottom: 10px;
}

.rating {
  font-size: 12px;
  color: #f7c948;
}

.rate {
  color: #222;
  font-weight: 600;
  margin-left: 4px;
}

.date {
  font-size: 12px;
  color: #999;
}

/* Review Text */
.review-text {
  font-size: 13px;
  color: #444;
  line-height: 1.6;
  position: relative;
  padding: 20px 10px;
}

.review-text p {
  margin: 0;
  padding: 0 15px;
  font-style: italic;
}

.quote-left,
.quote-right {
  position: absolute;
  font-size: 20px;
  color: var(--accent-color);
  opacity: 0.6;
}

.quote-left {
  top: 0;
  left: 15px;
}

.quote-right {
  bottom: 0;
  right: 15px;
}

/* Hover Glow Border */
.review-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius);
  background: linear-gradient(45deg, rgba(233, 30, 143, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.review-card:hover::after {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
  .review {
    padding: 50px 30px;
  }

  .review-card {
    width: 300px;
  }
}

@media (max-width: 768px) {
  .review-container {
    flex-direction: column;
    align-items: center;
  }

  .review-card {
    width: 90%;
  }

  .review-text p {
    font-size: 12px;
  }
}
