/* PNY prototype: the new look from PNY's Look & Feel Direction (dark header, labelled hero slider, product mega-menu,
   horizontal carousels, search block, support tiles). Shared by index.html and search.html. */
:root {
  --ink: #111214;            /* headings, dark buttons */
  --ink-2: #26282c;
  --header: #141414;         /* header bar */
  --header-2: #1d1d1d;       /* sub-nav, mega-menu */
  --accent: #1b6a96;         /* PNY blue (Learn More buttons in the direction) */
  --accent-fill: #1f73a3;
  --accent-soft: #8fc0dd;
  --accent-tint: #eaf3f9;
  --sr-border: #cfe3f0; --sr-tint: #eaf4fb; --sr-line: #dcebf5;
  --cream: #fafafa;
  --text: #1d1f22;
  --muted: #5d6168;
  --subtle: #8a8f97;
  --bg: #ffffff;
  --surface: #f1f2f3;
  --border: #e1e3e6;
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-nav: "Poppins", var(--font);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); }
body.is-search-open, body.is-menu-open { overflow: hidden; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border: 0; border-radius: 8px;
  background: var(--accent-fill); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--accent); }
.btn svg { width: 15px; height: 15px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e9ecef; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header); color: #fff; font-family: var(--font-nav); }
.site-header__row { display: flex; align-items: center; gap: 36px; height: 76px; }
.logo { display: inline-flex; align-items: center; color: #fff; text-decoration: none; flex: none; }
.logo svg { width: 128px; height: 30px; display: block; }
.main-nav { display: flex; align-items: center; gap: 4px; height: 100%; }
.main-nav__item { height: 100%; display: flex; align-items: center; }
.main-nav__link {
  position: relative; height: 100%; display: flex; align-items: center; padding: 0 12px;
  border: 0; background: none; color: #fff; font-size: 15px; font-weight: 400; text-decoration: none; cursor: pointer;
}
.main-nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: transparent; }
.main-nav__link:hover, .main-nav__link[aria-expanded="true"] { color: var(--accent-soft); }
.main-nav__link[aria-expanded="true"]::after { background: var(--accent-fill); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header-search {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 112px; height: 38px; padding: 0 12px 0 16px;
  border: 1.5px solid #fff; border-radius: 999px; background: transparent; color: #fff; font-size: 14px; cursor: pointer;
  transition: width .2s, background .15s;
}
.header-search svg { width: 18px; height: 18px; }
.header-search:hover { background: rgba(255,255,255,.08); }
.header-search kbd { display: none; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 999px; background: none; color: #fff; cursor: pointer; }
.icon-btn:hover { background: rgba(255,255,255,.1); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn { display: none; }

.sub-nav { background: var(--header-2); border-top: 1px solid #262626; font-family: var(--font); }
.sub-nav .container { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.sub-nav .container::-webkit-scrollbar { display: none; }
.sub-nav a { flex: none; position: relative; padding: 13px 0 12px; color: #9a9da2; font-size: 14px; text-decoration: none; }
.sub-nav a:hover { color: #fff; }
.sub-nav a.is-current { color: #fff; }
.sub-nav a.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent-fill); }

/* ---- Mega-menu (Products): columns on the left, a featured panel that follows the hovered column ---- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 39;
  background: var(--header-2); color: #fff; font-family: var(--font-nav);
  border-top: 1px solid #262626; box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.mega__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; padding: 34px 0 40px; }
.mega__close { position: absolute; right: 0; top: 10px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: #bbb; font-size: 12px; cursor: pointer; }
.mega__close svg { width: 16px; height: 16px; }
.mega__cols { display: grid; grid-template-columns: 0.9fr 1.6fr 0.9fr; }
.mega__col { padding: 0 28px; border-left: 1px solid #333; }
.mega__col:first-child { padding-left: 0; border-left: 0; }
.mega__group + .mega__group { margin-top: 26px; }
.mega__title { display: flex; align-items: center; justify-content: space-between; margin: 0; color: #fff; font-size: 18px; font-weight: 600; text-decoration: none; }
.mega__title svg { width: 16px; height: 16px; color: #888; }
.mega__title:hover svg { color: var(--accent-soft); }
.mega__desc { margin: 4px 0 14px; color: #9a9da2; font-size: 12px; }
.mega__head { margin: 14px 0 8px; color: #fff; font-size: 13px; font-weight: 600; }
.mega__head:first-child { margin-top: 0; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 5px 0; color: #b5b8bd; font-size: 13px; text-decoration: none; }
.mega li a:hover, .mega li a:focus-visible { color: var(--accent-soft); outline: 0; }
.mega__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.mega__featured { display: grid; gap: 14px; align-content: start; padding-left: 28px; border-left: 1px solid #333; }
.feature-card {
  position: relative; display: block; padding: 14px 14px 16px; border-radius: 14px;
  background: #fff; color: var(--ink); text-decoration: none; min-height: 168px;
  transition: transform .15s;
}
.feature-card:hover { transform: translateY(-2px); }
.feature-card__eyebrow { display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--accent); text-transform: uppercase; }
.feature-card__badge { padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 9px; }
.feature-card__img { height: 74px; margin: 8px 0; display: grid; place-items: center; }
.feature-card__img img { max-height: 74px; object-fit: contain; }
.feature-card__name { display: block; padding-right: 40px; font-family: var(--font); font-size: 15px; font-weight: 700; line-height: 1.2; }
.feature-card__go { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--ink); color: #fff; }
.feature-card__go svg { width: 14px; height: 14px; }
.feature-card--loading { background: #2a2a2a; }

.simple-menu { position: absolute; top: 100%; z-index: 39; min-width: 240px; padding: 14px 0; background: var(--header-2); border-top: 1px solid #262626; box-shadow: 0 24px 48px rgba(0,0,0,.4); }
.simple-menu a { display: block; padding: 8px 22px; color: #c0c3c8; font-size: 14px; text-decoration: none; }
.simple-menu a:hover { color: var(--accent-soft); background: #232323; }

/* ---- Hero: labelled slider, the caption row doubles as navigation ---- */
.hero-wrap { padding: 28px 0 0; }
.hero {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: #000; color: #fff; min-height: 540px;
}
.hero__slide {
  position: absolute; inset: 0; display: flex; align-items: flex-start;
  background-size: cover; background-position: right center;
  opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 45%, transparent 70%); }
.hero__slide--light { color: var(--ink); }
.hero__slide--light::before { background: linear-gradient(90deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.3) 45%, transparent 70%); }
.hero__content { position: relative; max-width: 520px; padding: 120px 0 0 48px; }
.hero__eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-soft); }
.hero__slide--light .hero__eyebrow { color: var(--accent); }
.hero__title { margin: 0; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.04; font-weight: 700; letter-spacing: -.01em; }
.hero__text { margin: 16px 0 26px; font-size: 18px; line-height: 1.45; opacity: .9; }
.hero__captions {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px;
  padding: 0 48px 26px; background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,.55) 70%, transparent);
}
.hero__caption {
  position: relative; padding: 16px 0 0; border: 0; background: none; color: #8e9298; text-align: left; cursor: pointer;
}
.hero__caption::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: rgba(255,255,255,.28); }
.hero__caption-bar { position: absolute; left: 0; top: 0; height: 3px; width: 0; border-radius: 2px; background: var(--accent-fill); }
.hero__caption.is-active { color: #fff; }
.hero__caption:focus { outline: none; }
.hero__caption:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 4px; }
.hero__caption.is-active .hero__caption-bar { animation: heroProgress var(--hero-ms, 7000ms) linear forwards; }
.hero.is-paused .hero__caption.is-active .hero__caption-bar { animation-play-state: paused; }
.hero__caption strong { display: block; font-size: 13px; line-height: 1.25; font-weight: 700; }
.hero__caption span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 12px; line-height: 1.35; opacity: .8; }
.hero__pause { position: absolute; right: 18px; top: 18px; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 999px; background: rgba(0,0,0,.4); color: #fff; cursor: pointer; }
.hero__pause svg { width: 14px; height: 14px; }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }

/* ---- Sections ---- */
.section { padding: 84px 0 0; }
.section__head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section__eyebrow { margin: 0 0 6px; color: var(--muted); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.section__head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 700; color: #3b3d41; }
.section__head p { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.section__head--left { margin-left: 0; text-align: left; display: flex; align-items: end; justify-content: space-between; max-width: none; gap: 24px; }
.section__head--left a { color: var(--accent); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }

/* ---- Horizontal carousels (swipe on phones, arrows on desktop) ---- */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 3.4); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 4px 2px 6px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel--products .carousel__track { grid-auto-columns: calc((100% - 4 * 18px) / 4.4); }
.carousel__arrow {
  position: absolute; top: 40%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.25); cursor: pointer;
}
.carousel__arrow svg { width: 18px; height: 18px; }
.carousel__arrow--prev { left: -18px; }
.carousel__arrow--next { right: -18px; }
.carousel__arrow:disabled { opacity: 0; pointer-events: none; }
.carousel__progress { width: min(390px, 60%); height: 4px; margin: 26px auto 0; border-radius: 2px; background: #cfd3d8; overflow: hidden; }
.carousel__progress span { display: block; height: 100%; width: 30%; border-radius: 2px; background: var(--accent); transition: transform .2s, width .2s; }

.sol-card { display: flex; flex-direction: column; border-radius: var(--radius-md); overflow: hidden; background: var(--surface); text-decoration: none; color: inherit; min-height: 100%; }
.sol-card__img { aspect-ratio: 16 / 11; background: #0b0b0b center / cover no-repeat; }
.sol-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.sol-card__title { margin: 0; font-size: 22px; line-height: 1.15; font-weight: 700; color: var(--ink); }
.sol-card__kicker { margin: 4px 0 0; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; color: #3f4246; }
.sol-card__text { margin: 8px 0 18px; font-size: 13px; line-height: 1.45; color: #3f4246; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sol-card .btn { margin-top: auto; align-self: flex-start; padding: 9px 18px; font-size: 13px; }
.sol-card--loading .sol-card__img, .prod-card--loading .prod-card__img { background: linear-gradient(90deg, #e7e9ec, #f3f4f6, #e7e9ec); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }

.prod-card { display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.prod-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.prod-card__img { aspect-ratio: 4 / 3; display: grid; place-items: center; border-radius: 8px; background: #fff; }
.prod-card__img img { max-height: 100%; object-fit: contain; }
.prod-card__cat { margin: 12px 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.prod-card__name { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-card__spec { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

.news-card { display: flex; flex-direction: column; border-radius: var(--radius-md); background: var(--surface); text-decoration: none; color: inherit; overflow: hidden; }
.news-card__img { aspect-ratio: 16 / 9; background: #ddd center / cover no-repeat; }
.news-card__body { padding: 16px 18px 20px; }
.news-card__date { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.news-card__title { margin: 6px 0 0; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Segment tiles: Consumer / Gaming / Professional */
.segments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.segment {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 26px;
  border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; background: #000 center / cover no-repeat;
}
.segment::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,.05) 65%); }
.segment > * { position: relative; }
.segment h3 { margin: 0; font-size: 26px; }
.segment p { margin: 6px 0 14px; font-size: 14px; color: #d5d7da; }
.segment__links { display: flex; flex-wrap: wrap; gap: 8px; }
.segment__links span { padding: 6px 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-size: 12px; }

/* ---- Partner logos ---- */
.partners { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 70px 0 10px; overflow-x: auto; scrollbar-width: none; }
.partners img { flex: none; height: 34px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.partners img:hover { filter: none; opacity: 1; }
.partners .wordmark { flex: none; font-family: var(--font-nav); font-size: 24px; font-weight: 700; color: #6b6f75; letter-spacing: .02em; }

/* ---- "Looking for something else?" search block ---- */
.find {
  margin-top: 70px; padding: 64px 24px; border-radius: var(--radius-xl); color: #fff; text-align: center;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cpath d='M30 0 60 17v35L30 69 0 52V17zM90 35l30 17v35l-30 17-30-17V52z' fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='2'/%3E%3C/svg%3E"),
    #151515;
}
.find h2 { margin: 0 0 26px; font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
.find__form { display: flex; align-items: center; gap: 10px; width: min(560px, 100%); height: 46px; margin: 0 auto; padding: 0 6px 0 16px; border: 1.5px solid #fff; border-radius: 999px; }
.find__form svg { width: 18px; height: 18px; flex: none; }
.find__form input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 15px; outline: none; }
.find__form input::placeholder { color: #c8cacd; }
.find__form button { border: 0; border-radius: 999px; padding: 8px 16px; background: #fff; color: var(--ink); font-weight: 600; font-size: 13px; cursor: pointer; }
.find__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.find__chips button { padding: 7px 16px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.find__chips button:hover { background: var(--accent-soft); }

/* ---- Support & Resources tiles ---- */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; min-height: 190px; padding: 18px; border-radius: var(--radius-md); background: var(--surface); text-decoration: none; color: inherit; transition: background .15s; }
.tile:hover { background: #e7e9ec; }
.tile > svg { width: 22px; height: 22px; }
.tile h3 { margin: 10px 0 6px; font-size: 18px; color: var(--ink); }
.tile p { margin: 0 0 14px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.tile__go { margin-top: auto; display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid var(--ink); border-radius: 999px; }
.tile__go svg { width: 13px; height: 13px; }

/* ---- Footer ---- */
.site-footer { margin-top: 96px; background: #111; color: #b5b8bd; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding: 56px 0 36px; }
.site-footer h4 { margin: 0 0 12px; color: #fff; font-size: 14px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: block; padding: 4px 0; color: #b5b8bd; text-decoration: none; }
.site-footer li a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 26px; border-top: 1px solid #2a2a2a; font-size: 12px; }
.region { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #3a3a3a; border-radius: 999px; background: none; color: #ddd; font-size: 12px; cursor: pointer; }
.region svg { width: 16px; height: 16px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: #222; color: #ddd; font-size: 11px; font-weight: 700; text-decoration: none; }
.social a:hover { background: var(--accent); color: #fff; }
.proto-note { padding: 10px 0; background: #0a0a0a; color: #7c8087; font-size: 12px; text-align: center; }

/* ---- Search results page ---- */
.results-hero { padding: 34px 0 6px; }
.results-hero h1 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--ink); }
.results-hero h1 em { font-style: normal; color: var(--accent); }
.results-search { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 6px 0 18px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; cursor: text; }
.results-search svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.results-search input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 16px; outline: none; background: none; }
.results-search button[type="submit"] { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; cursor: pointer; }
.results-search button[type="submit"] svg { width: 16px; height: 16px; color: #fff; }
.results-search .results-search__clear { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 6px; }
.results-search .results-search__clear svg { width: 16px; height: 16px; }

.tabs { display: flex; gap: 6px; margin: 26px 0 20px; border-bottom: 1px solid var(--border); }
.tab { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: 0; background: none; color: var(--muted); font-size: 16px; font-weight: 600; cursor: pointer; }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 2px; background: var(--accent-fill); }
.tab__count { padding: 2px 8px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 700; }
.tab[aria-selected="true"] .tab__count { background: var(--ink); color: #fff; }

.results-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.drawer-backdrop { display: none; }   /* only used by the phone filters drawer */
.filters { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; padding-right: 6px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.filters__head h2 { margin: 0; font-size: 18px; color: var(--ink); }
.filters__close { display: none; }
.link-btn { padding: 0; border: 0; background: none; color: var(--accent); font-size: 14px; font-weight: 600; cursor: pointer; }
.facet { padding: 14px 0; border-bottom: 1px solid var(--border); }
.facet__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; }
.facet__toggle svg { width: 18px; height: 18px; transition: transform .15s; }
.facet__toggle[aria-expanded="false"] svg { transform: rotate(-90deg); }
.facet__body { margin-top: 10px; }
.facet__lookup { width: 100%; margin-bottom: 8px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-size: 13px; }
.facet__list { list-style: none; margin: 0; padding: 0; }
.facet__option { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; color: var(--text); cursor: pointer; }
.facet__option input { position: absolute; opacity: 0; pointer-events: none; }
.facet__box { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid #b8bcc2; border-radius: 4px; background: #fff; }
.facet__box svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.facet__option input:checked + .facet__box { background: var(--ink); border-color: var(--ink); }
.facet__option input:checked + .facet__box svg { opacity: 1; }
.facet__option input:focus-visible + .facet__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.facet__label { flex: 1; min-width: 0; }
.facet__count { color: var(--subtle); font-size: 12px; }
.facet__more { margin-top: 6px; font-size: 13px; }
.facet__empty { margin: 4px 0; color: var(--subtle); font-size: 13px; }

.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px; border: 0; border-radius: 999px; background: var(--surface); font-size: 13px; cursor: pointer; }
.chip span { color: var(--muted); }
.chip svg { width: 12px; height: 12px; }
.chip:hover { background: #e3e5e8; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.toolbar__count { margin: 0; }
.toolbar__count b { color: var(--ink); }
.toolbar__right { display: flex; align-items: center; gap: 10px; }
.select { padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; }
.filters-btn { display: none; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 999px; background: #fff; font-weight: 600; font-size: 13px; cursor: pointer; }
.filters-btn svg { width: 16px; height: 16px; }

.results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.result-card { height: 100%; }
.result-card__link { display: flex; flex-direction: column; height: 100%; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.result-card__link:hover { border-color: var(--ink); box-shadow: 0 8px 22px rgba(0,0,0,.07); }
.result-card__img { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: #fff; color: var(--subtle); font-size: 28px; font-weight: 700; }
.result-card__img img { width: 100%; height: 100%; object-fit: contain; }
.result-card__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.badge { padding: 2px 8px; border-radius: 999px; background: var(--accent-tint); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.badge--muted { background: var(--surface); color: var(--muted); }
.result-card__title { margin: 8px 0 0; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.result-card__title mark, .doc-card__title mark { background: #fff2b3; color: inherit; border-radius: 2px; }
.result-card__spec { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.result-card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--subtle); }
.result-card__foot b { color: var(--accent); font-size: 13px; }
.results--docs { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.doc-card__link { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; color: inherit; text-decoration: none; }
.doc-card__link:hover { border-color: var(--ink); }
.doc-card__img { aspect-ratio: 16 / 9; border-radius: 8px; background: var(--surface) center / cover no-repeat; display: grid; place-items: center; color: var(--subtle); }
.doc-card__img svg { width: 28px; height: 28px; }
.doc-card__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.doc-card__meta svg { width: 15px; height: 15px; }
.doc-card__meta span { color: var(--subtle); font-weight: 500; text-transform: none; letter-spacing: 0; }
.doc-card__title { margin: 4px 0 6px; font-size: 18px; line-height: 1.3; color: var(--ink); }
.doc-card__excerpt { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.doc-card__url { margin-top: 6px; font-size: 12px; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-skeleton { min-height: 300px; border-radius: var(--radius-md); background: linear-gradient(90deg, #eceef0, #f6f7f8, #eceef0); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.results--docs .result-skeleton { min-height: 130px; }
.empty { grid-column: 1 / -1; padding: 50px 20px; text-align: center; }
.empty h2 { margin: 0 0 6px; color: var(--ink); }
.empty p { margin: 0 0 16px; color: var(--muted); }
.empty__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.empty__chips a { padding: 7px 14px; border-radius: 999px; background: var(--surface); text-decoration: none; font-size: 14px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 34px 0 0; }
.pager button { min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font-weight: 600; cursor: pointer; display: grid; place-items: center; }
.pager button[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager button:disabled { opacity: .4; cursor: default; }
.pager svg { width: 16px; height: 16px; }

/* Smart Response on the results page, with its follow-up thread */
.results-sr { margin-bottom: 22px; }
.results-sr .sr { margin-bottom: 0; }
.thread { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--sr-border); }
.thread__list { display: grid; gap: 12px; }
.msg__who { margin-bottom: 4px; font-size: 12px; font-weight: 700; color: var(--subtle); }
.msg__body { font-size: 15px; line-height: 1.5; color: var(--ink); }
.msg__body p { margin: 0 0 8px; }
.msg__body ul { margin: 0 0 8px; padding-left: 20px; }
.msg--you .msg__body { display: inline-block; padding: 8px 14px; border-radius: 14px; background: var(--ink); color: #fff; }
.msg__status { color: var(--subtle); font-size: 14px; }
.msg__status::after { content: "…"; }
.msg__body .convo-card { margin-top: 8px; max-width: 460px; }
.thread__form { display: flex; gap: 8px; margin-top: 14px; }
.thread__input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; font: inherit; font-size: 14px; background: #fff; }
.thread__send { width: 42px; height: 42px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; }
.thread__send:disabled { opacity: .4; cursor: default; }
.thread__send svg { width: 16px; height: 16px; }

/* ---- Floating Search Assistant (assistant.css) in PNY colours ---- */
body .hawkai {
  --hk-navy: #111214; --hk-navy-2: #26282c;
  --hk-orange: #1b6a96; --hk-orange-fill: #1f73a3; --hk-orange-soft: #8fc0dd;
  --hk-cream: #fafafa; --hk-lavender: #eaf3f9;
  --hk-text: #1d1f22; --hk-muted: #5d6168; --hk-subtle: #8a8f97; --hk-border: #e1e3e6; --hk-surface: #f1f2f3;
  font-family: var(--font);
}
body .hawkai__header { background-image: radial-gradient(circle at 100% 0%, rgba(31, 115, 163, .5), transparent 60%); }

@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .main-nav__link { padding: 0 9px; font-size: 14px; }
  .site-header__row { gap: 20px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carousel--products .carousel__track { grid-auto-columns: calc((100% - 3 * 18px) / 3.3); }
}
@media (max-width: 900px) {
  .main-nav, .sub-nav { display: none; }
  .menu-btn { display: grid; }
  .header-search { width: 44px; padding: 0; justify-content: center; border-width: 1.5px; }
  .header-search span { display: none; }
  .site-header__row { height: 64px; }
  .main-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; left: 0; right: 0; top: 64px; bottom: 0; height: auto; overflow-y: auto;
    padding: 10px 16px 30px; background: var(--header);
  }
  .main-nav.is-open .main-nav__item { height: auto; display: block; }
  .main-nav.is-open .main-nav__link { width: 100%; height: auto; padding: 16px 0; font-size: 18px; border-bottom: 1px solid #2a2a2a; }
  .main-nav.is-open .main-nav__link::after { display: none; }
  .mega, .simple-menu { position: static; box-shadow: none; border: 0; background: transparent; }
  .mega__inner { grid-template-columns: minmax(0, 1fr); padding: 6px 0 16px; }
  .mega__cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .mega__col { padding: 0; border: 0; }
  .mega__featured, .mega__close { display: none; }
  .hero { min-height: 560px; }
  .hero__slide { background-position: 70% center; }
  .hero__slide::before { background: linear-gradient(0deg, rgba(0,0,0,.2), rgba(0,0,0,.75) 85%); }
  .hero__slide--light::before { background: linear-gradient(0deg, rgba(255,255,255,0), rgba(255,255,255,.9) 80%); }
  .hero__content { padding: 40px 24px 0; }
  .hero__captions { display: flex; overflow-x: auto; gap: 14px; padding: 0 24px 22px; scrollbar-width: none; }
  .hero__caption { flex: 0 0 62%; }
  .segments { grid-template-columns: minmax(0, 1fr); }
  .segment { min-height: 220px; }
  .carousel__track, .carousel--products .carousel__track { grid-auto-columns: 78%; }
  .carousel__arrow { display: none; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .results-layout { grid-template-columns: minmax(0, 1fr); }
  .filters {
    position: fixed; z-index: 60; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); max-height: none;
    padding: 18px; background: #fff; box-shadow: 0 0 40px rgba(0,0,0,.3);
    transform: translateX(-105%); transition: transform .2s;
  }
  body.filters-open .filters { transform: none; }
  .drawer-backdrop { position: fixed; inset: 0; z-index: 59; background: rgba(0,0,0,.4); display: none; }
  body.filters-open .drawer-backdrop { display: block; }
  .filters__close { display: grid; }
  .filters-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  .logo svg { width: 96px; }
  .hero { min-height: 520px; border-radius: 14px; }
  .hero-wrap { padding-top: 14px; }
  .hero__text { font-size: 16px; }
  .section { padding-top: 60px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners { gap: 28px; padding-top: 50px; }
  .partners img { height: 26px; }
  .find { padding: 44px 18px; margin-top: 50px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .result-card__link { padding: 10px; }
  .result-card__title { font-size: 14px; }
  .doc-card__link { grid-template-columns: minmax(0, 1fr); }
  .doc-card__img { display: none; }
  .toolbar { flex-wrap: wrap; }
  .tab { padding: 10px 10px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  .hero__caption.is-active .hero__caption-bar { animation: none; width: 100%; }
  .carousel__track { scroll-behavior: auto; }
  .prod-card, .feature-card { transition: none; }
}
