/* Unique Computers — Products page only (loaded after site.css) */

/* ---------- Products page ---------- */
.p-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.p-hero__grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .p-hero__grid { grid-template-columns: 1.1fr 0.9fr; } }
.p-hero__copy { display: grid; gap: 18px; justify-items: start; }
.p-hero__sub { color: var(--text); max-width: 60ch; }
.orbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 18px); max-width: 460px; width: 100%; justify-self: center; }
.orb {
  aspect-ratio: 1; border-radius: 22px; background: rgba(255, 255, 255, 0.86); border: 1px solid #fff; display: grid; place-items: center; align-content: center; gap: 6px;
  box-shadow: 0 14px 34px -18px rgba(22, 54, 115, 0.45), inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 0.78rem; font-weight: 600; color: var(--navy); font-family: var(--font-display);
}
.orb__ic { width: 58%; max-width: 64px; color: var(--navy); }
.orb__ic svg { width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.orb svg * { transform-box: fill-box; }
.orb .acc { stroke: var(--sky); }
.orb .fill-acc { fill: var(--sky); stroke: none; }
.orb .paper { fill: #fff; }
.orb--hub { background: radial-gradient(circle at 50% 40%, #fff, #eaf5fd); position: relative; }
.orb--hub img { width: 52%; height: auto; }
.orb--hub::after { content: ""; position: absolute; inset: -6px; border-radius: 26px; border: 2px solid rgba(1, 152, 209, 0.35); animation: ring 3s var(--ease) infinite; }
@media (prefers-reduced-motion: no-preference) {
  .orb:not(.orb--hub) { animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.7s); }
}
@media (max-width: 639px) { .orb span { display: none; } .orbs { max-width: 300px; } }

.pcats { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .pcats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .pcats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .pcats { grid-template-columns: repeat(5, 1fr); } }
.pcat { min-height: 0; }
.pcat p { font-size: 0.9rem; line-height: 1.55; }
.pcat__link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--sky-ink); }
.pcat__link .i { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.pcat__link:hover .i { transform: translateX(4px); }

.find { max-width: 860px; text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: center; }
.find__none .btn { white-space: normal; text-align: center; line-height: 1.3; }
.find__head { display: grid; gap: 14px; justify-items: center; }
.find__box { position: relative; width: 100%; max-width: 680px; }
.find__box > .i { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--sky-ink); pointer-events: none; }
.find__box input {
  width: 100%; min-height: 64px; padding: 14px 60px 14px 58px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff;
  font-size: 1.08rem; color: var(--text); box-shadow: var(--shadow); transition: border-color 0.2s, box-shadow 0.3s;
}
.find__box input::-webkit-search-cancel-button { display: none; }
.find__box input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 5px rgba(1, 152, 209, 0.15), var(--shadow); }
.find__clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--sky-50); color: var(--navy); display: grid; place-items: center; }
.find__clear .i { width: 18px; height: 18px; }
.find__suggest { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; font-size: 0.9rem; color: var(--muted); }
.find__suggest .chip { min-height: 36px; padding: 6px 14px; }
.find__results { width: 100%; display: grid; gap: 22px; text-align: left; }
.find__group h3 { font-size: 0.8rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; }
.find__cats { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.res {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  animation: fade-up 0.45s var(--ease) both; animation-delay: calc(var(--i) * 40ms); transition: border-color 0.2s, transform 0.3s var(--ease);
}
.res:hover { border-color: var(--sky); transform: translateY(-2px); }
.res__ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--sky-50); color: var(--navy); display: grid; place-items: center; }
.res__ic svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.res__ic .acc { stroke: var(--sky); } .res__ic .fill-acc { fill: var(--sky); stroke: none; } .res__ic .paper { fill: #fff; }
.res strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 0.98rem; }
.res small { color: var(--sky-ink); font-weight: 600; font-size: 0.82rem; }
.find__brands { display: flex; flex-wrap: wrap; gap: 10px; }
.res-brand { display: grid; justify-items: center; gap: 6px; width: 120px; padding: 12px 10px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 0.78rem; font-weight: 600; color: var(--navy); animation: fade-up 0.45s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.res-brand:hover { border-color: var(--sky); }
.res-brand img { height: 34px; width: auto; max-width: 96px; object-fit: contain; }
.find__none { display: grid; gap: 14px; justify-items: center; padding: 26px; width: 100%; border-radius: var(--radius-lg); border: 1px dashed var(--line-strong); background: var(--bg); }
.find__none p { color: var(--muted); }
.find__none span { color: var(--navy); font-weight: 600; }

.build { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .build { grid-template-columns: 1fr 1fr; } }
.build__copy { display: grid; gap: 16px; justify-items: start; }
.build__copy > p:not(.lead) { color: var(--text); max-width: 60ch; }
.build__list-title { font-size: 1.15rem; margin-top: 8px; }
.parts-list { display: grid; gap: 8px; width: 100%; margin-bottom: 8px; }
.parts-list li {
  display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); cursor: default; transition: border-color 0.25s, background-color 0.25s, transform 0.3s var(--ease);
}
.parts-list li strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1rem; }
.parts-list li.is-active, .parts-list li:hover, .parts-list li:focus-visible { background: #fff; border-color: var(--sky); transform: translateX(4px); }
.parts-list__n { font-family: var(--font-display); font-weight: 700; color: var(--sky-ink); font-size: 0.95rem; padding-top: 2px; }
.cabinet {
  position: relative; border-radius: 30px; padding: clamp(16px, 2.4vw, 26px); padding-bottom: 0; background: linear-gradient(160deg, #ffffff, #eef5fc);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate;
}
.cabinet__glass {
  position: absolute; inset: 0; z-index: -1; opacity: 0.9;
  background:
    radial-gradient(60% 50% at 70% 30%, rgba(1, 152, 209, 0.14), transparent 70%),
    repeating-linear-gradient(90deg, rgba(22, 54, 115, 0.04) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(22, 54, 115, 0.04) 0 1px, transparent 1px 28px);
  transition: opacity 0.6s;
}
.cabinet__grid {
  display: grid; gap: 12px; grid-template-columns: 0.8fr 1.2fr 0.9fr; grid-template-rows: repeat(3, minmax(96px, auto));
  grid-template-areas: "fan cpu ram" "fan gpu gpu" "ssd psu psu";
}
.part--cpu { grid-area: cpu; } .part--gpu { grid-area: gpu; } .part--ram { grid-area: ram; }
.part--ssd { grid-area: ssd; } .part--psu { grid-area: psu; } .part--fan { grid-area: fan; }
.part {
  position: relative; display: grid; place-items: center; align-content: center; gap: 8px; padding: 14px 10px; border-radius: 18px; text-align: center;
  background: #fff; border: 1px solid var(--line); color: var(--navy); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; line-height: 1.2;
  box-shadow: 0 8px 20px -14px rgba(22, 54, 115, 0.45); transition: transform 0.7s var(--ease-spring), opacity 0.5s var(--ease), border-color 0.3s, box-shadow 0.3s;
  transition-delay: calc(var(--i) * 110ms), calc(var(--i) * 110ms), 0s, 0s;
}
.part::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; box-shadow: 0 0 0 2px var(--sky), 0 14px 34px -12px rgba(1, 152, 209, 0.65); transition: opacity 0.35s var(--ease); }
.part__ic { width: 34px; height: 34px; color: var(--sky-ink); stroke-width: 1.8; }
.part.is-active::after { opacity: 1; }
.part.is-active { transform: translateY(-3px); }
.js .cabinet .part { opacity: 0; transform: translate(var(--fx, 0), var(--fy, 30px)) rotate(var(--fr, 0deg)) scale(0.9); }
.js .cabinet.is-in .part { opacity: 1; transform: none; }
.js .cabinet.is-in .part.is-active { transform: translateY(-3px); }
.part--cpu { --fx: -40px; --fy: -60px; --fr: -8deg; } .part--ram { --fx: 60px; --fy: -40px; --fr: 10deg; } .part--gpu { --fx: 80px; --fy: 20px; --fr: 6deg; }
.part--ssd { --fx: -60px; --fy: 50px; --fr: -10deg; } .part--psu { --fx: 40px; --fy: 70px; --fr: 4deg; } .part--fan { --fx: -70px; --fy: 0px; --fr: -14deg; }
@media (prefers-reduced-motion: no-preference) { .cabinet.is-in .part__fan { animation: spin 2.4s linear infinite; animation-delay: 1.2s; } }
.cabinet__caption { display: grid; gap: 2px; padding: 16px 4px 20px; min-height: 84px; }
.cabinet__caption strong { font-family: var(--font-display); color: var(--navy); font-size: 1.05rem; }
.cabinet__caption span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 480px) { .cabinet__grid { grid-template-rows: repeat(3, minmax(84px, auto)); gap: 8px; } .part { font-size: 0.78rem; padding: 10px 6px; } .part__ic { width: 28px; height: 28px; } }

.biz { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .biz { grid-template-columns: 0.9fr 1.1fr; } }
.biz__copy { display: grid; gap: 16px; justify-items: start; }
.biz__panel { border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); background: radial-gradient(70% 90% at 100% 0%, rgba(1, 152, 209, 0.12), transparent 70%), var(--band); border: 1px solid var(--sky-100); }
.biz__intro { font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.biz__chips { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.biz__chips li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.biz__ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--sky-50); color: var(--sky-ink); }
.biz__ic .i { width: 20px; height: 20px; }

.marquee--strip .logo-tile { width: 132px; height: 68px; }
.marquee--strip .logo-tile img { max-height: 32px; filter: none; opacity: 1; }

.why2 { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 960px) { .why2 { grid-template-columns: 0.85fr 1.15fr; align-items: start; } .why2__head { position: sticky; top: calc(var(--header-h) + 32px); } }
.why2__head { display: grid; gap: 14px; }
.why2__list { display: grid; counter-reset: none; border-top: 1px solid var(--line-strong); }
.why2__list li { display: grid; grid-template-columns: clamp(64px, 9vw, 110px) 1fr; gap: 18px; align-items: start; padding: clamp(18px, 2.6vw, 28px) 0; border-bottom: 1px solid var(--line-strong); position: relative; }
.why2__list li::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--sky), var(--navy-2)); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease) 0.2s; }
.why2__list li.is-in::before { transform: scaleX(1); }
.why2__n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 0.9; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--sky); }
.why2__list li:hover .why2__n { color: var(--sky-50); }
.why2__list h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); margin-bottom: 6px; }
.why2__list p { color: var(--muted); }

.more { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .more { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .more { grid-template-columns: repeat(5, 1fr); } }
.more__item { padding: 22px 20px; display: grid; gap: 10px; align-content: start; }
.more__item > * { position: relative; z-index: 1; }
.more__ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--sky-btn), var(--navy)); color: #fff; box-shadow: 0 10px 22px -10px rgba(1, 152, 209, 0.7); }
.more__ic .i { width: 22px; height: 22px; }
.more__item h3 { font-size: 1.05rem; }
.more__item p { font-size: 0.9rem; color: var(--muted); }

@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .js .cabinet .part { opacity: 1; transform: none; }
  .why2__list li::before { transform: scaleX(1); }
}
