@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* M3 Colors - Light Theme based on base #2c3e50 (slate-800 approx) */
  --md-sys-color-primary: #125e79;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #c4e7ff;
  --md-sys-color-on-primary-container: #001d2a;
  
  --md-sys-color-secondary: #4c626b;
  --md-sys-color-on-secondary: #ffffff;
  --md-sys-color-secondary-container: #cfe6f1;
  --md-sys-color-on-secondary-container: #071e26;
  
  --md-sys-color-tertiary: #5a5c7e;
  --md-sys-color-on-tertiary: #ffffff;
  --md-sys-color-tertiary-container: #e0e0ff;
  --md-sys-color-on-tertiary-container: #171937;
  
  --md-sys-color-error: #ba1a1a;
  --md-sys-color-on-error: #ffffff;
  --md-sys-color-error-container: #ffdad6;
  --md-sys-color-on-error-container: #410002;
  
  --md-sys-color-surface: #f8f9fa; /* From DS */
  --md-sys-color-on-surface: #191c1e;
  --md-sys-color-surface-variant: #dce4e8;
  --md-sys-color-on-surface-variant: #40484c;
  --md-sys-color-outline: #70787c;
  --md-sys-color-outline-variant: #c0c8cc;
  
  /* Surface containers */
  --md-sys-color-surface-container-lowest: #ffffff;
  --md-sys-color-surface-container-low: #f3f4f5;
  
  /* Custom Heritage colors from screenshot */
  --heritage-gold: #c39a3f;
  --heritage-dark: #2f3640;
  --heritage-nav-bg: #404b57;
  --heritage-footer-bg: #8292a1;
}

body {
  font-family: 'Hanken Grotesk', sans-serif;
  background-color: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  margin: 0;
  padding: 0;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Infinite Smooth Marquee Ribbon */
@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 65s linear infinite;
  will-change: transform;
}

/* Favori Kalp Butonu Dolgulu Kırmızı Efekti */
button[data-is-fav="1"] .material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 700 !important;
  color: #ef4444 !important;
}

button[data-is-fav="1"] i {
  color: #ef4444 !important;
}

/* 🔥 Haftanın İndirimli Ürünleri Ateş Çerçeve Efekti */
@keyframes flameBorderPulse {
  0% {
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6), 0 0 16px rgba(245, 158, 11, 0.4), inset 0 0 4px rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
  }
  50% {
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.95), 0 0 28px rgba(220, 38, 38, 0.7), 0 0 4px rgba(254, 240, 138, 0.9), inset 0 0 8px rgba(245, 158, 11, 0.35);
    border-color: #f59e0b;
  }
  100% {
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6), 0 0 16px rgba(245, 158, 11, 0.4), inset 0 0 4px rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
  }
}

@keyframes fieryGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.fiery-card {
  position: relative;
  border-width: 2px !important;
  border-style: solid !important;
  border-color: #ef4444 !important;
  animation: flameBorderPulse 2.2s ease-in-out infinite;
}

.fiery-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #dc2626, #f59e0b, #ef4444, #f97316, #dc2626);
  background-size: 250% 250%;
  animation: fieryGradientShift 3s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
}
