* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
}

/* HEADER */

#mainHeader {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: linear-gradient(120deg, #2664c0, #20c997, #0d2242);
  background-size: 300% 300%;
  animation: gradientFlow 18s ease infinite;
  transition: all 0.4s ease;
}

#mainHeader.scrolled {
  background: linear-gradient(120deg, #0d6efd, #20c997, #0d6efd);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}


.nav-container {
  max-width: 1300px;
  margin: auto;
  padding: 10px 40px;   /* was 18px — this was the bloat */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  background: rgba(32, 201, 151, 0.35);   /* soft teal glass */
  padding: 5px 10px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}




.brand img {
  height: 42px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: #150dfd;
}

.brand-sub {
  font-size: 11px;
  color: #e63946;
  letter-spacing: 0.8px;
}

/* NAV */

.nav-links a {
  margin: 0 16px;
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.nav-links a:hover {
  color: #eafff6;
}

.nav-container {
  background: transparent;
}




/* SOCIALS */

.nav-socials a {
  margin-left: 12px;
  font-weight: 600;
  text-decoration: none;
  color: white;
}

.brand {
  animation: slideFade 0.7s cubic-bezier(.25,.8,.25,1) forwards;
}

@keyframes slideFade {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.brand img {
  transition: transform 0.3s ease;
}

.brand:hover img {
  transform: scale(1.06);
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== PRODUCT SECTION ===== */

.product-section {
  position: relative;
  padding: 110px 60px;
  background: linear-gradient(135deg,#f3f9ff,#ecfdfb);
  overflow: hidden;
}

.product-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: linear-gradient(120deg,#0d6efd,#20c997);
  border-radius: 50%;
  opacity: 0.1;
  top: -100px;
  right: -150px;
  z-index: 1;
}

.product-section > * {
  position: relative;
  z-index: 2;
}

.product-section h2 {
  text-align: center;
  font-size: 36px;
  color: #0d6efd;
  margin-bottom: 20px;
}

/* ===== SEARCH ===== */

#searchBox {
  display: block;
  margin: 0 auto 25px;
  width: 300px;
  padding: 12px 16px;
  border-radius: 30px;
  border: 2px solid #0d6efd;
  outline: none;
}

#searchBox:focus {
  box-shadow: 0 0 12px rgba(13,110,253,.3);
}

/* ===== FILTERS ===== */

.product-filters {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.product-filters button {
  padding: 10px 22px;
  border-radius: 25px;
  border: 2px solid #0d6efd;
  background: white;
  color: #0d6efd;
  font-weight: 600;
  cursor: pointer;
  transition: .3s ease;
}

.product-filters button.active,
.product-filters button:hover {
  background: #0d6efd;
  color: white;
  box-shadow: 0 6px 20px rgba(13,110,253,.3);
}

.filter-indicator {
  position: absolute;
  bottom: -10px;
  width: 40px;
  height: 4px;
  background: linear-gradient(120deg,#0d6efd,#20c997);
  border-radius: 10px;
  transition: .3s ease;
}

/* ===== GRID ===== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  opacity: 0;
  transition: opacity .3s ease;
}

.product-grid.show { opacity: 1; }

/* ===== CARD ===== */

.product-card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 15px 40px rgba(0,0,0,.08);
  transition: .4s ease;
  opacity: 0;
  transform: translateY(30px) scale(.95);
}

.product-grid.show .product-card {
  animation: fadeUp .6s ease forwards;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 0 0 1px rgba(13,110,253,.2),
    0 15px 40px rgba(13,110,253,.35),
    0 0 30px rgba(32,201,151,.35);
}

@keyframes fadeUp {
  to { opacity:1; transform:translateY(0) scale(1); }
}

/* ===== IMAGE SLIDER ===== */

.product-img-box {
  height: 200px;
  background: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}

.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .6s ease;
}

.product-img.active { opacity: 1; }

/* ===== INFO ===== */

.product-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: #222;
}

.product-info p {
  font-size: 13px;
  color: #555;
  margin: 6px 0;
}

.product-info .tag {
  display: inline-block;
  background: #e9f1ff;
  color: #0d6efd;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.view-btn {
  display: block;
  margin-top: 15px;
  padding: 10px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(120deg,#0d6efd,#20c997);
  color: white;
  font-weight: 600;
  text-decoration: none;
}

/* ===== PAGINATION ===== */

.pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pagination button {
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  background: #0d6efd;
  color: white;
  cursor: pointer;
}

/* ===== QUICK VIEW MODAL ===== */
.quick-view-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 20, 40, 0.55);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.quick-view-modal {
  width: min(920px, 92%);
  background: white;
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 40px 100px rgba(0,0,0,.35);
  animation: modalPop .35s ease;
  position: relative;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(.85); }
  to   { opacity: 1; transform: scale(1); }
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 22px;
  font-size: 26px;
  border: none;
  background: none;
  cursor: pointer;
}

.quick-view-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
}

.quick-view-image-box {
  background: linear-gradient(135deg,#f3f9ff,#ecfdfb);
  border-radius: 20px;
  padding: 24px;
}

.quick-view-image-box img {
  width: 100%;
  border-radius: 14px;
  object-fit: contain;
}

.quick-view-info h2 {
  color: #0d6efd;
  margin-bottom: 10px;
}

.quick-view-info p {
  font-size: 14px;
  margin: 8px 0;
}

.quick-view-info ul {
  padding-left: 18px;
  margin-top: 8px;
}

.quick-view-info a {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 20px;
  border-radius: 22px;
  background: linear-gradient(120deg,#0d6efd,#20c997);
  color: white;
  font-weight: 600;
  text-decoration: none;
}



.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 26px;
}

@media (max-width: 900px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0d6efd;
    display: none;
    flex-direction: column;
    text-align: center;
    padding: 10px 0;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }
}
