/* ============================================================
   MIKLAGÅRD STOCKHOLM FOOD AB — E-Catalog 2026
   Premium Nordic-Mediterranean Design System
   ============================================================ */

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

/* ── Design Tokens ── */
:root {
  /* Brand Colors */
  --brand-gold:        #C8A96E;
  --brand-gold-light:  #E2C890;
  --brand-gold-dark:   #9E7B3E;
  --brand-red:         #C04239;
  --brand-red-dark:    #8B2E2B;
  --brand-navy:        #0A1628;
  --brand-navy-mid:    #111E35;
  --brand-navy-light:  #1A2B48;

  /* Neutrals */
  --white:         #FFFFFF;
  --off-white:     #F8F5EF;
  --stone:         #E8E4DD;
  --warm-gray:     #B8B0A4;
  --dark-text:     #1A1612;
  --body-text:     #8A8278;
  --muted:         #585250;

  /* Semantic UI */
  --bg-primary:    #0A1628;
  --bg-secondary:  #0D1B2E;
  --bg-card:       rgba(18, 28, 48, 0.90);
  --bg-glass:      rgba(255, 255, 255, 0.04);
  --bg-glass-md:   rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(200, 169, 110, 0.15);
  --border-mid:    rgba(200, 169, 110, 0.30);
  --border-bright: rgba(200, 169, 110, 0.55);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-serif:   'Crimson Pro', Georgia, serif;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.25);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.40);
  --shadow-lg:  0 20px 64px rgba(0,0,0,0.55);
  --shadow-gold:0 0 0 1px rgba(200,169,110,0.25), 0 8px 32px rgba(200,169,110,0.12);
  --glow-gold:  0 0 24px rgba(200,169,110,0.35);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition:  0.3s var(--ease-smooth);
  --transition-slow: 0.6s var(--ease-smooth);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--brand-gold-dark); border-radius: var(--radius-pill); }

/* ── Selection ── */
::selection { background: rgba(200,169,110,0.3); color: var(--white); }

/* ============================================================
   LOADER
   ============================================================ */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-primary);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: var(--space-lg);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand-gold);
  letter-spacing: 0.04em;
  text-align: center;
}
.loader-logo span { display: block; font-size: 0.85rem; font-weight: 400; color: var(--warm-gray); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 4px; }
.loader-bar {
  width: 200px; height: 2px;
  background: var(--border-subtle);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}
.loader-bar::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
  animation: loader-sweep 1.2s ease-in-out infinite;
}
@keyframes loader-sweep { to { left: 200%; } }

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 var(--space-xl);
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition-slow);
  border-bottom: 1px solid transparent;
}
#site-header.scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border-subtle);
  box-shadow: var(--shadow-md);
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: var(--space-md);
  text-decoration: none;
}
.logo-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--brand-gold-dark), var(--brand-gold), var(--brand-gold-light));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 800;
  color: var(--brand-navy);
  box-shadow: 0 4px 16px rgba(200,169,110,0.4);
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-logo:hover .logo-mark { transform: scale(1.08); box-shadow: var(--glow-gold); }
.logo-text { line-height: 1.2; }
.logo-text .company { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--white); letter-spacing: 0.02em; }
.logo-text .tagline { font-size: 0.65rem; color: var(--brand-gold); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: var(--space-xl); }
.nav-link {
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.05em;
  color: var(--warm-gray); text-transform: uppercase;
  position: relative; padding: 4px 0;
  transition: color var(--transition);
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 100%;
  height: 1px; background: var(--brand-gold);
  transition: right var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { right: 0; }

/* Language toggle */
.lang-toggle {
  display: flex; gap: 2px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
}
.lang-btn {
  padding: 4px 12px; border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--warm-gray);
  transition: var(--transition);
}
.lang-btn.active {
  background: var(--brand-gold);
  color: var(--brand-navy);
  box-shadow: 0 2px 8px rgba(200,169,110,0.4);
}
.lang-btn:hover:not(.active) { color: var(--white); }

/* Mobile hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; padding: 4px 0;
}
.nav-hamburger span {
  height: 2px; background: var(--white); border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0; z-index: 999;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(24px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-xl);
  transform: translateY(-20px); opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.mobile-menu.open {
  display: flex; opacity: 1; transform: translateY(0); pointer-events: all;
}
.mobile-menu .nav-link { font-size: 1.4rem; text-transform: none; letter-spacing: 0; }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../assets/hero-banner.jpg');
  background-size: cover; background-position: center;
  transform: scale(1.05);
  transition: transform 10s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    165deg,
    rgba(10,22,40,0.88) 0%,
    rgba(10,22,40,0.65) 50%,
    rgba(10,22,40,0.80) 100%
  );
}
.hero-grid-overlay {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 140px var(--space-xl) var(--space-3xl);
  max-width: 960px; margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--brand-gold); font-weight: 600; margin-bottom: var(--space-lg);
  border: 1px solid var(--border-mid);
  padding: 8px 20px; border-radius: var(--radius-pill);
  background: rgba(200,169,110,0.08);
  backdrop-filter: blur(8px);
  animation: fadeInDown 0.8s ease both;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '◆'; font-size: 0.5rem; opacity: 0.6;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800; line-height: 1.08;
  color: var(--white);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.9s 0.15s ease both;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold), var(--brand-gold-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: rgba(255,255,255,0.72);
  max-width: 640px; margin: 0 auto var(--space-xl);
  line-height: 1.65;
  animation: fadeInUp 0.9s 0.3s ease both;
}

.hero-cta-row {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-md); flex-wrap: wrap;
  animation: fadeInUp 0.9s 0.45s ease both;
}

/* Stats bar */
.hero-stats {
  display: flex; justify-content: center;
  gap: var(--space-3xl); margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  animation: fadeInUp 1s 0.6s ease both;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 800;
  color: var(--brand-gold); line-height: 1;
}
.stat-label {
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--warm-gray); margin-top: 6px;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute; bottom: var(--space-xl); left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--warm-gray);
  animation: fadeIn 1s 1.2s ease both;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--brand-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  padding: 14px 32px; border-radius: var(--radius-pill);
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; transition: var(--transition);
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0; transition: var(--transition);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-gold-dark), var(--brand-gold), var(--brand-gold-light));
  color: var(--brand-navy);
  box-shadow: 0 4px 24px rgba(200,169,110,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,169,110,0.55);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  border: 1px solid var(--border-bright);
  color: var(--white);
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.04);
}
.btn-outline:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-sm {
  padding: 9px 20px; font-size: 0.78rem;
}

/* ============================================================
   ABOUT / USP STRIP
   ============================================================ */
.usp-strip {
  background: linear-gradient(90deg, var(--brand-navy-mid), var(--brand-navy-light));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-xl) 0; overflow: hidden;
}
.usp-track {
  display: flex; gap: var(--space-3xl);
  animation: ticker 40s linear infinite;
  width: max-content;
}
.usp-track:hover { animation-play-state: paused; }
.usp-item {
  display: flex; align-items: center; gap: var(--space-md);
  white-space: nowrap; flex-shrink: 0;
}
.usp-item .icon { font-size: 1.4rem; }
.usp-item .text { font-size: 0.85rem; font-weight: 500; color: var(--warm-gray); letter-spacing: 0.04em; }
.usp-item .text strong { color: var(--brand-gold); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about { padding: var(--space-3xl) var(--space-xl); }

.section-header { text-align: center; margin-bottom: var(--space-2xl); }
.section-eyebrow {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--brand-gold); font-weight: 600;
  margin-bottom: var(--space-md);
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 1.15; color: var(--white);
}
.section-title .accent { color: var(--brand-gold); }
.section-divider {
  width: 64px; height: 3px; margin: var(--space-lg) auto 0;
  background: linear-gradient(90deg, var(--brand-gold-dark), var(--brand-gold));
  border-radius: var(--radius-pill);
}

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl); align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.about-image-wrap {
  position: relative; border-radius: var(--radius-xl);
  overflow: hidden;
}
.about-image-wrap img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}
.about-image-wrap:hover img { transform: scale(1.04); }
.about-image-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.85), transparent);
  padding: var(--space-xl);
}
.about-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-gold);
  color: var(--brand-navy);
  padding: 8px 18px; border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}

.about-content { display: flex; flex-direction: column; gap: var(--space-lg); }
.about-content .lead {
  font-family: var(--font-serif); font-size: 1.3rem;
  color: var(--warm-gray); line-height: 1.7; font-style: italic;
}
.about-content p { color: var(--body-text); line-height: 1.75; font-size: 0.95rem; }
.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md);
}
.feature-chip {
  display: flex; align-items: flex-start; gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--bg-glass); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); transition: var(--transition);
}
.feature-chip:hover { border-color: var(--border-mid); background: var(--bg-glass-md); }
.feature-chip .icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.feature-chip .feature-text { line-height: 1.3; }
.feature-chip .feature-title { font-size: 0.82rem; font-weight: 600; color: var(--white); }
.feature-chip .feature-desc { font-size: 0.72rem; color: var(--body-text); margin-top: 2px; }

/* ============================================================
   CATALOG SECTION
   ============================================================ */
#catalog { padding: var(--space-3xl) var(--space-xl) var(--space-3xl); }

/* Category Filter Tabs */
.filter-tabs-outer {
  position: sticky; top: 72px; z-index: 100;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  margin: 0 calc(-1 * var(--space-xl));
  padding: var(--space-md) var(--space-xl);
}
.filter-row {
  display: flex; align-items: center; gap: var(--space-md);
  max-width: 1400px; margin: 0 auto; flex-wrap: nowrap; overflow-x: auto;
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar { display: none; }
.filter-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--warm-gray); white-space: nowrap;
  border: 1px solid var(--border-subtle);
  background: var(--bg-glass); flex-shrink: 0;
  transition: var(--transition);
}
.filter-tab:hover { color: var(--white); border-color: var(--border-mid); }
.filter-tab.active {
  background: var(--brand-gold);
  color: var(--brand-navy);
  border-color: var(--brand-gold);
  box-shadow: 0 4px 16px rgba(200,169,110,0.4);
}
.filter-tab .count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: var(--radius-pill); font-size: 0.68rem;
  background: rgba(255,255,255,0.12); color: inherit;
  font-weight: 700;
}
.filter-tab.active .count { background: rgba(10,22,40,0.2); }

/* Search bar */
.search-wrap {
  margin-left: auto; position: relative; flex-shrink: 0;
}
.search-input {
  background: var(--bg-glass); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill); padding: 8px 16px 8px 38px;
  color: var(--white); font-size: 0.82rem; font-family: var(--font-body);
  width: 220px; transition: var(--transition); outline: none;
}
.search-input::placeholder { color: var(--body-text); }
.search-input:focus {
  border-color: var(--border-bright); width: 270px;
  box-shadow: var(--shadow-gold);
}
.search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--warm-gray); font-size: 0.9rem; pointer-events: none;
}

/* Results meta */
.catalog-meta {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1400px; margin: var(--space-xl) auto var(--space-lg);
  padding: 0;
}
.catalog-count { font-size: 0.82rem; color: var(--body-text); }
.catalog-count strong { color: var(--white); }
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--warm-gray); font-size: 0.95rem;
  border: 1px solid var(--border-subtle); background: var(--bg-glass);
  transition: var(--transition);
}
.view-btn.active, .view-btn:hover { color: var(--brand-gold); border-color: var(--border-mid); }

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg);
  max-width: 1400px; margin: 0 auto;
}
.products-grid.list-view {
  grid-template-columns: 1fr;
}

/* Product Card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
  animation: fadeInUp 0.5s ease both;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-mid);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

/* Card image */
.card-image-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 1; background: rgba(18,28,48,0.6);
  display: flex; align-items: center; justify-content: center;
}
.card-image-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  padding: var(--space-lg);
  transition: transform 0.5s var(--ease-smooth);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
.product-card:hover .card-image-wrap img { transform: scale(1.08); }
.card-image-placeholder {
  font-size: 3.5rem; opacity: 0.3; line-height: 1;
}

/* Art.Nr chip */
.card-art-nr {
  position: absolute; top: var(--space-sm); left: var(--space-sm);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em;
  background: rgba(10,22,40,0.85); color: var(--warm-gray);
  padding: 3px 8px; border-radius: var(--radius-sm);
  backdrop-filter: blur(4px); border: 1px solid var(--border-subtle);
}

/* Badges */
.card-badges {
  position: absolute; top: var(--space-sm); right: var(--space-sm);
  display: flex; flex-direction: column; gap: 4px; align-items: flex-end;
}
.badge {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--radius-pill);
  white-space: nowrap;
}
.badge-halal   { background: rgba(22,153,72,0.85); color: #b8f0cb; border: 1px solid rgba(34,197,94,0.4); }
.badge-chilled { background: rgba(14,115,186,0.85); color: #b8dcf7; border: 1px solid rgba(59,130,246,0.4); }
.badge-premium { background: rgba(200,169,110,0.85); color: var(--brand-navy); border: 1px solid rgba(200,169,110,0.5); }
.badge-nystekt { background: rgba(220,74,54,0.85); color: #ffd4cf; border: 1px solid rgba(239,68,68,0.4); }
.badge-gourmet { background: rgba(139,69,195,0.85); color: #e8d0f9; border: 1px solid rgba(167,139,250,0.4); }
.badge-yayla   { background: rgba(10,22,40,0.9); color: var(--brand-gold); border: 1px solid var(--border-mid); }
.badge-default { background: rgba(255,255,255,0.1); color: var(--warm-gray); border: 1px solid var(--border-subtle); }

/* Card body */
.card-body { padding: var(--space-md) var(--space-md) var(--space-lg); }
.card-category {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--brand-gold); margin-bottom: 6px;
  display: flex; align-items: center; gap: 5px;
}
.card-title {
  font-family: var(--font-display); font-size: 0.98rem; font-weight: 700;
  color: var(--white); line-height: 1.3; margin-bottom: var(--space-sm);
}
.card-meta {
  display: flex; gap: var(--space-sm); flex-wrap: wrap; margin-bottom: var(--space-md);
}
.card-meta-chip {
  font-size: 0.65rem; font-weight: 500; color: var(--body-text);
  padding: 2px 8px; border-radius: var(--radius-pill);
  background: var(--bg-glass); border: 1px solid var(--border-subtle);
}
.card-price-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
}
.card-price {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--brand-gold);
}
.card-price.rfo { font-size: 0.72rem; color: var(--body-text); font-family: var(--font-body); }

/* List view card */
.products-grid.list-view .product-card {
  display: grid; grid-template-columns: 120px 1fr auto;
  align-items: center;
}
.products-grid.list-view .card-image-wrap {
  aspect-ratio: 1; height: 120px; width: 120px; flex-shrink: 0;
  border-radius: 0; background: rgba(18,28,48,0.8);
}
.products-grid.list-view .card-image-wrap img { padding: var(--space-sm); }
.products-grid.list-view .card-body { display: flex; align-items: center; gap: var(--space-lg); }
.products-grid.list-view .card-title { margin-bottom: 4px; }
.products-grid.list-view .card-badges { position: static; flex-direction: row; align-items: center; }
.products-grid.list-view .card-art-nr { position: static; order: -1; }

/* ============================================================
   PRODUCT MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(5, 12, 24, 0.85);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-lg);
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-xl);
  max-width: 860px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s var(--ease-bounce), opacity 0.3s ease;
  opacity: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-gold-dark) transparent;
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); opacity: 1; }

.modal-inner {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 400px;
}
.modal-image-panel {
  background: rgba(18,28,48,0.8); border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  display: flex; align-items: center; justify-content: center; padding: var(--space-xl);
  position: relative; overflow: hidden;
}
.modal-image-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(200,169,110,0.06), transparent 70%);
}
.modal-image-panel img {
  max-height: 380px; width: auto; max-width: 100%;
  object-fit: contain; position: relative; z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
  transition: transform 0.6s var(--ease-smooth);
}
.modal-image-panel img:hover { transform: scale(1.05); }

.modal-info-panel { padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-md); }

.modal-close {
  position: absolute; top: var(--space-md); right: var(--space-md); z-index: 10;
  width: 36px; height: 36px; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-glass); border: 1px solid var(--border-subtle);
  color: var(--warm-gray); font-size: 1.1rem;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(192,66,57,0.3); color: #ff8a82; border-color: rgba(192,66,57,0.4); transform: rotate(90deg); }

.modal-art-nr {
  font-size: 0.72rem; color: var(--body-text);
  font-family: var(--font-body); letter-spacing: 0.1em;
}
.modal-title {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  color: var(--white); line-height: 1.2;
}
.modal-cat { font-size: 0.72rem; color: var(--brand-gold); text-transform: uppercase; letter-spacing: 0.15em; }
.modal-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.modal-price {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  color: var(--brand-gold);
}
.modal-price.rfo { font-size: 0.9rem; color: var(--body-text); font-family: var(--font-body); }
.modal-desc { font-size: 0.88rem; color: var(--body-text); line-height: 1.7; }
.modal-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm);
}
.modal-spec {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--bg-glass); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: var(--space-sm) var(--space-md);
}
.modal-spec-label { font-size: 0.63rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--body-text); }
.modal-spec-value { font-size: 0.88rem; font-weight: 600; color: var(--white); }
.modal-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact { padding: var(--space-3xl) var(--space-xl); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: var(--space-3xl); max-width: 1100px; margin: 0 auto;
  align-items: start;
}
.contact-card {
  background: var(--bg-glass); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); padding: var(--space-2xl);
}
.contact-card h3 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--white); margin-bottom: var(--space-md);
}
.contact-items { display: flex; flex-direction: column; gap: var(--space-md); }
.contact-item {
  display: flex; gap: var(--space-md); align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md); flex-shrink: 0;
  background: rgba(200,169,110,0.12); border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--body-text); }
.contact-value { font-size: 0.95rem; color: var(--white); font-weight: 500; }
.contact-value a:hover { color: var(--brand-gold); }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: var(--space-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-gray); }
.field-input, .field-textarea, .field-select {
  background: var(--bg-glass); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 12px 16px;
  color: var(--white); font-size: 0.9rem; font-family: var(--font-body);
  outline: none; width: 100%; transition: var(--transition);
}
.field-input::placeholder, .field-textarea::placeholder { color: var(--muted); }
.field-input:focus, .field-textarea:focus, .field-select:focus {
  border-color: var(--border-bright); box-shadow: var(--shadow-gold);
}
.field-textarea { min-height: 130px; resize: vertical; }
.field-select option { background: var(--bg-secondary); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl); max-width: 1200px; margin: 0 auto;
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--border-subtle);
}
.footer-brand .logo-mark { width: 40px; height: 40px; font-size: 1.2rem; margin-bottom: var(--space-md); }
.footer-brand p { font-size: 0.85rem; color: var(--body-text); line-height: 1.7; max-width: 260px; margin: var(--space-md) 0; }
.footer-col h4 { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-gold); margin-bottom: var(--space-md); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 0.85rem; color: var(--body-text); transition: color var(--transition); }
.footer-link:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: var(--space-xl) auto 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: var(--body-text);
}
.footer-bottom a:hover { color: var(--brand-gold); }

/* Social links */
.social-links { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }
.social-link {
  width: 38px; height: 38px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-glass); border: 1px solid var(--border-subtle);
  color: var(--warm-gray); font-size: 0.95rem;
  transition: var(--transition);
}
.social-link:hover { color: var(--brand-gold); border-color: var(--border-mid); transform: translateY(-2px); }

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast-container { position: fixed; bottom: var(--space-xl); right: var(--space-xl); z-index: 3000; display: flex; flex-direction: column; gap: var(--space-sm); }
.toast {
  display: flex; align-items: center; gap: var(--space-sm);
  background: rgba(18,28,48,0.95); border: 1px solid var(--border-mid);
  border-radius: var(--radius-md); padding: 12px 20px;
  color: var(--white); font-size: 0.85rem; font-weight: 500;
  backdrop-filter: blur(12px); box-shadow: var(--shadow-lg);
  animation: toastIn 0.35s var(--ease-bounce) both;
}
.toast.removing { animation: toastOut 0.3s ease both; }
@keyframes toastIn  { from { opacity: 0; transform: translateX(40px) scale(0.9); } }
@keyframes toastOut { to   { opacity: 0; transform: translateX(40px) scale(0.9); } }
.toast-icon { font-size: 1.1rem; }
.toast.success { border-left: 3px solid #22c55e; }
.toast.info    { border-left: 3px solid var(--brand-gold); }

/* ============================================================
   UTILITY ANIMATIONS
   ============================================================ */
@keyframes fadeIn      { from { opacity: 0; } }
@keyframes fadeInUp    { from { opacity: 0; transform: translateY(24px); } }
@keyframes fadeInDown  { from { opacity: 0; transform: translateY(-16px); } }
@keyframes scaleIn     { from { opacity: 0; transform: scale(0.94); } }

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   NO-RESULTS STATE
   ============================================================ */
.no-results {
  grid-column: 1/-1; text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}
.no-results .emoji { font-size: 4rem; display: block; margin-bottom: var(--space-lg); }
.no-results h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); margin-bottom: var(--space-md); }
.no-results p { color: var(--body-text); font-size: 0.9rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid  { grid-template-columns: 1fr; }
  .about-image-wrap { max-width: 600px; margin: 0 auto; }
}

@media (max-width: 768px) {
  :root { --space-xl: 24px; --space-2xl: 40px; --space-3xl: 60px; }

  #site-header { padding: 0 var(--space-md); }
  .nav-links   { display: none; }
  .nav-hamburger { display: flex; }

  .hero-stats  { gap: var(--space-xl); flex-wrap: wrap; }
  .stat-number { font-size: 1.6rem; }

  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--space-md); }

  .modal-inner { grid-template-columns: 1fr; }
  .modal-image-panel { border-radius: var(--radius-xl) var(--radius-xl) 0 0; min-height: 220px; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }

  .footer-grid  { grid-template-columns: 1fr; gap: var(--space-xl); }

  .usp-track { gap: var(--space-xl); }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta-row  { flex-direction: column; }
  .filter-row    { padding: var(--space-sm) var(--space-md); }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  #site-header, .usp-strip, .filter-tabs-outer, #contact, #site-footer, .modal-overlay { display: none; }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  body { background: #fff; color: #000; }
}
