/* ============================================================
   FUSION PC — header, nav, hero, footer, cart, mega-menu
   ============================================================ */

/* ---------- top utility strip ---------- */
.util {
  background: var(--ink); color: #c9cfd9; font-size: 12.5px;
}
.util .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.util-l, .util-r { display: flex; align-items: center; gap: 22px; }
.util a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.util a:hover { color: #fff; }
.util svg { width: 14px; height: 14px; color: var(--teal); }
.util .sep { width: 1px; height: 14px; background: rgba(255,255,255,.16); }
.util .lang { font-family: var(--font-disp); font-weight: 600; letter-spacing: .06em; }

/* ---------- main header ---------- */
.hdr { position: sticky; top: 0; z-index: 90; background: #fff; border-bottom: 1px solid var(--line); }
.hdr-main .wrap { display: flex; align-items: center; gap: 26px; height: 78px; }

/* logo placeholder wordmark */
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo .mark {
  height: 50px; width: auto; position: relative; flex: none;
  display: flex; align-items: center;
}
.logo .mark svg { width: 26px; height: 26px; position: relative; z-index: 2; color: var(--teal-bright); }
.logo .mark img { height: 50px; width: auto; max-width: none; object-fit: contain; display: block; }
.logo .wm { display: inline-flex; flex-direction: column; align-items: stretch; line-height: 1; }
.logo .wm b { font-family: var(--font-disp); font-weight: 800; font-size: 21px; letter-spacing: -.01em; color: var(--ink); display: block; }
.logo .wm b span { color: var(--teal-deep); }
.logo .wm .wm-img { height: 38px; width: auto; display: block; }
.logo .wm small { font-family: var(--font-disp); font-weight: 600; font-size: 8px; letter-spacing: .16em; color: var(--slate-2); display: block; text-align: center; margin-top: 6px; white-space: nowrap; }

/* search */
.search { flex: 1; max-width: 620px; position: relative; }
.search input {
  width: 100%; height: 50px; border: 1.5px solid var(--line); border-radius: 999px;
  padding-inline: 54px 22px; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--bg-soft); transition: border-color .2s, background .2s, box-shadow .2s;
}
.search input::placeholder { color: var(--slate-2); }
.search input:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(0,214,189,.12); }
.search .go {
  position: absolute; inset-inline-end: 6px; top: 6px; width: 38px; height: 38px;
  border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center;
  transition: background .2s;
}
.search .go:hover { background: var(--teal); color: #04302b; }
.search .go svg { width: 18px; height: 18px; }

/* header actions */
.hdr-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.iconbtn {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 12px; border-radius: 12px; color: var(--ink); transition: background .2s;
  font-family: var(--font-disp); font-size: 11px; font-weight: 600;
}
.iconbtn:hover { background: var(--bg-soft); }
.iconbtn svg { width: 23px; height: 23px; stroke-width: 1.6; }
.iconbtn .wa { color: #25d366; }
.cart-count {
  position: absolute; top: 2px; inset-inline-start: 8px; min-width: 19px; height: 19px;
  background: var(--teal); color: #04302b; border-radius: 999px; font-size: 11px; font-weight: 800;
  display: grid; place-items: center; padding-inline: 5px; font-family: var(--font-disp);
  border: 2px solid #fff; transform: scale(0); transition: transform .25s cubic-bezier(.2,.9,.3,1.4);
}
.cart-count.show { transform: scale(1); }

/* ---------- nav bar ---------- */
.nav { background: #fff; border-bottom: 1px solid var(--line); }
.nav > .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; min-height: 54px; }
.nav-item {
  position: relative; height: 54px; display: inline-flex; align-items: center; gap: 6px;
  padding-inline: 16px; font-family: var(--font-disp); font-weight: 600; font-size: 15px; color: var(--ink);
  cursor: pointer;
}
.nav-item .chev { width: 14px; height: 14px; color: var(--slate-2); transition: transform .2s; }
.nav-item::after {
  content: ""; position: absolute; inset-inline: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--teal); transform: scaleX(0); transition: transform .2s; transform-origin: center;
}
.nav-item:hover::after, .nav-item.open::after { transform: scaleX(1); }
.nav-item:hover .chev, .nav-item.open .chev { transform: rotate(180deg); }
.nav-item.brand { color: var(--ink); letter-spacing: .04em; }
.nav-build {
  margin-inline-start: 6px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; padding: 9px 18px; border-radius: 999px;
  font-family: var(--font-disp); font-weight: 600; font-size: 14.5px; height: auto;
  transition: background .2s, box-shadow .2s;
}
.nav-build:hover { background: var(--teal); color: #04302b; box-shadow: var(--sh-teal); }
.nav-build svg { width: 17px; height: 17px; }
.nav-build::after { display: none; }

/* mega menu */
.mega {
  position: absolute; top: 100%; inset-inline-start: 0; right: 0; left: 0;
  background: #fff; border-top: 1px solid var(--line); box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .22s ease;
  z-index: 80;
}
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega .wrap { display: grid; grid-template-columns: 1fr 1fr 1fr 1.1fr; gap: 36px; padding-block: 32px 36px; }
.mega-col h5 { font-family: var(--font-disp); font-weight: 700; font-size: 13px; letter-spacing: .03em; color: var(--slate-2); margin-bottom: 14px; text-transform: uppercase; }
.mega-col a { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 15px; color: var(--ink); transition: color .2s; }
.mega-col a:hover { color: var(--teal-deep); }
.mega-col a svg { width: 18px; height: 18px; color: var(--slate); transition: color .2s; }
.mega-col a:hover svg { color: var(--teal-deep); }
.mega-feat {
  background: var(--ink); border-radius: var(--r-lg); padding: 24px; color: #fff; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px;
}
.mega-feat::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 80% 0%, var(--teal-glow), transparent 55%); opacity:.5;}
.mega-feat .k { position: relative; font-family: var(--font-disp); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--teal-bright); text-transform: uppercase; }
.mega-feat h4 { position: relative; font-size: 24px; margin: 8px 0 14px; }
.mega-feat .mega-ph { position: absolute; inset: 0; z-index: 0; }
.mega-feat .mega-ph image-slot, .mega-feat .mega-ph .stripe-ph { width: 100%; height: 100%; opacity: .5; }
.mega-feat .btn { position: relative; align-self: flex-start; }

/* scrim under open mega */
.scrim { position: fixed; inset: 0; background: rgba(13,15,19,.4); z-index: 70; opacity: 0; visibility: hidden; transition: opacity .25s; }
.scrim.show { opacity: 1; visibility: visible; }

/* ---------- HERO ---------- */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 320px; gap: 22px; padding-block: 26px 30px; }

.hero-stage { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 460px; background: #07090c; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
}
.hero-slide.on { opacity: 1; visibility: visible; }
.hero-slide .hs-copy { padding: 54px; position: relative; z-index: 3; }
.hero-slide .hs-art { position: relative; height: 100%; }
.hero-slide .hs-art image-slot, .hero-slide .hs-art .stripe-ph { width: 100%; height: 100%; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(270deg, transparent 0%, rgba(7,9,12,.2) 42%, var(--ink) 78%);
}
.hero-slide .hs-copy { z-index: 4; }
.hs-eye { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-disp); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; color: var(--teal-bright); text-transform: uppercase; }
.hs-eye::before { content:""; width: 24px; height: 2px; background: var(--teal); }
.hero-slide h1 { font-size: clamp(34px, 4.4vw, 56px); margin: 16px 0 14px; line-height: 1.04; }
.hero-slide h1 .hl { color: var(--teal-bright); }
.hero-slide p { color: #b9c1cd; font-size: 17px; max-width: 30ch; margin: 0 0 26px; }
.hs-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hs-glow { position: absolute; z-index: 1; width: 60%; height: 80%; inset-inline-start: 8%; top: 10%; background: radial-gradient(circle, var(--teal-glow), transparent 65%); filter: blur(40px); opacity: .5; }
.hero-arrows { position: absolute; inset-inline-start: 22px; bottom: 22px; z-index: 6; display: flex; gap: 8px; }
.hero-arrows button { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; display: grid; place-items: center; transition: background .2s; }
.hero-arrows button:hover { background: var(--teal); color: #04302b; border-color: transparent; }
.hero-arrows svg { width: 18px; height: 18px; }
.hero-dots { position: absolute; inset-inline-end: 26px; bottom: 30px; z-index: 6; }

/* hero side category rail (TMS-style) */
.hero-rail { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--r-lg); padding: 8px; display: flex; flex-direction: column; }
.hero-rail a {
  display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 12px;
  color: #d6dbe3; font-size: 14.5px; font-weight: 500; transition: background .18s, color .18s;
}
.hero-rail a:hover { background: var(--ink-3); color: #fff; }
.hero-rail a .ri { width: 34px; height: 34px; border-radius: 9px; background: #0a0c10; display: grid; place-items: center; flex: none; color: var(--teal-bright); }
.hero-rail a .ri svg { width: 18px; height: 18px; }
.hero-rail a .rc { margin-inline-start: auto; color: var(--slate-2); }
.hero-rail a .rc svg { width: 15px; height: 15px; }

/* ---------- brand strip ---------- */
.brands { border-bottom: 1px solid var(--line); background: #fff; }
.brands .wrap { display: flex; align-items: center; gap: 14px; padding-block: 22px; overflow-x: auto; scrollbar-width: none; }
.brands .wrap::-webkit-scrollbar { display: none; }
.brand-chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none;
  height: 64px; min-width: 150px; padding-inline: 26px; border: 1px solid var(--line); border-radius: var(--r);
  font-family: var(--font-disp); font-weight: 800; font-size: 19px; letter-spacing: .02em; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, transform .2s, color .2s; background: #fff;
}
.brand-chip:hover { border-color: var(--teal); box-shadow: var(--sh-teal); transform: translateY(-2px); color: var(--teal-deep); }
.brand-chip small { font-size: 11px; font-weight: 600; color: var(--slate-2); }

/* ---------- feature tiles ---------- */
.feat-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.feat-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feat {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 230px; padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate;
  border: 1px solid var(--line);
}
.feat .feat-ph { position: absolute; inset: 0; z-index: -2; }
.feat .feat-ph image-slot, .feat .feat-ph .stripe-ph { width: 100%; height: 100%; }
.feat::after { content:""; position:absolute; inset:0; z-index:-1; }
.feat.dark::after { background: linear-gradient(180deg, rgba(13,15,19,.2), rgba(13,15,19,.86)); }
.feat.teal { background: linear-gradient(140deg, #06bda8, #04786c); border-color: transparent; }
.feat.teal::after { background: none; }
.feat.light { background: #fff; color: var(--ink); }
.feat.light::after { background: none; }
.feat .feat-k { font-family: var(--font-disp); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.feat h3 { font-size: 27px; margin: 8px 0; }
.feat.big h3 { font-size: 34px; }
.feat p { font-size: 14.5px; opacity: .9; margin: 0 0 16px; max-width: 34ch; }
.feat .feat-link { font-family: var(--font-disp); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 7px; }
.feat .feat-link svg { width: 16px; height: 16px; }
.feat.light .feat-k { color: var(--teal-deep); opacity: 1; }

/* ---------- category & monitor grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .2s, box-shadow .25s, border-color .2s; display: flex; flex-direction: column;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: transparent; }
.cat-tile .ct-ph { aspect-ratio: 5/4; background: var(--bg-soft); }
.cat-tile .ct-ph image-slot, .cat-tile .ct-ph .stripe-ph { width: 100%; height: 100%; }
.cat-tile .ct-body { padding: 18px 20px 22px; text-align: center; }
.cat-tile h4 { font-size: 18px; }
.cat-tile .ct-link { color: var(--teal-deep); font-family: var(--font-disp); font-weight: 600; font-size: 13.5px; margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- build-pc split banner ---------- */
.bpc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; }
.bpc-side { position: relative; min-height: 320px; padding: 48px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
.bpc-side .bpc-ph { position: absolute; inset: 0; z-index: -2; }
.bpc-side .bpc-ph image-slot, .bpc-side .bpc-ph .stripe-ph { width: 100%; height: 100%; }
.bpc-teal { background: linear-gradient(150deg, #06bda8, #045d54); color: #fff; }
.bpc-dark { color: #fff; }
.bpc-dark::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(120deg, rgba(13,15,19,.92), rgba(13,15,19,.55)); }
.bpc-side h2 { font-size: clamp(28px, 3.4vw, 42px); }
.bpc-side p { font-size: 16px; opacity: .92; margin: 10px 0 22px; }

/* ---------- trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 16px; }
.trust-item .ti-ic { width: 52px; height: 52px; border-radius: 14px; background: #e9fbf7; color: var(--teal-deep); display: grid; place-items: center; flex: none; }
.trust-item .ti-ic svg { width: 26px; height: 26px; }
.trust-item h5 { font-family: var(--font-disp); font-size: 16px; margin: 0 0 2px; }
.trust-item p { font-size: 13px; color: var(--slate); margin: 0; }

/* ---------- cart drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(13,15,19,.5); z-index: 150; opacity: 0; visibility: hidden; transition: opacity .3s; }
.drawer-scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; left: 0; right: auto; height: 100%; width: 420px; max-width: 92vw; background: #fff; z-index: 160;
  transform: translateX(-100%); transition: transform .35s cubic-bezier(.3,.8,.3,1); display: flex; flex-direction: column;
  box-shadow: var(--sh-3);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.drawer-head .x { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--slate); transition: background .2s; }
.drawer-head .x:hover { background: var(--bg-soft); color: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.cart-line .cl-ph { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.cart-line .cl-ph image-slot, .cart-line .cl-ph .stripe-ph { width: 100%; height: 100%; }
.cart-line .cl-name { font-family: var(--font-disp); font-weight: 600; font-size: 14px; line-height: 1.3; }
.cart-line .cl-brand { font-size: 11.5px; color: var(--slate-2); font-weight: 600; letter-spacing: .06em; margin-bottom: 3px; }
.cart-line .cl-price { font-family: var(--font-disp); font-weight: 800; font-size: 15px; direction: ltr; text-align: start; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; color: var(--slate); transition: background .2s, color .2s; }
.qty button:hover { background: var(--bg-soft); color: var(--ink); }
.qty span { min-width: 26px; text-align: center; font-weight: 700; font-size: 14px; font-family: var(--font-disp); }
.cl-remove { font-size: 12px; color: var(--slate-2); margin-top: 8px; transition: color .2s; }
.cl-remove:hover { color: var(--warn); }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.drawer-foot .row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.drawer-foot .row .t { color: var(--slate); font-size: 14px; }
.drawer-foot .row .v { font-family: var(--font-disp); font-weight: 800; font-size: 24px; direction: ltr; }
.cart-empty { text-align: center; padding: 70px 20px; color: var(--slate); }
.cart-empty svg { width: 56px; height: 56px; color: var(--line); margin: 0 auto 16px; }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #aab2bf; padding-block: 56px 0; margin-top: 0; }
.ftr-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; padding-bottom: 44px; border-bottom: 1px solid var(--ink-3); }
.ftr .logo .wm b { color: #fff; }
.ftr .logo .wm b span { color: var(--teal-bright); }
.ftr .logo .mark { background: none; border-radius: 0; padding: 0; box-shadow: none; }
.ftr .logo .mark img { height: 50px; }
.ftr .logo .wm .wm-img { height: 36px; }
.ftr-about p { font-size: 14px; margin: 18px 0; max-width: 32ch; }
.ftr-social { display: flex; gap: 10px; }
.ftr-social a { width: 40px; height: 40px; border-radius: 10px; background: var(--ink-2); display: grid; place-items: center; color: #c9cfd9; transition: background .2s, color .2s; }
.ftr-social a:hover { background: var(--teal); color: #04302b; }
.ftr-social svg { width: 18px; height: 18px; }
.ftr-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.ftr-contact a { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #c9cfd9; transition: color .2s; }
.ftr-contact a:hover { color: var(--teal-bright); }
.ftr-contact svg { width: 18px; height: 18px; flex: none; color: var(--teal-bright); }
.ftr-contact a span { direction: ltr; unicode-bidi: plaintext; }
.ftr-col h5 { font-family: var(--font-disp); color: #fff; font-size: 15px; margin: 0 0 16px; }
.ftr-col a { display: block; font-size: 14px; padding: 6px 0; transition: color .2s; }
.ftr-col a:hover { color: var(--teal-bright); }
.ftr-bottom { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; font-size: 13px; color: var(--slate-2); flex-wrap: wrap; gap: 14px; }
.ftr-pay { display: flex; gap: 8px; align-items: center; }
.ftr-pay span { font-family: var(--font-disp); font-weight: 700; font-size: 11px; background: var(--ink-2); color: #c9cfd9; padding: 6px 10px; border-radius: 7px; letter-spacing: .04em; direction: ltr; }

/* ---------- mobile menu button ---------- */
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-rail { display: none; }
  .mega .wrap { grid-template-columns: 1fr 1fr; }
  .mega-feat { display: none; }
  .ftr-top { grid-template-columns: 1fr 1fr 1fr; }
  .ftr-about { grid-column: 1 / -1; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .hdr-main .wrap { flex-wrap: wrap; height: auto; padding-block: 14px; gap: 14px; }
  .nav > .wrap { overflow-x: auto; scrollbar-width: none; }
  .nav-item.brand { display: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-sub { grid-template-columns: 1fr 1fr; }
  .bpc { grid-template-columns: 1fr; }
  .hero-slide { grid-template-columns: 1fr; }
  .hero-slide .hs-art { display: none; }
  .hero-slide::after { background: linear-gradient(0deg, rgba(7,9,12,.4), rgba(13,15,19,.7)); }
  .util-l .hide-sm { display: none; }
}
