@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
html{
    scroll-behavior: smooth;
}
/* ================= FULL SCREEN PREMIUM LOADER ================= */

.lux-loader{
  position:fixed;
  inset:0;
  width:100vw;
  height:100vh;
  height:100dvh;
  z-index:2147483647;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at top left,#0f172a,#020617 55%),
    linear-gradient(135deg,#022c22,#0f172a);
  transition:opacity .9s ease, visibility .9s ease;
}

.lux-loader.hide{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

/* animated glow blobs */
.lux-bg{
  position:absolute;
  inset:-25%;
  background:
    radial-gradient(circle,#22c55e55 0%,transparent 26%),
    radial-gradient(circle,#3b82f655 0%,transparent 30%),
    radial-gradient(circle,#10b98144 0%,transparent 28%);
  background-size:30% 30%,35% 35%,28% 28%;
  background-position:10% 20%,80% 30%,50% 80%;
  filter:blur(38px);
  animation:floatGlow 10s linear infinite alternate;
}

@keyframes floatGlow{
  0%{transform:translateY(0) scale(1);}
  100%{transform:translateY(-45px) scale(1.08);}
}



/* star particles */
.lux-particles,
.lux-particles::before,
.lux-particles::after{
  position:absolute;
  inset:0;
  content:"";
}

.lux-particles::before,
.lux-particles::after{
  background-image:
    radial-gradient(#ffffffcc 1px, transparent 1px);
  background-size:32px 32px;
}

.lux-particles::before{
  opacity:.12;
  animation:moveStars 16s linear infinite;
}

.lux-particles::after{
  opacity:.06;
  transform:scale(1.45);
  animation:moveStars 26s linear infinite;
}

@keyframes moveStars{
  from{transform:translateY(0);}
  to{transform:translateY(-130px);}
}

/* center content */
.lux-center{
  position:relative;
  z-index:3;
  text-align:center;
  color:#fff;
  width:min(90%,460px);
  padding:20px;
}

/* rotating medical logo */
.logo-ring{
  width:120px;
  height:120px;
  margin:0 auto 24px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:
    conic-gradient(from 0deg,#22c55e,#3b82f6,#22c55e);
  animation:spinRing 2.2s linear infinite;
  box-shadow:
    0 0 24px #22c55e55,
    0 0 60px #3b82f633;
}

.logo-core{
  width:88px;
  height:88px;
  border-radius:50%;
  background:#fff;
  color:#16a34a;
  display:grid;
  place-items:center;
  font-size:46px;
  font-weight:900;
  box-shadow:inset 0 0 18px #00000015;
}

@keyframes spinRing{
  to{transform:rotate(360deg);}
}

/* brand */
.brand-name{
  margin:0;
  font-size:34px;
  line-height:1.1;
  letter-spacing:4px;
  font-weight:800;
  text-shadow:0 0 14px #22c55e66;
}

.brand-sub{
  margin:10px 0 26px;
  font-size:14px;
  opacity:.88;
  letter-spacing:3px;
  text-transform:uppercase;
}

/* progress */
.progress-wrap{
  width:100%;
  height:8px;
  border-radius:30px;
  overflow:hidden;
  background:#ffffff18;
  box-shadow:inset 0 0 10px #00000035;
  backdrop-filter:blur(8px);
}

.progress-bar{
  width:0%;
  height:100%;
  border-radius:30px;
  background:linear-gradient(90deg,#22c55e,#3b82f6,#22c55e);
  background-size:220% 100%;
  animation:
    loadBar 4s ease forwards,
    shineBar 1s linear infinite;
}

@keyframes loadBar{
  from{width:0%;}
  to{width:100%;}
}

@keyframes shineBar{
  from{background-position:0 0;}
  to{background-position:220% 0;}
}

.loading-text{
  margin-top:18px;
  font-size:15px;
  opacity:.92;
  animation:pulseText 1.4s ease infinite;
}

@keyframes pulseText{
  0%,100%{opacity:.55;}
  50%{opacity:1;}
}

/* ================= MOBILE ================= */

@media (max-width:768px){

  .logo-ring{
    width:95px;
    height:95px;
  }

  .logo-core{
    width:70px;
    height:70px;
    font-size:34px;
  }

  .brand-name{
    font-size:24px;
    letter-spacing:2px;
  }

  .brand-sub{
    font-size:11px;
    letter-spacing:2px;
    margin:8px 0 20px;
  }

  .loading-text{
    font-size:13px;
  }

  .progress-wrap{
    height:7px;
  }
}


@media only screen and (min-width: 768px) {


/* Hide expandable content by default */

#welcome-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 75vh; /* give some height */
  background: url('pill.jpg') no-repeat center center/cover;
  background-attachment: fixed; /* makes background "move" slower than scroll */
  text-align: center;
}

#welcome-section {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: background-position 0.2s linear;
}

.welcome-container {
  background: transparent; /* translucent glass */
  color: #010101;
  max-width: 700px;
  padding: 40px 20px;

}


.welcome-container h1 {
  font-size: 3rem;
  color: #c4c4c4;
  text-shadow: #000000 2px 2px 4px;
  margin-bottom: 40px;
  padding: 14px 20px;
    opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;

}


/* Generic fade-on-scroll utility */
.fade-scroll {
  opacity: 0;
  transform: translateY(60px);
  filter: blur(6px);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;
}

.fade-scroll.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;

}



.welcome-container p {
  font-size: 1.2rem;
    padding: 14px 20px;
      margin-bottom: 40px;

  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  color: #181111;
}

.welcome-container h1,
.welcome-container p,
.welcome-container a {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;
}

.welcome-container.visible h1,
.welcome-container.visible p,
.welcome-container.visible a {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.welcome-container.visible h1 { transition-delay: 0.5s; }
.welcome-container.visible p { transition-delay: 1s; }
.welcome-container.visible a { transition-delay: 1.5s; }

.shop-now-btn {
    opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  text-decoration: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000000;
  background: #fff;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 10px #000000;
}

.shop-now-btn:hover {
  box-shadow: 0 5px 10px #6f5c5c;
  background: #000000;
  color: #ffecec;
}

.topnav {      
  position: fixed;       /* Fixed so it stays visible */
  bottom: 20px;          /* Position near bottom */
  right: 20px;           /* Move it to the right corner */
  background-color: transparent;
  z-index: 1000;
}

.up {
  border: 0.1rem solid black;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  text-decoration: none;
  box-shadow: #7b7f7c 0px 0px 10px;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.up:hover {
  background-color: black;
  color: white;
  box-shadow: 0px 0px 15px #555;
}

.topnav a:hover {
  background: rgba(255, 255, 255, 0.15); /* translucent white */
  border: 1px solid rgba(255, 255, 255, 0.25); /* soft border */
  backdrop-filter: blur(6px) saturate(150%); /* glass/frosted look */
  -webkit-backdrop-filter: blur(6px) saturate(150%); /* Safari support */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* subtle depth */
  color: #151212; /* keep text white for contrast */
  transition: all 0.3s ease;
  font-weight: 600;
}





:root {
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.75);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  --blur: blur(14px) saturate(160%);
  --accent: #8bff9b;
  --danger: #ff4d4f;
  --danger-hover: #e63c3f;
}



/* HEADER */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

/* LEFT / CENTER / RIGHT */
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
}

.nav-left {
  position: relative;
  gap: 12px;
}

.nav-center {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.toolbar.search-toolbar {
  width: 100%;
  max-width: 1450px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.search-wrap {
  position: relative;
  width: 100%;
  max-width: 620px;
    z-index: 10000; /* force it above navbar layers */

}



#search {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(180, 178, 178, 0.18);
  background: rgba(255,255,255,0.14);
  color: #000000;
  outline: none;

}

#search::placeholder {
  color: rgba(0, 0, 0, 0.941);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  max-height: 280px;
  overflow-y: auto;
  padding: 8px;
  border-radius: 16px;
  background: rgba(20, 28, 45, 0.96);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);

  z-index: 9999;
}

.search-dropdown.show {
  display: block;
}

.search-item {
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-item:hover {
  background: rgba(255,255,255,0.08);
}

.search-item-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.search-item-meta {
  margin-top: 4px;
  color: rgba(255,255,255,0.65);
  font-size: 12px;
}

.search-empty {
  padding: 12px;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}






.nav-right {
  justify-content: flex-end;
  gap: 14px;
}

/* GLASS COMMON */
.login-btn,
.icon-cart,
.mobile-menu a,
.dropdown-content a,
#logoutBtn,
.nav-search {
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

/* MENU ICON */
.menu-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.menu-icon:hover {
  transform: translateY(-1px);
}

.menu-icon span {
  width: 100%;
  height: 2px;
  background: rgb(0, 0, 0);
  border-radius: 999px;
  transition: 0.25s ease;
}

/* MOBILE MENU */
.mobile-menu {
  position: absolute;
  top: 62px;
  left: 0;
  min-width: 220px;
  padding: 12px;
  border-radius: 18px;
  display: none;
  flex-direction: column;
  gap: 10px;
  background: rgba(18, 18, 18, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.mobile-menu.show {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 12px;
  transition: 0.25s ease;
}

.mobile-menu a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* SEARCH */
.nav-search-wrap {
  position: relative;
  width: 100%;
  max-width: 620px;
}

.nav-search {
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: 999px;
  overflow: hidden;
  padding: 4px;
}

.nav-search input {
  flex: 1;
  min-width: 300px;
  height: 48px;
  border: none;
  outline: none;
  padding: 0 ;
  background: transparent;
  color: white;
  font-size: 15px;
}

.nav-search input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.nav-search button {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  cursor: pointer;
  transition: 0.25s ease;
}

.nav-search button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* SEARCH DROPDOWN */
.nav-search-dropdown,
.nav-search-loader {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  border-radius: 18px;
  padding: 12px;
  background: rgba(20, 20, 20, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  display: none;
  z-index: 30;
}

.nav-search-dropdown.show,
.nav-search-loader.show {
  display: block;
}

.search-loader-card {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
}

.search-loader-line {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 8px;
}

.w-70 { width: 70%; }
.w-45 { width: 45%; }
.w-60 { width: 60%; }
.w-35 { width: 35%; }
.w-75 { width: 75%; }
.w-50 { width: 50%; }

/* AUTH */
.dropdown {
  position: relative;
}

.login-btn {
  height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  color: rgb(0, 0, 0);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
  white-space: nowrap;
}



.login-btn:hover {
  color: black;
  transform: translateY(-1px);
  transition: all 0.55s ease;
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 190px;
  padding: 10px;
  border-radius: 18px;
  display: none;
  flex-direction: column;
  gap: 10px;
  background: rgba(18, 18, 18, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.dropdown.active .dropdown-content {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.dropdown-content a,
#logoutBtn {
  width: 100%;
  text-decoration: none;
  text-align: center;
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.25s ease;
}


.dropdown-content a:hover {
  color: var(--accent);
}

#logoutBtn {
  border: 1px solid rgba(255, 77, 79, 0.35);
  background: rgba(255, 77, 79, 0.9);
}


#logoutBtn:hover {
  background: var(--danger-hover);
}

/* CART */
.icon-cart {
  position: relative;
  width: 52px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
}

.icon-cart:hover {
  transform: translateY(-1px);
}

.icon-cart svg {
  width: 24px;
  height: 24px;
}

.icon-cart span {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ffffff;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* OVERLAY */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 900;
  display: none;
}

.menu-overlay.show {
  display: block;
}

/* ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {

  .nav-search-wrap {
    max-width: 100%;
  }

  .login-btn {
    padding: 0 14px;
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 0;
    width: 100%;
  }



  .nav-search input {
    font-size: 14px;
    padding: 0 12px;
  }

  .icon-cart {
    width: 48px;
  }

  .login-btn {
    height: 44px;
    padding: 0 12px;
  }

  .menu-icon {
    width: 44px;
    height: 44px;
  }
}



#home {
    display: flex;
    height: 65dvh;
    background: linear-gradient(to top, #D2E2FB 30%, #86A8DB);
    position: relative;
    overflow: hidden;
}



#home img {
    position: absolute;
    bottom: 0;
    width: 100%;
    pointer-events: none;
}

#home .title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
      color: #c4c4c4;
  text-shadow: #000000 2px 2px 4px;
    font-size: 80px;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
}


body{
    margin: 0;
    font-family: Poppins;
}
#container{
    width: 100wh;
    margin: auto;
    text-align: center;
    padding-top: 5px;
    transition: transform .5s;
}
svg{
    width: 30px;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.icon-cart{
    display: flex;
    position: absolute;
    cursor: pointer;
    right: 2%;
     text-decoration: none;
  font-size: 14px;
  padding: 5px;
  border-radius: 99px;
  color: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(1, 0, 0, 0.25);
  backdrop-filter: blur(6px) saturate(150%);
  -webkit-backdrop-filter: blur(6px) saturate(150%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}
.icon-cart span{
    position: absolute;
    background-color: red;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    top: 50%;
    right: -20px;
    
}
.title{
    font-size: xx-large;
}


.product-buttons {
  display: flex;
  gap: 10px; /* space between buttons */
  justify-content: center; /* center them under product */
  margin-top: 10px;
    width: 20%;

}

.product-buttons .addCart,
.product-buttons .see {
  flex: 1; /* optional: make buttons same width */
  display: flex;
  align-items: center;
  justify-content: center;
}

.item .see {
  opacity: 0;
  background-color: black;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  color: #000;
}

.item:hover .see{
  opacity: 1;
  background-color: #d5dcd7;
}
.item:hover  .see img {
  display: flex;

}

.item .see img {
  display: flex;
  width: 18px;
  height: 18px;
  filter: invert(66%) sepia(81%) saturate(2013%) hue-rotate(161deg)
    brightness(96%) contrast(99%);
  transition: 0.3s;
}

.item .see:hover img {
  color: #000;
  display: flex;
}

.grid .card img {
    display: none;
    width: 90%;
    filter: drop-shadow(0 15px 15px #0009);
    transition: width 0.3s ease, filter 0.3s ease; /* Add transition for smooth effect */
}

.grid .item img:hover {

    width: 100%; /* Increase width on hover */
}



.grid{
  height: auto;
  display: grid;
    max-width: 90%;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px 50px;
    padding: 60px 80px;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.grid.visible {
  opacity: 1;
  transform: translateY(0);
}



.grid .card{
    background-color: #e8e8ea9d;
    box-shadow: inset 0px -5px 10px #0003;
    padding: 15px 10px;
    height: 90%;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.3s ease;
    justify-content: center;
    text-align: center;
    transition: all 0.8s ease;

}

.grid .card:hover {
  transform: translateY(-5px);
    box-shadow: inset 10px -5px 10px #0003;
}

.grid .card h2{
    font-weight: 900;
    font-size: large;
    margin: 5px 0; /* Add margin for better spacing */
}

.grid .card .price{
    letter-spacing: 7px;
    font-size: large;
    font-weight: 550;
    color: #000;
}
.content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

/* ===== Products Toolbar & Status ===== */

#container {
  max-width: 1200px;
  margin: 5.6rem auto 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--card2, #ffffff);
  border-radius: 32px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

/* Top toolbar row */
#container .toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Search + selects share same base style */
#container .toolbar input,
#container .toolbar select {
  flex: 1 1 180px;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
  outline: none;
  font-size: 0.9rem;
  color: #111;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

#container .toolbar input::placeholder {
  color: var(--muted, #9b9b9b);
}

#container .toolbar input:focus,
#container .toolbar select:focus {
  border-color: var(--brand, #1f8cff);
  box-shadow: 0 0 0 2px rgba(31, 140, 255, 0.15);
  background: #fff;
}

/* Refresh button */
#container .toolbar .primary#refreshBtn {
  flex: 0 0 auto;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: var(--brand, #1f8cff);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}

#container .toolbar .primary#refreshBtn:hover {
  background: #1672d0;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(22, 114, 208, 0.25);
}

#container .toolbar .primary#refreshBtn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Status text under toolbar */
#topStatus {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--muted, #777777);
}





.content .title{
  font-size: 25px;
  padding: 1rem;
}


    .muted{color:black;font-size:14px;}

    .footerbar{
      cursor: pointer;
      display:flex;align-items:center;justify-content:center;gap:10px;
      margin:48px 0 30px; z-index: 100;
    }
    .status{margin-top:10px;font-size:14px;align-items:center;justify-content:center}
    button{
      padding:10px 14px; border-radius:12px; border:1px solid var(--line);
      background:#1a1a1a; color:#fff; cursor:pointer; font-weight:600;
      transition:.2s; white-space:nowrap;
    }
    button:hover{transform:translateY(-1px); border-color:#333;}
    button.primary{background:var(--brand); border-color:transparent;}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.show-more-btn {
  display: block;
  margin: 20px auto;
  padding: 10px 25px;
  background: #353432;
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.show-more-btn:hover {
  background: #00ffaa;
  color: #000;
}

.filter-buttons {
  text-align: center;
  margin-top: 100px;
  margin-bottom: 50px;
  opacity: 1;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.filter-buttons.visible {
  opacity: 0;
  transform: translateY(0);
}

.filter-btn {
  background: #353432;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 0 8px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.filter-btn:hover {
  background: #00ffaa;
  color: #000;
}

.filter-btn.active {
  background: #00ffaa;
  color: #000;
  box-shadow: 0 5px 15px rgba(0, 255, 170, 0.4);
}























/* --- PRODUCT POPUP (Glassmorphism) --- */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* dark overlay behind glass */
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.popup-content {
  background: rgba(255, 255, 255, 0.08); /* translucent glass */
  border: 1px solid rgba(255, 255, 255, 0.2); /* subtle border */
  border-radius: 25px;
  padding: 30px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); /* subtle depth */
  backdrop-filter: blur(15px); /* main blur */
  -webkit-backdrop-filter: blur(15px); /* Safari support */
  animation: popupFade 0.4s ease;
  cursor: default; /* prevent closing when clicking inside */
}


.popup-content img {
  display: none;
  width: 140px;
  height: 140px;
  border-radius: 15px;
  margin-bottom: 15px;
  object-fit: contain;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4); /* lifted effect */
  transition: transform 0.3s ease;
}

.popup-content img:hover {
  transform: scale(1.05);
}

.popup-content h2 {
  font-size: 1.5rem;
  margin: 10px 0;
  color: #ffffff;
}

.popup-content p {
  color: #eee;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.popup-content #popupPrice {
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #fff;
}

#popupAddCart {
  background: rgba(255, 255, 255, 0.85);
  color: #000;
  border: none;
  border-radius: 50px;
  padding: 10px 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px #000000;
}

#popupAddCart:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0px 6px #ffffff;
  color: #000;
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  color: white;
  cursor: pointer;
  transition: color 0.3s;
}

.close-popup:hover {
  color: #00ffaa;
}

/* Fade animation */
@keyframes popupFade {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 100px;
}

/* Reuse your existing heading style + tweak if needed */
.section-header .heading {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: black; /* or var(--text) if you have one */
}

/* "View All Products" pill button/link */
.footerbar .viewall {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.footerbar .viewall:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
  background: #f5f5f5;
}






.features-section {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  flex-wrap: wrap;
  padding: 40px 40px;
  background: #ffffff;
  border-radius: 150px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin: 40px auto;
  max-width: 1300px;
  margin-top: -50px;
  z-index: 10;
  position: relative;
}

.feature {
  display: flex;
  align-items: center;
  flex: 1 1 250px;
  padding: 0px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  gap: 30px;

}

.feature:hover {
  transform: translateY(-5px);
}

.icon-circle {
  background: #e8f0ff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle img {
  width: 30px;
  height: 30px;
}

.icon-circle.light-green {
  background: #e6f8ee;
}

.icon-circle.peach {
  background: #fff0eb;
}

.icon-circle.yellow {
  background: #fffce6;
}

.feature-text h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #111;
  font-weight: 700;
}

.feature-text p {
  margin-top: 5px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}


#chatbotLauncher {
  position: fixed;
  bottom: 90px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
  cursor: pointer;
  z-index: 200000;
  font-size: 24px;
}

#chatbotPanel {
  position: fixed;
  bottom: 160px;
  right: 22px;
  width: 360px;
  max-width: calc(100vw - 24px);
  height: 500px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
  z-index: 200001;
}

#chatbotHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  font-weight: 700;
  color: #111;
  background: rgba(255,255,255,0.35);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

#chatbotClose {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #111;
}

#chatbotMessages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255,255,255,0.08);
}

.chat-msg {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 16px;
  line-height: 1.4;
  font-size: 14px;
  white-space: pre-wrap;
}

.chat-user {
  align-self: flex-end;
  background: #1f8cff;
  color: white;
}

.chat-bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.82);
  color: #111;
}

#chatbotForm {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.28);
  border-top: 1px solid rgba(0,0,0,0.06);
}

#chatbotInput {
  flex: 1;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  padding: 10px 14px;
  outline: none;
  font-size: 14px;
}

#chatbotForm button {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  background: #1f8cff;
  color: white;
  cursor: pointer;
}


.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  min-height: 64px;
  overflow: visible !important;
}

.menu-icon {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 12px;
  background: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-icon svg {
  width: 204px;
  height: 24px;
}





.nav-search-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 54vw);
  z-index: 10001;
}

.nav-search-wrap {
  position: relative;
  width: 100%;
  overflow: visible !important;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 16px;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 8px 26px rgba(0,0,0,0.12);
}

.nav-search input {
  flex: 1;
  height: 38px;
  border: none;
  outline: none;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 14px;
  background: rgba(255,255,255,0.9);
  color: #111;
}

.nav-search button {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 12px;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.nav-search-loader,
.nav-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  display: none;
  border-radius: 16px;
  overflow: hidden;
  z-index: 10005;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
  border: 1px solid rgba(0,0,0,0.06);
}

.nav-search-loader.show,
.nav-search-dropdown.show {
  display: block;
}

.search-loader-card {
  position: relative;
  padding: 12px;
  border-radius: 12px;
  margin: 8px;
  overflow: hidden;
  background: rgba(245,247,255,0.95);
}

.search-loader-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.85) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: shimmer 1.1s infinite;
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

.search-loader-line {
  height: 10px;
  border-radius: 999px;
  background: #dbe4f0;
  margin-bottom: 8px;
}

.search-loader-line:last-child {
  height: 8px;
  margin-bottom: 0;
  background: #e9eef6;
}

.w-70 { width: 70%; }
.w-60 { width: 60%; }
.w-75 { width: 75%; }
.w-50 { width: 50%; }
.w-45 { width: 45%; }
.w-35 { width: 35%; }

.nav-search-item {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  cursor: pointer;
  background: rgba(255,255,255,0.95);
}

.nav-search-item:last-child {
  border-bottom: none;
}

.nav-search-item:hover {
  background: #f5f8ff;
}

.nav-search-item-title {
  font-weight: 700;
  color: #162b52;
  font-size: 14px;
}

.nav-search-item-meta {
  font-size: 12px;
  color: #60708d;
  margin-top: 3px;
}

.icon-cart {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  z-index: 10002;
}

.icon-cart svg {
  width: 22px;
  height: 22px;
}

.icon-cart span {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff4d4d;
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-search-center {
    width: min(190px, 42vw);
  }

  .nav-search input {
    height: 34px;
    font-size: 12px;
    padding: 0 10px;
  }

  .nav-search button
  .menu-icon,
  .icon-cart {
    width: 36px;
    height: 36px;
  }
}


.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 28, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
  animation: popupFadeIn 0.28s ease;
}

.premium-popup {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25),
    0 8px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  animation: popupSlideUp 0.32s ease;
}

.popup-image-wrap {
  position: relative;
  min-height: 420px;
  background:
    radial-gradient(circle at top left, rgba(120, 255, 196, 0.28), transparent 35%),
    radial-gradient(circle at bottom right, rgba(113, 170, 255, 0.22), transparent 35%),
    linear-gradient(145deg, #f8fbff, #ecf5ff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.popup-image-wrap img {
  display: none;
  width: 100%;
  max-width: 360px;
  max-height: 340px;
  object-fit: contain;
  border-radius: 22px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.15));
  transform: scale(1);
  transition: transform 0.35s ease;
}

.popup-image-wrap:hover img {
  display: none;
  transform: scale(1.04);
}



/* ===== HAMBURGER ===== */
/* ===== MENU PANEL ===== */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 260px;
  height: 90vh;
  padding: 90px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(
    145deg,
    rgba(20, 20, 30, 0.85),
    rgba(40, 40, 60, 0.65)
  );
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  transform: translateX(-100%) rotateY(25deg) scale(0.95);
  transform-origin: left center;
  transition:
    transform 0.6s cubic-bezier(0.22, 1.2, 0.36, 1),
    box-shadow 0.4s ease;
  box-shadow:
    30px 0 60px rgba(0, 0, 0, 0.6),
    inset -1px 0 0 rgba(255,255,255,0.1);
  z-index: 1400;
}

.mobile-menu.open {
  transform: translateX(0) rotateY(10deg) scale(1);
  box-shadow:
    40px 0 80px rgba(0, 0, 0, 0.7),
    inset -1px 0 0 rgba(255,255,255,0.15);
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateX(-30px) scale(0.95);
  transition: all 0.4s ease;
}

.mobile-menu.open a:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-menu.open a:nth-child(2) {
  transition-delay: 0.2s;
}
.mobile-menu.open a:nth-child(3) {
  transition-delay: 0.3s;
}

.mobile-menu.open a {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* =========================
   FAVORITES + ORDERS SECTION
========================= */

#favorites-section,
#orders-section {
  width: 100%;
  padding: 24px 0 10px;
}

#favorites-section h2,
#orders-section h2 {
  width: min(1200px, 92%);
  margin: 0 auto 16px;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
}

/* =========================
   HORIZONTAL SCROLL CONTAINERS
========================= */

#favoritesGrid,
#ordersGrid {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 8px 4px 20px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

#favoritesGrid::-webkit-scrollbar,
#ordersGrid::-webkit-scrollbar {
  display: none;
}

/* fixed card width for horizontal scroll */
#favoritesGrid .favorite-card,
#ordersGrid .order-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

/* =========================
   SHARED CARD LOOK
========================= */

.favorite-card,
.order-card {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* =========================
   FAVORITE CARD
========================= */

.favorite-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.favorite-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.14);
}

.favorite-thumb {
  width: 100%;
  height: 220px;
  background: linear-gradient(145deg, #f8fbff, #ecf4ff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.favorite-thumb img {
  display: none;
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.favorite-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.favorite-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.favorite-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

.favorite-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.favorite-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.favorite-note {
  width: 100%;
  min-height: 44px;
  resize: vertical;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
}

.favorite-note::placeholder {
  color: #94a3b8;
}

.favorite-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.favorite-btn {
  flex: 1;
  min-width: 90px;
  border: none;
  border-radius: 14px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.favorite-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.favorite-btn.cart {
  background: #111827;
  color: #fff;
}

.favorite-btn.view {
  background: #e2e8f0;
  color: #0f172a;
}

.favorite-btn.remove {
  background: #fee2e2;
  color: #b91c1c;
}

/* =========================
   ORDER CARD
========================= */
/* 1. THE MAIN CARD - Solid & Structured */
.order-card {
  padding: 16px;
  background: #ffffff;
  border: 1.5px solid #f1f5f9; /* Subtle but defined border */
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  height: 330px; /* Fixed height for consistency */
  justify-content: space-between; /* This is the key to no empty space */
  transition: all 0.3s ease;
}

.order-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #e2e8f0;
}

/* 2. THE ITEM TRACK - Horizontal Scroll */
.order-items-wrap {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0;
  margin: 12px 0;
  scrollbar-width: none; /* Hide scrollbar for clean look */
}

.order-items-wrap::-webkit-scrollbar { display: none; }

.order-item {
  padding: 11px;
  box-shadow: 0 2px 0px rgba(0, 3, 3, 0.3);
  border: 0.7px solid #000 ;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.order-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}

/* 3. INFO & STATUS - Tight Hierarchy */
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.order-header h3 {
  font-size: 16px;
  margin: 0;
  color: #1e293b;
  font-weight: 700;
}

/* 4. TOTAL & ACTION - Anchored Bottom */
.order-summary {
  background: #f8fafc;
  padding: 12px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-summary span:last-child {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.reorder-btn {
  width: 100%;
  padding: 14px 0;
  background: #0f172a;
  border-radius: 14px;
  font-weight: 700;
  margin-top: 12px;
  letter-spacing: 0.5px;
}


/* =========================
   EMPTY STATES
========================= */

.favorite-empty,
.order-empty {
  flex: 0 0 100%;
  text-align: center;
  padding: 36px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 600;
  color: #334155;
}

.favorite-link-btn {
  display: inline-block;
  margin-top: 12px;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 700;
}

/* =========================
   OPTIONAL MINI GRID SPACING
========================= */

.home-mini-grid {
  gap: 28px;
  padding-top: 10px;
}



/* =========================
   FORCE HORIZONTAL FAVORITES + ORDERS
========================= */

#favorites-section,
#orders-section {
  width: 100%;
  padding: 24px 0 10px;
}

#favorites-section h2,
#orders-section h2 {
  width: min(1200px, 92%);
  margin: 0 auto 16px;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
}

#favoritesGrid,
#ordersGrid {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: 24px;

  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 8px 4px 20px;

  overflow-x: auto !important;
  overflow-y: hidden !important;

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
}

#favoritesGrid::-webkit-scrollbar,
#ordersGrid::-webkit-scrollbar {
  display: none;
  height: 0;
}

/* fixed width cards */
#favoritesGrid .favorite-card,
#ordersGrid .order-card {
  flex: 0 0 320px !important;
  min-width: 320px !important;
  max-width: 320px !important;
  scroll-snap-align: start;
}

/* make sure cards don't shrink */
.favorite-card,
.order-card {
  flex-shrink: 0;
}

/* keep favorite card clean */
.favorite-card {
  overflow: hidden;
}

/* order card still expandable */
.order-card {
  min-height: 330px;
  max-height: 330px;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    max-height 0.45s ease;
}

.order-card:hover {
  transform: translateY(-8px);
  max-height: 700px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
  z-index: 20;
}




.popup-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.popup-body {
  max-width: 30%;
  padding: 44px 40px 38px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.78));
  display: flex;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgb(0, 0, 0);
  flex-direction: column;
  justify-content: center;
}

.cartTab { position: relative; } /* Ensure the loader stays inside */





.grid .card .use {
  max-height: 70px;
  overflow: hidden;
  padding: 15px 0;
  font-size: 17px;
}

.popup-label {
  
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: #000000;
}

#popupName {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  font-weight: 800;
  color: #0f172a;
}

#popupUse {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: #475569;
}

.popup-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.popup-meta-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.meta-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.meta-value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

#popupPrice.meta-value,
#popupPrice {
  font-size: 20px;
  font-weight: 800;
  color: #059669;
}

.popup-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.quantity-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.7);
  border-radius: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.quantity-box button {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
  transition: all 0.2s ease;
  color: #000;
}

.quantity-box button:hover {
  background: linear-gradient(135deg, #d1d5db, #f1f5f9);
  transform: scale(1.05);
}

.quantity-box span {
  min-width: 24px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.premium-cart-btn {
  flex: 1;
  min-width: 220px;
  border: none;
  outline: none;
  padding: 16px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: white;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow:
    0 14px 26px rgba(34, 197, 94, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.premium-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 32px rgba(34, 197, 94, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

.premium-cart-btn:active {
  transform: translateY(0);
}

.premium-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
  color: #0f172a;
  font-size: 24px;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}

.premium-close:hover {
  transform: rotate(90deg) scale(1.05);
  background: white;
}

@keyframes popupFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popupSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 820px) {
  .premium-popup {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .popup-image-wrap {
    display: none;
    min-height: 280px;
    padding: 22px;
  }

  .popup-image-wrap img {
    display: none;
    max-width: 260px;
    max-height: 240px;
  }

  .popup-body {
    padding: 24px 20px 22px;
  }

  .popup-meta-row {
    grid-template-columns: 1fr;
  }

  .popup-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .premium-cart-btn {
    min-width: unset;
    width: 100%;
  }

  .quantity-box {
    justify-content: center;
  }
}


/* Hide button initially */
.card .addCart,
.card .see {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  color: white;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

/* Show buttons only on hover */
.card:hover .addCart,
.card:hover .see {
  opacity: 1;
  transform: translateY(0);
}

/* Optional hover effect for button */
.addCart:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #000;
}


/* Base button style for product buttons */
.grid .cart button {
    position: relative;
    overflow: hidden; /* Ensures ripple effect stays contained */
    background-color: #353432;
    color: #eee;
    border: none;
    padding: 8px 8px;
    margin-top: 8px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}

/* Click Effect: Slight scale-up and glow */
.grid .card button:active {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
}

/* Ripple Animation */
@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}



/* ===== RECEIPT MODAL ===== */
.receipt-modal {
  position: fixed;
  inset: 0;
  display: none;               /* toggled to flex in JS */
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998798999;
}

.receipt-box {
  background: #ffffff;
  color: #111827;
  border-radius: 16px;
  padding: 20px 24px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.receipt-logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.receipt-meta p {
  margin: 0;
  font-size: 0.85rem;
}

.receipt-box h3 {
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 1rem;
}

.receipt-total {
  margin-top: 8px;
  font-size: 0.95rem;
}

.receipt-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.receipt-actions button {
  flex: 1;
  padding: 8px 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: #111827;
  color: #f9fafb;
  font-size: 0.9rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.receipt-actions button:hover {
  background: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.receipt-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: #4b5563;
  text-align: center;
}

/* Status badges */
.status-paid,
.status-pending {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.status-paid {
  background: #d1fae5;
  color: #065f46;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

    
    .cart-item {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
}

/* --- Overlay Background --- */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 99999; /* behind cartTab but above all content */
}

body.showCart .cart-overlay {
  opacity: 1;
  visibility: visible;
}
/* =========================
   CART PANEL
========================= */
.cartTab {
  width: 400px;
  max-width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  right: -420px;
  z-index: 100000;

  display: grid;
  grid-template-rows: 74px 1fr 84px;

  background: rgba(30, 30, 30, 0.34);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.35);

  color: #f5f5f5;
  transition: right 0.45s ease;
  overflow: hidden;
}

/* open state */
body.showCart .cartTab {
  right: 0;
}

/* optional page shift */
body.showCart .container {
  transform: translateX(-220px);
  transition: transform 0.45s ease;
}

/* =========================
   HEADER
========================= */
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-header h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.close-btn {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 10px;
  padding: 2px 8px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
}

/* =========================
   CART LIST
========================= */
.listCart {
  overflow-y: auto;
  padding: 12px 12px 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
}

.listCart::-webkit-scrollbar {
  width: 6px;
}

.listCart::-webkit-scrollbar-track {
  background: transparent;
}

.listCart::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

/* =========================
   CART ITEM
========================= */
.listCart .item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  align-items: center;

  margin-bottom: 12px;
  padding: 14px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.listCart .item img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(233, 7, 7, 0.05);
}

.item-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.item-name {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.item-price {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

/* =========================
   QUANTITY + REMOVE ROW
========================= */
.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.listCart .quantity span {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.listCart .quantity span:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.listCart .quantity span:nth-child(2) {
  min-width: 34px;
  background: transparent;
  cursor: default;
}

/* =========================
   REMOVE BUTTON
========================= */
.clear-product {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 110, 110, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.clear-product img {
  max-width: 26px;
  max-height: 26px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(52%) sepia(63%) saturate(1877%) hue-rotate(325deg) brightness(103%) contrast(101%);
  transition: filter 0.25s ease;
}

.clear-product:hover {
  background: #ff5f5f;
  border-color: #ff5f5f;
  transform: scale(1.05);
}

.clear-product:hover img {
  filter: brightness(0) invert(1);
}

/* =========================
   FOOTER
========================= */
.cart-footer {
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.checkOut {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 16px;
  cursor: pointer;

  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;

  background: linear-gradient(135deg, #0f172a, #1e293b);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.checkOut:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
}



/* =========================
   RESPONSIVE
========================= */
@media (max-width: 480px) {
  .cartTab {
    width: 100%;
    right: -100%;
    border-radius: 0;
  }

  body.showCart .container {
    transform: none;
  }

  .listCart .item {
    grid-template-columns: 68px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .listCart .item img {
    width: 68px;
    height: 68px;
  }

  .cart-header h2 {
    font-size: 1.2rem;
  }
}

/* FAQ Section */
.faq-section {
  max-width: 900px;
  margin: 100px auto;
  padding: 50px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.faq-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #2b1f1f;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Each question */
.faq-item {
  border-radius: 15px;
  overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  color: #fff;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.15);
    box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.3);

}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #000000;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {

  border-radius: 30px;
  backdrop-filter: blur(6px) saturate(150%);
  -webkit-backdrop-filter: blur(6px) saturate(150%);
}


.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 20px;
  transition: all 0.7s ease;
}

.faq-answer p {
  margin: 15px 0 20px 0;
  color: #000000;
  line-height: 0.6s ease;
}

/* When active (open) */
.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
  padding-bottom: 15px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}



.mia{
    color: rgb(255, 255, 255);
    background-color: rgb(49, 49, 49);
    padding-left: 600px;
    padding-top: 70px;
    width: 300px;
}


/* CONTACT SECTION */
#contact {
  background: rgb(0, 0, 0);
  color: #fff;
  padding: 17px 5px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Horizontal container with 3 columns */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  gap: 30px;
}

/* Shared glass card style */
.contact-info, .contact-form, .map-container {
    height: auto;
  flex: 1;
  background: rgba(0, 0, 0, 0.08);
  border: 0.1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 25px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-info:hover,
.contact-form:hover,
.map-container:hover {
  background: rgba(61, 61, 61, 0);
  box-shadow: 0 6px 25px rgba(112, 112, 112, 0.3);

  transform: translateY(-1px);
}

/* Left: Info */
.contact-heading {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.contact-desc {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 20px;
}
.contact-details {
  list-style: none;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ddd;
}
.contact-details li strong { color: #fff; }

/* Middle: Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.input, #msg {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  width: 100%;
  outline: none;
}
.input:focus, #msg:focus {
  background: rgba(255, 255, 255, 0.2);
}
#send {
  align-self: flex-start;
  background: #00ffaa;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  padding: 10px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}
#send:hover {
  background: #fff;
  box-shadow: 0 0 15px #00ffaa;
}

/* Right: Map */
.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: 15px;
  border: none;
  filter: brightness(90%) saturate(110%);
  transition: all 0.4s ease;
}
.map-container:hover iframe {
  filter: brightness(100%) saturate(120%);
  transform: scale(1.01);
}

/* SOCIAL ICONS */
.oi {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}
.oi a {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid white;
  border-radius: 50%;
  color: #00ffaa;
  transition: all 0.4s ease;
  font-size: 18px;
  background: linear-gradient(to top, #00ffaa 50%, transparent 50%);
  background-size: 100% 200%;
}
.oi a:hover {
  background-position: bottom;
  color: #000;
  border: none;
  box-shadow: 0 0 20px #00ffaa;
}



/*search bar*/
.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Adjust width as needed */
    margin: 30px auto; /* Center the search bar horizontally */
}

#search-input {
    padding: 10px;
    width: 26%; /* Take remaining space */
    border: 2px solid #ccc;
    border-radius: 20px; /* Rounded corners on the left */
    font-size: 20px;
}

#search-button {
    display: none;
    padding: 14px;
    border-radius: 20px;
    background-color: #007bff; /* Blue color, adjust as needed */
    color: #fff;
    border-radius: 14px 14px 14px 14px; /* Rounded corners on the right */
    cursor: pointer;
    font-size: 14px;
}

/* Hover effect for button */
#search-button:hover {
    background-color: #0056b3; /* Darker shade of blue on hover */
}

/* Focus style for input */
#search-input:focus {
    outline: none; /* Remove default focus outline */
    border-color: #007bff; /* Change border color on focus */
}

/* --- Modal Overlay --- */
:root {
  --bg-dark: #07111f;
  --glass: rgba(255, 255, 255, 0.10);
  --glass-strong: rgba(255, 255, 255, 0.16);
  --border: rgba(255, 255, 255, 0.18);
  --text: #f8fafc;
  --muted: rgba(248, 250, 252, 0.72);
  --accent: #7dd3fc;
  --accent-soft: rgba(125, 211, 252, 0.18);
  --success: #86efac;
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.18);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

/* ===== CHECKOUT MODAL ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  overflow-y: auto;
  padding: 32px 18px;
  background: rgba(3, 10, 20, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000000;
}

.modal-content {
  position: relative;
  width: min(92%, 520px);
  margin: auto;
  padding: 24px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.modal-content h2 {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  transition: 0.25s ease;
}

.close:hover,
.close:focus {
  background: rgba(255,255,255,0.16);
  transform: rotate(90deg);
}

/* ===== CART SUMMARY ===== */
#cartDetails {
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 16px;
  padding-right: 4px;
}

.cart-item {
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* ===== FORM ===== */
#checkoutForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

#checkoutForm label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

#checkoutForm input {
  width: 100%;
  padding: 12px 1px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: 0.22s ease;
}

#checkoutForm input::placeholder {
  color: rgba(248, 250, 252, 0.45);
}

#checkoutForm input:focus {
  border-color: rgba(125, 211, 252, 0.75);
  box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.12);
  background: rgba(255,255,255,0.1);
}

/* ===== PAYMENT BUTTONS ===== */
#payment-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

#checkoutForm button {
  padding: 12px 16px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.25s ease;
}

#payOnDeliveryBtn {
  background: rgba(255,255,255,0.12);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
}

#payOnDeliveryBtn:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

#payOnlineBtn {
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
  color: #0f172a;
}

#payOnlineBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255,255,255,0.18);
}



/* ===== RESPONSIVE ===== */


@media (max-width: 700px) {
  .modal-content {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .modal-content h2 {
    font-size: 24px;
  }

  #payment-buttons {
    grid-template-columns: 1fr;
  }


  }


.lifestyle-section {
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
    background: url('boo.jpg') no-repeat center center/cover;
  color: #000000;

    scroll-snap-align: none !important;
  height: auto !important;
  overflow: visible !important;
}

.tp-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  will-change: max-height;
}


.lifestyle-heading {
  font-size: 32px;
  margin-bottom: 15px;
  text-align: center;
}

.intro-text {
  max-width: 700px;
  text-align: center;
  color: #000000;
  margin-bottom: 40px;
  line-height: 1.6;
}



.tp-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}


.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 45px;
  width: 100%;
  max-width: 1250px;
  transform: translateY(70px);
  transition: opacity 0.5s ease, transform 1s ease;
}

.lifestyle-grid.visible {
  opacity: 1;
  transform: translateY(0);

}

.tp-box:hover{
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgb(185, 145, 46);
}



.tp-box h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.short-text {
  color: #000000;
  margin-bottom: 10px;
}

.expandable {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  color: #4a4a4a;
}

.tp-box.active .expandable {
  max-height: 200px; /* Expand height for details */
  opacity: 1;
  margin-top: 10px;
}

.expandable p {
  margin: 6px 0;
  line-height: 1.5;
}

.closing-note {
  text-align: center;
  font-style: italic;
  color: #000000;
  margin-top: 50px;
  max-width: 600px;
  line-height: 1.6;
}
}

@media only screen and (min-width: 768px) and (max-width: 1524px) {
  /* CSS rules for screens within the tablet range */
  
.features-section {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  flex-wrap: wrap;
  padding: 15px 40px;
  background: #ffffff;
  border-radius: 90px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin: 40px auto;
  max-width: 1000px;
  margin-top: -50px;
  z-index: 10;
  position: relative;
}

.feature {
  display: flex;
  gap: 20px;
  align-items: center;
  flex: 1 1 250px;
  padding: 0px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.icon-circle {
  background: #e8f0ff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle img {
  width: 30px;
  height: 30px;
}

.icon-circle.light-green {
  background: #e6f8ee;
}

.icon-circle.peach {
  background: #fff0eb;
}

.icon-circle.yellow {
  background: #fffce6;
}

.feature-text h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #111;
  font-weight: 700;
}

.feature-text p {
  margin-top: 5px;
  font-size: 0.90rem;
  color: #555;
  line-height: 1.4;
}

    #home .title {
        position: absolute;
        color: #032d59;
        text-shadow: 0 2px 10px rgb(31, 99, 12);
          font-size: 4rem;

    }


#welcome-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 75vh; /* give some height */
  background: url('pill.jpg') no-repeat center center/cover;
  text-align: center;
}

#welcome-section {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: background-position 0.2s linear;
}

.welcome-container {
  background: transparent; /* translucent glass */
  color: #010101;
  max-width: 700px;
  padding: 40px 20px;
}

.welcome-container h1 {
  border: none;
  font-size: 3rem;
  color: #000000;
  margin-bottom: 350px;
  text-shadow: 0 2px 10px rgba(0, 255, 170, 0.3);
}

.welcome-container p {
  font-size: 1.2rem;
    padding: 14px 20px;

  color: #181111;
}

.shop-now-btn {
  text-decoration: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000000;
  background: #fff;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 10px #000000;
}

.shop-now-btn:hover {
  box-shadow: 0 5px 10px #6f5c5c;
  background: #000000;
  color: #ffecec;
  transition: all 5s ease;
}
.filter-btn{
  margin-bottom: 20px;
}

.faq-section {
  max-width: 800px;
  margin: 100px auto;
  padding: 50px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: #fff;
}


.product-buttons {
  bottom: 0;
  display: flex;
  gap: 10px; /* space between buttons */
  margin-top: 10px;
  width: 100%; /* full width for flexibility */
  align-items: center;
  text-align: center;
}

/* Add to Cart button */
.product-buttons .addCart {
  width: auto;
  height: auto;
  color: #000;
  background-color: #e2e2e2;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
 
}



/* See button (circular) */
.product-buttons .see {
  width: auto;
  height: auto;
  display: block;
  align-items: center;
  justify-content: center;
  background-color: black;
  transition: all 0.3s ease;
  cursor: pointer;
}

.lifestyle-section {
    margin-top: 80px;
    padding: 0px 80px;
    text-align: center;
    background: transparent;
    color: rgb(0, 0, 0);
    overflow: hidden;
        background: url('boo.jpg') no-repeat center center/cover;
            opacity: 1;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .lifestyle-section.visible {
    opacity: 0;
    transform: translateY(0);
  }

      .search-container {
        display: flex;
        align-items: center;
        width: 100%; /* Adjust width as needed */
        margin: 0 auto; /* Center the search bar horizontally */
        padding-top: 110px;
    }

    
/* ===== RECEIPT MODAL ===== */
.receipt-modal {
  position: fixed;
  inset: 0;
  display: none;               /* toggled to flex in JS */
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998798999;
}

.receipt-box {
  background: #ffffff;
  color: #111827;
  border-radius: 16px;
  padding: 20px 24px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.receipt-logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.receipt-meta p {
  margin: 0;
  font-size: 0.85rem;
}

.receipt-box h3 {
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 1rem;
}

.receipt-total {
  margin-top: 8px;
  font-size: 0.95rem;
}

.receipt-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.receipt-actions button {
  flex: 1;
  padding: 8px 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: #111827;
  color: #f9fafb;
  font-size: 0.9rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.receipt-actions button:hover {
  background: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.receipt-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: #4b5563;
  text-align: center;
}

/* Status badges */
.status-paid,
.status-pending {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.status-paid {
  background: #d1fae5;
  color: #065f46;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

}




/* mobile */
@media only screen and (max-width: 768px) {

  #profile{
    width: 100%;
    display: flex;
    border: none;
  }
  #profile:hover{
    background-color: #000;
    background: transparent;
  }


/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
    font-size: 15px;
    font-weight: 300;
  position: absolute;
  top: 90%; /* below the username */
  right: 0;
  margin-top: 6px;
  min-width: 50px;

  /* Glassmorphism background */
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(100px) saturate(160%);
  -webkit-backdrop-filter: blur(100px) saturate(160%);

  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);

  z-index: 10;
  text-align: center;
  overflow: hidden;
}

/* Shared button style */
.dropdown-content button {
  width: 100%;
  border: none;
  padding: 7px 10px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  background: transparent;
}



/* Logout (danger action) */
#logoutBtn {
  color: #eb1616;
}
expandable {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.tp-box.active .expandable {
  max-height: 500px; /* large enough to show content */
}


/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown.active:hover .dropdown-content {
  display: block;
}
/* Fade animation (optional if you want to reuse it) */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero / welcome section */
#welcome-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100wh;
  min-height: 55vh;
  padding: 2rem 1rem;
  background: url('pill.jpg') no-repeat center center/cover;
  text-align: center;
  position: relative;
}

/* Optional: soft overlay for contrast */
#welcome-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.85)
  );
  pointer-events: none;
}

.welcome-container {
  position: relative;           /* above overlay */
  max-width: 600px;
  padding: 1.5rem ;
}

/* Base state: hidden + slightly down + blurred */
.welcome-container h1,
.welcome-container p,
.welcome-container a {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;
}

.welcome-container h1 {
  padding: 0 2rem;
  font-size: 2.1rem;
  color: #000000;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0, 255, 170, 0.3);
}

.welcome-container p {
  padding: 1.5rem 0;
  font-size: 1rem;
  color: #181111;
  margin-bottom: 1.5rem;
}

/* When container becomes visible, animate in */
.welcome-container.visible h1,
.welcome-container.visible p,
.welcome-container.visible a {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.welcome-container.visible h1 { transition-delay: 0.2s; }
.welcome-container.visible p { transition-delay: 0.45s; }
.welcome-container.visible a { transition-delay: 0.7s; }

.shop-now-btn {
  text-decoration: none;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 0 5px 10px #00000033;
  transition: all 0.3s ease;
}

.shop-now-btn:hover {
  box-shadow: 0 5px 16px #a19696;
  background: #000000;
  color: #ffecec;
}


@media (max-width: 768px) {

  /* section spacing */
  #favorites-section,

  #orders-section {

    padding: 0 14px;

    margin: 20px 0 28px;

    text-align: center;

  }

  /* headings */

  #favorites-section h2,

  #orders-section h2 {

    margin: 0 0 14px;

    font-size: 1.08rem;

    font-weight: 700;

    text-align: center;

  }

  /* horizontal slider */

  #favoritesGrid,

  #ordersGrid {

    display: flex;

    gap: 12px;

    overflow-x: auto;

    overflow-y: hidden;

    padding: 4px 4px 12px;

    scroll-snap-type: x mandatory;

    scroll-padding: 14px;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;

  }

  #favoritesGrid::-webkit-scrollbar,

  #ordersGrid::-webkit-scrollbar {

    display: none;

  }

  /* cards */

  #favoritesGrid .favorite-card,

  #ordersGrid .order-card {

    flex: 0 0 calc(100% - 36px);

    min-width: calc(100% - 36px);

    max-width: calc(100% - 36px);

    scroll-snap-align: center;

    padding: 14px;

    margin: 0 auto;

    border-radius: 18px;

    background: rgba(255,255,255,0.10);

    border: 1px solid rgba(255,255,255,0.18);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    box-shadow: 0 10px 20px rgba(0,0,0,0.08);

    box-sizing: border-box;

    text-align: center;

    min-height: 300px;

    overflow: hidden;

    transition: 0.25s ease;

  }

  #favoritesGrid .favorite-card:hover,

  #ordersGrid .order-card:hover {

    transform: translateY(-2px);

    box-shadow: 0 14px 24px rgba(0,0,0,0.12);

    max-height: 700px;

  }

  /* title */

  .favorite-card h3,

  .order-card h3 {

    margin: 0 0 8px;

    font-size: 0.97rem;

    line-height: 1.35;

  }

  /* text */

  .favorite-card p,

  .order-card p {

    margin: 0 0 8px;

    font-size: 0.88rem;

    line-height: 1.45;

  }

  /* image */

  .favorite-thumb {

    width: 100%;

    height: 145px;

    margin: 0 auto 12px;

    border-radius: 14px;

    overflow: hidden;

  }

  .favorite-thumb img {

    width: 100%;

    height: 100%;

    object-fit: cover;

  }

  /* footer */

  .order-footer {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    margin-top: 10px;

    padding-top: 10px;

    border-top: 1px solid rgba(255,255,255,0.08);

  }

}

.topnav{      
  position: fixed;       /* Stays at top */
  top: 90%;
  width: 96%;
  background-color: transparent; /* Dark background */
  color: rgb(161, 141, 141);              /* White text */
  text-align: right;        /* Centered text */
  z-index: 1000;             /* Ensure it stays on top of other elements */
}


.up{
    border: 0.1rem solid black;
    border-radius: 10px;
    padding: 1rem;
    text-decoration: none;
    box-shadow: #7b7f7c 0px 0px 10px;
      transition: all 0.3s ease;

}


.up:hover {
  background-color: black;
  color: white;
  box-shadow: 0px 0px 15px #555;
}


@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 10px 12px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
    overflow: visible;
  }

  .navbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px ;
    max-height: 50px;
    overflow: visible;
  }

  .nav-left {
    display: flex;
    align-items: center;
  }

  .menu-icon {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    cursor: pointer;
  }

  .menu-icon span {
    width: 100%;
    height: 2px;
    border-radius: 20px;
    background: #ffffff;
    transition: 0.25s ease;
  }



  .nav-search-wrap {
    position: relative;
    width: 100%;
  }

  .nav-search {
    display: flex;
    align-items: center;
    height: 40px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
  }

  .nav-search input {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    padding: 0 14px;
    font-size: 14px;
  }

  .nav-search input::placeholder {
    color: rgba(255,255,255,0.55);
  }

  /* remove search icon */
  #navSearchBtn {
    display: none !important;
  }

  .nav-right {
    margin-left:auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex:0 0 auto;
    gap: 10px;
  }

  .popup-body{
  max-width: 90%;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.78));
  display: flex;
  border-radius: 22px;
    box-shadow: 0 10px 24px rgb(0, 0, 0);
    justify-content: center;
    align-items: center;
    text-align: center;
  flex-direction: column;
  justify-content: center;  }

  .popup-meta-card, .meta-title, #popupPrice,#popupCategory, .popup-meta-card{
    color: #000 !important;
  }

  #qtyValue{
    color: black !important;
    padding: 0 10px;
  }

  .dropdown {
    position: relative;
    overflow: visible;
    z-index: 10020;
  }

  .login-btn {
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }

  .dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    display: none;
    flex-direction: column;
    padding: 8px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
    z-index: 10050;
  }

  .dropdown.active .dropdown-content,
  #authWrapper.active .dropdown-content,
  #authWrapper.active #authDropdown {
    display: flex !important;
  }

  .dropdown-content a,
  .dropdown-content button {
    border: none;
    background: transparent;
    color: #fff;
    text-align: left;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
  }

  .dropdown-content a:hover,
  .dropdown-content button:hover {
    background: rgba(255,255,255,0.08);
  }

  .icon-cart {
        margin-left:auto;

    margin-right:0;
    position:relative;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #000000, #3b82f6);
    color: white;
    position: relative;
    display: flex;
    place-items: center;
    box-shadow: 0 10px 20px rgba(37,99,235,0.25);
  }

  .icon-cart svg {
    width: 18px;
    height: 18px;
  }

  .icon-cart span {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
  }

  .mobile-menu {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(15,23,42,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 45px rgba(0,0,0,0.22);
    z-index: 10001;
  }

  .mobile-menu.open,
  .mobile-menu.show {
    display: flex;
  }

  .mobile-menu a {
    color: #fff;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    font-weight: 600;
  }

  .mobile-menu a:hover {
    background: rgba(255,255,255,0.08);
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
    display: none;
    z-index: 9998;
  }

  .menu-overlay.active,
  .menu-overlay.show {
    display: block;
  }

  .nav-search-dropdown,
  .nav-search-loader {
    width: 130%;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    border-radius: 18px;
    color: #fff;
    background: rgba(15,23,42,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    z-index: 10000;
  }

  .nav-search-item {
  padding: 12px 24px;
      border: 1px solid white;

  border-bottom: 1px solid rgba(0,0,0,0.06);
  cursor: pointer;
}

  @media (max-width: 520px) {
    .login-btn {
      padding: 0 12px;
      font-size: 12px;
      max-width: 110px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}


  
/* ===== RECEIPT MODAL ===== */
.receipt-modal {
  padding: 1.2rem;
  position: fixed;
  inset: 0;
  display: none;               /* toggled to flex in JS */
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998798999;
}

.receipt-box {
  background: #ffffff;
  color: #111827;
  border-radius: 16px;
  padding: 20px 24px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.receipt-logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.receipt-meta p {
  margin: 0;
  font-size: 0.85rem;
}

.receipt-box h3 {
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 1rem;
}

.receipt-total {
  margin-top: 8px;
  font-size: 0.95rem;
}

.receipt-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.receipt-actions button {
  flex: 1;
  padding: 8px 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: #111827;
  color: #f9fafb;
  font-size: 0.9rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.receipt-actions button:hover {
  background: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.receipt-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: #4b5563;
  text-align: center;
}

/* Status badges */
.status-paid,
.status-pending {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.status-paid {
  background: #d1fae5;
  color: #065f46;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}


  /* --- Mobile Menu (Glassy Blur) --- */
@media (max-width: 768px) {
  .heading {
    display: none;
  }


  /* --- Mobile Menu --- */
  .mobile-menu {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: 320px;
    text-align: left;
    border-radius: 20px;
    background: rgba(30, 30, 30, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    padding: 7px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
  }

  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-width: 40%;
    max-height: 30vh;
  }

  .mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 500;
    padding: 12px 14px;
    border-radius: 14px;
    margin: 4px 0;
    transition: 0.25s ease;
  }

  .mobile-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }

  /* --- Dropdown --- */
  .dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: visible;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    background: rgba(40, 40, 40, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
    z-index: 10000;
  }

  /* use this for mobile */
  .dropdown.active .dropdown-content {
    display: flex;
    flex-direction: column;
  }

  .dropdown-content a,
  .dropdown-content button {
    color: white;
    display: block;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    text-align: left;
    width: 100%;
  }

  .dropdown-content a:hover,
  .dropdown-content button:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  #authControl {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 999px;
    color: white;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px) saturate(150%);
    -webkit-backdrop-filter: blur(6px) saturate(150%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
  }


  .show-more-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 25px;
    background: #353432;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .show-more-btn:hover {
    background: #00ffaa;
    color: #000;
  }
}

  /* Hide menu links on desktop */




    
    
    #home {
        display: flex;
        height: 56dvh;
        background: linear-gradient(to top, #D2E2FB 30%, #86A8DB);
        position: relative;
        overflow: hidden;
    }
    
    #home img {
        position: absolute;
        bottom: 0;
        width: 100%;
        pointer-events: none;
    }
    
    #home .title {
        position: absolute;
        color: #032d59;
        margin-bottom: 350px;
        text-shadow: 0 2px 10px rgba(0, 132, 255, 0.3);
        font-size: 34px;
        padding-top: 150px;
        padding-left: 80px;
    }
    
    
    body{
        margin: 0;
        font-family: Poppins;
    }
    #container{
      display: none;
        width: 100%;
        margin: auto;
        max-width: 80vw;
        text-align: center;
        padding-top: 5px;
        transition: transform .5s;
    }

    svg{
        width: 30px;
    }
    header{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
    }

    .title{
        font-size: xx-large;
    }



.features-section {
  width: 95%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);  
  flex-direction: row;
  overflow: hidden;
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
  margin: 1px auto;
  margin-top: 30px; /* controls how much overlaps the previous section */
  z-index: 5;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.feature {
  cursor: pointer;
  position: relative;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
    gap: 10px;
  padding: 10px 19px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.icon-circle {
  background: #e8f0ff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle img {
  width: 20px;
  height: 20px;
}

.icon-circle.light-green {
  background: #e6f8ee;
}

.icon-circle.peach {
  background: #fff0eb;
}

.icon-circle.yellow {
  background: #fffce6;
}

.feature-text h3 {
  margin: 0;
  font-size: 0.90rem;
  color: #111;
  font-weight: 700;
}

.feature-text p {
  display: none;
  margin-top: 5px;
  font-size: 0.85rem;
  color: #555;
  line-height: 1;
}





.filter-buttons {
  text-align: center;
  padding: 33px 0px;
}

.filter-btn {
  background: #353432;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 3px 5px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  
}

.filter-btn:hover {
  background: #00ffaa;
  color: #000;
}

.filter-btn.active {
  background: #00ffaa;
  color: #000;
  box-shadow: 0 5px 15px rgba(0, 255, 170, 0.4);
}

.section-header {
    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 12px;

    text-align: center;

}

/* Reuse your existing heading style + tweak if needed */
.section-header .heading {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: black; /* or var(--text) if you have one */
}

/* "View All Products" pill button/link */
.footerbar .viewall {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  display: inline-flex;
  align-items: right;
  justify-content: right;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.footerbar .viewall:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
  background: #f5f5f5;
}

/* Optional: stack on small screens */


/* --- PRODUCT POPUP --- */
/* Overlay (make sure it's always centered and above everything) */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);

  z-index: 100000;
}

#qtyValue{
  color: #fff;
}

/* Popup box */
.popup-content {
  position: relative;

  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;

  width: 100%;
  max-width: 340px;

  padding: 20px 16px;
  text-align: center;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  animation: popupFade 0.25s ease;
}

/* Animation */
@keyframes popupFade {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Product image */
.popup-content img {
  display: none;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  margin-bottom: 12px;
  object-fit: contain;

  background: rgba(255,255,255,0.05);
  padding: 8px;
}

/* Title */
.popup-content h2 {
  font-size: 1.3rem;
  margin: 8px 0;
  color: #00ffaa;
    padding: 8px 0;

}

/* Description */
.popup-content p {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.4;
  padding: 8px 0;
}

/* Price */
#popupPrice {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 8px 0;
  color: #fff;
}

/* Add to cart button */
#popupAddCart {
  width: 100%;

  background: linear-gradient(135deg, #00ffaa, #00cc88);
  color: #000;
  margin-top: 22px;
    margin-bottom: 22px;

  border: none;
  border-radius: 40px;

  padding: 12px;
  font-size: 15px;
  font-weight: 600;

  cursor: pointer;
  transition: all 0.25s ease;
}

#popupAddCart:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 255, 170, 0.4);
}

/* Close button */
.close-popup {
  position: absolute;
  top: 10px;
  right: 14px;

  font-size: 22px;
  color: #aaa;
  cursor: pointer;
  transition: 0.2s;
}

.close-popup:hover {
  color: #fff;
}

.product-buttons {
  display: flex;
  gap: 10px; /* space between buttons */
  margin-top: 10px;
  width: 100%; /* full width for flexibility */
  align-items: center;
  text-align: center;
}

/* Add to Cart button */
.product-buttons .addCart {
  width: auto;
  height: auto;
  color: #000;
  background-color: #e2e2e2;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
 
}



/* See button (circular) */
.product-buttons .see {
  width: 45px;
  height: 35px;
  display: block;
  background-color: #e2e2e2;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Image inside see button */
.product-buttons .see img {
  width: 18px;
  display: block;
  transition: all 0.3s ease;
  justify-content: center;
  text-align: center;
  align-items: center;
}




.lifestyle-section {
    margin-top: 80px;
    text-align: center;
    background: transparent;
    color: rgb(0, 0, 0);
    overflow: hidden;
        background: url('boo.jpg') no-repeat center center/cover;
        transition: all 0.3s ease;
  }

  .lifestyle-heading {
    font-size: 2.5rem;
    margin-bottom: 50px;
  }

  .intro-text {
    color: #0a0606;
    margin-bottom: 3rem;
    font-size: 1rem;
    padding: 0px 10px;

  }

  /* --- Horizontal Slow Scroll --- */
  .lifestyle-grid {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: scroll-left 130s linear infinite;
  }

  .lifestyle-section:hover .lifestyle-grid {
    animation-play-state: paused;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  .tp-box {
    flex: 0 0 280px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
  }

  .tp-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
  }

  .tp-box h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .short-text {
    font-size: 0.95rem;
    color: #080505;
  }

  .expandable {
    display: none;
    margin-top: 0.5rem;
    text-align: left;
    font-size: 0.9rem;
  }

  .tp-box.active .expandable {
    display: block;
  }

  .closing-note {
    margin-top: 7rem;
    font-style: italic;
    color: #100808;
  }
.tp-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.tp-box.active .tp-content {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}




/* FAQ Section */
.faq-section {
  max-width: 900px;
  margin-bottom: 100px;
  padding: 50px 20px;
  color: #fff;
}

.faq-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #2b1f1f;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Each question */
.faq-item {
  padding: 2px;
  border-radius: 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.faq-item:hover {

  background: rgba(255, 255, 255, 0.15);
}

.faq-question {
  width: 100%;
  border: none;
  color: #000000;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 2px 0px rgba(0, 3, 3, 0.3);
}

.order-items-wrap {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0;
  margin: 12px 0;
  scrollbar-width: none; /* Hide scrollbar for clean look */
}

.order-item {
  flex: 0 0 80px; /* Fixed square items */
  padding: 11px;
  box-shadow: 0 2px 0px rgba(0, 3, 3, 0.3);
  border: 0.7px solid #000 ;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 20px;
  transition: all 0.7s ease;
}

.faq-answer p {
  margin: 15px 0 20px 0;
  color: #000000;
  line-height: 0.6s ease;
}

/* When active (open) */
.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
  padding-bottom: 15px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}


/* CONTACT SECTION */
#contact {
  background: rgb(0, 0, 0);
  color: #fff;
  padding: 17px 5px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Horizontal container with 3 columns */
.contact-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  gap: 10px;
}

.contact-form{
    height: auto;
  flex: 1;
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.map-container{
  display: none;
}

/* Shared glass card style */
.contact-info {
  height: auto;
  flex: 1;
  background: rgba(0, 0, 0, 0.08);

  padding: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-info:hover,
.contact-form:hover,
.map-container:hover {
  background: rgba(61, 61, 61, 0);
  box-shadow: 0 6px 25px rgba(112, 112, 112, 0.3);

  transform: translateY(-1px);
}

/* Left: Info */
.contact-heading {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.contact-desc {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 20px;
}
.contact-details {
  list-style: none;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ddd;
}
.contact-details li strong { color: #fff; }

/* Middle: Form */
.form {
  display: flex;
  flex-direction: column;
}

.input, #msg {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 3px;
  font-size: 1rem;
  width: 100%;
  outline: none;
}
.input:focus, #msg:focus {
  background: rgba(255, 255, 255, 0.2);
}
#send {
  align-self: flex-start;
  background: #00ffaa;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  padding: 10px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}
#send:hover {
  background: #fff;
  box-shadow: 0 0 15px #00ffaa;
}

/* Right: Map */
.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: 15px;
  border: none;
  filter: brightness(90%) saturate(110%);
  transition: all 0.4s ease;
}
.map-container:hover iframe {
  filter: brightness(100%) saturate(120%);
  transform: scale(1.01);
}

/* SOCIAL ICONS */
.oi {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}
.oi a {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid white;
  border-radius: 50%;
  color: #00ffaa;
  transition: all 0.4s ease;
  font-size: 18px;
  background: linear-gradient(to top, #00ffaa 50%, transparent 50%);
  background-size: 100% 200%;
}
.oi a:hover {
  background-position: bottom;
  color: #000;
  border: none;
  box-shadow: 0 0 20px #00ffaa;
}

/* Generic fade-on-scroll utility */
.fade-scroll {
  opacity: 0;
  transform: translateY(60px);
  filter: blur(6px);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;
}

.fade-scroll.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;

}
/* ========== PRODUCT GRID LAYOUT ========== */

/* The Scroll Container */
.grid {
  display: flex;
  overflow-x: auto; /* Enables horizontal scrolling */
  overflow-y: hidden;
  gap: 16px;
  padding: 20px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  scrollbar-width: none; /* Hides scrollbar for Firefox */
}

/* Hide scrollbar for Chrome/Safari/Edge */
.grid::-webkit-scrollbar {
  display: none;
}

/* Fixed width for cards so they don't shrink */
.grid .card {
  flex: 0 0 220px; /* Do not grow, do not shrink, stay 280px wide */
      background-color: #e8e8ea9d;

  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px; /* Slightly rounder for horizontal look */
  padding: 16px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Hover effect */
.grid .card:hover {
  transform: scale(1.02); /* Slight pop-out effect */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}




    .muted{color:black;font-size:14px;}

    .footerbar{
      cursor: pointer;
      display:flex;align-items:center;justify-content:center;gap:10px;
      margin:48px 0 30px; z-index: 100;
    }
    .status{margin-top:10px;font-size:14px;align-items:center;justify-content:center}
    button{
      padding:10px 14px; border-radius:12px; border:1px solid var(--line);
      background:#1a1a1a; color:#fff; cursor:pointer; font-weight:600;
      transition:.2s; white-space:nowrap;
    }
    button:hover{transform:translateY(-1px); border-color:#333;}
    button.primary{background:var(--brand); border-color:transparent;}



.grid .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  background-color: #f4f4ec;
}

/* ========== THUMBNAIL ========== */

.grid .card .thumb {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}

.grid .card .thumb img {
  display: block;                 /* ✅ make image visible */
  max-width: 80%;
  height: auto;
  filter: drop-shadow(0 15px 15px #0009);
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effect on the image itself */
.grid .card:hover .thumb img {
  transform: scale(1.05);
  filter: drop-shadow(0 18px 22px #000c);
}

/* ========== CONTENT ========== */

.grid .card .content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.grid .card .title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.grid .card .use {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.85rem;
  flex-grow: 1; /* Pushes the price and buttons to the bottom */
}




.grid .card .use.muted {
  color: #777;
}

.grid .card .price {
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em; /* you had 6px letter-spacing; this is a bit softer */
}

/* Pills row (category, currency, id) */
.grid .card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.grid .card .pill {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08); /* Slightly more visible */
  color: #555;
  border: 1px solid rgba(0,0,0,0.05); /* Adds a crisp edge */
}




/* ========== BUTTONS ========== */

.grid .card .product-buttons {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

/* Base button style for product buttons */
.grid .card button {
  position: relative;
  overflow: hidden; /* For any future ripple effect */
  background-color: #353432;
  color: #eee;
  border: none;
  padding: 8px 12px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease,
              box-shadow 0.2s ease,
              background-color 0.3s ease,
              color 0.3s ease;
}

/* Icon-only add-to-cart button you've styled inline as white */
.grid .card .product-buttons .addCart {
  background-color: #ffffff;
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.grid .card .product-buttons .addCart:hover {
  background-color: #f4f4f4;
}

/* View / see button */
.grid .card .product-buttons .see {
  background-color: #353432;
}

.grid .card .product-buttons .see img {
  width: 16px;
  height: 16px;
}

/* Hover state */
.grid .card button:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* Click effect */
.grid .card button:active {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

    
    /* Ripple Effect */
    .ripple {
        position: absolute;
        width: 100px;
        height: 100px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transform: scale(0);
        animation: ripple-effect 0.6s linear;
        pointer-events: none;
    }
    
    /* Ripple Animation */
    @keyframes ripple-effect {
        to {
            transform: scale(4);
            opacity: 0;
        }
    }
    
    .cart-item {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
}

/* --- Overlay Background --- */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 99999; /* behind cartTab but above all content */
}

body.showCart .cart-overlay {
  opacity: 1;
  visibility: visible;
}

/* --- Cart Panel --- */
.cartTab {
  width: 400px;
  max-width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  right: -500px;
  display: grid;
  grid-template-rows: 75px 1fr 70px;
  z-index: 100000;

  /* Glass effect core */
  background: rgba(40, 40, 40, 0.35); /* lighter, more transparent */
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  border-left: 1px solid rgba(255, 255, 255, 0.15);

  /* Visual polish */
  color: #f3f3f3;
  box-shadow: -8px 0 25px rgba(0, 0, 0, 0.4);
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  transition: right 0.5s ease-in-out, background 0.3s ease;
}

body.showCart .cartTab {
  right: 0;
}

body.showCart .container {
  transform: translateX(-250px);
  transition: transform 0.5s ease-in-out;
}

/* --- Cart Header --- */
.cartTab h1 {
  margin: 0;
  text-align: center;
  padding: 20px;
  font-weight: 400;
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
/* Top-right X button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #fff;
  border: none;
  font-size: 5rem;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-btn:hover {
  color: #8f8d8d;
}
/* --- Cart Buttons --- */
.cartTab .btn {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  cursor: pointer;
}

.cartTab button {
  background-color: rgb(100, 99, 99);
  border: none;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 12px 0;
  transition: 0.3s;
}

.cartTab button:hover {
  filter: brightness(1.1);
}

.cartTab .close-btn {
  color: #ffffff;
  background-color: transparent;
  font-size: 2rem;
}

.cartTab .checkOut{
  top: 88%;
  width: auto;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  position: absolute;
  justify-content: center;
  align-items: center;
  color: #f5f5f5;
  border: 1px solid #0f0909;
  border-radius: 99px;
  box-shadow: 10px 10px 20px #000000;
  transition: all 0.3s ease;
}

.cartTab .checkOut:hover {
  background-color: #aaa9a9;
  color: #000;
  box-shadow: 0 0 20px #0a1814;
  transform: translateX(-50%) scale(1.05);
}


/* --- Cart List --- */
.listCart {
  overflow-y: auto;
  scrollbar-width: none;
  max-height: 700px;
}

.listCart::-webkit-scrollbar {
  width: 0;
}

.listCart .item {
  display: grid;
  grid-template-columns: 90px 1fr;
  border-radius: 22px;
  border: black 1px solid;
  box-shadow: #000000 0px 1px 1px;
  gap: 11px;
  padding: 25px;
  text-align: left;
  align-items: center;
  border-top: none;
  border-left: none;
  border-right: none;
}

.listCart .item img {
  width: 70px;
  height: auto;
  border-radius: 5px;
}

.listCart .item:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
}

/* --- Quantity Controls --- */
.listCart .quantity span {
  display: inline-block;
  width: 25px;
  height: 25px;
  font-size: 16px;
  text-align: center;
  line-height: 25px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}

.listCart .quantity span:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.listCart .quantity span:nth-child(2) {
  background-color: transparent;
  color: #eee;
  cursor: default;
}

.clear-product {
  height: 40px;
  width: 40px;
  display: inline-flex;
  align-items: center;
  color: #040303;
  border: 1px solid #0f0909;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.clear-product img {
  width: 14px;
  height: 14px;
  padding: 5px;
  color: #000;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(58%) sepia(74%) saturate(3451%) hue-rotate(331deg) brightness(100%) contrast(101%);
  transition: 0.3s ease;
}

.clear-product:hover {
  background-color: #ff6666;
  color: #fff;
}

.clear-product:hover img {
  filter: brightness(100%) invert(1);
}


.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


#chatbotLauncher {
  position: fixed;
  bottom: 90px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
  cursor: pointer;
  z-index: 200000;
  font-size: 24px;
}

#chatbotPanel {
  position: fixed;
  bottom: 160px;
  right: 22px;
  width: 360px;
  max-width: calc(100vw - 24px);
  height: 500px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
  z-index: 200001;
}

#chatbotHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  font-weight: 700;
  color: #111;
  background: rgba(255,255,255,0.35);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

#chatbotClose {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #111;
}

#chatbotMessages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255,255,255,0.08);
}

.chat-msg {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 16px;
  line-height: 1.4;
  font-size: 14px;
  white-space: pre-wrap;
}

.chat-user {
  align-self: flex-end;
  background: #1f8cff;
  color: white;
}

.chat-bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.82);
  color: #111;
}

#chatbotForm {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.28);
  border-top: 1px solid rgba(0,0,0,0.06);
}

#chatbotInput {
  flex: 1;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  padding: 10px 14px;
  outline: none;
  font-size: 14px;
}

#chatbotForm button {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  background: #1f8cff;
  color: white;
  cursor: pointer;
}
/* --- Responsive --- */


    /*contact*/
    #contact {
        background-color: rgb(49, 49, 49);
        color: #ffffff; /* Change text color to white for better visibility */
        height: auto;
        width: 100wh;
        text-align: center;
    }
    
    .form{
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        align-items: center;
        margin: 20px 0px;
        height: 50%;
        padding-top: 10%;
    }
    
    .input{
        padding: 12px;
        margin: 7px;
        width: 55%;
        height: 5%;
        font-size: 15px;
        border: none;
        outline: none;
        
    }
    
    #msg{
        width: 60%;
        height: 32%;
        margin: 7px;
        font-size: 15px;
        border: none;
        outline: none;
    }
    
    #send{
        margin: 10px;
        font-size: 17px;
        padding: 7px 17px;
        width: auto;
        height: auto;
        border-radius: 20px;
        border: none;
        outline: none;
    }
    
    #send:hover{
        cursor: pointer;
        box-shadow: 0 0 5px rgb(255, 255, 255);
        font-weight: bold;
    }

    .mia{
        font-size: 0.8rem;
        color: #f7f7f7;
        text-align: center;
        background-color: rgb(49, 49, 49);
        height: 20%;
    }
  
    .oi{
        display: none;
    }

    .heading{
        font-size: 1.5rem;
        text-align: center;
    }
 
    
  

    

    
    .modal {
    position: fixed; 
    display: none;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background: rgba(0, 0, 0, 0.6); /* dark semi-transparent background */
    backdrop-filter: blur(8px);
    z-index: 2000000;
    color: #ffffff;
}

/* --- Modal Content --- */
.modal-content {
  width: 100%;
  max-width: 340px;
    position: fixed;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.1); /* translucent glass */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000001;
}

#cartDetails{
  max-height: 220px;
  overflow: hidden;
  overflow-y: auto;
}

/* --- Close Button --- */
.close {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}
.close:hover,
.close:focus {
    color: #00ffaa; /* accent color */
    text-decoration: none;
}

/* --- Cart Item Styling --- */
.cart-item {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

/* --- Checkout Form --- */
#checkoutForm {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#checkoutForm label {
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}

#checkoutForm input {
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: background 0.3s ease, border 0.3s ease;
}
#checkoutForm input:focus {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid #00ffaa;
}

/* --- Submit Button --- */
#checkoutForm button {
    padding: 10px;
    margin-top: 10px;
    background-color: #00ffaa;
    color: #000;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}
#checkoutForm button:hover {
    background-color: #fff;
    box-shadow: 0 0 15px #00ffaa;
}



#container {
  max-width: 350px;
  margin: 1rem auto 2rem;
  padding: 1.25rem 1rem;
  border-radius: 29px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Top toolbar row */
#container .toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Search + selects share same base style */
#container .toolbar input,
#container .toolbar select {
  flex: 1 1 10px;
  min-width: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
  outline: none;
  font-size: 0.8rem;
  color: #111;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

#container .toolbar input::placeholder {
  color: var(--muted, #9b9b9b);
}

#container .toolbar input:focus,
#container .toolbar select:focus {
  border-color: var(--brand, #1f8cff);
  box-shadow: 0 0 0 2px rgba(31, 140, 255, 0.15);
  background: #fff;
}

#categoryFilter{
  display: none;
}

#topStatus{
  display: none;
}

/* Refresh button */
#container .toolbar .primary#refreshBtn {
  display: none;
  flex: 0 0 auto;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: var(--brand, #1f8cff);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}

#container .toolbar .primary#refreshBtn:hover {
  background: #1672d0;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(22, 114, 208, 0.25);
}

#container .toolbar .primary#refreshBtn:active {
  transform: translateY(0);
  box-shadow: none;
}

.search-wrap { position: relative; overflow: visible; z-index: 10000;} 
/* Ensure parents don't clip dropdown */
 .nav-center, .search-toolbar { overflow: visible; }
  /* Dropdown visible above other elements */
   #searchDropdown, .search-dropdown { position: absolute; 
    top: calc(100% + 8px); 
    left: 0; 
    width: 100%; 
    min-width: 220px; 
    display: block; /* remove if JS toggles visibility */ 
    z-index: 9999; background: rgba(20, 20, 20, 0.95); 
    border: 1px solid rgba(255,255,255,0.12); 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.35); 
    max-height: 260px; overflow-y: auto; } /* Items */ 

      #search {
    width: 100%;
    max-width: fit-content;
    padding: 12px 14px;
    font-size: 14px; /* prevents iOS zoom */
    border-radius: 28px;
    
  }

  .search-item{
    
    border: white 1px solid;

  }

  /* Slightly improve dropdown tap usability */
  .search-dropdown div {
    padding: 12px 14px;
    font-size: medium;
  }
    .search-dropdown div { 
      color: #fff; cursor: pointer; 

} 
      .search-dropdown div:hover 
      
      { background: rgba(255,255,255,0.08); 
}

.meta-title {
  color: white;
}
#popupCategory{
  color: white;
}
.popup-badge{
  color: white;
}


}