/* Indo Fashion India - Editorial Wholesale Storefront Design System */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --primary-ink: #111111;
  --secondary-ink: #4a4a4a;
  --accent-burgundy: #7c1d2e;
  --accent-gold: #b45309;
  --accent-emerald: #059669;
  --bg-page: #ffffff;
  --border-light: #e5e5e5;
  --text-primary: #1a1a1a;
  --text-secondary: #525252;
  --text-muted: #8c8c8c;
  
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.font-serif-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid #7c1d2e;
  outline-offset: 2px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Official Export Seal */
.official-export-seal {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 1.5px solid #7c1d2e;
  outline: 1px solid rgba(124, 29, 46, 0.25);
  outline-offset: 2px;
  color: #7c1d2e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-8deg);
  opacity: 0.9;
  background-color: rgba(124, 29, 46, 0.03);
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Subtle Institutional Header Shadow */
.header-shadow {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
}

/* Institutional Badge */
.inst-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Live Status Dot */
.status-dot-active {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* Product Card Styling (Clean Editorial Gallery like BlingBag) */
.product-card {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.product-card:hover {
  border-color: #d4d4d4;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.product-thumb-container {
  background-color: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .card-zoom-img {
  transform: scale(1.08);
}

.product-quick-overlay {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.25s ease;
}

@media (min-width: 1024px) {
  .product-quick-overlay {
    opacity: 0;
    transform: translateY(8px);
  }
  .product-card:hover .product-quick-overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hide scrollbars for horizontal category carousels */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Left Filter Drawer */
.filter-drawer-panel {
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.filter-drawer-panel.active {
  transform: translateX(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Slide-Over Drawer Transitions */
.drawer-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}
.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.drawer-panel.active {
  transform: translateX(0);
}

/* Mega Menu Dropdown */
.department-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.department-menu-container:hover .department-dropdown,
.department-dropdown:hover {
  display: block;
}

/* Proforma Invoice Print Styles */
@media print {
  body * {
    visibility: hidden;
  }
  #proforma-invoice-print-area, #proforma-invoice-print-area * {
    visibility: visible;
  }
  #proforma-invoice-print-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}
