/* Rabbit Shoes - 100% Neeman's & Campus Shoes Authentic D2C Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@600;700&display=swap');

html {
  font-size: 15px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

:root {
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Neeman's & Campus Shoes Signature Brand Tokens */
  --color-primary: #ff461e;
  --color-primary-hover: #e03a14;
  --color-accent: #f59e0b;
  --color-blue: #2563eb;
  --color-dark: #111827;
  
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --surface-card: #ffffff;
  --surface-hover: #ffffff;
  --card-img-bg: #f5f6f8;
  
  --text-main: #111827;
  --text-body: #4b5563;
  --text-muted: #6b7280;
  
  --border-subtle: #e5e7eb;
  --border-brand: #ff461e;
  
  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 16px 36px -8px rgba(0, 0, 0, 0.12);
  --glow-brand: 0 6px 20px rgba(255, 70, 30, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.font-code {
  font-family: var(--font-mono);
}

/* Sticky Header Glass */
.nav-glass {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* Campus & Neeman's Signature Primary Button */
.btn-brand, .btn-volt {
  background-color: #ff461e;
  color: #ffffff;
  font-weight: 800;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(255, 70, 30, 0.3);
}

.btn-brand:hover, .btn-volt:hover {
  background-color: #e03a14;
  box-shadow: 0 8px 24px rgba(255, 70, 30, 0.45);
  transform: translateY(-1px);
}

.btn-brand:active, .btn-volt:active {
  transform: translateY(1px) scale(0.98);
}

/* Authentic Neeman's & Campus Shoes Product Card */
.shoe-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.shoe-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.shoe-card-img-wrap {
  position: relative;
  background-color: #f5f6f8;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.shoe-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.shoe-card:hover .shoe-card-img {
  transform: scale(1.06);
}

/* Interactive UK Size Chips */
.size-chip {
  padding: 0.35rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.size-chip:hover {
  border-color: #ff461e;
  color: #ff461e;
  background: #fff5f2;
}

.size-chip.active {
  background: #ff461e;
  border-color: #ff461e;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 70, 30, 0.35);
}

/* Category Bubble Selector (Neeman's Style) */
.cat-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  transition: all 0.2s ease;
  cursor: pointer;
  min-width: 82px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.cat-bubble:hover {
  border-color: #ff461e;
  background: #fff8f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 70, 30, 0.12);
}

.cat-bubble.active {
  background: #ff461e;
  border-color: #ff461e;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255, 70, 30, 0.3);
}

.cat-bubble.active span {
  color: #ffffff !important;
}

/* Toast Notification Styling */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 360px;
  padding: 0.9rem 1.1rem;
  border-radius: 0.875rem;
  background: #111827;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.85rem;
  font-weight: 600;
}

@keyframes slideInToast {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Modal and Slide-over Transitions */
.modal-backdrop {
  background-color: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-content-box {
  background-color: #ffffff;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25);
}

/* Custom Scrollbar for Smooth Feel */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ================= MOBILE KEYBOARD & INPUT ANTI-AUTOZOOM ================= */
/* On iOS Safari and mobile Chrome, inputs with font-size < 16px trigger automatic screen zoom. */
/* Setting font-size: 16px !important on mobile devices prevents unwanted auto-zoom entirely. */
@media screen and (max-width: 768px) {
  input,
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  input[type="url"],
  select,
  textarea {
    font-size: 16px !important;
    touch-action: manipulation;
  }
}

/* Optimize tap responsiveness and prevent double-tap zoom delays */
button, 
a, 
input, 
select, 
textarea, 
.shoe-card, 
.cat-bubble, 
.size-chip {
  touch-action: manipulation;
}

/* ================= OFFICIAL PRINT STYLES FOR GST INVOICE & CHALLAN ================= */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  header, 
  footer, 
  nav, 
  #admin-header,
  #admin-login-view,
  #toast-container,
  #floating-whatsapp-container,
  .print\:hidden,
  button,
  .btn-brand,
  .btn-volt {
    display: none !important;
  }

  #invoice-modal-backdrop {
    display: none !important;
  }

  #invoice-modal {
    position: static !important;
    inset: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    display: block !important;
    width: 100% !important;
    background: transparent !important;
  }

  #invoice-modal > div {
    max-width: 100% !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0.5rem !important;
    margin: 0 !important;
  }

  #invoice-print-content {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }

  table {
    page-break-inside: avoid;
  }
}

