/* Public product catalogue + quote list (/catalogue.html, products.qelogic.com)
   Look: deep-navy photo hero with glow orbs, white glass search, department photo tiles,
   product cards with category illustrations on soft gradient tiles. Uses the site tokens. */
[hidden] { display: none !important; }

/* ---------- Hero ---------- */
.cx-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.cx-hero-bg { position: absolute; inset: 0; z-index: -2; background: linear-gradient(115deg, rgba(10, 31, 68, .97) 0%, rgba(10, 31, 68, .88) 45%, rgba(15, 44, 92, .55) 100%), url("img/photos/hero.webp") center / cover no-repeat; }
.cx-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.cx-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.cx-orb.o1 { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, #1462f0, transparent 65%); animation: cfloat 14s ease-in-out infinite alternate; }
.cx-orb.o2 { width: 420px; height: 420px; right: 22%; bottom: -260px; background: radial-gradient(circle, #6b5bd1, transparent 65%); animation: cfloat 18s ease-in-out infinite alternate-reverse; }
@keyframes cfloat { to { transform: translate(-40px, 30px) scale(1.08); } }
.cx-hero-in { padding-block: 38px 40px; }
.cx-hero .crumbs, .cx-hero .crumbs a { color: rgba(255, 255, 255, .6); }
.cx-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9cc0ff; }
.cx-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: cpulse 2.2s infinite; }
@keyframes cpulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.cx-hero h1 { margin-top: 12px; font-size: clamp(2.2rem, 5vw, 3.8rem); color: #fff; max-width: 16ch; }
.cx-hero h1 em { font-style: normal; background: linear-gradient(90deg, #7fb0ff, #b9a8ff 55%, #5fe0f5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cx-hero .lede { color: rgba(255, 255, 255, .78); max-width: 58ch; }
.cat-search { position: relative; margin-top: 26px; max-width: 820px; }
.cat-search > svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--blue); pointer-events: none; z-index: 1; }
.cat-search input { width: 100%; font: 500 1.08rem var(--font); color: var(--ink); background: #fff; border: 0; border-radius: 18px; padding: 20px 64px 20px 54px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .25); transition: box-shadow .2s; }
.cat-search input::placeholder { color: #8391a7; }
.cat-search input:focus { outline: none; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55), 0 0 0 4px rgba(127, 176, 255, .55); }
.cat-help { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--tint); color: var(--blue); font-weight: 800; cursor: pointer; }
.cat-help:hover, .cat-help[aria-expanded="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.cat-helppop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; width: min(470px, 100%); background: #fff; color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 20px; animation: cpop .18s ease-out; }
.cat-helppop h4 { font-size: 1.05rem; margin-bottom: 12px; }
.cat-helppop dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 14px; margin: 0; align-items: baseline; font-size: .9rem; }
.cat-helppop dt { white-space: nowrap; }
.cat-helppop dd { margin: 0; color: var(--muted); }
.cat-helppop code { font-size: .82rem; background: #eaf1ff; color: var(--blue); padding: 2px 7px; border-radius: 6px; }
.cx-try { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.cx-try button { border: 1px solid var(--line); background: var(--tint); border-radius: 999px; padding: 5px 12px; font: 600 .82rem var(--font); color: var(--navy); cursor: pointer; }
.cx-try button:hover { border-color: var(--blue); color: var(--blue); }
.cat-qinfo { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.cat-qinfo span { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 3px 11px; font-weight: 600; color: #fff; }
.cat-qinfo span b { color: #9cc0ff; margin-left: 6px; }
.cat-qinfo span.zero b { color: #ff9aa5; }
.cat-stats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 24px; color: rgba(255, 255, 255, .7); font-size: .92rem; }
.cat-stats span { display: inline-flex; align-items: baseline; gap: 6px; }
.cat-stats b { color: #fff; font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- How it works ---------- */
.cx-how { border-bottom: 1px solid var(--line); background: #fff; }
.cx-how ol { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cx-how li { display: flex; gap: 14px; align-items: flex-start; }
.cx-how li > b { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; font-weight: 800; box-shadow: 0 10px 22px -10px rgba(20, 98, 240, .7); }
.cx-how h3 { font-size: 1rem; }
.cx-how p { color: var(--muted); font-size: .9rem; margin-top: 2px; line-height: 1.5; }

/* ---------- Departments ---------- */
.cx-depts-wrap { background: var(--tint); padding-block: 34px 26px; }
.cx-sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cx-sechead h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.cx-link { border: 0; background: none; color: var(--blue); font: 700 .92rem var(--font); cursor: pointer; }
.cx-depts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .cx-depts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cx-dept { position: relative; overflow: hidden; border: 0; border-radius: 18px; min-height: 132px; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; text-align: left; color: #fff; cursor: pointer; background: var(--navy); box-shadow: 0 1px 2px rgba(10, 31, 68, .08), 0 14px 30px -20px rgba(10, 31, 68, .6); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; isolation: isolate; }
.cx-dept::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat, var(--g); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.cx-dept::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 31, 68, .05) 20%, rgba(10, 31, 68, .88)); }
.cx-dept:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(10, 31, 68, .1), 0 22px 40px -20px rgba(10, 31, 68, .7); }
.cx-dept:hover::before { transform: scale(1.07); }
.cx-dept .ic { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.cx-dept .ic svg { width: 19px; height: 19px; }
.cx-dept b { font-size: 1rem; line-height: 1.2; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.cx-dept span { font-size: .78rem; color: rgba(255, 255, 255, .8); font-variant-numeric: tabular-nums; }
.cx-dept[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--blue), 0 22px 40px -20px rgba(20, 98, 240, .8); }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; margin-top: 18px; padding-bottom: 4px; scrollbar-width: none; align-items: center; }
.cat-chips::before { content: "Popular brands"; flex: none; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font: 700 .84rem var(--font); color: var(--navy); cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s; }
.cat-chips button:hover { transform: translateY(-1px); border-color: #b9cdfb; box-shadow: 0 8px 18px -12px rgba(20, 98, 240, .6); }
.cat-chips button[aria-pressed="true"] { background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; border-color: transparent; }

/* ---------- Filter bar ---------- */
.cat-bar { position: sticky; top: calc(var(--headh, 0px) + env(safe-area-inset-top, 0px)); z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--line); }
.cat-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 11px; }
.cat-dd { position: relative; }
.cat-ddbtn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 12px; font: 700 .86rem var(--font); color: var(--navy); cursor: pointer; max-width: 240px; white-space: nowrap; transition: border-color .15s; }
.cat-ddbtn:hover { border-color: #b9cdfb; }
.cat-ddbtn span { color: var(--muted); font-weight: 500; }
.cat-ddbtn em { font-style: normal; overflow: hidden; text-overflow: ellipsis; }
.cat-ddbtn svg { width: 12px; height: 12px; flex: none; }
.cat-dd.on .cat-ddbtn { background: #eaf1ff; border-color: #b9cdfb; color: var(--blue); }
.cat-ddpop { position: absolute; left: 0; top: calc(100% + 6px); z-index: 25; width: 320px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; animation: cpop .16s ease-out; }
.cat-ddpop.right { left: auto; right: 0; }
.cat-ddpop .s { padding: 10px; border-bottom: 1px solid var(--line); }
.cat-ddpop .s input { width: 100%; font: 500 .9rem var(--font); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: var(--tint); }
.cat-ddpop .s input:focus { outline: none; border-color: var(--blue); background: #fff; }
.cat-ddpop .l { max-height: min(340px, 50vh); overflow-y: auto; padding: 6px; overscroll-behavior: contain; }
.cat-ddpop label { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 9px; cursor: pointer; font-size: .9rem; }
.cat-ddpop label:hover { background: var(--tint); }
.cat-ddpop label input { accent-color: var(--blue); margin: 0; }
.cat-ddpop label .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-ddpop label small { display: block; color: var(--muted); font-size: .76rem; }
.cat-ddpop label .n { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.cat-ddpop label.zero { opacity: .45; }
.cat-ddpop .f { display: flex; justify-content: space-between; padding: 8px 10px; border-top: 1px solid var(--line); background: var(--tint); }
.cat-ddpop .f button { border: 0; background: none; font: 700 .85rem var(--font); color: var(--muted); cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.cat-ddpop .f button.pri { background: var(--blue); color: #fff; padding: 6px 16px; }
.cat-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 7px 12px; font: 700 .86rem var(--font); color: var(--navy); cursor: pointer; user-select: none; }
.cat-toggle:has(input:checked) { background: #e3f6ec; border-color: #9fdcbc; color: var(--ok); }
.cat-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.cat-toggle i { width: 30px; height: 18px; border-radius: 999px; background: var(--line); position: relative; transition: background .15s; }
.cat-toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
.cat-toggle input:checked + i { background: var(--ok); }
.cat-toggle input:checked + i::after { transform: translateX(12px); }
.cat-toggle:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.cat-bar select { font: 700 .86rem var(--font); color: var(--navy); border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 10px; }
.cat-clear { border: 0; background: none; color: var(--blue); font: 700 .86rem var(--font); cursor: pointer; }
.cat-count { margin-left: auto; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.cat-count b { color: var(--navy); font-variant-numeric: tabular-nums; }
.cx-view { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; padding: 3px; background: #fff; }
.cx-view button { width: 34px; height: 30px; border: 0; border-radius: 9px; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.cx-view button svg { width: 16px; height: 16px; }
.cx-view button[aria-pressed="true"] { background: #eaf1ff; color: var(--blue); }

/* ---------- Results: grid cards ---------- */
.cx-results { padding-block: 24px 10px; }
.cat-list.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.pc { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(10, 31, 68, .04); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; animation: crise .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 22ms); min-width: 0; }
.pc:hover { transform: translateY(-4px); border-color: #c6d6fb; box-shadow: 0 26px 50px -30px rgba(20, 98, 240, .55); }
.pc.inq { border-color: #8fb5ff; box-shadow: 0 0 0 2px rgba(20, 98, 240, .15); }
@keyframes crise { from { opacity: 0; transform: translateY(12px); } }
.pc-media { position: relative; height: 150px; display: grid; place-items: center; background: var(--g); cursor: pointer; overflow: hidden; }
.pc-media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .55), transparent 55%); }
.pc-media .art { position: relative; width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; background: rgba(255, 255, 255, .7); backdrop-filter: blur(8px); box-shadow: 0 16px 30px -18px rgba(10, 31, 68, .5), inset 0 0 0 1px rgba(255, 255, 255, .8); color: var(--c); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.pc:hover .pc-media .art { transform: scale(1.08) rotate(-3deg); }
.pc-media .art svg { width: 38px; height: 38px; }
.pc-media .brand { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 4px 11px; font-size: .76rem; font-weight: 800; color: var(--navy); box-shadow: 0 4px 10px -6px rgba(10, 31, 68, .4); max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-media .pill { position: absolute; right: 12px; bottom: 12px; }
.pill-m { display: none; }
.pc-body { padding: 14px 16px 6px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-body .d { font-weight: 700; color: var(--navy); line-height: 1.35; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; cursor: pointer; }
.pc-body .d:hover { color: var(--blue); }
.pc-body .m { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .8rem; color: var(--muted); }
.pc-body code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .78rem; background: var(--tint); border-radius: 6px; padding: 2px 7px; color: var(--navy); }
.pc-foot { padding: 10px 16px 16px; }
.pc-foot .cat-add { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.in { background: #e3f6ec; color: var(--ok); }
.pill.so { background: #fff3e0; color: #b45309; }
.pc-media .pill.in { background: rgba(227, 246, 236, .95); }
.pc-media .pill.so { background: rgba(255, 243, 224, .95); }

/* Product photos (fallback: category illustration) */
.pc-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px 18px 14px; background: #fff; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.pc:hover .pc-media .ph { transform: scale(1.05); }
.pc-media.has-ph { background: #fff; border-bottom: 1px solid var(--line); }
.pc-media.has-ph::before, .pc-media.has-ph .art { display: none; }
.pc-media .brand, .pc-media .pill { z-index: 1; }
.tile, .phero .art { position: relative; overflow: hidden; }
.tile .ph, .phero .art .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 3px; }
.tile.has-ph, .phero .art.has-ph { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tile.has-ph svg, .phero .art.has-ph svg { visibility: hidden; }
.phero .art.has-ph { width: 150px; height: 150px; }
.phero .art .ph { padding: 10px; }

/* ---------- Results: list rows ---------- */
.cat-list.list { display: flex; flex-direction: column; gap: 10px; }
.cat-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; transition: border-color .15s, box-shadow .15s; animation: crise .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 16ms); }
.cat-item:hover { border-color: #c6d6fb; box-shadow: 0 18px 40px -28px rgba(20, 98, 240, .5); }
.cat-item.inq { border-color: #8fb5ff; background: linear-gradient(90deg, #f3f7ff, #fff 40%); }
.cat-item .tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--g); color: var(--c); }
.cat-item .tile svg { width: 26px; height: 26px; }
.cat-info { min-width: 0; }
.cat-info .d { font-weight: 700; color: var(--navy); line-height: 1.35; cursor: pointer; }
.cat-info .d:hover { color: var(--blue); }
.cat-info .m { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 5px; font-size: .82rem; color: var(--muted); align-items: center; }
.cat-info .m b { color: var(--ink); }
.cat-info code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; background: var(--tint); border-radius: 6px; padding: 1px 6px; color: var(--navy); }
.cat-add { display: flex; align-items: center; gap: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { width: 32px; height: 38px; border: 0; background: var(--tint); font: 700 1rem var(--font); color: var(--navy); cursor: pointer; }
.qty button:hover { background: #e6eefe; color: var(--blue); }
.qty input { width: 48px; height: 38px; border: 0; text-align: center; font: 800 .95rem var(--font); color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.addbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 12px; padding: 10px 14px; background: var(--blue); color: #fff; font: 800 .88rem var(--font); cursor: pointer; white-space: nowrap; transition: background .2s, transform .15s, box-shadow .2s; box-shadow: 0 10px 20px -12px rgba(20, 98, 240, .8); }
.addbtn:hover { background: var(--blue-2); transform: translateY(-1px); }
.addbtn.added { background: var(--ok); box-shadow: 0 10px 20px -12px rgba(18, 161, 80, .8); }
.addbtn svg { width: 15px; height: 15px; }
.cat-more { display: flex; justify-content: center; padding-block: 26px 10px; }
.cat-empty { grid-column: 1 / -1; text-align: center; padding: 70px 16px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 20px; }
.cat-empty b { display: block; font-size: 1.25rem; color: var(--navy); margin-bottom: 6px; }
.cat-skel { height: 300px; border-radius: 20px; background: linear-gradient(90deg, var(--tint), #eef3fb, var(--tint)); background-size: 200% 100%; animation: cshim 1.2s linear infinite; }
@keyframes cshim { to { background-position: -200% 0; } }
.cx-cta { margin: 34px 0 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px 30px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 85% 20%, rgba(107, 91, 209, .55), transparent 50%), linear-gradient(120deg, var(--navy), #12306a); box-shadow: var(--shadow-lg); }
.cx-cta h2 { font-size: 1.4rem; color: #fff; }
.cx-cta p { color: rgba(255, 255, 255, .75); margin-top: 4px; max-width: 60ch; }

/* ---------- Floating quote button + drawer ---------- */
.qfab { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 15px 22px; background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; font: 800 .95rem var(--font); cursor: pointer; box-shadow: 0 18px 40px -12px rgba(20, 98, 240, .8); transition: transform .2s; }
.qfab:hover { transform: translateY(-2px); }
.qfab.empty { background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: 0 14px 30px -14px rgba(10, 31, 68, .45); }
.qfab.empty b { background: var(--tint); color: var(--muted); }
.cx-share { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 7px 12px; font: 800 .86rem var(--font); color: var(--navy); cursor: pointer; }
.cx-share:hover { border-color: #b9cdfb; color: var(--blue); }
.cx-share svg { width: 16px; height: 16px; }
.cx-qbtn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 7px 12px; font: 800 .86rem var(--font); color: var(--navy); cursor: pointer; white-space: nowrap; }
.cx-qbtn svg { width: 16px; height: 16px; }
.cx-qbtn b { background: var(--tint); color: var(--muted); border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: .78rem; padding: 0 6px; }
.cx-qbtn.has { background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -12px rgba(20, 98, 240, .8); }
.cx-qbtn.has b { background: #fff; color: var(--blue); }
.qfab svg { width: 20px; height: 20px; }
.qfab b { background: #fff; color: var(--blue); border-radius: 999px; min-width: 24px; height: 24px; display: grid; place-items: center; font-size: .8rem; padding: 0 6px; }
.qfab.bump { animation: cbump .45s; }
@keyframes cbump { 40% { transform: scale(1.12); } }
.qdrawer { position: fixed; inset: 0; z-index: 60; }
.qback { position: absolute; inset: 0; background: rgba(10, 31, 68, .4); backdrop-filter: blur(5px); animation: cfade .2s; }
@keyframes cfade { from { opacity: 0; } }
.qpanel { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: #fff; display: flex; flex-direction: column; box-shadow: -30px 0 80px -30px rgba(10, 31, 68, .5); animation: cslide .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes cslide { from { transform: translateX(40px); opacity: 0; } }
.qhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px; padding-top: calc(20px + env(safe-area-inset-top, 0px)); background: linear-gradient(160deg, #f6f9ff, #eef3ff); border-bottom: 1px solid var(--line); }
.qhead h2 { font-size: 1.35rem; }
.qhead p { color: var(--muted); font-size: .86rem; }
.qx { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; flex: none; }
.qx:hover { background: var(--tint); }
.qbody { flex: 1; overflow-y: auto; padding: 8px 20px 16px; overscroll-behavior: contain; }
.qline { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.qline .tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--g); color: var(--c); }
.qline .tile svg { width: 22px; height: 22px; }
.qline .d { font-weight: 700; font-size: .9rem; color: var(--navy); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qline .m { font-size: .78rem; color: var(--muted); margin-top: 3px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.qline .m code { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--tint); border-radius: 5px; padding: 0 5px; color: var(--navy); }
.qline .qty button { height: 32px; width: 28px; }
.qline .qty input { height: 32px; width: 44px; }
.qline .rm { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1rem; padding: 6px; border-radius: 8px; }
.qline .rm:hover { color: var(--bad); background: #fdeeee; }
.qform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.qform h3 { grid-column: 1 / -1; font-size: 1.02rem; }
.qform label { display: flex; flex-direction: column; gap: 5px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.qform label.full { grid-column: 1 / -1; }
.qform input, .qform textarea { font: 500 .95rem var(--font); color: var(--ink); border: 1px solid var(--line); border-radius: 11px; padding: 11px 12px; background: var(--tint); }
.qform input:focus, .qform textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(20, 98, 240, .12); }
.qform textarea { min-height: 80px; resize: vertical; }
.qform .hp { position: absolute; left: -9999px; }
.qfoot { padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; background: #fff; box-shadow: 0 -14px 30px -24px rgba(10, 31, 68, .4); }
.qfoot .sum { display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); }
.qfoot .sum b { color: var(--navy); }
.qfoot .btn { width: 100%; padding: 15px; font-size: 1rem; background: linear-gradient(135deg, var(--blue), var(--violet)); border: 0; }
.qfoot .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.qfoot .err { color: var(--bad); font-size: .88rem; font-weight: 600; }
.qfoot .err:empty { display: none; }
.qfoot .tools { display: flex; gap: 14px; justify-content: center; }
.qfoot .tools button { border: 0; background: none; color: var(--muted); font: 600 .82rem var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.qempty { text-align: center; padding: 50px 10px; color: var(--muted); }
.qempty .art { width: 74px; height: 74px; border-radius: 22px; margin: 0 auto 14px; display: grid; place-items: center; background: linear-gradient(135deg, #eaf1ff, #f1edff); color: var(--blue); }
.qempty .art svg { width: 34px; height: 34px; }
.qempty b { display: block; color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }
.qdone { text-align: center; padding: 40px 10px; }
.qdone .ok { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: linear-gradient(135deg, #3ddc84, var(--ok)); color: #fff; font-size: 2.1rem; box-shadow: 0 16px 34px -14px rgba(18, 161, 80, .8); animation: cbump .5s; }
.qdone h3 { font-size: 1.45rem; margin-bottom: 8px; }
.qdone p { color: var(--muted); }
.qdone code { background: var(--tint); padding: 2px 8px; border-radius: 6px; font-weight: 800; color: var(--navy); }

/* ---------- Product details ---------- */
.pmodal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; }
.pcard { position: relative; width: min(720px, 100%); max-height: 88vh; overflow: auto; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); animation: cpop .24s cubic-bezier(.2, .8, .2, 1); }
@keyframes cpop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.pcard > .qx { position: absolute; top: 14px; right: 14px; z-index: 2; }
.phero { position: relative; display: flex; gap: 20px; align-items: center; padding: 30px 28px; padding-right: 70px; background: var(--g); }
.phero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .6), transparent 55%); }
.phero .art { position: relative; flex: none; width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center; background: rgba(255, 255, 255, .75); color: var(--c); box-shadow: 0 20px 34px -20px rgba(10, 31, 68, .55); }
.phero .art svg { width: 46px; height: 46px; }
.phero > div { position: relative; min-width: 0; }
.phero .b { display: inline-block; background: rgba(255, 255, 255, .9); border-radius: 999px; padding: 3px 11px; font-size: .78rem; font-weight: 800; color: var(--navy); }
.phero h3 { font-size: 1.3rem; line-height: 1.3; margin-top: 8px; color: var(--navy); }
.pbody { padding: 20px 28px 26px; display: flex; flex-direction: column; gap: 18px; }
.pact { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; }
.pkv { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 0; padding: 16px; background: var(--tint); border-radius: 14px; }
.pkv dt { font-size: .76rem; color: var(--muted); font-weight: 600; }
.pkv dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.pdesc { line-height: 1.7; color: var(--ink); }
.ctoast { position: fixed; z-index: 55 !important; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 10px); background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; z-index: 80; box-shadow: var(--shadow-lg); }
.ctoast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) { .cx-how ol { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 760px) {
  .cx-hero-in { padding-block: 24px 30px; }
  .cat-stats { gap: 8px 18px; }
  .cx-depts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cx-dept { min-height: 112px; }
  .cat-bar { position: static; }
  .cat-dd { flex: 1 1 40%; }
  .cat-ddbtn { width: 100%; max-width: none; justify-content: space-between; }
  .cat-ddpop { position: fixed; left: 16px; right: 16px; top: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; }
  .cat-count { margin-left: 0; flex: 1; }
  .cat-list.grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .pc-media { height: 118px; }
  .pc-media .pill { display: none; }
  .pill-m { display: block; }
  .pc-media .art { margin-top: 18px; }
  .pc-media .brand { top: 9px; left: 9px; font-size: .72rem; padding: 3px 9px; }
  .cx-depts .cx-dept:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 96px; }
  .pc-media .art { width: 58px; height: 58px; border-radius: 18px; }
  .pc-media .art svg { width: 30px; height: 30px; }
  .pc-body { padding: 12px 12px 4px; }
  .pc-body .d { font-size: .88rem; }
  .pc-foot { padding: 8px 12px 12px; }
  .pc-foot .cat-add { grid-template-columns: 1fr; }
  .pc-foot .qty { justify-content: space-between; }
  .pc-foot .qty input { flex: 1; width: auto; min-width: 0; }
  .cat-item { grid-template-columns: 44px minmax(0, 1fr); gap: 10px 12px; }
  .cat-item .tile { width: 44px; height: 44px; }
  .cat-item .pillc { grid-column: 2; }
  .cat-item .cat-add { grid-column: 1 / -1; justify-content: flex-end; }
  .qform { grid-template-columns: 1fr; }
  .qline { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .qline .qty { grid-column: 2; justify-self: start; }
  .qline .rm { grid-row: 1; grid-column: 3; }
  .cat-helppop dl { grid-template-columns: 1fr; }
  .pmodal { padding: 0; align-items: end; }
  .pcard { border-radius: 24px 24px 0 0; }
  .phero { padding: 22px 18px; padding-right: 60px; }
  .phero .art { width: 64px; height: 64px; }
  .pbody { padding: 16px 18px 22px; }
  .cx-cta { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .cx-orb, .cx-eyebrow .dot, .pc, .cat-item, .qpanel, .pcard, .cat-skel, .cat-helppop, .cat-ddpop { animation: none !important; } .pc, .cx-dept, .cx-dept::before { transition: none; } }

/* ---------- Quote list tools: bulk add, item not listed ---------- */
.qtools { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 0 4px; }
.qtool { display: inline-flex; align-items: center; gap: 7px; border: 1px dashed #b9cdfb; background: #f6f9ff; color: var(--blue); border-radius: 10px; padding: 8px 12px; font: 700 .84rem var(--font); cursor: pointer; }
.qtool svg { width: 16px; height: 16px; }
.qtool:hover, .qtool[aria-expanded="true"] { background: #eaf1ff; border-style: solid; }
.qpanelx { margin: 8px 0 4px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--tint); display: flex; flex-direction: column; gap: 10px; animation: cpop .16s ease-out; }
.qpanelx p { font-size: .84rem; color: var(--muted); }
.qpanelx textarea { width: 100%; min-height: 110px; font: 500 .9rem ui-monospace, Menlo, Consolas, monospace; border: 1px solid var(--line); border-radius: 10px; padding: 10px; resize: vertical; background: #fff; }
.qpanelx input { font: 500 .92rem var(--font); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; background: #fff; min-width: 0; }
.qrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.qrow > input:first-child { flex: 1 1 200px; }
.qrow .btn { padding: 9px 16px; font-size: .86rem; }
.qfile { cursor: pointer; }
.qres { font-size: .84rem; color: var(--ok); }
.qres:empty { display: none; }
.qline.custom .tile { background: linear-gradient(135deg, #fff3e0, #ffe2c2); color: #b45309; }
.qform label.chkl { flex-direction: row; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink); font-weight: 600; }
.qform label.chkl input { accent-color: var(--blue); width: auto; padding: 0; }
.qform input[type="date"] { min-height: 42px; }
#q-ts:empty { display: none; }
.qfoot .tools { flex-wrap: wrap; gap: 6px 14px; }

/* Shared list banner */
.qshared { position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); z-index: 58; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  width: min(560px, calc(100% - 32px)); background: #fff; border: 1px solid #b9cdfb; border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-weight: 600; color: var(--navy); animation: cpop .2s ease-out; }
.qshared .btn { padding: 8px 14px; font-size: .86rem; }
.plink { margin-top: -4px; }
.plink a { font-weight: 700; text-decoration: none; }

/* Print just the quote list */
#q-print { display: none; }
@media print {
  @page { size: letter; margin: 14mm 12mm; }
  body.print-list > *:not(#q-print) { display: none !important; }
  body.print-list { background: #fff !important; }
  body.print-list #q-print { display: block !important; color: #0f1b33; font: 10pt/1.4 var(--font, "Inter", system-ui, sans-serif); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pq-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .pq-logo { height: 40px; width: auto; }
  .pq-title { text-align: right; }
  .pq-title h1 { margin: 0; font-size: 22pt; letter-spacing: -.01em; color: #0a1f44; }
  .pq-ref { font: 600 9.5pt ui-monospace, Menlo, monospace; color: #1462f0; margin-top: 2px; }
  .pq-band { height: 4px; border-radius: 4px; margin: 12px 0 14px; background: linear-gradient(90deg, #0a1f44, #1462f0 55%, #22b8f0); }
  .pq-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
  .pq-meta div { background: #f2f5fb; border: 1px solid #e1e7f2; border-radius: 8px; padding: 7px 10px; }
  .pq-meta span { display: block; font-size: 7.5pt; text-transform: uppercase; letter-spacing: .08em; color: #5b6682; font-weight: 700; }
  .pq-meta b { font-size: 10.5pt; color: #0a1f44; }
  .pq-t { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 9.5pt; }
  .pq-t thead th { background: #0a1f44; color: #fff; text-align: left; font-size: 7.5pt; text-transform: uppercase; letter-spacing: .07em; padding: 7px 8px; }
  .pq-t thead th:first-child { border-radius: 6px 0 0 6px; } .pq-t thead th:last-child { border-radius: 0 6px 6px 0; }
  .pq-t td { padding: 7px 8px; border-bottom: 1px solid #e6eaf2; vertical-align: top; }
  .pq-t tbody tr:nth-child(even) td { background: #f8faff; }
  .pq-t tr { break-inside: avoid; }
  .pq-t td.n { color: #8a94ad; } .pq-t .n { width: 22px; text-align: right; } .pq-t .q { width: 34px; text-align: center; } .pq-t td.q { font-weight: 800; color: #0a1f44; }
  .pq-t .b { font-weight: 700; white-space: nowrap; } .pq-t .p { font: 600 8.5pt ui-monospace, Menlo, monospace; white-space: nowrap; }
  .pb { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 7.5pt; font-weight: 700; white-space: nowrap; }
  .pb.in { background: #dff5ea; color: #0f8a52; } .pb.so { background: #fdf0d9; color: #b26a00; } .pb.req { background: #e6eefe; color: #1462f0; }
  .pq-note { margin-top: 14px; padding: 9px 12px; border-left: 3px solid #1462f0; background: #f2f5fb; border-radius: 0 8px 8px 0; font-size: 8.5pt; color: #3d4866; }
  .pq-foot { margin-top: 18px; padding-top: 10px; border-top: 1px solid #e1e7f2; display: flex; gap: 14px; flex-wrap: wrap; font-size: 8.5pt; color: #5b6682; }
  .pq-foot b { color: #0a1f44; }
}


/* ---------- Product pages (/p/brand/part) ---------- */
.pp { padding-block: 22px 80px; background: radial-gradient(1200px 500px at 85% -10%, #eef3ff 0, transparent 60%), radial-gradient(900px 420px at -10% 10%, #f3efff 0, transparent 55%); }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; margin-top: 18px; align-items: start; }
.pp-media { position: sticky; top: 96px; min-width: 0; }
.pv-stage { position: relative; aspect-ratio: 1; border-radius: 28px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; box-shadow: 0 30px 70px -45px rgba(10, 31, 68, .55); cursor: grab; touch-action: pan-y; user-select: none; }
.pv-stage.dragging { cursor: grabbing; }
.pv-stage.is-media { cursor: default; background: #0b1426; }
.pv-img { width: 100%; height: 100%; object-fit: contain; padding: 34px; transition: opacity .12s; pointer-events: auto; }
.pv-vid, .pv-vid video { width: 100%; height: 100%; }
.pv-vid video { object-fit: contain; background: #fff; }
.pv-nav { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.92); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s, transform .2s; box-shadow: 0 8px 20px -10px rgba(10,31,68,.4); }
.pv-nav.prev { left: 14px; } .pv-nav.next { right: 14px; }
.pv-stage:hover .pv-nav, .pv-stage:focus-within .pv-nav { opacity: 1; }
.pv-nav:hover { transform: scale(1.08); }
.pv-hint { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: inline-flex; gap: 6px; align-items: center; font-size: .78rem; font-weight: 700; color: var(--muted); background: rgba(255,255,255,.9); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
.pv-hint svg, .pv-badge svg, .pv-zoom svg, .pv-x svg { width: 16px; height: 16px; flex: none; }
.pv-zoom { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; cursor: zoom-in; }
.pv-badge { position: absolute; left: 14px; top: 14px; display: inline-flex; gap: 6px; align-items: center; border: 0; cursor: pointer; font: 800 .8rem var(--font); color: #fff; padding: 8px 13px; border-radius: 999px; background: linear-gradient(135deg, var(--blue), #7c4dff); box-shadow: 0 10px 22px -10px rgba(20,98,240,.8); }
.is-media .pv-nav, .is-media .pv-hint, .is-media .pv-zoom, .is-media .pv-badge { display: none; }
.pv-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.pv-th { flex: none; width: 70px; height: 70px; border-radius: 14px; border: 2px solid var(--line); background: #fff; padding: 6px; cursor: pointer; transition: border-color .15s, transform .15s; display: grid; place-items: center; }
.pv-th img { width: 100%; height: 100%; object-fit: contain; }
.pv-th:hover { transform: translateY(-2px); }
.pv-th.on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,98,240,.15); }
.pv-x { color: var(--blue); font: 800 .72rem var(--font); gap: 2px; background: #eef3ff; border-color: #d6e2fd; }
.pv-x svg { width: 20px; height: 20px; }
.pp .crumbs, .pp .crumbs a { color: var(--muted); }
.pp .crumbs a:hover { color: var(--blue); }
.pv-stage:has(.pp-ph) { aspect-ratio: 4 / 3; cursor: default; }
.pp-ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #eaf1ff, #f1edff); color: var(--blue); font-weight: 800; font-size: 1.6rem; text-align: center; padding: 20px; }
.pp-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pp-brand { display: inline-block; background: #eaf1ff; color: var(--blue); font-weight: 800; border-radius: 999px; padding: 5px 13px; text-decoration: none; font-size: .86rem; }
.pp-cat { color: var(--muted); font-size: .86rem; font-weight: 600; }
.pp-info { min-width: 0; }
.pp-info h1 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.2; margin: 14px 0 12px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.pp-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); margin: 0 0 18px; font-size: .92rem; }
.pp-meta code { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--tint); border-radius: 6px; padding: 1px 7px; color: var(--navy); overflow-wrap: anywhere; }
.pp-hl { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.pp-hl li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; line-height: 1.5; }
.pp-hl svg, .pp-trust svg { width: 14px; height: 14px; }
.pp-hl li > svg { width: 24px; height: 24px; padding: 5px; border-radius: 8px; background: #e3f6ec; color: var(--ok, #12805c); margin-top: 1px; }
.pp-box { border: 1px solid var(--line); border-radius: 22px; padding: 20px; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); box-shadow: 0 24px 50px -40px rgba(10,31,68,.6); }
.pp-box-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pp-price { font-weight: 800; color: var(--navy); }
.pp-buy { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 16px 0 14px; }
.pp-buy .addbtn { padding: 13px 22px; font-size: 1rem; flex: 1 1 160px; justify-content: center; }
.pp-trust { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .86rem; }
.pp-trust li { display: inline-flex; gap: 6px; align-items: center; }
.pp-trust svg { color: var(--blue); }
.pp-tabs { position: sticky; top: 70px; z-index: 5; display: flex; gap: 6px; margin: 56px 0 8px; padding: 6px; border-radius: 16px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border: 1px solid var(--line); width: max-content; max-width: 100%; overflow-x: auto; }
.pp-tabs a { padding: 9px 16px; border-radius: 11px; text-decoration: none; color: var(--muted); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.pp-tabs a:hover { color: var(--navy); }
.pp-tabs a.on { background: var(--navy); color: #fff; }
.pp-sec { padding-top: 34px; scroll-margin-top: 140px; }
.pp-sec > h2 { font-size: 1.5rem; margin: 0 0 16px; }
.pp-lead { font-size: 1.12rem; line-height: 1.7; color: var(--ink); max-width: 75ch; margin: 0 0 12px; }
.pp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 20px; }
.pp-card { position: relative; border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: #fff; }
.pp-card .n { font: 800 .78rem var(--font); color: var(--blue); background: #eef3ff; border-radius: 8px; padding: 3px 8px; }
.pp-card h3 { font-size: 1.05rem; margin: 12px 0 6px; }
.pp-card p { color: var(--muted); margin: 0 0 8px; line-height: 1.6; }
.pp-specs { columns: 2 340px; column-gap: 16px; }
.pp-sg { break-inside: avoid; border: 1px solid var(--line); border-radius: 18px; background: #fff; margin: 0 0 16px; overflow: hidden; }
.pp-sg h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin: 0; padding: 12px 18px; background: var(--tint); border-bottom: 1px solid var(--line); }
.pp-sg dl { margin: 0; }
.pp-sg dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; padding: 9px 18px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.pp-sg dl div:last-child { border-bottom: 0; }
.pp-sg dt { color: var(--muted); }
.pp-sg dd { margin: 0; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.pp-docs { display: flex; flex-wrap: wrap; gap: 12px; }
.pp-docs a { display: inline-flex; gap: 10px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-decoration: none; color: var(--navy); font-weight: 700; }
.pp-docs a:hover { border-color: #b9cdfb; }
.pp-docs svg { width: 22px; height: 22px; color: var(--blue); }
.pp-rel { margin-top: 60px; }
.pp-rel h2 { font-size: 1.4rem; margin-bottom: 14px; }
.pp-rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.pp-rel-grid a { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, transform .15s, box-shadow .15s; min-width: 0; }
.pp-rel-grid a:hover { border-color: #b9cdfb; transform: translateY(-3px); box-shadow: 0 18px 30px -24px rgba(10,31,68,.5); }
.pp-rel-grid img, .pp-rel-grid .ph { width: 100%; height: 120px; object-fit: contain; margin-bottom: 8px; }
.pp-rel-grid .ph { display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, #eaf1ff, #f1edff); color: var(--blue); font: 800 .9rem var(--font); }
.pp-rel-grid b { color: var(--blue); font-size: .82rem; }
.pp-rel-grid span { font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.pp-rel-grid code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .76rem; color: var(--muted); overflow-wrap: anywhere; }
.pv-lb { position: fixed; inset: 0; z-index: 100; background: rgba(8, 14, 28, .92); display: grid; place-items: center; padding: 30px; }
.pv-lb[hidden] { display: none; }
.pv-lb img { max-width: min(1100px, 100%); max-height: 100%; object-fit: contain; background: #fff; border-radius: 18px; cursor: zoom-in; transition: transform .2s; }
.pv-lb.zoomed img { transform: scale(2.2); cursor: zoom-out; }
.pv-lb-x { position: absolute; right: 18px; top: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 1.6rem; cursor: pointer; }
@media (max-width: 900px) { .pp-grid { grid-template-columns: 1fr; gap: 26px; } .pp-media { position: static; max-width: 560px; } .pp-tabs { top: 64px; } }
@media (max-width: 520px) { .pv-th { width: 58px; height: 58px; } .pv-img { padding: 20px; } .pp-box { padding: 16px; } .pp-sg dl div { grid-template-columns: 1fr; gap: 2px; } .pp-tabs { margin-top: 36px; } }
html[lang^="fr"] .cat-chips::before { content: "Marques populaires"; }
