/* Main CSS styles for the Supplements E-commerce application */

/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
    sans-serif;
}
/* Body styles */
body {
  /* font-family: 'Arial', sans-serif; */
  background-color: #f9fafb; /* Light gray background */
  color: #374151; /* Dark gray text */
}

/* Header styles */
header {
  background-color: #ffffff; /* White background */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Navigation styles */
nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}

/* nav ul li {
  margin: 0 1.5rem;
} */

/* Button styles */
button {
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #e5e7eb; /* Light gray on hover */
}

/* Category button styles */
.category-btn {
  transition: background-color 0.3s ease;
}

/* Deals section styles */
#deals-carousel {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Footer styles */
footer {
  background-color: #1f2937; /* Dark gray background */
  color: #ffffff; /* White text */
  padding: 2rem 0;
}

/* Custom scrollbar for mobile tabs */
.md\:hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.md\:hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Mobile tabs container */
.tabs-container {
  scrollbar-width: thin;
  scrollbar-color: #e5e7eb transparent;
}

.tabs-container::-webkit-scrollbar {
  height: 6px;
}

.tabs-container::-webkit-scrollbar-track {
  background: transparent;
}

.tabs-container::-webkit-scrollbar-thumb {
  background-color: #e5e7eb;
  border-radius: 3px;
}

/* Tab transitions */
.tab-btn {
  transition: all 0.2s ease-in-out;
}

/* Responsive styles */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 0.5rem 0;
  }

  /* Mobile tabs */
  .mobile-tabs {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-tabs::-webkit-scrollbar {
    display: none;
  }

  /* Ensure proper spacing for mobile */
  .product-grid-mobile {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }

  /* Adjust featured section padding on mobile */
  section.py-8 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

.magnifier {
  position: relative;
  overflow: hidden;
}
.magnifier img {
  width: 100%;
  display: block;
  transition: transform 0.2s ease-out;
}


.pagination {
	display: flex;
	padding-left: 0;
	list-style: none;
	margin: 10px
}

.page-link {
	position: relative;
	display: block;
	color: #0d6efd;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #dee2e6;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

@media (prefers-reduced-motion:reduce) {
	.page-link {
		transition: none
	}
}

.page-link:hover {
	z-index: 2;
	color: #16A34A;
	background-color: #e9ecef;
	border-color: #dee2e6
}

.page-link:focus {
	z-index: 3;
	color: #16A34A;
	background-color: #e9ecef;
	outline: 0;
	box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25)
}

.page-item:not(:first-child) .page-link {
	margin-left: -1px
}

.page-item.active .page-link {
	z-index: 3;
	color: #fff;
	background-color: #0dfd85;
	border-color: #0dfd85;
}

.page-item.disabled .page-link {
	color: #6c757d;
	pointer-events: none;
	background-color: #fff;
	border-color: #dee2e6
}

.page-link {
	padding: .375rem .75rem
}

.page-item:first-child .page-link {
	border-top-left-radius: .25rem;
	border-bottom-left-radius: .25rem
}

.page-item:last-child .page-link {
	border-top-right-radius: .25rem;
	border-bottom-right-radius: .25rem
}
.pagination .page-link {
	line-height: 1.25 !important
}
