  /* ==============================
         FONT & GLOBAL RESET
      ============================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html,
body {
  scroll-behavior: smooth;
  background: linear-gradient(135deg, #e0dfe2, #35d7dd);
  color: #333;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==============================
        CONTAINER
      ============================== */
.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

/* ==============================
        TOP BAR (Blue)
      ============================== */
.top-bar {
  background-color: #3097ee;
  color: #fff;
  padding: 12px 0;
}

.top-bar .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.top-bar .inner .left,
.top-bar .inner .right {
  display: flex;
  align-items: center;
}

.top-bar .inner .left a {
  color: #fff;
  margin-left: 5px;
  transition: color 0.3s ease;
}

.top-bar .inner .left a:hover {
  color: #ffd700;
}

/* Social Media Icons Styling */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 10px;
  font-size: 16px;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.social-icon:hover {
  transform: scale(1.15);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.35);
}

/* Original Colors */
.social-icon.facebook { background-color: #1877F2; }
.social-icon.instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.social-icon.youtube { background-color: #FF0000; }
.social-icon.tiktok { background-color: #000; }

/* ==============================
        MAIN HEADER (Dark Blue)
      ============================== */
.main-header {
  background-color: #0039a9;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
}

.main-header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 10px;
}

/* Left: Logo */
.main-header .left a img {
  height: 60px;
  border-radius: 0%;
  transition: transform 0.3s ease;
}

.main-header .left a img:hover {
  transform: scale(1.05);
}

/* Center: Search */
.main-header .center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

/* Search Group */
.search-group {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 650px;
  background-color: #fff;
  border-radius: 999px;
  border: 2px solid #6ec1ff;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.15);
}

.search-box {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
  padding-left: 12px;
}

.search-box i,
.search-box svg {
  flex-shrink: 0;
  font-size: 18px;
  color: #6ec1ff;
  margin-right: 10px;
}

.search-box input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 16px;
  outline: none;
  min-width: 0;
  border-radius: 0;
}

.search-box button {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #0d6efd, #6ec1ff);
  color: #fff;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 0 999px 999px 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.search-box button:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.35);
  background: linear-gradient(135deg, #0b53c7, #4bb0ff);
}

.search-group>*:not(:last-child) { border-right: none; }

.search-group:focus-within {
  border-color: #0d6efd;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

/* Right: Cart & My Account */
.main-header .right {
  display: flex;
  gap: 20px;
}

.main-header .right a {
  color: #000;
  background-color: #fff;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background 0.3s ease, transform 0.3s ease;
  font-size: 14px;
}

.main-header .right a:hover {
  background-color: #333;
  color: #fff;
  transform: scale(1.03);
}

.main-header .right i {
  margin-right: 5px;
  color: #0039a9;
  transition: color 0.3s ease;
}

.main-header .right a:hover i { color: inherit; }

/* ==============================
        RESPONSIVE MOBILE
      ============================== */
@media (max-width: 768px) {
  /* Top bar: stack elements in center */
  .top-bar .inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 10px 15px;
  }

  .top-bar .inner .left,
  .top-bar .inner .right {
    justify-content: center;
    gap: 3px;
  }

  /* Main header: vertical stack & centered */
  .main-header .inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .main-header .left { order: 3; }      /* Logo below social icons */
  .main-header .center { order: 4; width: 100%; } /* Search box below logo */
  .main-header .right { order: 5; justify-content: center; gap: 10px; flex-wrap: wrap; } /* Cart/My account below search */

  /* Adjust search box sizes */
  .search-group { max-width: 100%; }
  .search-box input { font-size: 14px; padding: 10px 12px; }
  .search-box button { padding: 10px 14px; font-size: 14px; }

  /* Social icons smaller */
  .social-icon { width: 40px; height: 40px; font-size: 16px; margin: 5px; }

  /* Optional: add spacing between WhatsApp, @shishupaila, FB icon */
  .top-bar .inner .left a:first-child { margin-top: 5px; }
  .top-bar .inner .left a:nth-child(2) { margin-top: 5px; }
  .top-bar .inner .left a:nth-child(3) { margin-top: 5px; }
}

@media (max-width: 480px) {
  .search-group { border-radius: 18px; }
  .search-box button { border-radius: 0 18px 18px 0; }
}

  /* ==============================
   BOTTOM NAVIGATION BAR
============================== */
.scroll-nav {
  background: linear-gradient(to top, #87CEEB, #1E90FF);
  padding: 1.25rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  z-index: 150;
}

.scroll-nav .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* ==============================
   NAV LINKS (DESKTOP)
============================== */
.scroll-nav ul.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.scroll-nav ul.nav-links li a {
  color: #f9f8f8;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.scroll-nav ul.nav-links li a:hover {
  background-color: #213e6a;
  transform: scale(1.05);
}

/* ==============================
   STICKY EFFECT
============================== */
.scroll-nav.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* ==============================
   HAMBURGER BUTTON
============================== */
.hamburger {
  display: none;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 1.4rem;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 2001;
}

.hamburger div {
  width: 100%;
  height: 0.25rem;
  background-color: #ffffff;
  border-radius: 3px;
  transition: all 0.35s ease;
}

/* ==============================
   MOBILE MENU
============================== */
@media (max-width: 992px) {

  /* Show hamburger */
  .hamburger {
    display: flex;
  }

  /* Hide desktop nav */
  .scroll-nav ul.nav-links {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;
    background: #0ea5e9;
    flex-direction: column;
    align-items: flex-start;
    padding: 4rem 1.25rem 1.25rem;
    gap: 1rem;
    transition: left 0.4s ease;
    z-index: 2000;
  }

  /* Menu open */
  .scroll-nav .container.active ul.nav-links {
    left: 0;
  }

  .scroll-nav ul.nav-links li {
    width: 100%;
  }

  .scroll-nav ul.nav-links li a {
    width: 100%;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }

  .scroll-nav ul.nav-links li a:hover {
    background: slateblue;
  }

  /* ==============================
     HAMBURGER → CROSS
  ============================== */
  .hamburger.active {
    position: fixed;
    top: 1rem;
    left: 220px;
    transform: none;
  }

  .hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* ==============================
     OVERLAY
  ============================== */
  .scroll-nav .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1900;
  }

  .scroll-nav .container.active ~ .overlay {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ==============================
   SMALL PHONES (≤400px)
============================== */
@media (max-width: 400px) {

  .scroll-nav ul.nav-links {
    width: 220px;
    left: -220px;
    padding: 3.5rem 1rem 1rem;
  }

  .hamburger {
    width: 2rem;
    height: 1.25rem;
  }

  .hamburger div {
    height: 0.2rem;
  }

  .hamburger.active {
    left: 180px;
    top: 0.9rem;
  }

  .scroll-nav ul.nav-links li a {
    font-size: 0.875rem;
  }
}




  /* ==============================
        FOOTER STYLING
      ============================== */
  /* ===============================
   FOOTER STYLES
   =============================== */
  footer {
    background-color: #5aa1ed;
    color: white;
    padding: 40px 20px 100px;
    /* bottom padding to avoid overlap with copyright */
    text-align: center;
    width: 100%;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
  }

  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
  }

  .footer-logo img {
    width: clamp(100px, 13vw, 160px);
    /* scales with screen size */
    height: auto;
    border-radius: 0%;
    border: 2px solid white;
    transition: transform 0.3s ease;
  }

  .footer-logo img:hover {
    transform: scale(1.1);
  }

  .footer-logo p {
    font-size: clamp(14px, 1.2vw, 16px);
    /* responsive font */
    font-weight: 300;
    margin-top: 10px;
  }

  .footer-links h3,
  .footer-contact h3 {
    font-size: clamp(18px, 1.5vw, 20px);
    margin-bottom: 15px;
  }

  .footer-links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }

  .footer-links ul li a {
    color: whitesmoke;
    text-decoration: none;
    font-size: clamp(14px, 1.1vw, 16px);
    padding: 8px 0;
    display: block;
    transition: 0.3s ease;
  }

  .footer-links ul li a:hover {
    color: #213e6a;
    padding-left: 10px;
  }

  .footer-contact p {
    font-size: clamp(14px, 1.1vw, 16px);
    margin-bottom: 10px;
  }

  .social-icons a {
    color: white;
    font-size: clamp(20px, 2vw, 28px);
    margin: 0 12px;
    transition: transform 0.3s ease, color 0.3s ease;
    text-decoration: none;
  }

  .social-icons a:hover {
    transform: scale(1.2);
  }

  /* ===============================
   COPYRIGHT FIXED BOTTOM
   =============================== */
  .footer-copyright {
    background-color: #2067a0;
    padding: 12px 0;
    text-align: center;
    color: white;
    font-size: clamp(12px, 1vw, 14px);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  /* ===============================
   FULL RESPONSIVE STYLES
   =============================== */
  .footer-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  @media (max-width: 1024px) {
    .footer-container {
      gap: 50px;
    }
  }

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

    .footer-logo img {
      width: clamp(100px, 20vw, 140px);
    }

    .social-icons a {
      font-size: clamp(20px, 6vw, 26px);
      margin: 0 16px;
    }

    .footer-social p {
      margin: 7px 0;

    }

    .footer-copyright p {
      font-size: 0.8rem;

    }
  }

  @media (max-width: 480px) {

    .footer-links ul li a,
    .footer-contact p,
    .footer-logo p {
      font-size: clamp(13px, 4vw, 15px);
    }

    .social-icons a {
      font-size: clamp(18px, 7vw, 24px);
      margin: 0 16px;
    }

    footer {
      padding: 30px 15px 100px;
    }
  }



  /* ==============================
        PAGINATOR STYLING & ANIMATIONS
      ============================== */
  .paginator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    flex-wrap: wrap;
  }

  .page-link,
  .page-number {
    text-decoration: none;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(45deg, #007bff, #00d4ff);
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
    cursor: pointer;
  }

  .page-link:hover,
  .page-number:hover {
    background: linear-gradient(45deg, #0056b3, #0099cc);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.5);
  }

  .page-number {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 15px;
  }

  .page-number.active {
    background: linear-gradient(45deg, #ff7eb3, #ff758c);
    color: #fff;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(255, 118, 150, 0.5);
  }

  @keyframes bounce {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-10px);
    }
  }

  .page-link:hover,
  .page-number:hover {
    animation: bounce 0.4s ease-in-out;
  }

  @media (max-width: 768px) {
    .paginator {
      flex-direction: column;
      gap: 8px;
    }

    .page-link,
    .page-number {
      padding: 8px 14px;
      font-size: 14px;
    }
  }

  @keyframes bounceIn {
    0% {
      opacity: 0;
      transform: translateY(50px) scale(0.85);
    }

    60% {
      opacity: 1;
      transform: translateY(-15px) scale(1.05);
    }

    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .product-card {
    opacity: 0;
    transform: translateY(50px) scale(0.85);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .product-card.visible {
    opacity: 1;
    animation: bounceIn 1.5s ease-in-out forwards;
  }


  /* WhatsApp button initially hidden */
  .whatsapp-button {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9999;

    opacity: 1;
    pointer-events: auto;
    /* ✅ FIX */
  }


  .whatsapp-button.show {
    opacity: 1;
    /* show after scrolling */
    pointer-events: auto;
    /* clickable */
  }

  /* Hover effect */
  .whatsapp-button:hover {
    background-color: #128c7e;
    transform: scale(1.1);
  }