body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: whitesmoke;
}

/* Active Link Effect */
.nav-hover-effect {
  position: relative;
  transition: color 0.3s ease;
}

.nav-hover-effect::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50% !important;
  width: 0;
  height: 2px;
  background-color: #005691;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-hover-effect:hover::after {
  width: 70%;
}

.nav-hover-effect.active::after {
  width: 70%;
  background-color: #005691;
}

.nav-hover-effect.active {
  color: #005691 !important;
}

.primary {
  color: #005691;
}

.bgprimary {
  background-color: #005691;
}

/* whatsapp */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 35px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  color: white;
}

/* header style */
.animate-text {
  white-space: nowrap;
  display: inline-block;
  animation: scroll-left 10s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.pulse-text {
  animation: pulse-animation 2s infinite;
  animation-timing-function: ease-in-out;
  font-weight: 400;
}

@keyframes pulse-animation {
  0% {
    opacity: 1;
    transform: scale(1);
    color: #ffffff;
    text-shadow: none;
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
    color: #ffdb4d;
    text-shadow: 0 0 8px rgba(255, 219, 77, 0.8), 0 0 15px rgba(255, 219, 77, 0.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    color: #ffffff;
    text-shadow: none;
  }
}

.nav-hover-effect:hover {
  color: #005691 !important;
  transition: 0.3s;
}

.nav-hover-effect::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 0;
  height: 2px;
  background: #005691;
  transition: width 0.3s;
}

.nav-hover-effect:hover::after {
  width: 60%;
}

.nav-link {
  letter-spacing: 0.5px;
}

/* dropdown style */
.dropdown-menu {
  min-width: 220px;
}

.dropdown-item {
  transition: all 0.2s;
  color: #333;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #005691;
  padding-left: 20px;
}

.dropdown-item i {
  color: #005691;
}
@media (min-width: 992px) {
  .custom-dropdown:hover .dropdown-menu {
    display: block;
  }
}
/* Dropdown ka default arrow hide karne ke liye */
.dropdown-toggle::after {
    display: none !important;
    content: none !important;
}



/* category style */
.breadcrumb {
  background: linear-gradient(to right, #ffffff, #e6f0f8);
}

.modern-cat-card {
  position: relative;
  border-radius: 20px;
  padding: 25px 15px;
  height: 100%;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modern-cat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 86, 145, 0.1);
}

.cat-img-wrapper img {
  max-height: 100px;
  transition: transform 0.4s ease;
}

.modern-cat-card:hover .cat-img-wrapper img {
  transform: scale(1.1);
}

.hover-btn-wrapper {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  transition: all 0.4s ease;
  opacity: 0;
  padding-bottom: 15px;
}

.modern-cat-card:hover .hover-btn-wrapper {
  bottom: 0;
  opacity: 1;
}

.btn-modern {
  background: #005691;
  color: white;
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 86, 145, 0.3);
}

.modern-cat-card:hover .cat-content {
  transform: translateY(-15px);
  transition: all 0.4s ease;
}

.view-all-main {
  text-decoration: none;
  color: #005691;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.view-all-main:hover {
  border-bottom: 2px solid #005691;
  padding-bottom: 5px;
}


/* product category card */

.bgshow {
  background-color: #f1f5f9;
}

.wishlist-active {
  color: red !important;
}

.product-card {
  transition: all 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 3px solid #005691 !important;
}

.product-img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.1);
}

.filter-sidebar {
  position: sticky;
  top: 20px;
}

.list-active .product-card {
  flex-direction: row;
  align-items: center;
  max-height: 400px;
}

.list-active .img-container {
  width: 30%;
  height: 100% !important;
  border-right: 1px solid #f0f0f0;
}

.list-active .card-body {
  width: 70%;
  text-align: left !important;
}

.list-active .product-desc {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-active .add-to-cart-container {
  width: 250px;
  max-height: 100% !important;
  opacity: 1 !important;
  transform: none !important;
}

.list-active .title-main {
  font-size: 1.3rem;
}

.hover-icons {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  z-index: 2;
}

.product-card:hover .hover-icons {
  opacity: 1;
  transform: translateX(0);
}

.btn-white {
  background: white;
  color: #555;
}

.btn-white:hover {
  background: #005691;
  color: white !important;
  border-color: #005691 !important;
}

.category-item {
  color: #555;
  font-weight: 500;
  transition: 0.2s;
}

.category-item:hover,
.category-item.active {
  color: #005691;
  padding-left: 8px;
}

.border-bottom-dashed {
  border-bottom: 1px dashed #eee;
}

.product-layout-item:not(.list-active) .add-to-cart-container {
  max-height: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.product-layout-item:not(.list-active) .product-card:hover .add-to-cart-container {
  max-height: 80px;
  opacity: 1;
  transform: translateY(0);
}

.custom-range::-webkit-slider-thumb {
  background: #005691;
  border: 3px solid white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.bg-primary {
  background-color: #005691 !important;
}

.text-primary {
  color: #005691 !important;
}

.btn-primary {
  background-color: #005691 !important;
  border: none;
  color: white;
}

.border-primary {
  border-color: #005691 !important;
}

.local-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #eee;
}

/* contact */
:root {
  --brand-blue: #005691;
  --brand-dark: #005691;
  --soft-gray: #fdfdfd;
  --border-light: #eceef2;
}

body {
  background-color: #f8fafc;
  font-family: 'Inter', sans-serif;
}

/* Section Card Styling */
.contact-wrapper {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  margin-bottom: 2rem;
}

/* Form Side Decoration */
.contact-info-side {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #1e1b1e 100%);
  color: white;
  padding: 3rem;
}

/* Form Controls */
.form-label {
  font-weight: 600;
  color: #475569;
  font-size: 0.9rem;
}

.form-control-modern {
  border: 1px solid var(--border-light);
  background-color: #f8fafc;
  border-radius: 12px;
  padding: 14px 18px;
  transition: all 0.3s;
}

.form-control-modern:focus {
  background-color: #fff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 86, 145, 0.1);
  outline: none;
}

/* Buttons */
.btn-submit {
  background: var(--brand-blue);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-weight: 700;
  width: 100%;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Cards (Support & Sales) */
.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  text-align: center;
  transition: 0.3s;
  height: 100%;
}

.stat-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-5px);
}

.icon-box-modern {
  width: 60px;
  height: 60px;
  background: rgba(0, 86, 145, 0.08);
  color: var(--brand-blue);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

.sales-link {
  display: block;
  background: #f1f5f9;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 8px;
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: 0.2s;
}

.sales-link:hover {
  background: var(--brand-blue);
  color: white;
}

@media (max-width: 991px) {
  .contact-info-side {
    padding: 2rem;
  }
}

/* about */
:root {
  --primary-color: #005691;
  --dark-accent: #005691;
  --text-muted: #64748b;
}



/* Who We Are Section Styling */
.about-img-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-img-container img {
  transition: transform 0.5s ease;
}

.about-img-container:hover img {
  transform: scale(1.05);
}

.about-tick-list {
  list-style: none;
  padding: 0;
}

.about-tick-list li {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 500;
  color: #334155;
}

.about-tick-list li i {
  background: var(--dark-accent);
  color: white;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 12px;
  margin-right: 15px;
}

/* Modern Feature Cards */
.feature-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 24px;
  padding: 40px 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.feature-card:hover {
  background: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 86, 145, 0.1);
  transform: translateY(-10px);
}

.feature-icon-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.feature-card:hover .feature-icon-circle {
  background: rgba(0, 86, 145, 0.1);
}

.cta-container {
  transition: transform 0.3s ease;
}

.cta-container:hover {
  transform: translateY(-5px);
}

.modern-glow-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 48px;
  background: #005691;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 20px rgba(0, 86, 145, 0.2);
  border: none;
}

.btn-content {
  position: relative;
  z-index: 2;
}

.btn-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease;
  z-index: 1;
}

.modern-glow-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 86, 145, 0.4);
  background: #004575;
}

.modern-glow-btn:hover .btn-glow {
  transform: translate(-50%, -50%) scale(1);
}

.modern-glow-btn:active {
  transform: scale(0.98);
}


@media (max-width: 576px) {
  .modern-glow-btn {
    width: 100%;
    padding: 16px 20px;
  }
}

@media (max-width: 768px) {
  .display-5 {
    font-size: 2rem;
  }

  .feature-card {
    padding: 30px 20px;
  }
}

/* categroy style */
.pharmacy-cat-card {
  background-color: var(--card-bg);
  border-radius: 20px;
  padding: 25px 15px;
  transition: all 0.3s ease-in-out;
  border: 1px solid rgba(0, 0, 0, 0.03);
  text-align: center;
  height: 100%;
  position: relative;
}

.pharmacy-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border-color: var(--accent-color);
}

.stock-status {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 8px;
  font-weight: 700;
  color: #198754;
  background: #eafff0;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.cat-img-wrapper {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.cat-img-wrapper img {
  max-height: 100%;
  object-fit: contain;
}

.cat-name {
  font-weight: 700;
  color: #333;
  margin-bottom: 2px;
}

.view-btn {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-color);
  margin-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 10px;
}

@media (max-width: 576px) {
  .pharmacy-cat-card {
    padding: 15px 10px;
  }

  .cat-img-wrapper {
    height: 70px;
  }
}

.fw-800 {
  font-weight: 800;
}

.text-dark {
  color: #0b1a2d !important;
}


/* login style */
.rounded-4 {
  border-radius: 12px !important;
}

.rounded-start-4 {
  border-top-left-radius: 12px !important;
  border-bottom-left-radius: 12px !important;
}

.rounded-end-4 {
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

#authTab .nav-link {
  color: #6c757d;
  transition: 0.3s;
  border: none;
}

#authTab .nav-link.active {
  background: #005691 !important;
  color: white !important;
}

.input-group-text {
  min-width: 45px;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-1px);
  transition: 0.2s;
}

/* wishlist style */
.wishlist-card {
  border: none;
  border-radius: 20px;
  transition: 0.3s;
  overflow: hidden;
  background: #fff;
}

.wishlist-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.remove-wishlist {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dc3545;
  transition: 0.3s;
  border: none;
}

.remove-wishlist:hover {
  background: #dc3545;
  color: #fff;
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 50px;
}

/* card style */
.promo-card {
  position: relative;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  align-items: center;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.promo-banner-1 {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.2)), url("/images/about-img.jpg") center center;
  background-size: cover;
}

.promo-banner-2 {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.2)), url("/images/promo-img.jpg") center center;
  background-size: cover;
}

.promo-banner-3 {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.2)), url("/images/promo-3.avif") center center;
  background-size: cover;
}

.promo-banner-4 {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.2)), url("/images/promo-4.jpg") center center;
  background-size: cover;
}

.promo-content {
  padding: 2rem;
  color: white;
  z-index: 2;
  max-width: 70%;
}

.promo-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.promo-text {
  font-size: 0.9rem;
  opacity: 0.8;
}

.promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.promo-card:hover .btn-light {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #000;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .promo-card {
    height: 220px;
  }

  .promo-content {
    max-width: 90%;
    padding: 1.5rem;
  }

  .promo-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .promo-card {
    height: 200px;
  }

  .promo-title {
    font-size: 1.1rem;
  }
}


/* banner style */
.hero-wrapper {
  height: 82vh;
  min-height: 400px;
  width: 100%;
  overflow: hidden;
}

@media (max-width: 767px) {
  .hero-wrapper {
    height: 63vh;
  }
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

.transition-transform:hover {
  transform: translateY(-3px) scale(1.05);
}

.transition-all:hover {
  background: white !important;
  color: black !important;
}

/* Custom Dots Styling */
.carousel-indicators [button],
.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.5;
  border: none;
  margin: 0 5px;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #ffc107;
  /* Warning yellow */
  transform: scale(1.2);
}


/* product style */
.custom-scrollbar::-webkit-scrollbar {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
}

.custom-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow-x: auto;
  scroll-behavior: smooth;
}

/* Arrows Design */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: #0056b3;
  color: #fff;
}

.left-arrow {
  left: -22px;
}

.right-arrow {
  right: -22px;
}

@media (max-width: 768px) {
  .slider-arrow {
    display: none;
  }
}

/* brand style  */
.brand-title {
  color: #0056b3;
  font-size: 2rem;
}

.brands-scroll-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Firefox */
}

.brands-scroll-wrapper::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.brand-card-item {
  flex: 0 0 auto;
  width: 240px;
  /* Desktop width */
}

.brand-box {
  border: 1px solid #0056b3;
  border-radius: 15px;
  padding: 20px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: all 0.3s ease;
}

.brand-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}



/* Dots */
.dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #0057b3f3;
  width: 25px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .brand-card-item {
    width: 150px;
  }

  .brand-box {
    height: 130px;
    padding: 10px;
  }

  .brand-arrow {
    display: none;
  }
}


/* product  item style */
:root {
  --primary-soft: #f0f7ff;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Product Image Styling */
.product-img-wrapper {
  background-color: rgba(255, 255, 255, 0.87);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid #0057b3f3;
}



/* Quantity and Buttons */
.qty-selector {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 50px;
  padding: 5px;
}

.qty-btn {
  width: 35px;
  height: 35px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover {
  background-color: #0057b3f3;
  color: white !important;
}

.btn-add-cart {
  padding: 1rem 2rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.btn-add-cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(var(--bs-primary-rgb), 0.2);
}

/* Info Cards */
.info-card {
  background: #fff;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid #f0f0f0;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}

.info-card:hover {
  border-color: #0057b3f3;
  transform: translateY(-5px);
}

/* Tabbed Navigation */
.modern-tabs .nav-link {
  border: none;
  color: #888;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 1rem 2rem;
}

.modern-tabs .nav-link.active {
  color: #0057b3f3;
  background: transparent;
  border-bottom: 3px solid #0057b3f3;
}


/* feature  */
.nav-link-custom {
  padding: 8px 18px;
  border: none;
  background: transparent;
  border-radius: 50px;
  font-weight: 600;
  color: #6c757d;
  transition: 0.3s;
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .cat-item-2 {
    display: none !important;
  }

  .category-tabs-container {
    padding: 5px;
    gap: 5px;
  }

  .nav-link-custom {
    padding: 6px 12px;
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .cat-item-2 {
    display: inline-block !important;
  }

  .nav-link-custom {
    padding: 10px 25px;
    font-size: 14px;
  }
}

.nav-link-custom.active {
  background-color: #005691 !important;
  color: #ffffff !important;
}

#product-loader {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
}

.spinner-custom {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #005691;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading-effect {
  opacity: 0.4;
  filter: blur(1px);
  pointer-events: none;
}


.modern-slider-container::-webkit-scrollbar {
  display: none;
}

#product-display-grid .flex-shrink-0 {
  scroll-snap-align: start;
  flex: 0 0 85%;
}

@media (min-width: 576px) {
  #product-display-grid .flex-shrink-0 {
    flex: 0 0 50%;
  }

}

@media (min-width: 768px) {
  #product-display-grid .flex-shrink-0 {
    flex: 0 0 33.333%;
  }

}

@media (min-width: 992px) {
  #product-display-grid .flex-shrink-0 {
    flex: 0 0 25%;
  }

}

.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-btn.left {
  left: 0px;
}

.arrow-btn.right {
  right: 0px;
}

@media (min-width: 768px) {
  .arrow-btn.left {
    left: -20px;
  }

  .arrow-btn.right {
    right: -20px;
  }

  .arrow-btn {
    width: 45px;
    height: 45px;
  }
}

.arrow-btn:hover {
  background: #005691;
  color: white;
}

/* Testimonials */
.testimonial-dots {
  cursor: pointer;
}

.dot-test {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.dot-test.active {
  width: 25px;
  background-color: #2c3e50;
}

.modern-slider-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.testimonials-section {
  background-color: #f1f5f9;

}

#testimonial-grid {
  display: flex;
  gap: 33px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 20px 10px;
  scroll-snap-type: x mandatory;
}

#testimonial-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  transition: all 0.4s ease;
  border-bottom: 4px solid transparent !important;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid #2c3e50 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.user-img-wrapper img {
  width: 55px;
  height: 55px;
  object-fit: cover;
}

.testimonial-message p {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}


.testimonial-item {
  flex: 0 0 100%;
  scroll-snap-align: center;
}

/* Media Queries larger than 768px */
@media (min-width: 768px) {
  .testimonial-item {
    flex: 0 0 45%;
  }
}

@media (min-width: 992px) {
  .testimonial-item {
    flex: 0 0 31%;
  }
}



/* blog */
.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.blog-img-box img {
  min-height: 250px;
}

.blog-excerpt p {
  margin-bottom: 0;
  font-size: 14px;
  color: #6c757d;
}

.hover-link:hover {
  color: #2c3e50 !important;
  padding-left: 5px;
  transition: 0.3s;
}



.btn-outline-primary {
  color: #005691;
  border-color: #005691;
  transition: 0.3s;
}

.btn-outline-primary:hover {
  background-color: #005691;
  color: white;
}

/* blog home */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* cart style */
:root {
  --primary: #0f5a96;
  --accent: #ff6b6b;
}

.modern-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.cart-item {
  transition: all 0.3s ease;
  border-radius: 20px;
}

.cart-item:hover {
  background-color: #f8f9fa;
}

/* .product-img-wrapper {
    width: 110px;
    height: 110px;
    position: relative;
  } */
.cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}


.qty-box {
  background: #eee;
  border-radius: 12px;
  padding: 5px;
  display: inline-flex;
  align-items: center;
}

.btn-qty {
  width: 32px;
  height: 32px;
  border: none;
  background: white;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.2s;
}

.btn-qty:hover {
  background: var(--primary);
  color: white;
}

.summary-sidebar {
  position: sticky;
  top: 110px;
  border: 2px solid var(--primary);
  border-radius: 24px;
  background: #fff;
}

@media (max-width: 576px) {

  .item-title {
    font-size: 0.95rem;
  }

  .cart-item {
    padding: 15px 10px;
  }
}


/* loader */
#global-site-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffffd0;
  /* White background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  /* Sab se upar */
  transition: opacity 0.6s ease, visibility 0.6s;
}

/* Modern Spinner Design */
.spinner-modern {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(0, 86, 145, 0.1);
  border-left-color: #005691;
  /* Aapka primary color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

.loading-text {
  display: block;
  font-weight: bold;
  color: #005691;
  letter-spacing: 2px;
  animation: pulse 1.5s infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.5;
  }
}

.loader-finished {
  opacity: 0;
  visibility: hidden;
}

/* product view  */
.var-btn.active {
  background-color: #1a1a1a !important;
  color: #fff !important;
  border-color: #1a1a1a !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.var-btn:hover:not(.active) {
  color: #005691;
  background-color: #f0f0f0;
  border-color: #1a1a1a;
}

/* Modal Rounding Fix */
#productViewModal .modal-content {
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 20px !important;
}


#quick-qty:focus {
  outline: none;
}


/* blog   */
:root {
  --primary-color: #0f5a96;
  --bg-light: #f8f9fa;
}

/* Blog Content Styling */
.blog-main-content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
}

.blog-main-content h2,
.blog-main-content h3 {
  color: var(--primary-color);
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.blog-main-content p {
  margin-bottom: 1.2rem;
}

.blog-main-content ul,
.blog-main-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

/* Hero Section */


.blog-feature-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

.category-badge {
  background: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.share-card {
  background: #ffffff;
  border: 1px solid #f1f1f1;
  border-radius: 20px;
  padding: 25px;
}

.share-link {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-left: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.2rem;
}

.text-share {
  color: #6c757d;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* cart style */
.breadcrumb {
  background: #f8f9fa;
  border: none !important;
}

.cart-item-card {
  transition: all 0.3s ease;
  border: 1px solid #eee !important;
  background: #fff;
}

.cart-item-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: #ddd !important;
}

.summary-sidebar {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

#phone::-webkit-outer-spin-button,
#phone::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-checkout {
  background: #005691;
  color: #fff !important;
  transition: all 0.3s;
  border: none;
}

.btn-checkout:hover {
  background: #005691;
  transform: translateY(-2px);
}

.qty-adjust {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  transition: 0.2s;
}

.qty-adjust:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.empty-cart-icon {
  font-size: 5rem;
  color: #dee2e6;
  margin-bottom: 20px;
}

.wishlist-card-modern {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wishlist-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

.wishlist-card-modern:hover .product-zoom {
  transform: scale(1.05);
}

.product-zoom {
  transition: transform 0.4s ease;
}

.remove-btn-hover:hover {
  background-color: #ffeded !important;
  transform: rotate(90deg);
}


/* product datils  */
.product-main-card {
  border: 1px solid #f0f0f0;
  background: #fff;
  border-radius: 12px;
}

.product-img-container {
  background: #f9f9f900;

  padding: 20px;
}

.variation-table-wrapper {
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.table-header-shipment {
  background: #005691;
  color: white;
  font-weight: 600;
  padding: 10px;
  font-size: 0.9rem;
}

.table-header-qty {
  background: #005691;
  color: white;
  font-weight: 600;
  padding: 10px;
  font-size: 0.9rem;
}

.shipment-label {
  background: #005691;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.var-btn {
  border: 1px solid #005691 !important;
  background: #fff;
  color: #005691;
  font-weight: 600;
  padding: 4px 12px;
  font-size: 0.8rem;
  border-radius: 2px !important;
  transition: 0.3s;
}

.var-btn:hover,
.var-btn.active {
  background: #005691 !important;
  color: #fff !important;
}

.qty-control-wrapper {
  background: #f0f0f0;
  border-radius: 50px;
  padding: 4px;
  display: inline-flex;
  align-items: center;
}

.qty-btn-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #005691;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-to-cart-main {
  background: #005691 !important;
  color: white !important;
  border: none;
  font-weight: bold;
  width: 100%;
  padding: 12px;
  border-radius: 4px;
  text-transform: none;
}

.no-caret::after {
  display: none !important;
}



/* order success */
.fw-black {
  font-weight: 900;
}

.transition-hover:hover {
  transform: scale(1.02);
}

/* Checkmark Animation */
.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #198754;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  margin: 10% auto;
  box-shadow: inset 0px 0px 0px #198754;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {

  0%,
  100% {
    transform: none;
  }

  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 40px #198754;
  }
}

@media print {

  nav,
  footer,
  .btn,
  .success-animation {
    display: none !important;
  }

  .card {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }
}



/* accout */
@media (min-width: 768px) {
  .sidebar {
    z-index: 1000;
  }
}

.avatar-circle {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #00897b 0%, #00bfa5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-soft-primary {
  background-color: rgba(13, 110, 253, 0.1);
}

.bg-soft-success {
  background-color: rgba(25, 135, 84, 0.1);
}

.action-card {
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.action-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
  background-color: #fff;
}

.active-link {
  background-color: #e8f0fe !important;
  color: #1a73e8 !important;
  border-radius: 0 50px 50px 0;
  margin-right: 15px;
  font-weight: 600;
}

.rounded-5 {
  border-radius: 1.5rem !important;
}


/* sidebar */
.nav-item-custom {
  color: #5f6368;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 0 50px 50px 0 !important;
  margin-right: 12px;
}

.nav-item-custom i {
  width: 20px;
  text-align: center;
}

.nav-item-custom:hover {
  background-color: #f8f9fa !important;
  color: #1a73e8;
}

.nav-item-custom.active {
  background-color: #e8f0fe !important;
  color: #1a73e8 !important;
}

.hover-danger:hover {
  background-color: #fef2f2 !important;
  border-radius: 0 50px 50px 0 !important;
}

@media (min-width: 768px) {
  .custom-sidebar {
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
  }
}

@media (max-width: 767.98px) {
  .avatar-circle {
    width: 80px;
    height: 80px;
  }

  #initials {
    font-size: 2rem;
  }

  main {
    margin-left: 0 !important;
    padding-bottom: 80px !important;
  }
}

.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* personal info */
.hover-bg-light:hover {
  background-color: #f8f9fa;
  cursor: pointer;
}

.transition-all {
  transition: all 0.2s ease-in-out;
}

#settingsForm .form-control:focus {
  background-color: #fff !important;
  border-bottom: 2px solid #0d6efd !important;
  border-radius: 0;
}

.bg-light-subtle {
  background-color: #f1f3f4 !important;
}


/* order history */
.table thead th {
  letter-spacing: 0.5px;
  background-color: #fcfcfc;
}

.table tbody tr {
  transition: background-color 0.2s ease;
}

.badge-status {
  padding: 6px 12px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.status-pending {
  background: #fff4e5;
  color: #b76e00;
}

.status-delivered {
  background: #e6f9ed;
  color: #007b2f;
}

.status-cancelled {
  background: #ffe9e9;
  color: #c53030;
}

.status-shipped {
  background: #e0f2fe;
  color: #0369a1;
}

.btn-view {
  padding: 5px 15px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-view:hover {
  background-color: #005691;
  color: white;
  transform: translateY(-2px);
}


/* 404 */
:root {
  --primary-color: #005691;
  --dark-blue: #1f2937;
}

.error-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, #f0fdf4 0%, #ffffff 100%);
  overflow: hidden;
  position: relative;
}

/* Background decorative circles */
.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0.05;
  z-index: 0;
}

.error-code {
  font-size: clamp(100px, 20vw, 180px);
  /* Responsive font size */
  font-weight: 900;
  background: linear-gradient(180deg, #e5e7eb 0%, #f9fafb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  line-height: 0.8;
}

.floating-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(40px, 10vw, 70px);
  color: var(--primary-color);
  animation: float 3s ease-in-out infinite;
  text-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

@keyframes float {

  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, -70%);
  }
}

.error-message {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: var(--dark-blue);
  font-weight: 800;
}

.btn-modern {
  padding: 14px 32px;
  border-radius: 16px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-shop-now {
  background: var(--primary-color);
  color: white;
  border: none;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
}

.btn-shop-now:hover {
  background: #005691;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4);
}

.btn-outline-custom {
  border: 2px solid #e5e7eb;
  color: #6b7280;
  background: transparent;
}

.btn-outline-custom:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: #f0fdf4;
}

@media (max-width: 576px) {
  .error-section {
    padding: 60px 0;
  }

  .btn-modern {
    width: 100%;
  }
}


/* search */
.search-parent {
  position: relative;
}

#user-search-results {
  z-index: 1000;
  border: none;
  overflow: hidden;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
  margin-top: 8px;
  max-height: 450px;
  overflow-y: auto;
  z-index: 1050;
  scrollbar-width: thin;
}

.search-header {
  background: #f8f9fa;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.5px;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid #f8f9fa;
  text-decoration: none !important;
}

.search-result-item:hover {
  background-color: #f4f9ff;
  padding-left: 20px;
}

.item-img-wrapper img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  background: #f8f9fa;
}

.item-details {
  flex: 1;
}

.item-name {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 14.5px;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-cat {
  font-size: 11px;
  background: #eef2f7;
  color: #5d7186;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
}

.item-price {
  font-size: 13px;
  font-weight: 700;
  color: #005691;
}

.arrow-wrapper {
  color: #d1d8e0;
  transition: transform 0.3s ease;
}

.search-result-item:hover .arrow-icon {
  color: #3498db;
  transform: translateX(3px);
}

/* ask question */
.askQuestion{
  position: absolute !important;
  top: 30% !important;
  background-color: #f3f3f3;
}