/* Client E-Commerce Storefront Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  --font-store: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-tajawal: 'Tajawal', sans-serif;
  --primary-color: #059669;
  --primary-dark: #047857;
  --accent-color: #f59e0b;
  --bg-store: #f8fafc;
}

body {
  font-family: var(--font-store);
  direction: rtl;
  text-align: right;
  background-color: var(--bg-store);
  color: #1e293b;
  overflow-x: hidden;
}

/* Category Circular Pill */
.category-circle-pill {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 11px;
  text-align: center;
  padding: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid #ffffff;
}

.category-circle-pill:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* Product Card Design matching reference image */
.client-product-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s ease-in-out;
}

.client-product-card:hover {
  transform: translateY(-4px);
  border-color: #10b981;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
}

.product-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fef3c7;
  color: #d97706;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid #fde68a;
}

.product-attr-pill {
  background: #f1f5f9;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
}

/* Cart Drawer Animation */
.cart-drawer-overlay {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease-in-out;
}

.cart-drawer-panel {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  animation: pulseFloat 2.5s infinite ease-in-out;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulseFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
