@font-face {
  font-family: 'Frontage Condensed';
  src: url('/assets/fonts/font-frontagecondensed-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Frontage';
  src: url('/assets/fonts/font-frontage-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FudgeSauce';
  src: url('/assets/fonts/font-fudgesauce.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('/assets/fonts/font-jost.ttf') format('truetype');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Intro Rust';
  src: url('/assets/fonts/font-introrust-base.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('/assets/fonts/font-nunito.ttf') format('truetype');
  font-weight: 400 600 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --colorBackgroundBrandPrimary: #00487C;
  --colorBackgroundBrandHover: #003660;
  --colorBackgroundBrandAccent: #EE2737;
  --colorBackgroundBrandAccentHover: #D01B2B;
  --colorBackgroundBrandCyan: #0077B6;
  --colorBackgroundBrandMint: #EFFAF9;
  --colorBackgroundBrandCream: #FFF8EE;
  --colorBackgroundNeutralDim: #F7F9FB;
  --colorBackgroundNeutralBase: #FFFFFF;
  --colorBaseAlpha950: #1A1A1A;
  --colorBaseAlpha700: #555555;
  --colorBaseAlpha500: #777777;
  --colorBaseAlpha200: #E5E7EB;
  --colorBaseAlpha50: #FFFFFF;
  
  --fontFamiliesPrimary: 'Jost', system-ui, -apple-system, sans-serif;
  --fontFamiliesBody: 'Nunito Sans', system-ui, -apple-system, sans-serif;
  --fontFamiliesScript: 'FudgeSauce', cursive;
  --fontFamiliesCondensed: 'Frontage Condensed', 'Jost', sans-serif;
  --fontFamiliesFrontage: 'Frontage', 'Jost', sans-serif;
  --fontFamiliesRust: 'Intro Rust', sans-serif;
}

body {
  font-family: var(--fontFamiliesBody);
  color: var(--colorBaseAlpha950);
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-script {
  font-family: var(--fontFamiliesScript);
}

.font-jost {
  font-family: var(--fontFamiliesPrimary);
}

.font-nunito {
  font-family: var(--fontFamiliesBody);
}

.font-condensed {
  font-family: var(--fontFamiliesCondensed);
  letter-spacing: 0.03em;
}

.font-frontage {
  font-family: var(--fontFamiliesFrontage);
}

.font-rust {
  font-family: var(--fontFamiliesRust);
}

.carvel-heading {
  font-family: var(--fontFamiliesCondensed);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Global Leaflet Marker Resets */
.leaflet-div-icon,
.carvel-map-pin,
.carvel-detail-pin {
  background: transparent !important;
  border: none !important;
}

/* Header & Navigation */
.carvel-header {
  height: 76px;
  background: #FFFFFF;
  border-bottom: 1px solid #ECECEC;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.carvel-nav-link {
  font-family: var(--fontFamiliesPrimary);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1A1A1A;
  transition: color 0.15s ease;
  position: relative;
  padding: 8px 12px;
}

.carvel-nav-link:hover, .carvel-nav-link.active {
  color: var(--colorBackgroundBrandPrimary);
}

.carvel-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 12px;
  right: 12px;
  height: 3px;
  background-color: var(--colorBackgroundBrandPrimary);
  border-radius: 3px 3px 0 0;
}

/* Brand Buttons */
.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fontFamiliesPrimary);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 24px;
  border-radius: 9999px;
  background-color: var(--colorBackgroundBrandPrimary);
  color: #FFFFFF;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 72, 124, 0.2);
}

.btn-pill-primary:hover {
  background-color: var(--colorBackgroundBrandHover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 72, 124, 0.3);
}

.btn-pill-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fontFamiliesPrimary);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 24px;
  border-radius: 9999px;
  background-color: var(--colorBackgroundBrandAccent);
  color: #FFFFFF;
  transition: all 0.2s ease;
}

.btn-pill-accent:hover {
  background-color: var(--colorBackgroundBrandAccentHover);
  transform: translateY(-1px);
}

.btn-pill-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fontFamiliesPrimary);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 22px;
  border-radius: 9999px;
  border: 2px solid var(--colorBackgroundBrandPrimary);
  background-color: transparent;
  color: var(--colorBackgroundBrandPrimary);
  transition: all 0.2s ease;
}

.btn-pill-secondary:hover {
  background-color: rgba(0, 72, 124, 0.05);
}

/* Category Card */
.category-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  border: 1px solid #ECECEC;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 72, 124, 0.12);
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #EBEBEB;
  overflow: hidden;
  transition: all 0.2s ease;
  height: 100%;
}

.product-card:hover {
  border-color: #C0D6E8;
  box-shadow: 0 8px 20px rgba(0, 72, 124, 0.08);
  transform: translateY(-2px);
}

/* Breadcrumbs */
.breadcrumb-bar {
  background-color: #F8F9FA;
  border-bottom: 1px solid #EFEFEF;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--fontFamiliesPrimary);
}

.breadcrumb-bar a {
  color: #666666;
  transition: color 0.15s;
}

.breadcrumb-bar a:hover {
  color: var(--colorBackgroundBrandPrimary);
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 82%;
  max-width: 380px;
  background: #FFFFFF;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.15);
}

.mobile-drawer.open {
  transform: translateX(0);
}

/* Modal */
.carvel-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.carvel-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.carvel-modal-content {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.carvel-modal-overlay.open .carvel-modal-content {
  transform: scale(1);
}
