:root{--bg:#e8edf3;--surface:#e8edf3;--surface-2:#f2f5f8;--text:#17324d;--muted:#64748b;--accent:#064b84;--accent-2:#0b6da8;--border:rgba(255,255,255,.65);--shadow-out:12px 12px 24px rgba(163,177,198,.55),-12px -12px 24px rgba(255,255,255,.9);--shadow-in:inset 6px 6px 12px rgba(163,177,198,.45),inset -6px -6px 12px rgba(255,255,255,.8);--radius:20px}
html.dark{--bg:#101a27;--surface:#101a27;--surface-2:#142131;--text:#e7eef7;--muted:#9badbf;--accent:#52b9ef;--accent-2:#76cef7;--border:rgba(255,255,255,.06);--shadow-out:12px 12px 25px rgba(0,0,0,.38),-10px -10px 22px rgba(35,51,70,.45);--shadow-in:inset 6px 6px 12px rgba(0,0,0,.35),inset -5px -5px 12px rgba(31,47,65,.55)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5;overflow-x:hidden}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.container{width:min(1180px,calc(100% - 32px));margin:auto}.surface,.card,.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-out)}.inset{box-shadow:var(--shadow-in)}
.topbar{padding:8px 16px;text-align:center;font-size:12px;font-weight:700;background:var(--surface);color:var(--muted);border-bottom:1px solid var(--border)}.topbar strong{color:var(--accent)}
.site-header{position:sticky;top:0;z-index:50;background:var(--bg);padding:10px 0}.nav-shell{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 16px}.brand img{height:56px;width:auto;display:block;object-fit:contain}.nav-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.nav-links a,.nav-link{padding:10px 14px;border-radius:12px;color:var(--muted);font-size:13px;font-weight:800}.nav-links a:hover,.nav-link:hover{color:var(--accent);box-shadow:var(--shadow-in)}.nav-actions{display:flex;align-items:center;gap:10px}.theme-btn,.cart-btn,.btn,.icon-btn{border:0;cursor:pointer;border-radius:14px;background:var(--surface);color:var(--text);box-shadow:var(--shadow-out);font-weight:800}.theme-btn{width:42px;height:42px}.cart-btn,.btn{padding:12px 18px}.btn-primary{background:var(--accent);color:#fff;box-shadow:8px 8px 16px rgba(0,0,0,.18),-5px -5px 12px rgba(255,255,255,.18)}.btn-primary:hover{background:var(--accent-2)}.btn-soft:hover,.theme-btn:hover,.cart-btn:hover{box-shadow:var(--shadow-in)}
.hero{padding:60px 0}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:32px;align-items:center}.eyebrow{font-size:12px;font-weight:900;letter-spacing:.16em;color:var(--accent);text-transform:uppercase}.hero h1{font-size:clamp(40px,6vw,72px);line-height:.98;margin:12px 0 18px;letter-spacing:-.055em}.hero h1 span{color:var(--accent)}.hero p{color:var(--muted);max-width:650px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.hero-card{padding:22px}.hero-card .monitor{min-height:310px;border-radius:18px;display:grid;place-items:center;box-shadow:var(--shadow-in);overflow:hidden}.hero-card img{width:min(90%,480px);height:280px;object-fit:contain}.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.mini-stat{padding:14px;text-align:center}.mini-stat strong{display:block;font-size:18px}.mini-stat span{font-size:11px;color:var(--muted)}
.section{padding:28px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px}.section-title{font-size:26px;line-height:1.1;margin:0;font-weight:950;letter-spacing:-.03em}.muted{color:var(--muted)}.small{font-size:12px}.filters{padding:18px}.filter-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.field label{display:block;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin:0 0 7px;color:var(--muted)}.field input,.field select,.field textarea{width:100%;border:0;outline:0;background:var(--surface);color:var(--text);padding:12px 13px;border-radius:13px;box-shadow:var(--shadow-in)}.field textarea{min-height:90px;resize:vertical}.filter-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;padding-top:4px}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.trust-card{padding:20px}.trust-card i{font-size:20px;color:var(--accent);margin-bottom:12px}.trust-card h3{font-size:15px;margin:0 0 6px}.trust-card p{font-size:12px;color:var(--muted);margin:0}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product-card{overflow:hidden;display:flex;flex-direction:column;min-width:0}.product-media{position:relative;padding:16px;height:220px;display:grid;place-items:center;background:var(--surface-2);box-shadow:var(--shadow-in);margin:8px;border-radius:16px}.product-media img{width:100%;height:185px;object-fit:contain}.badge{position:absolute;top:10px;padding:7px 9px;border-radius:10px;font-size:10px;font-weight:900;box-shadow:var(--shadow-out);background:var(--surface);color:var(--accent)}.badge-left{left:10px}.badge-right{right:10px}.product-body{padding:14px 16px 16px}.brand-label{font-size:10px;letter-spacing:.12em;font-weight:900;color:var(--accent);text-transform:uppercase}.product-title{font-size:18px;font-weight:950;margin:4px 0 12px;line-height:1.2}.spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px;border-radius:15px;box-shadow:var(--shadow-in);font-size:11px;color:var(--muted)}.spec-grid div{min-width:0;display:flex;gap:7px;align-items:flex-start}.spec-grid i{color:var(--accent);margin-top:2px}.product-meta{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.meta-pill{font-size:10px;color:var(--muted);padding:6px 8px;border-radius:9px;box-shadow:var(--shadow-in)}.price-row{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}.old-price{text-decoration:line-through;color:var(--muted);font-size:11px}.price{font-size:24px;font-weight:950}.saved{font-size:10px;color:#15966c;font-weight:900}.card-actions{display:flex;gap:9px;margin-top:12px}.card-actions .btn{flex:1;text-align:center;padding:11px 12px;font-size:12px}
.product-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:24px}.gallery{padding:18px}.main-image{height:480px;border-radius:18px;display:grid;place-items:center;box-shadow:var(--shadow-in);overflow:hidden}.main-image img{width:100%;height:100%;object-fit:contain}.product-info{padding:24px}.product-info h1{font-size:38px;line-height:1.05;margin:8px 0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.detail{padding:11px;border-radius:12px;box-shadow:var(--shadow-in);font-size:12px}.detail b{display:block;font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:3px}.info-banner{margin-top:16px;padding:14px;border-radius:14px}.green{color:#16875f}.product-bottom{display:flex;gap:10px;margin-top:20px}.product-bottom .btn{flex:1}
.qc-section{margin-top:24px;padding:22px}.qc-top{display:flex;justify-content:space-between;gap:16px;align-items:center}.qc-score{font-size:28px;font-weight:950;color:var(--accent)}.qc-note{font-size:12px;color:var(--muted)}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}.benefit{padding:15px}.benefit h4{margin:0 0 4px;font-size:13px}.benefit p{margin:0;color:var(--muted);font-size:11px}
.modal{position:fixed;inset:0;background:rgba(4,10,18,.62);backdrop-filter:blur(8px);z-index:100;display:none;align-items:center;justify-content:center;padding:16px}.modal.open{display:flex}.modal-box{width:min(760px,100%);max-height:92vh;overflow:auto;padding:22px}.modal-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:16px}.modal-head h2{margin:0;font-size:20px}.summary{display:grid;grid-template-columns:1fr auto;gap:10px;font-size:13px}.summary .total{font-size:20px;font-weight:950}.close{width:38px;height:38px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-full{grid-column:1/-1}.payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.payment-option{padding:13px;border-radius:13px;box-shadow:var(--shadow-in);cursor:pointer}.payment-option input{accent-color:var(--accent)}
.policy-hero{padding:45px 0}.policy-hero h1{font-size:clamp(34px,5vw,58px);margin:8px 0}.policy-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.policy-card{padding:22px}.policy-card h2{margin:0 0 8px;font-size:20px}.policy-card p,.policy-card li{color:var(--muted);font-size:13px}.policy-card ul{padding-left:18px}.footer{margin-top:40px;padding:34px 0}.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:22px}.footer h3{font-size:13px}.footer a,.footer p{display:block;color:var(--muted);font-size:12px;margin:7px 0}
.mobile-menu{display:none;position:relative}.mobile-menu summary{list-style:none;display:grid;place-items:center}.mobile-menu summary::-webkit-details-marker{display:none}.empty{text-align:center;padding:45px}.hidden{display:none!important}.searchbar{display:flex;gap:10px;margin-bottom:18px}.searchbar input{flex:1}.toast{position:fixed;right:18px;bottom:18px;z-index:120;padding:14px 18px;max-width:360px}.toast strong{display:block}.toast span{font-size:11px;color:var(--muted)}
@media(max-width:1000px){.nav-links{display:none}.mobile-menu{display:block}.hero-grid,.product-layout{grid-template-columns:1fr}.filter-grid{grid-template-columns:repeat(2,1fr)}.trust-grid{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:repeat(2,1fr)}.benefit-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.hero{padding:42px 0}.main-image{height:400px}}
@media(max-width:640px){.container{width:min(100% - 20px,1180px)}.nav-shell{padding:7px 10px}.brand img{height:48px}.nav-actions .cart-btn{padding:10px 12px;font-size:12px}.hero h1{font-size:42px}.filter-grid,.grid,.trust-grid,.policy-grid,.form-grid{grid-template-columns:1fr}.filter-actions{justify-content:stretch}.filter-actions .btn{flex:1}.section-head{align-items:flex-start;flex-direction:column}.spec-grid,.detail-grid{grid-template-columns:1fr 1fr}.product-title{font-size:17px}.product-media{height:205px}.product-media img{height:170px}.benefit-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}.hero-card{padding:12px}.hero-card img{height:230px}.main-image{height:320px}.product-info h1{font-size:30px}.qc-top{align-items:flex-start;flex-direction:column}.payment-grid{grid-template-columns:1fr}.modal-box{padding:16px}.topbar{font-size:10px}}


/* ===== LaptopMonk motion + readability layer ===== */
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{font-size:15px;transition:background-color .38s ease,color .38s ease}
body.page-ready{animation:pageIn .46s cubic-bezier(.22,1,.36,1) both}
body.page-leaving{animation:pageOut .18s ease both;pointer-events:none}
body.theme-transition,.theme-transition .surface,.theme-transition .card,.theme-transition .panel,.theme-transition .site-header,.theme-transition .topbar,.theme-transition .field-input,.theme-transition input,.theme-transition select,.theme-transition textarea,.theme-transition .btn,.theme-transition .theme-btn,.theme-transition .cart-btn{transition:background-color .38s ease,color .38s ease,border-color .38s ease,box-shadow .38s ease}

@keyframes pageIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes pageOut{from{opacity:1;transform:none}to{opacity:0;transform:translateY(-5px)}}
@keyframes riseIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes floatLaptop{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes toastIn{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
@keyframes modalIn{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}

::view-transition-old(root),::view-transition-new(root){animation-duration:.42s;animation-timing-function:cubic-bezier(.22,1,.36,1)}
::view-transition-new(root){animation-name:themeReveal}
@keyframes themeReveal{from{clip-path:circle(0 at var(--theme-x,50%) var(--theme-y,50%))}to{clip-path:circle(150% at var(--theme-x,50%) var(--theme-y,50%))}}

.hero> .container>*{animation:riseIn .7s cubic-bezier(.22,1,.36,1) both}
.hero> .container> :nth-child(1){animation-delay:.04s}
.hero> .container> :nth-child(2){animation-delay:.12s}
.hero-card img{animation:floatLaptop 5s ease-in-out infinite}

.product-card{transition:transform .28s cubic-bezier(.22,1,.36,1),box-shadow .28s ease,border-color .28s ease}
.product-card:hover{transform:translateY(-6px);box-shadow:14px 16px 30px rgba(55,70,90,.18),-10px -10px 25px rgba(255,255,255,.78)}
html.dark .product-card:hover{box-shadow:14px 16px 30px rgba(0,0,0,.42),-8px -8px 22px rgba(35,51,70,.42)}
.product-media{overflow:hidden}
.product-media img{position:relative;z-index:1;transition:transform .42s cubic-bezier(.22,1,.36,1),filter .35s ease}
.product-card:hover .product-media img{transform:scale(1.08) translateY(-2px)}
.product-card .badge{z-index:4;transition:transform .25s ease,box-shadow .25s ease}
.product-card:hover .badge{transform:translateY(-1px)}
.product-title{transition:color .25s ease}
.product-card:hover .product-title{color:var(--accent)}

.trust-card,.policy-card,.benefit,.mini-stat{transition:transform .28s cubic-bezier(.22,1,.36,1),box-shadow .28s ease}
.trust-card:hover,.policy-card:hover,.benefit:hover,.mini-stat:hover{transform:translateY(-4px)}
.btn,.theme-btn,.cart-btn,.nav-links a,.nav-link{transition:transform .2s ease,box-shadow .25s ease,background-color .25s ease,color .25s ease}
.btn:hover,.cart-btn:hover,.theme-btn:hover{transform:translateY(-2px)}
.btn.is-pressed,.theme-btn.is-pressed,.cart-btn.is-pressed{transform:translateY(1px) scale(.98)}

.modal.open{display:flex;animation:fadeOverlay .22s ease both}
.modal.open .modal-box{animation:modalIn .3s cubic-bezier(.22,1,.36,1) both}
@keyframes fadeOverlay{from{opacity:0}to{opacity:1}}
.toast{animation:toastIn .32s cubic-bezier(.22,1,.36,1) both}

.field input:focus,.field select:focus,.field textarea:focus,.field-input:focus{box-shadow:var(--shadow-in),0 0 0 2px color-mix(in srgb,var(--accent) 24%,transparent);transition:box-shadow .22s ease}
.meta-pill{font-size:11px;line-height:1.35}
.spec-grid{font-size:12px;line-height:1.45}
.product-title{font-size:19px}
.brand-label{font-size:11px}
.price{font-size:25px}
.old-price{font-size:12px}
.saved{font-size:11px}
.product-media .badge{font-size:11px;line-height:1.2}
.detail{font-size:13px;line-height:1.45}
.detail b{font-size:10px}
.benefit p,.qc-note{font-size:12px;line-height:1.55}
.footer a,.footer p{font-size:13px}

/* Keep the laptop zoom strictly inside the media frame so badges/prices never get covered. */
.product-media img{max-width:100%;max-height:100%;transform-origin:center center}
.product-media .badge{pointer-events:none}

@media(max-width:640px){
  body{font-size:14px}
  .product-card:hover{transform:translateY(-2px)}
  .product-card:hover .product-media img{transform:none}
  .hero-card img{animation:none}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

/* Inventory entrance rhythm: filtering/searching feels intentional instead of abrupt. */
.grid .product-card{animation:riseIn .42s cubic-bezier(.22,1,.36,1) both}
.grid .product-card:nth-child(1){animation-delay:.02s}.grid .product-card:nth-child(2){animation-delay:.05s}.grid .product-card:nth-child(3){animation-delay:.08s}.grid .product-card:nth-child(4){animation-delay:.11s}.grid .product-card:nth-child(5){animation-delay:.14s}.grid .product-card:nth-child(6){animation-delay:.17s}.grid .product-card:nth-child(7){animation-delay:.20s}.grid .product-card:nth-child(8){animation-delay:.23s}.grid .product-card:nth-child(9){animation-delay:.26s}.grid .product-card:nth-child(10){animation-delay:.29s}.grid .product-card:nth-child(11){animation-delay:.32s}.grid .product-card:nth-child(12){animation-delay:.35s}
.main-image img{transition:transform .45s cubic-bezier(.22,1,.36,1),filter .35s ease}
.main-image:hover img{transform:scale(1.035)}
.hero-actions .btn-primary i{transition:transform .25s ease}
.hero-actions .btn-primary:hover i{transform:translateX(4px)}
.nav-links a::after{content:"";display:block;height:2px;width:0;margin-top:2px;border-radius:2px;background:var(--accent);transition:width .25s ease}
.nav-links a:hover::after{width:100%}

@media(max-width:640px){.main-image:hover img{transform:none}.nav-links a::after{display:none}}

/* =========================================================
   Refined motion + inventory search treatment
   ========================================================= */
body{
  animation:pageReveal .68s cubic-bezier(.22,1,.36,1) both;
}
@keyframes pageReveal{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}
body.page-leaving{animation:pageLeave .18s ease both}
@keyframes pageLeave{to{opacity:0;transform:translateY(-7px)}}

/* Scroll-reveal: content enters only when it approaches the viewport. */
.reveal-on-scroll{
  opacity:0;
  transform:translateY(24px) scale(.985);
  transition:opacity .62s cubic-bezier(.22,1,.36,1),transform .62s cubic-bezier(.22,1,.36,1);
  will-change:opacity,transform;
}
.reveal-on-scroll.is-visible{opacity:1;transform:none}
.reveal-on-scroll.reveal-soft{transform:translateY(14px)}
.reveal-on-scroll.reveal-soft.is-visible{transform:none}

/* Better search experience — integrated with the neumorphic system. */
.search-shell{
  position:relative;
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:10px 10px 10px 14px;
  margin:4px 0 20px;
  border-radius:18px;
  transition:box-shadow .28s ease,transform .28s ease,border-color .28s ease;
}
.search-shell:focus-within{
  box-shadow:var(--shadow-in),0 0 0 2px color-mix(in srgb,var(--accent) 18%,transparent);
  transform:translateY(-1px);
}
.search-icon{
  width:42px;height:42px;border-radius:13px;
  display:grid;place-items:center;
  color:var(--accent);
  background:var(--surface);
  box-shadow:var(--shadow-in);
  font-size:14px;
}
.search-copy{min-width:0}
.search-copy label{
  display:block;
  margin:0 0 2px;
  color:var(--text);
  font-size:11px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.search-copy input{
  display:block;
  width:100%;
  border:0;
  outline:0;
  padding:2px 0 3px;
  background:transparent;
  color:var(--text);
  font-size:14px;
  line-height:1.4;
}
.search-copy input::placeholder{color:var(--muted);opacity:.82}
.search-shell .btn{
  min-width:104px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
}
.search-shell .btn i{font-size:12px;transition:transform .25s ease}
.search-shell .btn:hover i{transform:translateX(2px) scale(1.05)}

/* Make the inventory controls read as one polished system. */
#sort{min-width:190px;cursor:pointer}
#filters{transition:box-shadow .3s ease,transform .3s ease}
#filters:hover{transform:translateY(-1px)}

/* Subtle hover polish across interactive surfaces. */
.product-card,.trust-card,.policy-card,.benefit,.mini-stat,.hero-card,.qc-section{
  transition:transform .32s cubic-bezier(.22,1,.36,1),box-shadow .32s ease,border-color .32s ease;
}
.product-card:hover,.trust-card:hover,.policy-card:hover,.benefit:hover,.mini-stat:hover{
  transform:translateY(-4px);
}
.product-media{overflow:hidden}
.product-media img{transition:transform .55s cubic-bezier(.22,1,.36,1),filter .35s ease}
.product-card:hover .product-media img{transform:scale(1.055)}

@media(max-width:640px){
  .search-shell{grid-template-columns:40px minmax(0,1fr);gap:10px;padding:9px 10px 9px 11px}
  .search-icon{width:38px;height:38px}
  .search-shell .btn{grid-column:1/-1;width:100%;min-height:42px}
  .search-copy label{font-size:10px}
  .search-copy input{font-size:13px}
  .product-card:hover,.trust-card:hover,.policy-card:hover,.benefit:hover,.mini-stat:hover{transform:none}
  .product-card:hover .product-media img{transform:none}
}
@media(prefers-reduced-motion:reduce){
  body{animation:none!important}
  .reveal-on-scroll{opacity:1!important;transform:none!important;transition:none!important}
}
