
.slick-slide {
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease-in-out;
}

.slick-slide a {
    display: block;
    color: #000;
    text-decoration: none;
}

.slick-slide h2{
	font-size: 18px !important;
	color: #8f8f8f !important;
	margin-bottom: 5px !important;
}

.slick-prev, .slick-next {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: #fff;
    height: 30px;
    width: 30px;
    line-height: 40px;
    text-align: center;
}

.slick-prev:hover, .slick-next:hover {
    background-color: #000;
}

.slick-dots li button:before {
    color: #000;
}

.slick-prev:before, .slick-next:before {
    top: 38px;
    font-family: 'slick';
    font-size: 30px !important;
}

/* Categories CSS Start */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 10px;
}

.category-item {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.category-item:hover {
    transform: translateY(-5px);
}
	
.category-item img {
    max-width: 40px;
    margin-bottom: 10px;
}

.category-item h3 {
    font-size: 16px;
    color: #0f2350;
}

.category-item p {
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.category-item i {
    font-size: 20px;
}
	
/* Header Section */
	.adress-wrapper h1 {
		font-size: 2.5em;
		margin-bottom: 10px;
		color:#FFF;
		
	}

	.adress-wrapper h3 {
		font-size: 1.2em;
		font-weight: normal;
		color: #70b874;
	}

	/* Form Section */
	.adress-wrapper .form-container {
		margin-top: 30px;
		display: block;
		background-color: #fff;
		border: 2px solid #009473;
		border-radius: 25px;
		padding: 10px 20px;
		align-items: center;
		display: flex;
		flex-direction: column;
		gap: 15px;
	}

	.form-container input[type="text"] {
		border: none;
		outline: none;
		padding: 10px;
		font-size: 1em;
		color: #888;
		width: 90%;
	}

	.form-container button {
    	padding: 10px 20px;
    	background-color: #009473;
    	color: #fff;
    	border: none;
    	border-radius: 4px;
    	font-size: 1em;
    	font-weight: bold;
    	cursor: pointer;
	}


	.form-container button:hover {
		background-color: #ff6a00;
	}

	/* Security Text */
	.security-text {
		font-size: 0.9em;
		color: #888;
		margin-top: 10px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.security-text img {
		width: 16px;
		height: 16px;
		margin-right: 5px;
	}

	/* Right-side Image */
	.image-container {
		max-width: 550px;
		margin-left: 20px;
	}

	.image-container img {
		width: 100%;
		height: auto;
		border-radius: 10px;
	}
	
	/************************/

	.background-container {
		position: relative;
		background-image: url('https://near.biz/wp-content/uploads/2024/11/Home-Services-All-in-one-place.webp');
		background-size: cover;
		background-position: center;
		padding: 60px 20px;
		color: #fff;
		border-radius: 20px;
		height: 500px;
	}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the overlay color and transparency */
    z-index: 1;
    border-radius: 20px;
}
	
	.remove-overlay {
		position: relative; 
		z-index: 2;
	}


/* Adjust button and input field styles for better visibility */
button#setAddress {
    /* background-color: #ff8c00; */
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
}

button#setAddress:hover {
    background-color: #e07b00;
}

input#autocomplete4 {
    background-color: #fff;
    color: #333;
}

	/* New Styles for Partners Section */
.partners-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f8f8;
    border-radius: 20px;
}

.partners-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.partners-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-logo {
    max-width: 120px;
    height: auto;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.1);
}
	
.radio-group label {
    display: inline-block;
    margin-right: 20px;
    color: black; 
}
	
/* Media query for mobile */
@media (max-width: 768px) {
    .form-container input[type="text"] {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 20px;
        padding: 8px 15px;
        border: 1px solid #ccc;
        margin-top: 10px;
        box-sizing: border-box;
    }

    .form-container {
        margin: 0;
        border-radius: 25px;
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }

    .category-grid {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding: 10px 0;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .category-item {
        flex: 0 0 auto;
        width: 140px;
        scroll-snap-align: start;
        padding: 15px 10px;
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .category-item:hover {
        transform: translateY(-5px);
    }

    .category-item img {
        max-width: 35px;
        margin-bottom: 8px;
    }

    .category-item h3 {
        font-size: 14px;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #0f2350;
    }

    .category-item p {
        font-size: 16px;
        line-height: 22px;
        margin: 5px 0 0;
        font-weight: 500;
        letter-spacing: 0.2px;
    }

    .category-item i {
        font-size: 16px;
    }

    /* Hide scrollbar but keep functionality */
    .category-grid::-webkit-scrollbar {
        display: none;
    }
    
    .category-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
	
	.adress-wrapper h3 {
           font-size: 1.2rem;
           line-height: 1.2; 
           margin: 10px 0;   
    }
	
	.adress-wrapper h1 {
           font-size: 2.0rem;
           line-height: 1.7; /* Adjust spacing between lines */
    }
	
	.background-container {
		padding: 10px 0px;
	}

    .radio-group input[type="radio"] {
        margin-right: 10px; /* Add spacing between radio button and label text */
    }
	
	.form-container input[type="text"] {
	
		width: auto !important;
	}
	
	.site-content {
        margin: 0 !important;
    }
	
}

.form-and-categories-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: left;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .form-and-categories-container {
    align-items: stretch;
    gap: 10px;
  }

  .category-scroll-wrapper {
    justify-content: center;
  }
}

.category-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 10px;
  width: 100%;
}

.category-radio-rollout {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.category-radio-rollout label {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  padding: 10px;
  cursor: pointer;
  font-size: 13px;
  color: #333; /* Darker text for better contrast */
  transition: all 0.3s ease;
  border-radius: 8px; /* Rounded corners to match theme */
}

.category-radio-rollout label i {
  font-size: 24px;
  margin-bottom: 8px;
  color: #009473; /* Default icon color */
  transition: all 0.3s ease;
}

.category-radio-rollout input[type="radio"] {
  display: none;
}

/* Selected state */
.category-radio-rollout input[type="radio"]:checked + i {
  color: #D4AF37; /* Theme gold color */
  transform: scale(1.1); /* Slight scale effect when selected */
}

.category-radio-rollout input[type="radio"]:checked + i + span {
  color: #D4AF37; /* Theme gold color */
  font-weight: 500; /* Slightly bolder text when selected */
}

/* Hover state */
.category-radio-rollout label:hover {
  background-color: rgba(212, 175, 55, 0.1); /* Light gold background on hover */
}

.category-radio-rollout label:hover i {
  color: #D4AF37; /* Theme gold color on hover */
  transform: translateY(-2px); /* Slight lift effect on hover */
}

/* Active state */
.category-radio-rollout label:active {
  transform: scale(0.98); /* Slight press effect */
}

.category-buttons-section {
  margin: 0 !important;
  padding: 0 !important;
}

.category-buttons-section ul.products {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;         /* Add spacing between items */
  padding: 0 !important;
  margin: 0 !important;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 10px;
  min-width: fit-content;
  overflow-x: auto;
}


.category-buttons-section ul.products::-webkit-scrollbar {
  height: 6px;
}
	
ul.products li.product-category,
ul.products li.product-category.product,
ul.products li.product-category.first,
ul.products li.product-category.last,
ul.products li.product-category.product.first,
ul.products li.product-category.product.last {
  flex: 0 0 auto !important;
  width: auto !important;                    /* Allow items to fit natural size */
  min-width: 80px !important;                /* Minimum width to keep icons readable */
  max-width: 120px !important;               /* Prevents over-stretching */
  height: auto !important;
  margin: 0 !important;
  padding: 10px 8px !important;              /* Adds some inner spacing */
  box-sizing: border-box;
  scroll-snap-align: start;
  background-color: white;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: background-color 0.3s ease;
}


ul.products li.product-category:hover {
  background-color: whitesmoke;
}

ul.products li.product-category:hover img {
  border: 1px solid whitesmoke !important;
}

ul.products li.product-category a {
  text-decoration: none;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
}

ul.products li.product-category img {
  border: 1px solid whitesmoke !important;
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 4px;
  transition: border 0.3s ease;
}

ul.products li.product-category h2 {
  font-size: 12px;
  font-weight: 500;
  white-space: normal;
  margin: 0;
  line-height: 1.3;
  max-width: 90px;
  overflow: visible;
  text-overflow: unset;
  text-align: center;
  padding: 0 5px;
}

.blog-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 10px;
}

.blog-grid-item {
  background: white;
  border: 1px solid whitesmoke !important;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.blog-grid-item:hover {
  background-color: whitesmoke;
}

.blog-thumbnail {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: black;
  margin: 0;
}


/********* Store Info ****************/

.store-info-container {
      display: flex;
      margin: auto;
      gap: 30px;
    }

   .sidebar {
      width: 220px;
      min-width: 180px;
      border-right: 1px solid #ddd;
      padding-right: 15px;
    }

    .sidebar h4 {
      margin-bottom: 15px;
      font-size: 16px;
    }

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

    .sidebar ul li {
      padding: 8px 0;
      cursor: pointer;
      font-size: 14px;
      color: #555;
		background: rgb(245 245 245);
		padding: 10px;
		border-radius: 5px;
		font-weight: 600;
    }

    .sidebar ul li:hover {
      color: #007bff;
      font-weight: bold;
    }

    .main {
      flex: 1;
      min-width: 0;
    }

    .header {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 15px;
    }

    .header h2 {
      margin: 0;
      font-size: 24px;
    }

    .status {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      font-size: 14px;
	  margin-top: 12px;
    }

    .badge {
      background: green;
      color: white;
      padding: 2px 8px;
      border-radius: 12px;
      font-size: 12px;
    }

    .star {
      	color: #ffc400;
    	font-weight: 700;
    }

	.rating_count {
		font-weight: 700;
	}

	.delivery_time {
		font-weight: 700;
	}

    .buttons {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .btn {
      border: 1px solid #ccc;
      background: white;
      padding: 7px 14px;
      border-radius: 5px;
      font-size: 14px;
      cursor: pointer;
    }

    .btn:hover {
      background: #f0f0f0;
    }

    .section-title {
      margin: 30px 0 15px;
      font-size: 20px;
    }

    .featured-scroll {
      display: flex;
      overflow-x: auto;
      gap: 16px;
      padding-bottom: 10px;
    }

    .featured-card {
      background: white;
      border: 1px solid #eee;
      border-radius: 10px;
      min-width: 200px;
      max-width: 220px;
      flex-shrink: 0;
    }

    .featured-card img {
      width: 100%;
      height: 140px;
      object-fit: cover;
      border-radius: 10px 10px 0 0;
    }

    .featured-content {
      padding: 10px;
    }

    .featured-content h4 {
      font-size: 15px;
      margin: 5px 0;
    }

    .featured-content p {
      font-size: 13px;
      margin: 0;
      color: #555;
    }

    .badge-small {
      display: inline-block;
      background-color: #007bff;
      color: white;
      font-size: 10px;
      padding: 2px 6px;
      margin-top: 5px;
      border-radius: 3px;
    }

    .reviews {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
    }

    .review-box {
      flex: 1 1 280px;
      background: white;
      border: 1px solid #eee;
      padding: 15px;
      border-radius: 10px;
    }

    .review-header {
      display: flex;
      justify-content: space-between;
      font-size: 14px;
      margin-bottom: 8px;
    }

    .review-rating {
      color: gold;
      font-size: 18px;
      margin-bottom: 5px;
    }

    /* Responsive Fixes */
    @media (max-width: 1024px) {
      .store-info-container {
        flex-direction: column;
        padding: 15px;
      }

      .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
        margin-bottom: 20px;
      }

      .sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 20px;
      }

      .sidebar ul li {
        flex: 1 1 auto;
      }

      .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }

      .buttons {
        width: 100%;
        justify-content: flex-start;
      }

      .featured-scroll {
        gap: 12px;
      }
    }

    @media (max-width: 480px) {
      .featured-card {
        min-width: 160px;
      }

      .featured-content h4 {
        font-size: 14px;
      }

      .featured-content p {
        font-size: 12px;
      }

      .section-title {
        font-size: 18px;
      }

      .header h2 {
        font-size: 20px;
      }
    }
