@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;800&family=Noto+Serif+TC:wght@600;700&display=swap");

:root {
  --bg-top: #fff6ec;
  --bg-bottom: #ebe3d8;
  --surface: rgba(255, 252, 247, 0.78);
  --surface-strong: #fffdf9;
  --ink: #17181d;
  --muted: #646873;
  --line: rgba(23, 24, 29, 0.12);
  --shadow: 0 26px 80px rgba(25, 28, 40, 0.12);
  --accent: #ff6231;
  --accent-cool: #1d68ff;
  --accent-warm: #e60012;
  --radius-xl: 36px;
  --radius-sm: 999px;
  --content-width: min(1180px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 98, 49, 0.22), transparent 26%),
    radial-gradient(circle at 84% 14%, rgba(29, 104, 255, 0.18), transparent 24%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

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

button {
  font: inherit;
}

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 88%);
  opacity: 0.45;
}

.page-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 249, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ink), #444a58);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius-sm);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    color 160ms ease;
  cursor: pointer;
}

.header-cta {
  padding: 12px 14px 12px 18px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 28px rgba(23, 24, 29, 0.2);
}

.header-cta:hover,
.header-cta:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.cart-pill {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.hero,
.contact {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 30px;
  align-items: center;
}

.hero {
  padding: 28px 0 12px;
  min-height: calc(100vh - 170px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Noto Serif TC", "Songti TC", serif;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

p,
li {
  line-height: 1.7;
}

.hero-lede,
.section-heading p,
.catalog-note,
.product-description,
.selection-description,
.benefit-card p,
.plan-card p,
.contact-note,
.contact-copy p {
  color: var(--muted);
}

.hero-copy {
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 28px;
}

.button {
  padding: 14px 22px;
  font-weight: 700;
}

.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 32px rgba(23, 24, 29, 0.16);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.button-small {
  padding: 12px 18px;
  background: rgba(23, 24, 29, 0.06);
  color: var(--ink);
}

.button-link {
  text-decoration: none;
}

.button-outline {
  border: 1px solid rgba(23, 24, 29, 0.16);
  background: rgba(255, 255, 255, 0.68);
}

.button-cart {
  background: #2a313f;
  color: #fff;
  box-shadow: 0 12px 24px rgba(23, 24, 29, 0.18);
}

.cart-price-button {
  position: relative;
  overflow: hidden;
  min-height: 42px;
  border: 1px solid rgba(17, 20, 28, 0.24);
}

.cart-price-button .cart-button-default,
.cart-price-button .cart-button-hover,
.cart-price-button .cart-button-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition:
    opacity 170ms ease,
    transform 170ms ease;
}

.cart-price-button .cart-button-default {
  opacity: 1;
  transform: translateY(0);
}

.cart-price-button .cart-button-hover,
.cart-price-button .cart-button-success {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
}

.cart-price-button:hover,
.cart-price-button:focus-visible {
  background: #17181d;
  color: #fff;
}

.cart-price-button:hover .cart-button-default,
.cart-price-button:focus-visible .cart-button-default {
  opacity: 0;
  transform: translateY(-8px);
}

.cart-price-button:hover .cart-button-hover,
.cart-price-button:focus-visible .cart-button-hover {
  opacity: 1;
  transform: translateY(0);
}

.cart-price-button.is-added {
  background: var(--ink);
  color: #fff;
}

.cart-price-button.is-added .cart-button-default,
.cart-price-button.is-added .cart-button-hover {
  opacity: 0;
}

.cart-price-button.is-added .cart-button-success {
  opacity: 1;
  transform: translateY(0);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li,
.selection-tags span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.44);
  backdrop-filter: blur(8px);
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  min-height: 620px;
}

.stage-panel,
.product-card,
.selection-panel,
.benefit-card,
.plan-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.stage-panel {
  padding: 26px;
}

.panel-phone {
  margin-top: 68px;
}

.panel-laptop {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-console {
  margin-top: -94px;
}

.panel-copy {
  position: relative;
  z-index: 1;
}

.panel-copy p {
  margin: 0;
  color: var(--muted);
}

.panel-copy strong {
  font-size: 1.25rem;
}

.device-phone,
.device-laptop,
.device-switch {
  position: relative;
  margin: 0 auto;
}

.device-phone {
  width: 126px;
  height: 244px;
  padding: 14px;
  border-radius: 32px;
  background: linear-gradient(145deg, #11151d, #3d4759);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 26px 36px rgba(18, 24, 35, 0.28);
}

.device-phone::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 42%;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
}

.device-screen {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.48), transparent 18%),
    linear-gradient(160deg, #ffab70, #ff6231 42%, #2c46ff 100%);
}

.device-laptop {
  width: min(100%, 380px);
}

.device-laptop .device-screen {
  height: 220px;
  border-radius: 20px 20px 12px 12px;
  border: 8px solid #1c2230;
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.28), transparent 18%),
    linear-gradient(135deg, #0b162d 0%, #1d68ff 45%, #92b8ff 100%);
  box-shadow: 0 22px 36px rgba(10, 16, 28, 0.22);
}

.device-base {
  width: 112%;
  height: 18px;
  margin: -2px auto 0;
  transform: translateX(-5.5%);
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, #d8dde7, #adb6c7);
  box-shadow: 0 20px 28px rgba(10, 16, 28, 0.16);
}

.device-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.switch-screen {
  width: 210px;
  height: 116px;
  border-radius: 18px;
  border: 8px solid #1d1f29;
  background:
    radial-gradient(circle at 28% 32%, rgba(44, 175, 255, 0.2), transparent 18%),
    radial-gradient(circle at 72% 36%, rgba(255, 108, 54, 0.18), transparent 20%),
    linear-gradient(135deg, #202632 0%, #090b10 100%);
  box-shadow: 0 20px 28px rgba(17, 21, 29, 0.28);
}

.joycon {
  position: relative;
  width: 44px;
  height: 132px;
  border-radius: 28px;
  background: linear-gradient(180deg, #3c4148, #1b1f27);
  box-shadow: 0 18px 26px rgba(17, 21, 29, 0.2);
}

.joycon::before,
.joycon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.joycon::before {
  top: 18px;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translateX(-50%);
  background: #20242c;
  border: 3px solid rgba(255, 255, 255, 0.12);
}

.joycon::after {
  bottom: 28px;
  left: 50%;
  width: 28px;
  height: 28px;
  transform: translateX(-50%);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.joycon-left::after {
  box-shadow: inset 0 0 0 3px rgba(67, 191, 255, 0.85);
}

.joycon-right::after {
  box-shadow: inset 0 0 0 3px rgba(255, 116, 67, 0.9);
}

.joycon-left::before,
.joycon-right::before {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.joycon-left {
  border-left: 4px solid rgba(59, 184, 255, 0.88);
}

.joycon-right {
  border-right: 4px solid rgba(255, 120, 72, 0.95);
}

.large.device-phone {
  transform: scale(1.05);
}

.large.device-laptop {
  transform: scale(1.02);
}

.large.device-switch {
  transform: scale(0.96);
}

.section {
  padding: 86px 0 18px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.catalog-toolbar,
.catalog-layout,
.benefit-grid,
.plan-grid {
  gap: 22px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.46);
}

.filter-button {
  padding: 10px 16px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

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

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.86fr);
  align-items: start;
}

.product-grid,
.benefit-grid,
.plan-grid {
  display: grid;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  outline: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
  cursor: pointer;
}

.product-card:hover,
.product-card:focus-visible,
.product-card.is-selected {
  transform: translateY(-4px);
  border-color: rgba(23, 24, 29, 0.16);
  box-shadow: 0 28px 60px rgba(20, 25, 37, 0.14);
}

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

.product-visual {
  position: relative;
  min-height: 220px;
  padding: 28px 24px 16px;
  display: grid;
  place-items: center;
}

.product-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgba(17, 21, 29, 0.2));
}

.product-image-stage {
  max-width: 360px;
  margin: 8px auto 18px;
}

.product-image-console {
  max-width: 290px;
  max-height: 260px;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  opacity: 0.95;
}

.product-visual-phone::before {
  background: linear-gradient(160deg, rgba(255, 117, 75, 0.36), rgba(56, 87, 255, 0.18));
}

.product-visual-laptop::before {
  background: linear-gradient(160deg, rgba(29, 104, 255, 0.3), rgba(180, 216, 255, 0.16));
}

.product-visual-console::before {
  background:
    linear-gradient(160deg, rgba(230, 0, 18, 0.3), rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 24% 30%, rgba(0, 184, 255, 0.12), transparent 20%);
}

.product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-badge.cool {
  color: var(--accent-cool);
}

.product-badge.warm {
  color: var(--accent-warm);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 0 24px 24px;
}

.product-kicker,
.price-label,
.selection-label,
.plan-label,
.contact-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-specs,
.selection-features {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.product-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 8px;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-price,
.selection-price,
.plan-card strong {
  font-size: 1.35rem;
}

.selection-panel {
  position: sticky;
  top: 122px;
  padding: 30px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.86), rgba(255, 245, 236, 0.78)),
    var(--surface);
}

.selection-price {
  margin: 14px 0 12px;
}

.selection-description {
  margin: 0 0 16px;
}

.selection-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}

.selection-cta {
  width: 100%;
}

.benefit-grid,
.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card,
.plan-card,
.contact-card {
  padding: 28px;
}

.benefit-index {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(23, 24, 29, 0.06);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.plan-card.emphasis {
  background: linear-gradient(180deg, rgba(255, 115, 74, 0.16), rgba(255, 255, 255, 0.72));
}

.contact {
  padding-top: 96px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-copy h2 {
  max-width: 14ch;
}

.contact-card a {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 42px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-copy {
  display: grid;
  gap: 6px;
}

.footer-copy p {
  margin: 0;
}

.button-home {
  white-space: nowrap;
}

.policy-corner-links {
  margin-left: auto;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.policy-corner-link {
  font-size: 0.76rem;
  color: rgba(100, 104, 115, 0.78);
  letter-spacing: 0.02em;
  opacity: 0.82;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.policy-corner-link:hover,
.policy-corner-link:focus-visible {
  color: rgba(23, 24, 29, 0.78);
  opacity: 1;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 92px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(23, 24, 29, 0.94);
  color: #fff;
  box-shadow: 0 20px 36px rgba(18, 24, 35, 0.3);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.details-main {
  display: grid;
  gap: 26px;
}

.details-hero {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  padding: 28px;
  background: rgba(255, 253, 249, 0.78);
  box-shadow: var(--shadow);
}

.details-hero h1 {
  max-width: 14ch;
  margin-bottom: 14px;
}

.details-meta {
  margin: 10px 0 0;
  color: var(--muted);
}

.details-note {
  margin: 0;
  color: var(--muted);
}

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

.details-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  padding: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.details-card h3 {
  margin-bottom: 12px;
}

.details-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.details-list li + li {
  margin-top: 8px;
}

.details-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.details-chip {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.54);
}

.details-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.78);
  box-shadow: var(--shadow);
}

.details-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 940px;
}

.details-table th,
.details-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(23, 24, 29, 0.1);
  vertical-align: top;
}

.details-table th {
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.65);
}

.details-table tr:last-child td {
  border-bottom: 0;
}

.details-section {
  display: grid;
  gap: 16px;
}

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

.model-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  padding: 20px;
  background: rgba(255, 252, 247, 0.8);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.model-card h3 {
  margin-bottom: 4px;
}

.model-card p {
  margin: 0;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
}

.mini-table th,
.mini-table td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(23, 24, 29, 0.12);
}

.mini-table tr:last-child td {
  border-bottom: 0;
}

.mini-table th {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-list a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.48);
  font-size: 0.9rem;
}

.spec-action-cell {
  width: 154px;
  white-space: nowrap;
}

.mini-action-cell {
  width: 150px;
  white-space: nowrap;
}

.cart-add-button {
  width: 100%;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(23, 24, 29, 0.18);
  background: #2a313f;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.2;
}

.cart-add-button.is-added {
  border-color: #17181d;
  background: var(--ink);
  color: #fff;
}

.cart-unavailable {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

body.cart-open {
  overflow: hidden;
}

.cart-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 72;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(130deg, #17181d 0%, #2e3342 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 20px 40px rgba(23, 24, 29, 0.34);
}

.cart-fab-count {
  min-width: 30px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 0.88rem;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(23, 24, 29, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 71;
  width: min(420px, 100vw);
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-left: 1px solid rgba(23, 24, 29, 0.12);
  background: rgba(255, 252, 247, 0.98);
  transform: translateX(100%);
  transition: transform 260ms ease;
  box-shadow: -16px 0 40px rgba(23, 24, 29, 0.2);
}

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

.cart-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(23, 24, 29, 0.1);
}

.cart-title {
  margin: 0;
  font-size: 1.26rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cart-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cart-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(23, 24, 29, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.cart-drawer-body {
  padding: 18px 20px;
  overflow-y: auto;
}

.cart-empty-hint {
  margin: 0;
  color: var(--muted);
}

.cart-item-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.cart-item {
  padding: 14px;
  border: 1px solid rgba(23, 24, 29, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  display: grid;
  gap: 8px;
}

.cart-item-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-name {
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}

.cart-item-spec {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.cart-remove {
  border: 0;
  background: transparent;
  color: #a63629;
  font-size: 0.86rem;
  cursor: pointer;
}

.cart-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-price {
  font-size: 0.98rem;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cart-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(23, 24, 29, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.cart-qty span {
  min-width: 20px;
  text-align: center;
}

.cart-footer {
  display: grid;
  gap: 12px;
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(23, 24, 29, 0.1);
  background: rgba(255, 255, 255, 0.74);
}

.cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
}

.cart-footer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cart-clear-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-checkout-button {
  width: 100%;
}

@media (max-width: 1120px) {
  .hero,
  .contact,
  .catalog-layout,
  .product-grid,
  .benefit-grid,
  .plan-grid,
  .details-grid,
  .model-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 12px;
  }

  .hero-stage {
    min-height: 0;
  }

  .panel-phone,
  .panel-console {
    margin-top: 0;
  }

  .panel-laptop {
    grid-column: auto;
    grid-row: auto;
  }

  .selection-panel {
    position: static;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .policy-corner-links {
    margin-left: 0;
    align-self: flex-start;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100vw - 24px, 100%);
    padding-top: 14px;
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-stage {
    grid-template-columns: 1fr;
  }

  .panel-console {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --content-width: calc(100vw - 24px);
  }

  .site-header {
    top: 10px;
    padding: 16px;
    border-radius: 24px;
  }

  h1 {
    max-width: 10ch;
  }

  .hero-actions,
  .hero-points,
  .selection-tags {
    gap: 8px;
  }

  .spec-action-cell {
    min-width: 136px;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .site-footer .button-home {
    width: auto;
  }

  .product-body,
  .benefit-card,
  .plan-card,
  .contact-card,
  .selection-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .product-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .product-footer .button-small {
    width: 100%;
  }

  .switch-screen {
    width: 160px;
    height: 88px;
  }

  .joycon {
    width: 36px;
    height: 104px;
  }

  .toast {
    left: 12px;
    right: 12px;
    bottom: 84px;
    text-align: center;
  }

  .cart-fab {
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
  }

  .cart-drawer {
    width: 100vw;
  }

  .cart-footer-actions {
    grid-template-columns: 1fr;
  }
}
