/* ════════════════════════════════════════════════════════════
   Sanju Pansari — Premium Pansari UI
   Category tiles · Product visuals · Attractive icons
   ════════════════════════════════════════════════════════════ */

.pansari-category-card {
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.3s ease !important;
}

/* ── Category tiles with real photos ── */
.pansari-category-card.has-photo {
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pansari-category-photo-wrap {
  position: relative;
  height: 140px;
  overflow: hidden;
}
.pansari-category-photo-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.pansari-category-card:hover .pansari-category-photo-full {
  transform: scale(1.08);
}
.pansari-category-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(13,13,13,0.55) 100%);
}
.pansari-category-photo-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--logo-lime, #9ACD32);
  color: var(--logo-black, #0D0D0D);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.pansari-category-body {
  padding: 16px 14px 18px;
  text-align: center;
}
.pansari-category-fa-only {
  font-size: 2.2rem !important;
  background: var(--cat-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.pansari-category-icon {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 24px;
  background: var(--cat-soft, #F4FAEB);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(61, 107, 30, 0.12);
  border: 2px solid rgba(154, 205, 50, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.pansari-category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(154, 205, 50, 0.15), transparent 55%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pansari-category-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
}
.pansari-category-card:hover::before {
  opacity: 1;
}

.pansari-category-card:hover .pansari-category-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 16px 36px rgba(61, 107, 30, 0.2);
}
.pansari-category-icon::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 21px;
  background: var(--cat-gradient);
  opacity: 0.12;
}
.pansari-category-emoji {
  position: absolute;
  font-size: 2.6rem;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12));
  z-index: 2;
  transition: transform 0.3s ease;
}
.pansari-category-card:hover .pansari-category-emoji {
  transform: scale(1.12);
}
.pansari-category-fa {
  position: relative;
  z-index: 1;
  font-size: 1.75rem !important;
  background: var(--cat-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  opacity: 0.35;
}
.pansari-category-photo {
  position: relative;
  z-index: 3;
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.pansari-category-name {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}
.pansari-category-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700 !important;
  transition: gap 0.2s ease;
}
.pansari-category-card:hover .pansari-category-cta {
  gap: 10px;
}

/* Product real photos */
.pansari-product-card .product-card-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.pansari-product-card.has-real-photo .product-card-img-wrap::before {
  display: none;
}

/* ── Product card visuals (no photo) ── */
.pansari-product-card .product-card-img-wrap {
  aspect-ratio: 1 / 1;
  background: var(--product-soft, #f0fdf4);
  position: relative;
  overflow: hidden;
}
.pansari-product-card .product-card-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--product-gradient);
  opacity: 0.08;
}
.product-card-visual {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(160deg, var(--product-soft, #f0fdf4) 0%, #fff 100%);
}
.product-card-visual-fallback {
  display: none;
}
.product-card-visual-fallback.is-visible {
  display: flex;
}
.product-card-visual-emoji {
  font-size: clamp(3rem, 12vw, 4.2rem);
  line-height: 1;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.08));
  animation: pansariFloat 4s ease-in-out infinite;
}
@keyframes pansariFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.product-card-visual-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--product-gradient);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.pansari-product-card .product-card-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sp-primary, #3D6B1E) !important;
  font-weight: 700;
}
.pansari-product-card .product-card-category i {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: var(--product-soft, #E8F5E9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
.product-card-weight {
  font-size: 0.75rem;
  color: #64748b;
  margin: -4px 0 8px;
  font-weight: 600;
}
.product-card-weight i {
  color: var(--sp-accent, #9ACD32);
  margin-right: 4px;
}
.pansari-product-card .product-card-badge.featured {
  background: linear-gradient(135deg, #9ACD32, #7CB342) !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pansari-product-card .product-card-addcart {
  background: var(--product-gradient) !important;
  border: none !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(46, 125, 50, 0.25);
}
.pansari-product-card .product-card-addcart:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(46, 125, 50, 0.32);
}
.pansari-product-card:hover {
  border-color: rgba(76, 175, 80, 0.35) !important;
}

/* ── Bottom nav — richer icons ── */
.sanju-bottom-nav .bottom-nav-icon-wrap i {
  font-weight: 900;
}
.sanju-bottom-nav .bottom-nav-item.active .bottom-nav-icon-wrap {
  box-shadow: inset 0 0 0 2px rgba(76, 175, 80, 0.2);
}

/* ── Hero trust strip on homepage ── */
.pansari-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: -40px auto 50px;
  padding: 0 16px;
  max-width: 900px;
  position: relative;
  z-index: 5;
}
.pansari-trust-item {
  flex: 1 1 140px;
  max-width: 200px;
  background: #fff;
  border: 1px solid var(--sp-border, #E8DFC8);
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(27, 94, 32, 0.08);
}
.pansari-trust-item .pansari-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 6px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F4FAEB, #E8F5C8);
  color: var(--logo-forest, #3D6B1E);
  font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(61, 107, 30, 0.12);
}
.pansari-trust-item span:not(.pansari-trust-icon) {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.pansari-trust-item strong {
  display: block;
  font-size: 0.78rem;
  color: var(--sp-text, #1a2e1a);
}
.pansari-trust-item small {
  font-size: 0.65rem;
  color: var(--sp-muted, #5f6f5f);
}

.benefit-icon-emoji {
  font-size: 2rem !important;
  line-height: 1;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7) !important;
  color: inherit !important;
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.15);
}
.benefit-card:hover .benefit-icon-emoji {
  background: linear-gradient(135deg, var(--sp-primary-light), var(--sp-primary)) !important;
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .pansari-category-icon {
    width: 72px;
    height: 72px;
  }
  .pansari-category-emoji {
    font-size: 2.1rem;
  }
  .pansari-trust-strip {
    margin-top: -24px;
  }
}
