* { 
  margin: 0; 
  padding: 0;
  box-sizing: border-box; 
  font-family: Arial, sans-serif; 
}

body {
  background: #fff;
  overflow-x: hidden;
  overflow-y: auto;
}

.header {
  display:flex;
  justify-content:space-between;
  flex-wrap: wrap;
  align-items:center;
  padding:10px 5%;
  background:#fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
  height:120px; 
}

.small {
  transform: translateX(-20px);
  height:100%;
  display: flex;
  align-items: center; 
}

.small img {
  height: 200px;
  max-width:100%;
  object-fit: contain; 
  margin-left:-75px;
}

#navMenu {
  display:flex;
  gap:24px;
  align-items: center;
  margin-left:388px;
}

nav a {
  text-decoration:none;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  transition: 0.3s;
}

nav a:hover {
  color:#fff;
  padding:12px;
  background-color:#c63d5a;
  transition: background-color 0.3s ease;
  border-radius: 6px;
}

nav a.active {
  color:#fff;
  padding:12px;
  background-color:#c63d5a;
  transition: background-color 0.3s ease;
  border-radius: 6px;
}

.menu-toggle {
  display:none;
  font-size:28px;
  cursor:pointer;
  order:3;
}

.search-box {
  flex: 1 1 20%;          /* full width below logo on mobile */
  margin: 28px 0
}

.search-box input {
  width:70%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline:none;
  font-size: 14px;
  box-sizing: border-box;
  margin-left:28px;
}

.search-box button {
  padding: 8px 14px;
  border:none;
  color:#fff;
  font-size: 14px;
  border-radius: 0 20px 20px 0;
  cursor:pointer;
  background-color: #22c55e;
}

.search-box button:hover {
  background-color: #16a34a;
}

.about-link {
  font-size: 32px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  position: relative;
  margin-left: 204px;
  padding: 60px 20px;
}

.about-link::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #822b91;
  display: block;
  margin-top: 1px;
  margin-left: 34px;
  margin-bottom: -38px;
}

.about-layout {
  gap:40px;
  margin-top: 114px;
  align-items: flex-start;
  margin-left:87px;
}

.about-text {
  flex:2;
  margin-top:-60px;
  background: #fefefe;
  margin-left: 6px;
  background: transparent;
}

.about-text h1 {
  font-size: 34px;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color:#555;
  margin-bottom: 16px;
  margin-left:12px;
  margin-top:18px;
}

.why-box {
  text-align: center;
  padding: 60px 20px;
  background: #f9f5ff;
  margin-top: 20px;
  margin-left: -85px;
  margin-right: 0px;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:20px;
  margin-top: 30px;
}

.why-card {
  background : #fff;
  padding:25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card i {
  font-size: 30px;
  margin-bottom: 12px;
  color:#d94565;
}

.why-card {
  font-size: 15px;
  color:#333;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.about{
  width: 50%;
  height: 60%;
  margin-left: 609px;
  margin-top: -334px;
}

 .logo { 
  color: #ff4d6d;
  font-weight: 600;
  margin-left: -474px; 
}

.login { 
  color: #e91e63; 
  font-weight: bold; 
}

.text button {
	background-color:hsla(347,66%,56%,1);
}

/* HERO */
.hero-container { 
  max-width: 1200px; 
  margin: 30px auto 0 auto; 
  padding: 0 20px; 
}
    
.hero {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding:40px 5%; 
    background: hsla(350,87%,79%,1)
}
    
.hero .text { 
   flex: 1 1 100%;
   color: white;
}

.hero-img img { 
   max-width: 100%;
   height:auto;
}

.hero h1, .hero p, .hero button {
  margin-left: 0;           /* remove fixed margins */
  margin-bottom: 10px;
}
    
.hero button {
	 padding: 10px 20px; 
	 border: none; 
	 background: #333; 
	 color: #fff; 
	 cursor: pointer;
}


/* PRODUCTS */
.products1 { 
	padding: 40px; 
	text-align: center; 
	background: #fff;
  margin-top: 62px; 
}
    
.products2 { 
	padding: 40px; 
	text-align: center; 
	background: #fff;
  margin-top: 62px; 
}

.product-grid { 
	display: grid; 
	grid-template-columns: repeat(4, 1fr); 
	gap: 25px; 
	margin-top: 30px; 
	max-width: 950px; 
	margin: 0 auto; 
	padding: 0 20px; 
}

    
.product1 { 
	border-radius: 12px; 
	box-shadow: 0 6px 20px rgba(0,0,0,0.15); 
	transition: 0.3s; 
	text-align: center; 
	display: flex; 
	flex-direction: column; 
	overflow: hidden; 
  cursor:pointer;
}
    
.product1:hover { 
	box-shadow: 0 8px 25px rgba(0,0,0,0.25); 
	transform: translateY(-5px);
}
    
.product1 img { 
	width: 100%; 
	aspect-ratio: 4 / 3; 
	object-fit: contain; 
	background: #e4e2e3; 
	padding: 10px; 
	border-bottom: 1px solid #eee; 
}
    
.product-content { 
	padding: 10px; 
	display: flex; 
	flex-direction: column;
	margin-top:15px;
	gap:5px; 
	flex-grow: 1; 
}
    
.product1 h4 { 
	font-size: 18px; 
	color: #1f2937; 
	margin-bottom: 8px; 
	margin-top: 15px;
}

.product1 p { 
	font-size: 16px; 
	font-weight: bold; 
	color: #ff4d6d; 
	margin-bottom: 0; 
}

.product2 { 
	padding: 0; 
	border-radius: 12px; 
	box-shadow: 0 6px 20px rgba(0,0,0,0.15); 
	transition: 0.3s; 
	text-align: center; 
	display: flex; 
	flex-direction: column; 
	overflow: hidden; 
	height: 285px; 
	cursor:pointer;
}
    
.product2:hover { 
	box-shadow: 0 8px 25px rgba(0,0,0,0.25); 
	transform: translateY(-5px);
}
    
.product2 img { 
	width: 100%; 
	height: 219px; 
	object-fit: contain; 
	background: #e4e2e3; 
	padding: 10px; 
	border-bottom: 1px solid #eee; 
}
    
.product2-content { 
	padding: 15px; 
	display: flex; 
	flex-direction: column;
	margin-top:15px;
	gap:5px; 
	flex-grow: 1; 
}
    
.product2 h4 { 
	font-size: 18px; 
	color: #1f2937; 
	margin-bottom: 8px; 
	margin-top: 15px;
}

.product2 p { 
	font-size: 16px; 
	font-weight: bold; 
	color: #ff4d6d; 
	margin-bottom: 0; 
}
   
.view-btn {
	 margin-top: 30px; 
	 padding: 12px 24px;
	 border: none; 
	 background: #ff4d6d; 
	 color: #fff; 
	 font-weight: bold; 
	 cursor: pointer; 
	 border-radius: 8px; 
	 transition: 0.3s; 
}

.view-btn:hover { 
	background: #e04362; 
}
    
.products1 h2 {
	 margin-bottom: 40px; 
}

.products2 h2 {
	 margin-bottom: 40px; 
}
/* OFFER */

.offer { 
	display: flex; 
	justify-content: space-between; 
	padding: 50px; 
	background: #9ddaf6;
	margin-top: 20px; 
	height:393px; 
}

.offer-img img { 
	width: 300px; 
}

.girl { 
	margin-left: -857px; 
	margin-bottom: -154px; 
	margin-top: -75px;
  margin-left: -1098px;
}

.offer h2 { 
	font-size: 32px; 
	margin-bottom: 37px; 
	color: #000;
	margin-top: -134px;
}
    
.offer-text button { 
	padding: 10px 20px; 
	margin: 10px; 
	border: none; 
	cursor: pointer; 
}
   
.buy { 
	background: #000; 
	color: #fff; 
}
    
.see-more { 
	background: #fff; 
	color: #000; 
}

    
/* FEATURES */
    
.features {
	 display: flex; 
	 justify-content: space-around; 
	 padding: 40px;
	 background: #fff; 
}
    
.feature-box { 
	text-align: center;
 }

 .cat-btn {
    background:#fff;
    padding:12px 24px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    color:#000;
    font-size:18px;
    border:2px solid #fff;
    transition:0.3s;
}

.cat-btn:hover {
    background:#000 !important;
    color:#fff !important;
}

#contact{
	 background-color:hsla(347,66%,56%,1);
}

.offer {
	display:block; 
	text-align:center; 
	padding:60px; 
	background:#9ddaf6;
}

.offer h2 {
	font-size:32px; 
	margin-bottom:-13px; 
	color:#000;
  margin-top:-18px;
}

#categoryList {
  display:flex;
  gap:25px;
  flex-wrap: wrap;
  margin: 60px auto 0;   
  justify-content: center; 
  padding: 0 20px;
}

.category-card {
  flex: 1 1 180px;  /* Responsive width */
  max-width: 200px;
  background:white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  cursor:pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.category-img {
  width:100%;
  aspect-ratio: 4 / 3; 
  object-fit: cover;
  display: block;
}

.category-name {
  padding: 12px;
  font-weight: 600;
  font-size: 14px;
}

footer {
	background:#111; 
	color:#ddd; 
	padding:50px 0;
	margin-top:40px;
}

.shops {
	max-width:1200px; 
	margin:auto; 
	display:flex; 
	justify-content:space-between; 
	flex-wrap:wrap; 
	padding:0 40px;
}

.deals {
	width:23%; 
	min-width:200px; 
	margin-bottom:30px;
}
.deals h3 {
	color:#fff; 
	margin-bottom:15px;
}

.smallmart {
	color:#fff; 
	margin-bottom:15px;
}

.quick {
	width:23%; 
	min-width:200px; 
	margin-bottom:30px;
}

.quick h3 {
	color:#fff; 
	margin-bottom:15px;
}

.link {
	list-style:none; 
	padding:0;
}

.link li a {
	color:#ddd; 
	text-decoration:none;
}

.help {
	width:23%; 
	min-width:200px; 
	margin-bottom:30px;
}

.help h3 {
	color:#fff; 
	margin-bottom:15px;
}

.address {
  width:23%; 
	min-width:200px; 
	margin-bottom:30px;
}

.address h3 {
	color:#fff; 
	margin-bottom:15px;
}

.compare {
	text-align:center; 
	margin-top:20px; 
	border-top:1px solid #333; 
	padding-top:20px; 
	color:#bbb;
}

/* All Products */
.all { 
	text-align: center; 
	margin-bottom: 27px; 
	font-size: 25px; 
}

.back {
  display: inline-block;
  background: #ff4d6d;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top:12px;
  margin-left: 8px;
  border:none;
  cursor:pointer;
  position: relative;
  z-index: 999;
}


.back:hover { 
	background: #e04362; 
}

.products-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding:30px;
}

.product {
   background: #fff;
   padding: 15px;
   border-radius: 10px;
   text-align: center;
   box-shadow: 0 3px 8px rgba(0,0,0,0.1);
   transition: transform .2s;
}

.product:hover {
    transform: translateY(-5px);
}

.product img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
    border-radius: 8px;
  }

/* products details */

.btn1 {
    background: #ff4d6d;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 20px;
}

.product-container1 {
    max-width: 1500px;
    margin: auto;
    margin-top: -43px !important;
    margin-top:-47px;
}

.top-section {
    display: flex;
    gap: 40px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-image1 {
    width: 420px;
}

.product-image1 img {
    width: 134%;
    padding: 16px;
    padding-top: 153px;
    margin-top: 8px;
    padding-bottom: 188px;
    background: #f1f3f6;
    border-radius: 14px;
}

.product-info {
    flex: 1;
    margin-left: 136px;
}

.price-section {
  margin-top: 20px;
}

.back1 {
  background: #ff4d6d;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 20px;
  margin-left: 5px;
  cursor:pointer;
  position: relative !important;
  z-index: 999 !important;
}

.back1:hover { 
	background: #e04362; 
}

.product-details {
  height: 388px;
  margin-top: -49px;
  margin-bottom: -10px;
}

.hero-breakout {
  left:50%;
  right:50%;
  position: relative;
  margin-left: -50vw;
  margin-right: -50vw;
  width:100vw;
  padding:12px 0;
}

.carousel-wrapper {
  position: relative;
  width:100%;
  overflow: hidden;
  padding:0 12px;
}

.carousel {
  display: flex;
  border-radius: 18px;
  overflow: hidden;
}

.carousel::-webkit-scrollbar {
  display:none;
}

.image-card {
  width:100%;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  aspect-ratio: 16 / 5;
  flex: 0 0 100%; 
}

.image-card img {
  width: 100%;
  height: 100%;
  /*object-fit: cover; */
}

.nav-btn {
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  background: #ffffff;
  border:none;
  width:42px;
  height:42px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  cursor:pointer;
  z-index: 5;
  font-size: 22px;

}

.nav-btn.left {
  left:12px;
}

.nav-btn.right {
  right: 12px;
}

.nav-btn:hover {
  background:  #d94565;
  color:#fff;
}

.productsprice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 12px;
  padding: 8px;
  align-items: center;
  gap: 10px;
}

.product-price {
  background: #28a745;
  border: none;
  padding: 3px;
  border-radius: 12px;
  color: white;
  margin: -3px;
  font-weight: 500;
  display: inline-block;
  text-align: center;
}

.product-shop {
  color: #1f3a5f;
}

.productprice {
  font-size: 12px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
}

.dot.active {
  background: #2874f0; /* Flipkart-style blue */
}



/* Mobile */
@media (max-width:768px){
  .header, #navMenu a, .search-box input {
    overflow-wrap: break-word;
    word-break: break-word;
  }
  
  .header {
    display: flex;
    flex-wrap: wrap; /* allow stacking */
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: auto;
    padding: 10px 15px;
  }

 .small img {
    height: 110px;
    max-width: 100%;
    margin: 0; /* remove negative margin */
  }

  .menu-toggle {
    display:block;
    margin-right: 12px;
  }

  #navMenu {
    display:none;
    position:absolute;
    flex-direction:column;
    background:#fff;
    top:100%;
    left:-386px;
    width:100%;
    padding:20px;
    gap:12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }

  #navMenu a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #ccc;
    text-align: center;
    font-size: 16px;
    word-break: break-word;
  }

  #navMenu a:last-child {
    border-bottom: none;
  }

  #navMenu.active {
    display:flex;
  }

  .search-box {
    order: 2;
    width: 100%;
    margin: 10px 0;
  }

  .small {
    order: 1;
  }

  .search-box input {
    width: 100%;
    box-sizing: border-box;
    margin-left: -16px;
  }

  #navMenu.active {
    display: flex;
  }

  .back {
    margin-left: 7px;
  }

  .hero .text h1{
    margin-left: 12px;
  }
  .hero .text p {
    margin-left: 21px;
  }
  .hero .text button {
    background-color: hsla(347, 66%, 56%, 1);
    margin-left: 18px;
  }
  .hero-img .mart {
    width: 226px;
    margin-right: 17px;
    margin-left: -44px
  }
  
  /* Tablet */
@media (max-width: 992px) {
  .product-grid {
    gap: 20px;
  }
}


/* Mobile */
@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    display: flex;
    flex-direction: column;
  }

  .product1 h4 {
    font-size: 16px;
  }

  .product1 p {
    font-size: 14px;
  }
  .product-content {
    padding:2px;
  }
}

  .offer {
    background: #9ddaf6;
    height: auto;
  }
  .offer h2 {
    margin-bottom: 27px;
  }
  .features {
    margin-top: 17px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  #categoryList {
    gap: 20px;
  }

  .category-card {
    flex: 1 1 160px;
    max-width: 180px;
  }
}

/* Mobile */
@media (max-width: 600px) {

  #categoryList {
    gap: 15px;
    margin-top: 40px;
  }

  .category-card {
    flex: 1 1 45%;   /* Two per row */
    max-width: 48%;
  }

  .category-name {
    font-size: 13px;
  }
}


@media (max-width: 768px) {
  .about-layout {
    flex-direction: column;
    margin-left: 0px;
    display:flex;
  }
  .why-box {
   margin-left: 0px;
   padding: 30px;
   width:100%;
  }
  .about-text {
    margin-left: -163px;
  }
  .about-text p {
    margin-left: 175px;
    font-size: 17px;
  }
  .about-link {
    margin-left:260px;
  }

  .about-link::after {
    margin-left: 35px;
    margin-top: 6px;
  }
  .about {
    margin-top: 12px;
    margin-left: 160px;
    width: 70%;
    height: 50%;
  }
}

@media (max-width: 768px) {
  .product-shop {
    font-size: 14px;
  }

  .product-price {
    font-size: 16px;
    width: 135px;
  }
}

@media (max-width: 768px) {
  .carousel-dots {
    gap: 8px;
    margin-top: 8px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .image-card {
    aspect-ratio: 16 / 6;   
  }
}

/* Mobile */
@media (max-width: 600px) {
  .image-card {
    aspect-ratio: 16 / 8;  
    border-radius: 12px;
  }

  .hero-breakout {
    padding: 8px 0;
    margin-top: 6px;
  }
}

@media (max-width: 1200px) {
    .products-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablets */
@media (max-width: 992px) {
    .products-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Small tablets */
@media (max-width: 768px) {
    .products-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .products-container {
        grid-template-columns: repeat(1, 1fr);
        padding: 25px;
    }
}


