:root {
  --ink: #12151c;
  --muted: #5a6373;
  --line: #dbe2ee;
  --paper: #fbfcff;
  --panel: #ffffff;
  --charcoal: #20242d;
  --blue: #1677ff;
  --red: #e94b43;
  --gold: #d8a84e;
  --green: #1c9d76;
  --shadow: 0 18px 55px rgba(18, 21, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 255, 0.88);
  border-bottom: 1px solid rgba(219, 226, 238, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: #343b48;
  font-size: 14px;
}

.desktop-nav a {
  padding: 8px 0;
}

.desktop-nav a:hover {
  color: var(--blue);
}

.cart-trigger,
.button,
.filter,
.icon-button {
  border: 0;
  cursor: pointer;
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(18, 21, 28, 0.06);
}

.cart-trigger strong {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 12px;
}

.hero {
  position: relative;
  min-height: clamp(620px, 82vh, 820px);
  overflow: hidden;
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 252, 255, 0.98) 0%, rgba(251, 252, 255, 0.84) 33%, rgba(251, 252, 255, 0.18) 70%),
    linear-gradient(0deg, rgba(18, 21, 28, 0.1), rgba(18, 21, 28, 0));
}

.official-hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 12, 20, 0.88) 0%, rgba(8, 12, 20, 0.58) 38%, rgba(8, 12, 20, 0.12) 72%),
    linear-gradient(0deg, rgba(8, 12, 20, 0.42), rgba(8, 12, 20, 0));
}

.official-hero .eyebrow {
  color: #ffdf29;
}

.official-hero h1,
.official-hero .hero-copy {
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.38);
}

.official-hero .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

.official-hero .hero-stats div {
  color: #fff;
  background: rgba(8, 12, 20, 0.48);
  border-color: rgba(255, 255, 255, 0.22);
}

.official-hero .hero-stats dt {
  color: #fff;
}

.official-hero .hero-stats dd {
  color: rgba(255, 255, 255, 0.76);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: center;
  width: min(650px, calc(100% - 36px));
  padding: 88px 0 132px clamp(18px, 7vw, 88px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(58px, 11vw, 118px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  color: #3c4350;
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 32px rgba(22, 119, 255, 0.25);
}

.button.secondary,
.add-button {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 0;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(219, 226, 238, 0.88);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 13px 18px;
  color: #fff;
  background: var(--charcoal);
  font-size: 14px;
}

.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker span::before {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 999px;
  content: "";
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0;
}

.intro-grid,
.split-section,
.newsletter,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.intro-grid p:last-child,
.split-copy p,
.newsletter p,
.contact-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 17px;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 0;
}

.category-strip a {
  min-height: 126px;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 21, 28, 0.92), rgba(32, 36, 45, 0.84)),
    radial-gradient(circle at top right, rgba(22, 119, 255, 0.45), transparent 45%);
  border-radius: 8px;
}

.category-strip strong,
.category-strip span {
  display: block;
}

.category-strip strong {
  margin-bottom: 8px;
  font-size: 22px;
}

.category-strip span {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 38px;
  padding: 0 14px;
  color: #343b48;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.filter.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.inventory-note {
  margin: -8px 0 22px;
  color: var(--muted);
  font-size: 15px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.page-button {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.page-button.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.page-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 38px rgba(18, 21, 28, 0.07);
}

.product-card.is-hidden {
  display: none;
}

.product-image-frame {
  display: grid;
  min-height: 260px;
  padding: 16px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(238, 244, 255, 0.92)),
    radial-gradient(circle at top right, rgba(22, 119, 255, 0.15), transparent 42%);
}

.product-image-frame img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(18, 21, 28, 0.16));
}

.product-art {
  display: grid;
  min-height: 230px;
  place-items: center;
  color: #fff;
  background: var(--ink);
}

.product-art span {
  display: grid;
  width: 98px;
  aspect-ratio: 0.72;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  font-size: 28px;
  font-weight: 900;
  box-shadow: inset 0 0 0 9px rgba(255, 255, 255, 0.08);
}

.pokemon-art {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.42), transparent 16%),
    linear-gradient(135deg, #116bff, #20242d 52%, #e94b43);
}

.onepiece-art {
  background:
    radial-gradient(circle at 70% 22%, rgba(216, 168, 78, 0.58), transparent 18%),
    linear-gradient(135deg, #20242d, #6f2631 58%, #d8a84e);
}

.slab-art {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent),
    linear-gradient(135deg, #12151c, #1c9d76 72%);
}

.supply-art {
  background:
    radial-gradient(circle at top left, rgba(22, 119, 255, 0.42), transparent 34%),
    linear-gradient(135deg, #20242d, #4a5160);
}

.product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-tag {
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-copy p:not(.product-tag) {
  color: var(--muted);
  font-size: 15px;
}

.product-copy h3 {
  overflow-wrap: anywhere;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  margin: 18px 0;
  font-size: 14px;
}

.product-meta span {
  color: var(--green);
  font-weight: 800;
}

.product-meta strong {
  font-size: 18px;
}

.add-button {
  width: 100%;
}

.split-section {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  background: #eef4ff;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-list div {
  min-height: 150px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-list strong,
.service-list span {
  display: block;
}

.service-list strong {
  margin-bottom: 10px;
  font-size: 19px;
}

.service-list span {
  color: var(--muted);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-list span {
  display: block;
  margin-bottom: 34px;
  color: var(--red);
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.newsletter {
  align-items: center;
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 21, 28, 0.96), rgba(32, 36, 45, 0.91)),
    radial-gradient(circle at right, rgba(233, 75, 67, 0.55), transparent 42%);
}

.newsletter .eyebrow,
.newsletter p {
  color: rgba(255, 255, 255, 0.76);
}

.newsletter h2 {
  color: #fff;
}

.inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.inline-form .form-note {
  grid-column: 1 / -1;
  color: #cbe6ff;
}

input,
textarea {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

input {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  padding: 12px 14px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.13);
}

.faq {
  padding-bottom: 48px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

details {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-section {
  align-items: stretch;
  padding-top: 48px;
}

.contact-copy {
  padding: 32px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 21, 28, 0.98), rgba(32, 36, 45, 0.88)),
    radial-gradient(circle at 20% 20%, rgba(22, 119, 255, 0.45), transparent 34%);
  border-radius: 8px;
}

.contact-copy .eyebrow,
.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-methods a,
.contact-methods span {
  padding: 10px 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #343b48;
  font-weight: 800;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  display: flex;
  width: min(390px, 100vw);
  height: 100vh;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  background: #fff;
  box-shadow: -16px 0 45px rgba(18, 21, 28, 0.2);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 22px;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: #f3f6fb;
  border-radius: 8px;
  font-size: 26px;
}

.cart-empty {
  padding: 18px;
  color: var(--muted);
  background: #f3f6fb;
  border-radius: 8px;
}

.cart-items {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  overflow: auto;
  list-style: none;
}

.cart-items li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-cta {
  margin-top: auto;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(18, 21, 28, 0.45);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.7fr);
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer strong {
  display: block;
  color: #fff;
  font-size: 22px;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer p {
  margin-bottom: 0;
}

.legal {
  font-size: 13px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(251, 252, 255, 0.96) 0%, rgba(251, 252, 255, 0.72) 42%, rgba(251, 252, 255, 0.06) 100%),
      linear-gradient(0deg, rgba(18, 21, 28, 0.18), rgba(18, 21, 28, 0));
  }

  .official-hero .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 12, 20, 0.88) 0%, rgba(8, 12, 20, 0.62) 44%, rgba(8, 12, 20, 0.18) 100%),
      linear-gradient(0deg, rgba(8, 12, 20, 0.42), rgba(8, 12, 20, 0));
  }

  .hero-content {
    justify-content: flex-start;
    width: min(680px, calc(100% - 36px));
    padding: 86px 0 80px 18px;
  }

  .hero-stats,
  .category-strip,
  .product-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .split-section,
  .newsletter,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 10px;
    padding: 10px 14px;
  }

  .brand small,
  .cart-trigger span:not(.cart-icon) {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    object-position: 64% center;
  }

  h1 {
    font-size: clamp(50px, 18vw, 78px);
  }

  .hero-stats,
  .category-strip,
  .product-grid,
  .service-list,
  .process-list,
  .faq-grid,
  .inline-form {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter {
    width: 100%;
  }

  .product-art {
    min-height: 190px;
  }

  .contact-copy,
  .contact-form {
    padding: 22px;
  }
}
