/* --- GLOBAL STYLES --- */
:root {
  --primary: #1a1a1a;
  --accent: #c29d59; 
  --bg: #fcfcfc;
  --card-bg: #ffffff;
  --text-muted: #6b7280;
}

* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background-color: var(--bg); color: var(--primary); }

/* --- PRODUCT CARD STYLING --- */
.grid {
  width: min(1200px, 94%);
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.product-card {
  background: white;
  border-radius: 25px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid #eee;
  transition: 0.3s;
}

/* --- IMAGE SLIDER --- */
.img-slider {
  width: 100%;
  aspect-ratio: 1/1.1;
  overflow-x: auto;
  display: flex;
  scroll-snap-type: x mandatory;
  border-radius: 15px;
  scrollbar-width: none;
}
.img-slider::-webkit-scrollbar { display: none; }
.img-slider img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  scroll-snap-align: start;
  cursor: zoom-in;
}

.swipe-hint {
  text-align: center;
  font-size: 10px;
  color: var(--accent);
  margin: 10px 0;
  letter-spacing: 2px;
}

/* --- WHATSAPP BUTTON --- */
.btn-whatsapp {
  display: block;
  text-align: center;
  background: #25D366;
  color: white;
  text-decoration: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  margin-top: 15px;
}

/* --- LIGHTBOX (ZOOM) --- */
#lightbox { 
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); 
  z-index: 9999; justify-content: center; align-items: center; 
}
#lightbox img { max-width: 90%; max-height: 80%; border-radius: 10px; }
/* --- PREMIUM SEARCH BUTTON STYLING --- */

/* Header ka search icon */
.search-trigger {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(243, 244, 246, 0.8); /* Soft glass effect */
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px; /* Squircle shape */
    text-decoration: none;
    font-size: 20px;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

.search-trigger:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Sidebar ka search button */
.sidebar-search-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: #f8f9fa;
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 20px;
    transition: 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.sidebar-search-btn span {
    font-size: 18px;
    filter: grayscale(1); /* Icon ko sober rakhne ke liye */
}

.sidebar-search-btn:hover {
    background: #fff;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left-width: 8px;
}

/* Mobile Friendly Adjustments */
@media (max-width: 480px) {
    .search-trigger {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}