/* Philips consumer design system, tokens extracted from philips.com production CSS (blue theme, light surface) */
:root {
  --brand: #0b5ed7;
  --interactive: #0072db;
  --interactive-hover: #0061c2;
  --interactive-pressed: #0052a3;
  --interactive-tint: #f0f9ff;
  --interactive-tint-2: #d1ecff;
  --text: #15191e;
  --text-secondary: #566676;
  --text-tertiary: #899aa9;
  --border: #cad2d8;
  --border-strong: #a0aeba;
  --surface: #ffffff;
  --surface-2: #f6f8f9;
  --surface-3: #e4e9ec;
  --orange: #c24100;
  --orange-hover: #a83800;
  --orange-tint: #fff5f0;
  --green: #007a33;
  --green-tint: #e0ffed;
  --red: #d60012;
  --red-tint: #fff5f6;
  --yellow: #806a00;
  --yellow-tint: #fff7d1;
  --shadow-1: 0 0 2px rgba(81, 61, 67, 0.16), 0 4px 8px rgba(81, 61, 67, 0.16);
  --shadow-2: 0 0 2px rgba(81, 61, 67, 0.16), 0 16px 16px rgba(81, 61, 67, 0.08), 0 24px 32px rgba(81, 61, 67, 0.16);
  --radius: 6px;
  --radius-lg: 8px;
  --radius-pill: 999px;
  --font: "Neue Frutiger World", "neue-frutiger-world-w02", "NeueFrutigerWorld", "Helvetica Neue", Arial, Helvetica, sans-serif;
  --container: 1280px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  font-weight: 350;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a.link { color: var(--interactive); text-decoration: underline; text-underline-offset: 2px; }
a.link:hover { color: var(--interactive-hover); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--interactive); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* Type scale (from Philips tokens) */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { margin: 0; font-weight: 700; letter-spacing: -0.3px; }
.h1 { font-size: 48px; line-height: 50px; }
.h2 { font-size: 36px; line-height: 40px; }
.h3 { font-size: 24px; line-height: 28px; }
.h4 { font-size: 20px; line-height: 24px; }
.text-sm { font-size: 14px; line-height: 20px; }
.text-xs { font-size: 12px; line-height: 18px; }
.text-secondary { color: var(--text-secondary); }
.text-medium { font-weight: 500; }
.text-bold { font-weight: 700; }
@media (max-width: 768px) {
  .h1 { font-size: 36px; line-height: 40px; }
  .h2 { font-size: 28px; line-height: 32px; }
  .h3 { font-size: 20px; line-height: 24px; }
}

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }
.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Buttons (pill primary, as on philips.com) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius-pill);
  font-weight: 500; font-size: 16px; line-height: 24px; white-space: nowrap;
  border: 2px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--interactive); color: #fff; }
.btn-primary:hover { background: var(--interactive-hover); }
.btn-primary:active { background: var(--interactive-pressed); }
.btn-secondary { background: transparent; color: var(--interactive); border-color: var(--interactive); }
.btn-secondary:hover { background: var(--interactive-tint); }
.btn-tertiary { background: var(--surface-2); color: var(--text); }
.btn-tertiary:hover { background: var(--surface-3); }
.btn-orange { background: var(--orange); color: #fff; border-radius: var(--radius); }
.btn-orange:hover { background: var(--orange-hover); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Chips, badges, pills */
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff; font-weight: 500; font-size: 14px;
}
.chip:hover { border-color: var(--border-strong); }
.chip.is-active { border: 2px solid var(--interactive); color: var(--interactive); padding: 7px 15px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; line-height: 18px; font-weight: 700; }
.badge-orange { background: var(--orange); color: #fff; }
.badge-blue { background: var(--interactive); color: #fff; }
.badge-green { background: var(--green-tint); color: var(--green); }
.model-pill { display: inline-block; padding: 1px 8px; border-radius: 4px; background: #1e2a3f; color: #fff; font-size: 12px; line-height: 18px; font-weight: 500; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; font-size: 16px;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--interactive); outline: none; box-shadow: 0 0 0 2px var(--interactive-tint-2); }
.textarea { min-height: 96px; resize: vertical; }

/* Header (cloned from philips.com) */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--surface-3); }
.site-header .bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { color: var(--brand); display: inline-flex; align-items: center; }
.logo svg { width: 110px; height: 20px; }
.nav { display: flex; gap: 20px; }
.nav a { font-weight: 500; font-size: 15px; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.is-active { border-bottom-color: var(--interactive); color: var(--interactive); }
.search { flex: 1; max-width: 560px; margin-left: auto; position: relative; }
.search input { width: 100%; height: 44px; padding: 0 48px 0 20px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: #fff; font-size: 15px; }
.search input:focus { border-color: var(--interactive); outline: none; }
.search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; color: var(--text); }
.icon-btn { position: relative; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; display: grid; place-items: center; color: var(--text); background: #fff; }
.icon-btn:hover { border-color: var(--border-strong); background: var(--surface-2); }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn .count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--interactive); color: #fff; font-size: 12px; line-height: 20px; font-weight: 700; text-align: center; }
.icon-btn .count:empty { display: none; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.usp-bar { background: var(--surface-2); }
.usp-bar ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 36px; height: 36px; align-items: center; font-size: 13px; }
.usp-bar li { display: flex; align-items: center; gap: 8px; }
.usp-bar svg { width: 18px; height: 18px; color: var(--text); }
@media (max-width: 1024px) { .nav { display: none; } .usp-bar li:nth-child(n+3) { display: none; } }
@media (max-width: 640px) { .search { display: none; } .usp-bar li:nth-child(n+2) { display: none; } }

.breadcrumb { display: flex; align-items: center; gap: 8px; padding: 14px 0; font-size: 12px; color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--interactive); }
.breadcrumb svg { width: 14px; height: 14px; }
.breadcrumb span:last-child { color: var(--text); }

/* Footer */
.site-footer { background: var(--surface-2); margin-top: 64px; border-top: 1px solid var(--surface-3); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 48px 0 32px; }
.footer-cols h4 { font-size: 14px; margin-bottom: 12px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--text-secondary); }
.footer-cols a:hover { color: var(--interactive); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; padding: 20px 0 28px; border-top: 1px solid var(--surface-3); font-size: 12px; color: var(--text-secondary); }
.footer-bottom .logo svg { width: 88px; height: 16px; }
@media (max-width: 768px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--text); color: #fff; padding: 12px 20px; border-radius: var(--radius); box-shadow: var(--shadow-2); opacity: 0; pointer-events: none; transition: all .2s ease; z-index: 200; font-size: 14px; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
