/* ==========================================================================
   Madhav Kala Traditional Clothing - Boutique Theme
   Theming inspired by classiccurves.in & panachengp.com
   Clean, modern Indian ethnic fashion storefront with Amiri & Montserrat typography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Classic Curves & Panache inspired palette */
  --g-font-serif: 'Amiri', 'Playfair Display', serif;
  --g-font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --g-color-heading: #121212;
  --g-color-body: #3c3c3c;
  --g-color-muted: #767676;
  --g-alert-bg: #f6a892; /* Classic Curves signature soft blush announcement */
  --g-alert-text: #1a1a1a;
  
  --g-accent-maroon: #85172f;
  --g-accent-gold: #c59b27;
  --g-border-color: #eaeaea;
  --g-bg-canvas: #ffffff;
  --g-bg-soft: #faf8f5;
  --g-bg-ivory: #fcfbf9;
}

body {
  font-family: var(--g-font-sans);
  background-color: var(--g-bg-canvas);
  color: var(--g-color-body);
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

.font-serif-luxury {
  font-family: var(--g-font-serif);
}

.font-sans-clean {
  font-family: var(--g-font-sans);
}

/* Announcement Bar Ticker (Classic Curves & Panache Style) */
.announcement-bar-classic {
  background-color: var(--g-alert-bg);
  color: var(--g-alert-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Navigation Links (Montserrat with clean spacing) */
.nav-boutique-link {
  font-family: var(--g-font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #212529;
  position: relative;
  transition: color 0.2s ease;
  padding: 8px 12px;
}

.nav-boutique-link:hover,
.nav-boutique-link.active {
  color: var(--g-accent-maroon);
}

.nav-boutique-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--g-accent-maroon);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-boutique-link:hover::after,
.nav-boutique-link.active::after {
  transform: scaleX(1);
}

/* Category Filter Tabs (Panache Style) */
.filter-tab {
  font-family: var(--g-font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 9999px;
  border: 1px solid #e2e2e2;
  background: #ffffff;
  color: #4a4a4a;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  border-color: #121212;
  color: #121212;
}

.filter-tab.active {
  background: #121212;
  color: #ffffff;
  border-color: #121212;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Minimalist Product Preview Card (Matching Reference Screenshot media_1795449266515_06f74750.jpg) */
.product-preview-card,
.home-arrival-card {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.product-preview-card img,
.home-arrival-card img {
  border-radius: 0.5rem;
}

/* Product Card (Classic Curves & Panache boutique card) */
.boutique-card {
  background: #ffffff;
  border: 1px solid #ededed;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.boutique-card:hover {
  border-color: #d1d1d1;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.boutique-card .card-img-wrapper {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f7f7f7;
}

.boutique-card .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.boutique-card:hover .card-img {
  transform: scale(1.05);
}

/* Quick View Overlay Button */
.quick-view-overlay-btn {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: #121212;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transform: translateY(12px);
  opacity: 0;
  transition: all 0.25s ease;
}

.boutique-card:hover .quick-view-overlay-btn {
  transform: translateY(0);
  opacity: 1;
}

/* Badges */
.badge-sale {
  background: #121212;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}

/* Minimalist New Arrivals Card (Screenshot 4) */
.home-arrival-card {
  display: flex;
  flex-direction: column;
}

.home-arrival-card .img-container {
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f7f7f7;
}

.home-arrival-card .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.home-arrival-card:hover .img-container img {
  transform: scale(1.04);
}

.home-arrival-card .arrival-title {
  font-family: var(--g-font-sans);
  font-size: 14px;
  font-weight: 400;
  color: #121212;
  margin-top: 10px;
  line-height: 1.3;
}

.home-arrival-card .arrival-price {
  font-family: var(--g-font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #121212;
  margin-top: 4px;
}

.badge-festive {
  background: var(--g-accent-maroon);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f6f6f6;
}
::-webkit-scrollbar-thumb {
  background: #c5c5c5;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #999999;
}

/* Native Modal Dialog */
dialog.custom-modal {
  margin: auto;
  border: none;
  background: transparent;
  max-width: 95vw;
  width: 920px;
  padding: 0;
  border-radius: 4px;
  overflow: visible;
}

dialog.custom-modal::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Floating WhatsApp Button - Static rounded, no hover animations */
.whatsapp-float-btn {
  background: #25d366;
  color: white;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

/* Toast Notification */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast-msg {
  pointer-events: auto;
  animation: slideToast 0.25s ease-out;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
@keyframes slideToast {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
