/* theDroneIndex — Styles personnalisés */

/* Self-hosted Inter (no Google Fonts hotlink — RGPD: no IP leak to third parties) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/inter-latin-300-normal-7b8db6f2.woff2") format("woff2");
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/inter-latin-400-normal-2d18ee07.woff2") format("woff2");
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/inter-latin-500-normal-4b1a1085.woff2") format("woff2");
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/inter-latin-600-normal-1dd49df3.woff2") format("woff2");
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/inter-latin-700-normal-01767726.woff2") format("woff2");
}

/* Typography */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Table styling */
.price-table th {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.price-table td {
  font-size: 0.875rem;
}

.price-table tr:not(:last-child) td {
  border-bottom: 1px solid #f0f0f0;
}

/* Tabular numbers for prices */
.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Hover row effect */
.hover-row:hover {
  background-color: #f8fafc;
}

/* Cards with Mac Index style */
.product-card {
  transition: all 0.15s ease;
}
.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Country flag inline */
.flag-icon {
  display: inline-block;
  width: 1.5em;
  text-align: center;
}

/* Price animations */
.price-up { color: #16a34a; }
.price-down { color: #dc2626; }

/* Dark mode adjustments */
.dark .price-table tr:not(:last-child) td {
  border-bottom-color: #374151;
}
.dark .hover-row:hover {
  background-color: #1f2937;
}
