 

/* =============================== */
/*          BODY & BASE             */
/* ================================ */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #f7f7f7;
  color: #333;
}
 

/* =============================== */
/*       CART PANEL - DESKTOP       */
/* ================================ */
#cart {
  display: none;
  position: fixed;
  top: 130px;
  right: 20px;
  z-index: 9999;
  width: 360px;
  max-height: 80vh;
  padding: 20px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  font-family: 'Poppins', sans-serif;
  animation: slideIn 0.6s ease;
}
 

/* =============================== */
/*       CART PANEL - MOBILE        */
/* ================================ */
@media (max-width: 600px) {
  #cart {
    top: auto;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 88svh;
    max-height: none;
    border-radius: 26px 26px 0 0;
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
  }

  #cart.active {
    transform: translateY(0);
  }

  #cart {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    height: 85vh !important;
    border-radius: 28px 28px 0 0 !important;
    padding: 30px 24px !important;
    transform: translateY(100%) !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    opacity: 0;
    visibility: hidden;
    z-index: 9999 !important;
  }

  #cart.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #cart::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(0,0,0,0.3);
    border-radius: 2px;
  }
}
 

/* =============================== */
/*        STORE HEADER              */
/* ================================ */
.store-header {
  text-align: center;
  padding: clamp(100px, 18vh, 180px) 20px clamp(40px, 8vh, 60px) 20px;
  background: 
    linear-gradient(135deg, #111 0%, #1a1a1a 50%, #000 100%),
    radial-gradient(circle at 30% 20%, rgba(255,143,0,0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(0,123,255,0.1) 0%, transparent 50%);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 40vh;
}

.store-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,143,0,0.4), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(0,123,255,0.5), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.2), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: float 20s ease-in-out infinite;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(-10px) rotate(240deg); }
}

.store-header h1 {
  margin: clamp(12px, 3vw, 24px) 0 clamp(16px, 4vw, 28px) 0;
  font-size: clamp(2rem, 8vw, 4.5rem);
  background: linear-gradient(135deg, #ffd700 0%, #ff8f00 50%, #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: clamp(1px, 0.3vw, 6px);
  line-height: 1.1;
  position: relative;
  z-index: 2;
  text-shadow: 
    0 0 20px rgba(255,215,0,0.5),
    0 4px 15px rgba(0,0,0,0.3);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  0% { 
    text-shadow: 
      0 0 20px rgba(255,215,0,0.5),
      0 4px 15px rgba(0,0,0,0.3);
  }
  100% { 
    text-shadow: 
      0 0 40px rgba(255,215,0,0.8),
      0 8px 25px rgba(0,0,0,0.4);
  }
}

.store-header p {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  color: #ffe29e;
  text-align: center;
  font-style: italic;
  font-weight: 400;
  margin: clamp(8px, 2vw, 16px) auto;
  max-width: 90%;
  line-height: 1.5;
  position: relative;
  z-index: 2;
  opacity: 0.95;
}

.store-header .trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(20px, 4vw, 32px);
  padding: clamp(16px, 3vw, 24px);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}

.store-header .trust-badges span {
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
  padding: 8px 16px;
  border-radius: 25px;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  animation: slideUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.store-header .trust-badges span:nth-child(1) { animation-delay: 0.1s; }
.store-header .trust-badges span:nth-child(2) { animation-delay: 0.2s; }
.store-header .trust-badges span:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 

/* =============================== */
/*     STORE HEADER - RESPONSIVE    */
/* ================================ */
@media (max-width: 768px) {
  .store-header {
    padding: clamp(80px, 20vh, 120px) 16px clamp(30px, 8vh, 50px) 16px;
    min-height: 50vh;
  }
  
  .store-header h1 {
    letter-spacing: clamp(0.5px, 0.2vw, 3px);
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }
  
  .store-header p {
    font-size: clamp(1rem, 5vw, 1.3rem);
    padding: 0 8px;
  }
}

@media (max-width: 480px) {
  .store-header {
    padding: clamp(70px, 22vh, 100px) 12px clamp(25px, 7vh, 40px) 12px;
  }
  
  .store-header h1 {
    font-size: clamp(1.8rem, 12vw, 3rem);
    line-height: 1.1;
  }
  
  .store-header p {
    font-size: clamp(0.95rem, 5.5vw, 1.2rem);
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .store-header {
    padding: clamp(50px, 15vh, 80px) 16px clamp(20px, 6vh, 35px) 16px;
    min-height: 35vh;
  }
}
 

/* =============================== */
/*     PERFORMANCE & ACCESSIBILITY  */
/* ================================ */
@media (prefers-reduced-motion: reduce) {
  .store-header::before,
  .store-header h1,
  .store-header .trust-badges span {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-contrast: high) {
  .store-header {
    border-bottom: 2px solid;
  }
  
  .store-header h1 {
    text-shadow: 0 0 0 #000;
  }
}

@media print {
  .store-header {
    background: #fff !important;
    color: #000 !important;
    padding: 20px !important;
  }
  
  .store-header h1 {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }
}
 

/* =============================== */
/*        PRODUCT GRID              */
/* ================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 5px;
  max-width: 1500px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: visible;
}

@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
 

/* =============================== */
/*       PRODUCT CARD               */
/* ================================ */
.product-card {
  background-color: #fff2b3e6;
  border-radius: 15px;
  box-shadow: 0 500px 500px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 5px;
  padding: 5px;
  text-align: center;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.product-card img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  background: #f7f7f7;
}

.product-info {
  padding: 12px;
  text-align: center;
}

.product-info h3 {
  margin: 10px 0 5px 0;
  font-size: 1em;
}

.product-info p {
  font-size: 0.85em;
  color: #555;
}

.product-info input {
  width: 50px;
  text-align: center;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}
 

/* =============================== */
/*        ADD TO CART BUTTON        */
/* ================================ */
.add-to-cart {
  background-color: #025a12;
  color: #fff;
  padding: 12px 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
  margin-top: 10px;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-block;
  text-align: center;
}

.add-to-cart:hover {
  background-color: #ffb700;
  color: #000;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .add-to-cart {
    padding: 10px 12px;
    font-size: 0.95rem;
    border-radius: 5px;
  }
}
 

/* =============================== */
/*         BUY NOW BUTTON           */
/* ================================ */
.buy-now {
  background-color: #e74c3c;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
  width: 100%;
  transition: background-color 0.3s;
}

.buy-now:hover {
  background-color: #c0392b;
}
 

/* =============================== */
/*        CART DRAWER               */
/* ================================ */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(400px, 100%);
  height: 100svh;
  background: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cart-drawer.active {
  right: 0;
}

@media (max-width: 600px) {
  .cart-drawer {
    top: auto;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 88svh;
    border-radius: 26px 26px 0 0;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
    z-index: 9000;
  }

  .cart-drawer.active {
    transform: translateY(0);
  }
}

.cart-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.cart-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ff5722, #ff784e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.close-cart {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.empty-msg {
  text-align: center;
  color: #888;
  margin-top: 50px;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
}

.checkout-btn {
  width: 100%;
  padding: 15px;
  background: #000;
  color: #ffc000;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}
 

/* =============================== */
/*        CART OVERLAY              */
/* ================================ */
#cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 1999;
  backdrop-filter: blur(4px);
}

#cart-overlay.active {
  display: block;
}

@media (max-width: 600px) {
  #cart-overlay {
    background: rgba(0,0,0,0.75) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 9998 !important;
  }
  #cart-overlay.active { 
    display: block !important; 
  }
}
 

/* =============================== */
/*        CART CONTENT              */
/* ================================ */
#cart h2 {
  font-size: 1.6em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: #007bff;
  letter-spacing: 1px;
}

#cart ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#cart li {
  padding: 10px;
  margin: 6px 0;
  border-radius: 12px;
  background: #f9f9f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, transform 0.2s ease;
}

#cart li:hover {
  background: #eef6ff;
  transform: scale(1.02);
}

#cart li button {
  background: #dc3545;
  border: none;
  padding: 5px 10px;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

#cart li button:hover {
  background: #b02a37;
  transform: scale(1.1);
}

.cart-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.cart-buttons button {
  flex: 1;
  margin: 5px;
  padding: 10px 14px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#checkout-btn {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: #fff;
}

#checkout-btn:hover {
  background: linear-gradient(135deg, #0056b3, #0099cc);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
}

#whatsapp-btn:hover {
  background: linear-gradient(135deg, #1ebe5d, #0d6f5a);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cart-total {
  text-align: right;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 15px;
  color: #333;
  border-top: 2px dashed #ccc;
  padding-top: 10px;
}

.cart-total::before {
  content: "💰 ";
}
 

/* =============================== */
/*        CATEGORY TITLE            */
/* ================================ */
#selectedCategory {
  font-size: 2.8em;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 6px;
  font-weight: 800;
  text-align: center;
  color: #222;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #ff8f00, #f9a825, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  animation: fadeSlide 0.6s ease;
}

#selectedCategory::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  margin: 12px auto 0;
  background: linear-gradient(135deg, #ff8f00, #007bff);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 143, 0, 0.6);
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 

/* =============================== */
/*        CART POPUP                */
/* ================================ */
.cart-popup {
  display: none;
  position: fixed;
  top: 70px;
  right: 20px;
  width: 320px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 10px;
  z-index: 100;
  max-height: 500px;
  overflow-y: auto;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  width: 350px;
  font-family: 'Arial', sans-serif;
  text-align: center;
  position: relative;
}

.cart-popup h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
  font-weight: 600;
}

.cart-popup .remove-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fff;
  border: 2px solid #e74c3c;
  border-radius: 50%;
  font-size: 20px;
  color: #e74c3c;
  cursor: pointer;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 1;
}

.cart-popup .remove-btn:hover {
  background-color: #e74c3c;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cart-popup .remove-btn:active {
  transform: scale(1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cart-popup button {
  width: auto;
  padding: 12px 25px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease-out;
  text-align: center;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.cart-popup button:first-of-type {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #fff;
  border: 2px solid transparent;
}

.cart-popup button:first-of-type:hover {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.cart-popup button:last-of-type {
  background: #25D366;
  color: #fff;
  border: 2px solid transparent;
}

.cart-popup button:last-of-type:hover {
  background: #1ebe57;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.cart-popup button:hover {
  animation: pulse 0.6s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.cart-total {
  margin-top: 20px;
  font-weight: 600;
  font-size: 18px;
  color: #444;
  text-align: left;
  padding: 5px 0;
  border-top: 1px solid #eee;
  padding-top: 15px;
}
 

/* =============================== */
/*          SEARCH BAR              */
/* ================================ */
.search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto 40px;
  padding: 0 10px;
}

#productSearch {
  width: 100%;
  padding: 15px 25px 15px 50px;
  font-size: 1.1rem;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  outline: none;
}

#productSearch:focus {
  border-color: #ff8f00;
  box-shadow: 0 15px 40px rgba(255, 143, 0, 0.15);
  transform: translateY(-2px);
}

.search-icon {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .search-container {
    padding: clamp(12px, 4vw, 20px) !important;
    margin: clamp(16px, 5vw, 32px) auto 24px !important;
  }

  #productSearch {
    height: 56px !important;
    padding: 0 20px 0 48px !important;
    font-size: 16px !important;
    border-radius: 28px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
    border-width: 2px !important;
  }

  .search-icon {
    left: 20px !important;
    font-size: 18px !important;
  }
}
 

/* =============================== */
/*        STORE LAYOUT              */
/* ================================ */
.store-layout {
  display: flex;
  max-width: 1500px;
  margin: 40px auto;
  gap: 30px;
  padding: 0 20px;
}

.store-main {
  flex: 1;
}

@media (min-width: 1024px) {
  .category-sidebar {
    position: sticky !important;
    top: clamp(90px, 18vh, 105px) !important;
    width: 260px;
    background: #fff2b3e6;
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    position: sticky;
    top: 130px;
    height: fit-content;
  }

  .category-sidebar h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.4em;
    color: #222;
    letter-spacing: 1px;
  }

  .category-sidebar li {
    padding: 14px 18px;
    margin-bottom: 10px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    text-align: left;
    background: linear-gradient(135deg,#f9a825,#ff8f00);
    color: #fff;
    transition: all 0.3s ease;
    list-style: none;
  }

  .category-sidebar li:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }

  .category-sidebar li.active {
    background: linear-gradient(135deg,#1c0382,#5833ec,#5147de);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  }
}
 

/* =============================== */
/*    MOBILE CATEGORY & PRODUCTS    */
/* ================================ */
@media (max-width: 768px) {
  .store-layout {
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .category-sidebar {
    position: sticky !important;
    top: clamp(90px, 18vh, 105px) !important;
    z-index: 500 !important;
    background: rgba(255,255,255,0.98) !important;
    backdrop-filter: blur(25px) !important;
    border-radius: 0 0 24px 24px !important;
    margin: 0 !important;
    padding: 8px 16px !important;
    box-shadow: 0 6px 32px rgba(0,0,0,0.15) !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
  }

  .category-sidebar h3 { 
    display: none !important; 
  }

  .category-sidebar ul {
    display: flex !important;
    gap: clamp(6px, 2vw, 10px) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    height: 32px !important;
    align-items: center !important;
    flex: 1 !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .category-sidebar ul::-webkit-scrollbar { 
    display: none !important; 
  }

  .category-sidebar li {
    white-space: nowrap !important;
    padding: clamp(6px, 2vw, 10px) clamp(14px, 3vw, 20px) !important;
    border-radius: 20px !important;
    font-size: clamp(12px, 3.5vw, 14px) !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
    height: 32px !important;
    line-height: 1.2 !important;
    background: linear-gradient(135deg, #f9a825, #ff8f00) !important;
    color: white !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    transition: all 0.25s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .category-sidebar li.active {
    background: linear-gradient(135deg, #1c0382, #5833ec) !important;
    box-shadow: 0 4px 20px rgba(88,51,236,0.4) !important;
    transform: scale(1.05) !important;
  }

  .category-sidebar li:active { 
    transform: scale(0.95) !important; 
  }

  .product-grid {
    grid-template-columns: 1fr !important;
    padding: clamp(12px, 4vw, 20px) clamp(12px, 4vw, 20px) clamp(80px, 22vh, 120px) clamp(12px, 4vw, 20px) !important;
    gap: clamp(20px, 5vw, 28px) !important;
    max-width: 100% !important;
    width: 100vw !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .product-card {
    width: 100% !important;
    border-radius: clamp(16px, 4vw, 24px) !important;
    overflow: hidden !important;
    box-shadow: 0 clamp(10px, 3vw, 20px) clamp(32px, 8vw, 48px) rgba(0,0,0,0.12) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  }

  .product-card img {
    width: 100% !important;
    height: clamp(260px, 50vw, 340px) !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: clamp(16px, 4vw, 24px) clamp(16px, 4vw, 24px) 0 0 !important;
  }

  .add-to-cart, .buy-now {
    width: 100% !important;
    padding: clamp(14px, 4vw, 18px) !important;
    font-size: clamp(15px, 4vw, 17px) !important;
    min-height: clamp(50px, 13vw, 58px) !important;
    border-radius: clamp(12px, 3vw, 18px) !important;
    font-weight: 700 !important;
    margin: 0 0 clamp(8px, 2vw, 12px) 0 !important;
  }

  .store-main h2 {
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
    margin-bottom: 18px !important;
  }
}

@media (max-width: 480px) {
  .category-sidebar {
    position: sticky !important;
    top: clamp(70px, 18vh, 85px) !important;
    height: 42px !important;
    padding: 6px 14px !important;
  }

  .category-sidebar ul { 
    height: 30px !important; 
  }
  
  .category-sidebar li { 
    height: 30px !important; 
  }

  .product-grid {
    padding-bottom: clamp(90px, 25vh, 110px) !important;
  }

  .store-main h2 {
    font-size: 0.95rem !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
  }
}
 

/* =============================== */
/*         CART BUTTON              */
/* ================================ */
.cart-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  height: 30px;
  background: #000;
  color: #ffc000;
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  z-index: 99999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.cart-btn:hover {
  background: #ffc000;
  color: #000;
  transform: translateY(-2px);
}

.cart-btn i {
  font-size: 1.4em;
}

.cart-btn span {
  font-weight: 700;
  font-size: 1.1em;
}

@media (max-width: 768px) {
  .cart-btn {
    bottom: 4px;
    right: 4px;
    padding: 5px 10px;
    font-size: 0.8rem;
    transform: scale(0.9);
  }
  
  .cart-btn i {
    font-size: 0.8em;
    display: none;
  }

  .cart-btn span {
    font-size: 0.8em;
  }
}

@media (max-width: 480px) {
  .cart-btn {
    bottom: 4px;
    right: 4px;
    padding: 8px 12px;
    font-size: 0.8rem;
    transform: scale(0.7);
  }

  .cart-btn i {
    font-size: 0.8em;
    display: none;
  }

  .cart-btn span {
    font-size: 0.8em;
  }
}
 

/* =============================== */
/*        CATEGORY TABS             */
/* ================================ */
.category-tabs {
  text-align: center;
  margin: 20px 0;
  position: sticky;
  top: 0;
  background: #1e1e1e;
  padding: 12px 0;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  z-index: 2000;
  font-family: 'Poppins', sans-serif;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.category-tabs:hover {
  box-shadow: 0 15px 50px rgba(0,0,0,0.25);
}

.category-tabs button {
  padding: 12px 28px;
  margin: 0 8px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #f9a825, #ff8f00);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-transform: capitalize;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease-out;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  display: inline-block;
  letter-spacing: 1px;
}

.category-tabs button::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #fff;
  border-radius: 50px;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.4s ease-in-out;
}

.category-tabs button:hover,
.category-tabs button.active {
  background: linear-gradient(135deg, #ff8f00, #f9a825);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  transform: translateY(-3px);
}

.category-tabs button:hover::after,
.category-tabs button.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.category-tabs button.active {
  background: linear-gradient(135deg, #f9a825, #ff8f00);
  color: #333;
  font-weight: 700;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  transition: all 0.4s ease-out;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.category-tabs {
  animation: slideIn 0.5s ease-out;
}

@media (max-width: 600px) {
  .category-tabs {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    z-index: 2000;
  }

  .category-tabs button {
    flex: 0 0 auto;
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .category-tabs::-webkit-scrollbar {
    display: none;
  }
}