:root {
  color-scheme:light;
  --ink:#202225;
  --muted:#71757b;
  --line:#e4e6e9;
  --accent:#ea5424;
  --accent-dark:#c23c11;
  --paper:#fff;
  --soft:#f1f2f3;
  --font:"Inter","Noto Sans Thai",sans-serif;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px;
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
body:has(dialog[open]) {
  overflow:hidden;
}
button,a {
  -webkit-tap-highlight-color:transparent;
}
button,input {
  font:inherit;
}
button,a {
  touch-action:manipulation;
}
button {
  cursor:pointer;
}
a {
  color:inherit;
  text-decoration:none;
}
button {
  color:inherit;
}
button:disabled {
  cursor:not-allowed;
  opacity:.45;
}
button:focus-visible,a:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:5px;
}
svg {
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
}
h1,h2,h3,p {
  margin:0;
}
button {
  border:0;
  background:none;
}
.container {
  width:min(1320px,calc(100% - 96px));
  margin-inline:auto;
}
.skip-link {
  position:fixed;
  top:-90px;
  left:12px;
  z-index:50;
  padding:12px 20px;
  background:var(--ink);
  color:white;
}
.skip-link:focus {
  top:12px;
}
.site-header {
  background:#ffffffed;
  border-bottom:1px solid var(--line);
}
.header-inner {
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:25px;
  font-weight:750;
  letter-spacing:-1.25px;
  white-space:nowrap;
}
.brand-mark {
  width:37px;
  height:37px;
  color:var(--accent);
  stroke:none;
}
.brand-suffix {
  font-weight:400;
}
.brand-dot {
  color:var(--accent);
}
nav {
  display:flex;
  align-items:center;
  gap:35px;
}
.nav-link {
  font-size:14px;
  font-weight:500;
}
.nav-link:hover {
  color:var(--accent);
}
.cart-trigger {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  min-height:44px;
}
.cart-count {
  display:grid;
  place-items:center;
  min-width:24px;
  height:24px;
  border-radius:50%;
  background:var(--ink);
  color:white;
  font-size:12px;
  font-weight:600;
  padding:0 5px;
}
.hero {
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:370px;
  background:var(--soft);
  border-radius:4px;
  margin-top:32px;
  overflow:hidden;
  position:relative;
}
.hero-copy {
  padding:39px 0 35px 46px;
  z-index:1;
}
.eyebrow {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:11px;
  font-weight:650;
  letter-spacing:1.65px;
  line-height:1.5;
}
.eyebrow>span:first-child {
  width:6px;
  height:6px;
  display:inline-block;
  background:var(--accent);
}
h1 {
  font-size:clamp(34px,3.65vw,51px);
  line-height:1.35;
  font-weight:700;
  letter-spacing:-1.7px;
  margin-top:17px;
}
.accent-word {
  color:var(--accent);
}
.hero-description {
  font-size:14px;
  line-height:1.85;
  color:#666a70;
  margin-top:14px;
}
.primary-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:25px;
  min-height:46px;
  padding:12px 19px;
  background:var(--ink);
  color:white;
  font-size:14px;
  font-weight:500;
  border-radius:3px;
  transition:background .18s,transform .18s;
}
.primary-button:hover {
  background:var(--accent);
}
.primary-button:active {
  transform:translateY(1px);
}
.primary-button svg {
  width:18px;
  height:18px;
}
.hero-button {
  margin-top:23px;
}
.hero-price {
  margin-top:29px;
  display:flex;
  align-items:center;
  gap:18px;
}
.hero-price>span {
  font-size:9px;
  letter-spacing:1.2px;
  line-height:1.5;
  max-width:120px;
  color:var(--muted);
}
.hero-price strong {
  font-size:16px;
  letter-spacing:-.2px;
  font-weight:500;
}
.hero-price strong span {
  color:#a0a3a7;
  margin-inline:4px;
}
.hero-art {
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  min-width:0;
  overflow:hidden;
}
.product-photo {
  background-image:url('./assets/catalog.png');
  background-size:300% 200%;
  background-repeat:no-repeat;
  background-color:var(--soft);
  aspect-ratio:1;
}
.photo-cable {
  background-position:0 0;
}
.photo-mega30-jp {
  background-image:url('./assets/pokemon-mega-30th-jp.webp');
  background-size:contain;
  background-position:center;
}
.photo-mouse {
  background-position:50% 0;
}
.photo-hub {
  background-position:100% 0;
}
.photo-keyboard {
  background-position:0 100%;
}
.photo-headphones {
  background-position:50% 100%;
}
.photo-still-life {
  background-position:100% 100%;
}
.hero-photo {
  width:min(100%,470px);
  flex-shrink:0;
  mix-blend-mode:multiply;
}
.hero-caption {
  position:absolute;
  bottom:24px;
  left:28px;
  right:28px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:9px;
  letter-spacing:1.7px;
  color:#6b7076;
}
.hero-caption span {
  letter-spacing:1px;
}
.catalog {
  margin-top:46px;
  scroll-margin-top:28px;
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px;
}
.section-title {
  display:flex;
  align-items:center;
  gap:14px;
}
.section-title h2 {
  font-size:25px;
  font-weight:600;
  letter-spacing:-.7px;
}
.item-count {
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--line);
  padding:2px 9px;
  border-radius:20px;
}
.section-heading>p {
  font-size:13px;
  color:var(--muted);
}
.product-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:19px;
}
.product-card {
  min-width:0;
}
.product-image-wrap {
  position:relative;
  overflow:hidden;
  border-radius:4px;
  background:var(--soft);
}
.product-image-wrap .product-photo {
  width:100%;
  transition:transform .35s;
}
.product-card:hover .product-image-wrap .product-photo {
  transform:scale(1.045);
}
.product-number {
  position:absolute;
  top:12px;
  left:13px;
  font-size:10px;
  letter-spacing:1px;
  color:#858990;
}
.product-category {
  font-size:10px;
  letter-spacing:1.4px;
  color:var(--muted);
  margin-top:17px;
  line-height:1.5;
}
.product-card h3 {
  font-size:16px;
  line-height:1.6;
  font-weight:600;
  margin-top:5px;
  letter-spacing:-.25px;
}
.product-description {
  font-size:12px;
  color:var(--muted);
  line-height:1.7;
  margin-top:4px;
  min-height:41px;
}
.product-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:13px;
  border-top:1px solid var(--line);
  padding-top:12px;
}
.product-price {
  font-size:20px;
  font-weight:600;
  letter-spacing:-.5px;
}
.product-price small {
  font-size:12px;
  font-weight:400;
  color:var(--muted);
  margin-left:3px;
}
.add-button {
  min-width:44px;
  min-height:44px;
  background:var(--ink);
  color:white;
  border-radius:50%;
  display:grid;
  place-items:center;
  transition:background .18s,transform .18s;
}
.add-button:hover {
  background:var(--accent);
  transform:rotate(90deg);
}
.add-button svg {
  width:18px;
  height:18px;
}
.collection-note {
  display:flex;
  align-items:center;
  gap:24px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:26px 0;
  margin-top:48px;
}
.note-mark {
  font-weight:800;
  font-size:45px;
  line-height:1;
  letter-spacing:-6px;
  margin-right:10px;
}
.note-mark span {
  color:var(--accent);
}
.collection-note p {
  font-size:17px;
  letter-spacing:-.4px;
  font-weight:500;
}
.collection-note div>span {
  font-size:12px;
  color:var(--muted);
}
.collection-label {
  margin-left:auto;
  text-align:right;
  font-size:9px;
  letter-spacing:1.5px;
  color:var(--muted);
  line-height:1.9;
}
.site-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding-block:25px;
  font-size:11px;
  color:var(--muted);
}
.site-footer a {
  white-space:nowrap;
  min-height:44px;
  display:flex;
  align-items:center;
}
.site-footer a:hover {
  color:var(--ink);
}
.site-footer p {
  text-align:center;
}
.notice {
  padding:24px;
  background:var(--soft);
}
[hidden] {
  display:none!important;
}
.cart-dialog {
  position:fixed;
  inset:0 0 0 auto;
  margin:0;
  padding:0;
  border:0;
  width:min(480px,100%);
  max-width:100%;
  height:100%;
  height:100dvh;
  max-height:100dvh;
  background:white;
  color:var(--ink);
  box-shadow:-10px 0 70px #0002;
}
.cart-dialog::backdrop {
  background:#171a2070;
  backdrop-filter:blur(3px);
}
.cart-shell {
  height:100%;
  display:flex;
  flex-direction:column;
}
.cart-header {
  padding:30px 27px 24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--line);
  gap:16px;
}
.cart-header .eyebrow {
  font-size:10px;
  color:var(--muted);
}
.cart-header h2 {
  font-size:25px;
  margin-top:6px;
  letter-spacing:-.7px;
}
.cart-header h2 span {
  font-family:Inter,sans-serif;
  font-size:14px;
  font-weight:500;
  display:inline-block;
  vertical-align:middle;
  color:var(--muted);
  margin-left:4px;
}
.icon-button {
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:50%;
  display:grid;
  place-items:center;
  flex-shrink:0;
}
.icon-button:hover {
  background:var(--soft);
}
.cart-body {
  flex:1;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:0 27px;
}
.empty-cart {
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:350px;
  height:100%;
  padding:35px 0;
}
.empty-icon {
  width:70px;
  height:70px;
  display:grid;
  place-items:center;
  background:var(--soft);
  border-radius:50%;
  margin-bottom:22px;
}
.empty-icon svg {
  width:30px;
  height:30px;
}
.empty-cart h3 {
  font-size:20px;
}
.empty-cart p {
  font-size:14px;
  color:var(--muted);
  margin-top:8px;
}
.empty-cart button {
  margin-top:25px;
}
.cart-item {
  display:grid;
  grid-template-columns:82px 1fr;
  gap:17px;
  padding:24px 0;
  border-bottom:1px solid var(--line);
}
.cart-item .product-photo {
  width:82px;
  border-radius:4px;
}
.cart-item-info {
  min-width:0;
}
.cart-item-info h3 {
  font-size:14px;
  font-weight:600;
  line-height:1.7;
}
.cart-item-price {
  font-size:13px;
  color:var(--muted);
  margin:3px 0 10px;
}
.cart-item-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
}
.quantity {
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  border-radius:3px;
}
.quantity button {
  width:36px;
  height:36px;
  font-size:20px;
  line-height:1;
}
.quantity button:hover {
  background:var(--soft);
}
.quantity output {
  min-width:25px;
  text-align:center;
  font-size:13px;
}
.remove-button {
  font-size:12px;
  color:var(--muted);
  min-height:36px;
  padding-inline:8px;
  text-decoration:underline;
  text-underline-offset:3px;
}
.remove-button:hover {
  color:var(--accent-dark);
}
.cart-footer {
  padding:23px 27px 26px;
  border-top:1px solid var(--line);
  background:#fff;
}
.total-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:18px;
  font-size:14px;
}
.total-row strong {
  font-size:29px;
  letter-spacing:-1px;
}
.continue-button {
  width:100%;
  justify-content:space-between;
  background:var(--accent);
  padding:15px 20px;
}
.continue-button:hover {
  background:var(--accent-dark);
}
.preview-note {
  font-size:12px;
  color:var(--muted);
  text-align:center;
  line-height:1.8;
  margin-top:15px;
}
.toast {
  position:fixed;
  left:50%;
  bottom:28px;
  transform:translate(-50%,16px);
  background:var(--ink);
  color:#fff;
  padding:13px 23px;
  border-radius:5px;
  box-shadow:0 5px 25px #0002;
  font-size:14px;
  z-index:30;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s,transform .18s;
  width:max-content;
  max-width:calc(100% - 32px);
  text-align:center;
}
.toast.visible {
  opacity:1;
  transform:translate(-50%,0);
}
@media(min-width:1600px) {
  .hero {
    min-height:420px;
  }
  .hero-copy {
    padding-top:46px;
  }
  .hero-photo {
    width:490px;
  }
  .hero-price {
    margin-top:33px;
  }
}
@media(max-width:1100px) {
  .container {
    width:calc(100% - 64px);
  }
  .hero-copy {
    padding:33px 0 29px 32px;
  }
  .hero {
    min-height:360px;
  }
  .hero-photo {
    width:420px;
  }
  .hero-caption {
    font-size:8px;
    left:18px;
    right:18px;
  }
  .product-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:30px 20px;
  }
  .product-grid .product-card:nth-child(4),.product-grid .product-card:nth-child(5) {
    grid-column:auto;
  }
  .product-description {
    min-height:0;
  }
  .hero-price>span {
    font-size:8px;
  }
  .hero-price {
    gap:11px;
  }
  .hero-price strong {
    font-size:14px;
  }
}
@media(max-width:700px) {
  .container {
    width:calc(100% - 36px);
  }
  .header-inner {
    min-height:77px;
    gap:10px;
  }
  .brand {
    font-size:21px;
    gap:8px;
    letter-spacing:-1px;
  }
  .brand-mark {
    width:31px;
    height:31px;
  }
  nav {
    gap:0;
  }
  .nav-link,.cart-label {
    display:none;
  }
  .cart-trigger {
    gap:7px;
  }
  .cart-trigger svg {
    width:21px;
  }
  .hero {
    margin-top:20px;
    grid-template-columns:1fr;
    min-height:0;
  }
  .hero-copy {
    padding:29px 25px 0;
  }
  .eyebrow {
    font-size:10px;
  }
  h1 {
    font-size:37px;
    line-height:1.37;
    letter-spacing:-1.1px;
    margin-top:16px;
  }
  .hero-description {
    font-size:13px;
    margin-top:12px;
  }
  .hero-button {
    margin-top:20px;
  }
  .hero-price {
    margin-top:23px;
    gap:20px;
  }
  .hero-price>span {
    font-size:8px;
  }
  .hero-price strong {
    font-size:15px;
  }
  .hero-art {
    height:260px;
    margin-top:8px;
  }
  .hero-photo {
    width:250px;
    height:250px;
  }
  .hero-caption {
    bottom:16px;
    font-size:8px;
    left:25px;
    right:25px;
  }
  .catalog {
    margin-top:32px;
  }
  .section-heading {
    margin-bottom:19px;
    align-items:flex-start;
  }
  .section-heading>p {
    display:none;
  }
  .section-title {
    gap:10px;
  }
  .section-title h2 {
    font-size:23px;
  }
  .product-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:29px 15px;
  }
  .product-grid .product-card:last-child {
    grid-column:1/-1;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    align-items:center;
  }
  .product-grid .product-card:last-child .product-category {
    margin-top:0;
  }
  .product-category {
    font-size:9px;
    letter-spacing:1.2px;
    margin-top:13px;
  }
  .product-card h3 {
    font-size:14px;
    letter-spacing:-.25px;
  }
  .product-description {
    font-size:11px;
    min-height:38px;
    margin-top:3px;
  }
  .product-price {
    font-size:19px;
  }
  .product-bottom {
    margin-top:10px;
    padding-top:10px;
  }
  .product-price small {
    display:none;
  }
  .product-number {
    font-size:9px;
    top:9px;
    left:10px;
  }
  .add-button {
    width:44px;
    height:44px;
    min-width:44px;
  }
  .collection-note {
    gap:18px;
    margin-top:35px;
    padding:23px 0;
  }
  .note-mark {
    font-size:37px;
    letter-spacing:-5px;
    margin-right:2px;
  }
  .collection-note p {
    font-size:14px;
  }
  .collection-note div>span {
    font-size:11px;
    display:block;
    margin-top:2px;
  }
  .collection-label {
    display:none;
  }
  .site-footer {
    flex-wrap:wrap;
    gap:0;
    justify-content:space-between;
    padding:17px 0;
    font-size:10px;
  }
  .site-footer p {
    order:3;
    flex-basis:100%;
    text-align:left;
    margin-top:1px;
  }
  .cart-header {
    padding:25px 20px 20px;
  }
  .cart-body {
    padding-inline:20px;
  }
  .cart-footer {
    padding:20px;
  }
  .cart-item {
    grid-template-columns:73px 1fr;
    gap:13px;
  }
  .cart-item .product-photo {
    width:73px;
  }
  .cart-item-bottom {
    flex-wrap:wrap;
  }
  .toast {
    bottom:18px;
    font-size:13px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
  }
}
