/* Shared Pasmira stylesheet (style.css) */
/* Theme vars */
:root{
  --bg:#0b1720;
  --card:#071722;
  --muted:#9fb7d6;
  --accent:#00d2ff;
  --accent-2:#ffd400;
  --white:#ffffff;
  --glass: rgba(255,255,255,0.04);
  --radius:18px;
  --ff-sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
}

/* Reset */
*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{
  font-family:var(--ff-sans);
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(0,210,255,0.04), transparent 6%),
    radial-gradient(800px 400px at 90% 80%, rgba(255,212,64,0.03), transparent 8%),
    linear-gradient(180deg,#08121a 0%, #04121a 60%);
  color:#e8f4ff;
  -webkit-font-smoothing:antialiased;
  line-height:1.45;
  overflow-x:hidden;
  transition:background .35s ease;
}



/* Header / nav */
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; }
.logo {
  width:44px; height:44px; border-radius:10px; overflow:hidden; display:grid; place-items:center;
  
}
.logo img { width:36px; height:36px; object-fit:contain; }
.brand-text { line-height:1; }
.brand-title { font-weight:800; font-size:0.98rem; color:var(--white); }
.brand-sub { font-size:12px; color:var(--muted); }

/* Sections */
.section{margin-top:28px}
.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
h1,h2,h3{color:var(--white);margin:0}

/* Cards & grid */
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:16px}
.card{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));padding:18px;border-radius:16px;position:relative;border:1px solid rgba(255,255,255,0.02);transition:transform .35s,box-shadow .35s;transform-origin:center}
.card:hover{transform:translateY(-14px) rotateX(4deg);box-shadow:0 30px 60px rgba(0,210,255,0.12)}
.tag{position:absolute;top:12px;right:12px;background:linear-gradient(90deg,var(--accent),var(--accent-2));padding:6px 8px;border-radius:10px;font-weight:700;color:#002;font-size:12px}
.specs{color:var(--muted);font-size:13px}

/* Product media */
.prod-media{height:140px;border-radius:12px;background:linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));display:grid;place-items:center;margin-bottom:12px;overflow:hidden}
.prod-media img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.card:hover .prod-media img{transform:scale(1.06) rotate(-1deg)}

/* Filter bar */
.filter-bar{margin-top:18px;display:flex;gap:8px;flex-wrap:wrap;background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));padding:10px;border-radius:12px;border:1px solid rgba(255,255,255,0.03);backdrop-filter:blur(6px)}
.filter-btn{padding:8px 12px;border-radius:999px;border:1px solid rgba(255,255,255,0.04);background:transparent;color:var(--muted);font-weight:700;cursor:pointer;transition:transform .18s,box-shadow .18s}
.filter-btn.active{background:linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));color:#001;box-shadow:0 8px 30px rgba(0,210,255,0.08);transform:translateY(-4px) scale(1.02)}

/* Responsive */
@media (max-width:1100px){.grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:980px){.grid{grid-template-columns:repeat(2,1fr)}.nav .links{display:none}}
@media (max-width:600px){.grid{grid-template-columns:1fr}.wrap{padding:18px}}
/* ---- Cart modal (slide-in from right) ---- */
.cart-toggle {
  position:fixed;
  right:18px;
  bottom:22px;
  z-index:1200;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  color:#001;
  border-radius:999px;
  padding:12px 16px;
  box-shadow:0 18px 40px rgba(0,210,255,0.12);
  font-weight:800;
  cursor:pointer;
  display:flex;
  gap:10px;
  align-items:center;
  backdrop-filter:blur(6px);
}

.cart-badge {
  background:#001;
  color:var(--white);
  padding:4px 8px;border-radius:999px;font-weight:800;font-size:13px;
}

/* slide-in panel */
.cart-panel {
  position:fixed;
  top:0;
  right:0;
  height:100vh;
  width:380px;
  max-width:92%;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: -24px 0 60px rgba(0,0,0,0.6);
  transform:translateX(110%);
  transition:transform .36s cubic-bezier(.2,.9,.3,1);
  z-index:1300;
  display:flex;
  flex-direction:column;
  padding:18px;
  backdrop-filter: blur(8px);
  border-left:1px solid rgba(255,255,255,0.02);
}

.cart-panel.open {
  transform:translateX(0%);
}

.cart-panel .cart-header{
  display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;
}
.cart-panel .cart-items { flex:1; overflow:auto; display:flex; flex-direction:column; gap:12px; padding-right:6px; }
.cart-item {
  display:flex;gap:10px;align-items:center;padding:10px;border-radius:10px;background:linear-gradient(180deg, rgba(255,255,255,0.01), transparent);border:1px solid rgba(255,255,255,0.02);
}
.cart-item .ci-thumb{width:64px;height:64px;border-radius:8px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01))}
.cart-item .ci-thumb img{width:100%;height:100%;object-fit:cover}
.cart-item .ci-body{flex:1}
.cart-item .ci-actions{display:flex;flex-direction:column;gap:6px;align-items:flex-end}
.qty-control{display:flex;gap:6px;align-items:center}
.qty-control button{background:transparent;border:1px solid rgba(255,255,255,0.04);padding:6px 8px;border-radius:8px;cursor:pointer;color:var(--muted)}

.cart-panel .cart-footer{margin-top:12px;display:flex;flex-direction:column;gap:8px}
.cart-total{display:flex;justify-content:space-between;align-items:center;font-weight:800;font-size:18px}
.cart-panel .btn {padding:10px 12px;border-radius:10px;background:linear-gradient(90deg,var(--accent),var(--accent-2));color:#001;border:none;cursor:pointer;font-weight:800}
.cart-panel .btn.ghost{background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--muted)}

/* mobile adjustments */
@media (max-width:640px){
  .cart-panel{width:100vw}
  .cart-toggle{right:10px;bottom:12px;padding:10px 12px}
}
/* Initial state */
.scroll-pop {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s ease-out;
}

/* When visible */
.scroll-pop.visible {
  opacity: 1;
  transform: translateY(0);
}
:root{
  --bg:#b4a5a5; --card:#071722; --muted:#9fb7d6; --accent:#00d2ff; --accent-2:#ffd400; --white:#fff; --glass: rgba(255,255,255,0.04); --glass-2: rgba(255,255,255,0.02); --radius:18px; --glow: 0 10px 30px rgba(0,210,255,0.08); --ff-sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}
*{box-sizing:border-box} html,body{height:100%;margin:0}
body{font-family:var(--ff-sans);background:radial-gradient(1200px 600px at 10% 10%, rgba(0,210,255,0.04), transparent 6%), radial-gradient(800px 400px at 90% 80%, rgba(255,212,64,0.03), transparent 8%), linear-gradient(180deg,var(--bg), #08121a 60%); color:#e8f4ff; line-height:1.45; overflow-x:hidden;}
a{color:var(--accent);text-decoration:none}
img{max-width:100%;height:auto;display:block}


/* NAV */
.nav{display:flex;align-items:center;justify-content:space-between;padding:10px 0;}
.brand{display:flex;align-items:center;gap:12px}
.logo{width:70px;height:70px;border-radius:12px;display:grid;place-items:center;font-weight:700;color:#00101a;font-family:monospace}
.nav .links{display:flex;gap:18px;align-items:center}
.nav .cta{background:linear-gradient(90deg,var(--accent),#57f0ff);color:#002; padding:10px 16px;border-radius:12px;font-weight:700;box-shadow:0 6px 20px rgba(0,210,255,0.12);}

.category-panel,
.featured-panel {
  margin-top: auto; /* ensures consistent spacing behavior */
}


.category-panel,
.featured-panel {
  background: linear-gradient(180deg, var(--card), rgba(10,20,30,0.2));
  border-radius: 18px;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 4rem auto; /* centers both horizontally and adds spacing */
}
.category-panel {
  margin-top: 11.5rem;
  background: linear-gradient(180deg, var(--card), rgba(10,20,30,0.2));
  border-radius: 18px;
  padding: 5rem;
}

.category-panel .section-title {
  text-align: center;
  
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
}

.category-card {
  background: rgba(255,255,255,0.03);
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.category-card:hover {
  background: var(--accent);
  color: var(--card);
  transform: translateY(-4px);
}
.eyebrow{display:inline-flex;gap:10px;align-items:center;padding:6px 10px;border-radius:999px;background:var(--glass);color:var(--accent-2);font-weight:600;font-size:13px}

.tagline{color:var(--muted);margin:0 0 20px;font-size:15px}

.btn-primary{background:linear-gradient(90deg,var(--accent),#00ffa9);padding:12px 18px;border-radius:12px;font-weight:700;color:#002;border:none;cursor:pointer;box-shadow:0 12px 40px rgba(0,210,255,0.10);}
.btn-ghost{background:transparent;padding:10px 14px;border-radius:12px;border:1px solid rgba(255,255,255,0.06);color:var(--muted)}

.key-metrics{display:flex;gap:16px;margin-top:18px;flex-wrap:wrap}
.metric{background:var(--glass);padding:12px 14px;border-radius:12px;font-weight:700;color:var(--muted)}

.panel{background:linear-gradient(180deg,var(--card), rgba(10,20,30,0.2));padding:18px;border-radius:18px}
.product{display:grid;grid-template-columns:1fr;gap:12px}
.product-card{background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);padding:16px;border-radius:14px;display:flex;gap:12px;align-items:center;transition:transform .3s,box-shadow .3s;}
.product-card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(0,210,255,0.06);}
.pc-thumb{width:80px;height:80px;border-radius:12px;background:linear-gradient(135deg,#041b27, #08324a);display:grid;place-items:center}
.pc-title{font-weight:800}

.pc-price{color:var(--accent-2);font-weight:700}



/* Scroll animations */
.stagger-fade{opacity:0;transform:translateY(12px);animation:staggerIn .7s forwards;}
.stagger-fade[data-delay]{animation-delay:var(--delay)}
@keyframes staggerIn{to{opacity:1;transform:none}}

      
    /* featured products area */
    .featured-grid{display:flex;flex-direction:column;gap:10px}
    .featured-item{display:flex;align-items:center;gap:12px;padding:12px;border-radius:12px;background:linear-gradient(180deg, rgba(255,255,255,0.01), transparent);position:relative;overflow:hidden}
    .pc-thumb{width:72px;height:72px;border-radius:10px;background:linear-gradient(135deg,#041b27,#08324a);display:grid;place-items:center;font-size:28px}
    .pc-title{font-weight:800}
    .pc-price{color:var(--accent);font-weight:800}

    /* overlay on hover */
    .feat-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0.5),rgba(0,0,0,0.6));display:flex;align-items:center;justify-content:center;gap:10px;opacity:0;transform:translateY(6px);transition:opacity .22s ease, transform .22s ease}
    .featured-item:hover .feat-overlay{opacity:1;transform:none}
    .feat-btn{background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.04);padding:10px 12px;border-radius:10px;color:var(--white);cursor:pointer;font-weight:700;display:flex;gap:8px;align-items:center}
    .feat-icon{font-size:18px}

    /* product modal */
    .prod-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,0.6);z-index:100000;padding:20px}
    .prod-modal.open{display:flex}
    .prod-card{width:100%;max-width:880px;background:linear-gradient(180deg,var(--card), rgba(10,20,30,0.06));border-radius:14px;padding:18px;display:grid;grid-template-columns:360px 1fr;gap:18px;align-items:start;color:var(--white)}
    .prod-card img{width:100%;height:100%;object-fit:cover;border-radius:10px}
    .prod-actions{display:flex;gap:10px;margin-top:12px}
    .close-prod{background:transparent;border:0;color:var(--muted);font-size:20px;cursor:pointer}

    /* cart */
    #cartModal{position:fixed;top:0;right:-420px;width:380px;height:100%;background:rgba(4,10,12,0.96);color:#fff;z-index:9999;transition:right 0.36s;display:flex;flex-direction:column;padding:18px;gap:12px;}
    #openCart{position:fixed;bottom:22px;right:22px;background:linear-gradient(90deg,#ffd65a,#00d2ff);border:none;color:#002;padding:12px 14px;border-radius:12px;cursor:pointer;z-index:1000}

    /* responsive */
   
    @media (max-width:600px){.grid{grid-template-columns:1fr}.nav .links{display:none}.wrap{padding:18px}}

    /* Scroll animations */
    .stagger-fade{opacity:0;transform:translateY(12px);animation:staggerIn .7s forwards;}
    .stagger-fade[data-delay]{animation-delay:var(--delay)}
    @keyframes staggerIn{to{opacity:1;transform:none}}
/* CATEGORY SECTION */
  .category-section {
    width: 100%;
    padding: 1.5rem 6% 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 4rem;
  }

  .category-section .section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-left: 0.3rem;
  }

  .category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 0.9rem;
    width: 100%;
    max-width: 780px;
  }

  .category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.1rem 0.9rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .category-card:hover {
    transform: scale(1.04);
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    background: rgba(255,255,255,0.05);
  }

  .category-card i {
    width: 24px;
    height: 24px;
    color: var(--accent);
  }

  .category-card span {
    font-size: 0.9rem; 
    font-weight: 500;
  }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    .category-grid {
      grid-template-columns: repeat(2, 1fr);
      max-width: 100%;
    }

    .category-section {
      align-items: center;
      text-align: center;
    }

    .category-section .section-title {      margin-left: 0;    }  }
  @media (max-width: 600px) {    .category-grid {      grid-template-columns: 1fr;    }  }

   /* Sections */
section{margin-top:26px}
.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:16px}
.card{background:var(--glass);padding:18px;border-radius:16px;position:relative;overflow:hidden;border:1px solid rgba(255,255,255,0.02)}
.card:hover{transform:translateY(-6px);transition:transform .28s cubic-bezier(.2,.9,.3,1);box-shadow:0 18px 40px rgba(0,210,255,0.06)}
.card .tag{position:absolute;top:12px;right:12px;background:linear-gradient(90deg,var(--accent),var(--accent-2));padding:6px 8px;border-radius:10px;font-weight:700;color:#002;font-size:12px}
.specs{color:var(--muted);font-size:13px}


    /* Blog preview */
    .blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:12px}
    .post{background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);border-radius:12px;overflow:hidden}
    .post .thumb{height:140px;background:#061a1f;display:block}
    .post .body{padding:12px}

  
    /* small UI */
    #cartModal{position:fixed;top:0;right:-420px;width:380px;height:100%;background:rgba(4,10,12,0.96);color:#fff;z-index:9999;transition:right 0.36s;display:flex;flex-direction:column;padding:18px;gap:12px;}
    #openCart{position:fixed;bottom:22px;right:22px;background:linear-gradient(90deg,#ffd65a,#00d2ff);border:none;color:#002;padding:12px 14px;border-radius:12px;cursor:pointer;z-index:1000}

    /* responsive tweaks */
    @media (max-width:980px){
      
      .grid{grid-template-columns:repeat(2,1fr)}
      .blog-grid{grid-template-columns:repeat(2,1fr)}
      .search-input{right:8px;left:8px}
    }
    @media (max-width:600px){
      .grid{grid-template-columns:1fr}
      .blog-grid{grid-template-columns:1fr}
      .nav .links{display:none}
      .wrap{padding:18px}
    
      h1{font-size:20px}
    }

    /* Simple scroll reveal utility used by the JS (fallback) */
    .reveal-hidden { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
    .reveal-show { opacity: 1; transform: translateY(0); }

    @keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.1); opacity: 1; }
}
.pulse {
  animation: pulse 8s ease-in-out infinite;
}

.reveal-hidden { opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; }
.reveal-show { opacity:1; transform:translateY(0); }
@media (max-width:600px){
  .prod-card { grid-template-columns:1fr; padding:12px }
  .prod-card img { height:220px }
}
.site-search-modal{position:fixed;inset:0;background:rgba(0,0,0,.7);backdrop-filter:blur(6px);display:none;align-items:flex-start;justify-content:center;padding-top:8vh;z-index:99999}
.site-search-modal.open{display:flex}
.site-search-inner{width:90%;max-width:860px;margin:0 16px}
.site-search-box{display:flex;gap:8px;align-items:center}
.site-search-box input{width:100%;padding:14px 16px;border-radius:12px;border:none;outline:none;font-size:16px;background:rgba(255,255,255,.05);color:var(--white)}
.site-search-results{margin-top:12px;background:var(--card);border-radius:12px;padding:12px;max-height:50vh;overflow:auto}
.site-search-hit{padding:10px;border-bottom:1px solid rgba(255,255,255,0.04);cursor:pointer}
.site-search-hit:last-child{border-bottom:0}
 

#products .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row */
  gap: 16px; /* space between cards */
}

@media (max-width: 900px) {
  #products .grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on smaller screens */
  }
}

@media (max-width: 600px) {
  #products .grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}
/* ===========================
   CARD ANIMATIONS & 3D INTERACTIONS
   =========================== */

/* Base pop-in animation for all cards */
@keyframes popIn {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Bounce effect on hover */
@keyframes bounceUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Apply to all interactive cards */
.feature,
.preview-card,
.blog-card,
.review-card,
.location-card {
  perspective: 800px;
  transform-style: preserve-3d;
  animation: popIn 0.8s ease both;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover static bounce & shadow */
.feature:hover,
.preview-card:hover,
.blog-card:hover,
.review-card:hover,
.location-card:hover {
  animation: bounceUp 0.5s ease forwards;
  box-shadow: 0 12px 28px rgba(0,0,0,0.55);
}

/* Subtle lighting overlay on hover */
.feature::before,
.preview-card::before,
.blog-card::before,
.review-card::before,
.location-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
}

/* Image zoom on hover */
.preview-card img,
.blog-card img {
  transition: transform 0.4s ease;
}
.preview-card:hover img,
.blog-card:hover img {
  transform: scale(1.05);
}
/* ===== Bundle Card Enhancements ===== */
.product-card {
  position: relative;
  overflow: hidden;
}

.save-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-2);
  color: #000;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
  z-index: 3;
}

.bundle-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: var(--radius);
  backdrop-filter: blur(5px);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
:root{
  --navy:#06131c;
  --bg:#0c1a33; /* dark blue gradient base */
  --bg-gradient:linear-gradient(135deg,#00d2ff,#ffd65a,#ff6ec7);
  --card:#0c2530;
  --muted:#c0cbd6;
  --accent:#d6b04f;
  --accent-cyan:#00d2ff;
  --white:#ffffff;
  --glass: rgba(255,255,255,0.06);
  --radius:14px;
  --ff-sans:Inter,system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial;
}

body{
  font-family:var(--ff-sans);
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--white);
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 20px;
  background:rgba(0,0,0,0.4);
  backdrop-filter:blur(10px);
  position:sticky;
  top:0;
  z-index:100;
}

.nav a{color:var(--white);text-decoration:none;margin:0 8px;font-weight:600;}
.nav a.active{color:var(--accent);}

.section-header{
  text-align:center;
  margin-bottom:20px;
}
.section-header h2{
  font-size:2rem;
  margin-bottom:6px;
  background:linear-gradient(90deg,#00d2ff,#ffd65a,#ff6ec7);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.section-header p{color:var(--muted);margin-bottom:20px;}

.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:20px;
}

.product-card{
  background:rgba(255,255,255,0.05);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform 0.3s, box-shadow 0.3s;
}

.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 20px rgba(0,0,0,0.5);
}

.card-media img{
  width:100%;
  height:200px;
  object-fit:cover;
  transition:transform 0.3s;
}

.product-card:hover .card-media img{
  transform:scale(1.05);
}

.product-info{
  padding:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}

.product-info h4{
  font-size:1.1rem;
  margin:0 0 6px 0;
}

.product-price{
  font-weight:700;
  color:var(--accent-cyan);
}

.btn-buy{
  padding:8px 12px;
  border:none;
  border-radius:10px;
  background:linear-gradient(90deg,#00d2ff,#ff6ec7,#ffd65a);
  color:#001;
  font-weight:700;
  cursor:pointer;
  transition:all 0.3s;
}

.btn-buy:hover{
  transform:scale(1.05);
  opacity:0.95;
}
.nav-links a {
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px; /* distance from text */
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}
.nav .brand {
  margin-right: 40px; /* pushes links further from logo */
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
.whatsapp-float img {
  width: 35px;
  height: 35px;
}

.nav-search {
  position: relative;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
}

.search-item {
  display: flex;
  gap: 10px;
  padding: 8px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.search-item:hover {
  background: #f6f6f6;
}

.search-item img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
}

.search-text h4 {
  margin: 0;
  font-size: 0.9rem;
}

.search-text small {
  color: #888;
}
/* ---------- HAMBURGER / MOBILE ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

@media (max-width: 820px) {
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    flex-direction: column;
    background: #06131c;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
    text-align: center;
    padding: 0;
  }
  .nav-links.open {
    max-height: 500px;
    padding: 1rem 0;
  }
  .nav-links a { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-links a:last-child { border-bottom: none; }
}

/* Hamburger toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile menu */
@media (max-width: 850px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    background: #06131c;
    width: 100%;
    padding: 1rem 0;
    z-index: 998;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: inline-block;
  }
  .nav-right {
    display: flex;
    gap: 12px;
  }
}


/* ---------------- ACCOUNT DROPDOWN ---------------- */
.account-dropdown {
  position: relative;
}

.account-btn {
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}

.dropdown-menu {
  position: absolute;
  top: 38px;
  right: 0;
  background: #111;
  padding: 10px 0;
  border-radius: 8px;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  z-index: 20;
}

.dropdown-menu a,
.dropdown-menu button {
  padding: 10px 15px;
  text-align: left;
  background: none;
  color: #fff;
  text-decoration: none;
  border: none;
  width: 100%;
}

.dropdown-menu button:hover,
.dropdown-menu a:hover {
  background: rgba(255,255,255,0.1);
}

.hidden {
  display: none;
}
/* ---------------- ACCOUNT DROPDOWN ---------------- */
.account-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.account-toggle {
  background: none;
  color: white;
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
}

.account-dropdown {
  position: absolute;
  top: 40px;
  right: 0;
  width: 180px;
  padding: 12px;
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 0 8px #00d2ff, 0 0 16px #ffd65a;
  display: none;
  animation: fadeIn 0.25s ease-out;
  z-index: 20;
}

.account-dropdown a,
.account-dropdown button {
  display: block;
  padding: 8px 0;
  color: white;
  text-align: left;
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
}

.account-dropdown a:hover,
.account-dropdown button:hover {
  color: var(--accent-2);
}

.user-fullname {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}/* ------------------------------------------------------
   LOADER
------------------------------------------------------ */
.loader-wrapper{
  position:fixed;
  top:0; left:0;
  width:100%; height:100%;
  background:#ffffffaa;
  backdrop-filter:blur(8px);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:2000;
  animation:fadeOut .6s ease forwards;
  animation-delay:1.2s;
}

.loader{
  width:90px;
  height:90px;
  border-radius:50%;
  border:5px solid var(--accent);
  border-top-color:transparent;
  animation:spin 1s linear infinite;
  display:flex;
  justify-content:center;
  align-items:center;
}

.loader-logo{
  font-size:1.1rem;
  font-weight:700;
  color:var(--accent);
  animation:pulse 1s infinite alternate;
}

@keyframes spin{
  to{transform:rotate(360deg);}
}
@keyframes pulse{
  0%{opacity:0.5;}
  100%{opacity:1;}
}
@keyframes fadeOut{
  to{opacity:0; visibility:hidden;}
}/* Nav links with glowing underline animation */
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease, text-shadow 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #ffd65a;
  box-shadow: 0 0 6px #ffd65a, 0 0 12px #ffd65a;
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a:hover,
.nav-links a.active {
  color: #ffd65a;
  text-shadow: 0 0 6px #ffd65a, 0 0 12px #ffd65a;
}
.nav-search input:focus {
  outline: none;
  box-shadow: 0 0 6px #00d2ff, 0 0 12px #ffd65a;
}.hamburger:hover span {
  box-shadow: 0 0 6px #ffd65a, 0 0 12px #ffd65a;
}
.dropdown-menu a:hover,
.dropdown-menu button:hover {
  background: #111;
  text-shadow: 0 0 6px #ffd65a, 0 0 12px #ffd65a;
}
.account-btn:hover {
  text-shadow: 0 0 6px #ffd65a, 0 0 12px #ffd65a;
}
.badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #ffd65a;
  color: #06131c;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 50%;
  box-shadow: 0 0 6px #ffd65a, 0 0 12px #ffd65a;
}
.nav{ box-shadow: 0 0 8px rgba(0, 210, 255, 0.2);}