:root {
  color-scheme: light;
  --ink: #101e3b;
  --muted: #526079;
  --blue: #204ee8;
  --blue-dark: #1740ca;
  --line: #dce4f0;
  --white: #fff;
  --paper: #f5f7fb;
  --hero: #eaf1fc;
  --type: "PingFang HK", "Noto Sans HK", "Microsoft JhengHei", system-ui, sans-serif;
  font-family: var(--type);
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
button, input { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
button { appearance: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.25rem); letter-spacing: -.045em; line-height: 1.3; }
svg:not(.icon-library) { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-library, .visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 5; top: 10px; left: 10px; padding: 12px 16px; color: white; background: var(--blue); border-radius: 8px; }
.shell { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid #e7edf6; background: var(--white); }
.header-inner { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.brand span { display: grid; gap: 3px; font-size: 1.22rem; font-weight: 800; letter-spacing: -.045em; line-height: 1.04; }
.brand small { font-family: system-ui, sans-serif; font-size: .625rem; font-weight: 700; letter-spacing: .13em; color: var(--muted); }
.desktop-nav, .header-actions { display: flex; align-items: center; }
.desktop-nav { gap: clamp(17px, 2.45vw, 36px); font-size: .94rem; font-weight: 650; }
.desktop-nav a, .footer-inner nav a { color: #354461; }
.desktop-nav a:hover, .footer-inner nav a:hover { color: var(--blue); }
.header-actions { gap: 10px; }
.icon-button { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink); display: inline-grid; place-items: center; }
.icon-button:hover { background: #edf2ff; color: var(--blue); }
.icon-button svg, .list-trigger svg { width: 21px; height: 21px; }
.list-trigger { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; color: var(--blue-dark); background: #edf2ff; border: 1px solid #e0e8ff; border-radius: 10px; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.list-trigger:hover { background: #e0e9ff; }
.list-count { min-width: 23px; height: 23px; display: grid; place-items: center; padding-inline: 5px; background: var(--blue); color: white; border-radius: 50px; font: 700 .75rem/1 system-ui, sans-serif; }
.mobile-nav { display: none; }

.hero { margin-top: 27px; min-height: 454px; display: grid; grid-template-columns: 43% 57%; overflow: hidden; border-radius: 23px; background: var(--hero); isolation: isolate; }
.hero-copy { position: relative; z-index: 1; align-self: center; padding: 55px 18px 57px clamp(34px, 5.2vw, 80px); }
.hero-label { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-dark); font-size: .925rem; font-weight: 750; letter-spacing: .085em; }
.hero-label::before { display: inline-block; content: ""; width: 19px; height: 2px; background: currentColor; }
.hero h1 { margin-block: 16px 19px; color: #0c1a39; font-size: clamp(2.7rem, 5vw, 4.85rem); font-weight: 800; line-height: 1.13; letter-spacing: -.085em; }
.hero-description { max-width: 23em; font-size: clamp(1rem, 1.36vw, 1.15rem); line-height: 1.8; color: #374968; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 27px; }
.button { display: inline-flex; justify-content: center; align-items: center; text-align: center; padding: 11px 17px; min-height: 44px; border: 1px solid transparent; border-radius: 9px; font-size: .925rem; line-height: 1.35; font-weight: 750; }
.button-primary { border-color: var(--blue); background: var(--blue); color: white; }
.button-primary:hover { border-color: var(--blue-dark); background: var(--blue-dark); }
.button-primary:disabled { border-color: #d6e0f1; background: #dfe7f4; color: #445574; cursor: default; }
.button-secondary { border-color: #c9d6ed; background: var(--white); color: var(--ink); }
.button-secondary:hover { border-color: var(--blue); color: var(--blue-dark); }
.hero-art { position: relative; min-width: 0; background: radial-gradient(ellipse at 65% 64%, #9ab8fa, #d1e0ff 51%, var(--hero) 78%); }
.hero-phone { position: absolute; width: 63%; height: 90%; object-fit: contain; top: 2%; filter: drop-shadow(0 20px 20px #1d376d40); }
.hero-phone-apple { left: 3%; z-index: 1; transform: rotate(-8deg); }
.hero-phone-samsung { right: 0; top: 6%; transform: rotate(10deg); }

.categories { padding-block: 44px 52px; }
.categories h2 { font-size: clamp(1.4rem, 2.1vw, 1.75rem); margin-bottom: 18px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.category-link { display: flex; align-items: center; min-height: 99px; gap: 13px; min-width: 0; padding: 15px; border: 1px solid #e4eaf3; border-radius: 13px; background: white; }
.category-link:hover { border-color: #93aaf4; background: #fafbff; }
.category-link span:last-child { display: grid; gap: 5px; }
.category-link strong { display: block; font-size: 1.03rem; font-weight: 750; line-height: 1.25; }
.category-link small { display: block; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.category-icon { flex: 0 0 auto; display: grid; place-items: center; width: 47px; height: 47px; border-radius: 10px; background: #eaf0ff; color: #214ad3; }
.category-audio .category-icon { background: #f0eaff; color: #693ab6; }
.category-charge .category-icon { background: #e0f2f8; color: #086284; }
.category-watch .category-icon { background: #e5f4ed; color: #217357; }
.category-tablet .category-icon { background: #e9edfb; color: #3957aa; }
.category-computing .category-icon { background: #f6eafb; color: #71338c; }

.catalog-section { padding-block: 53px 60px; border-block: 1px solid #e7edf5; background: var(--paper); }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.catalog-heading p { color: var(--muted); line-height: 1.65; margin-top: 8px; }
.catalog-search { display: flex; align-items: center; min-width: 280px; padding-inline: 13px 6px; gap: 9px; border: 1px solid #d7e1ef; border-radius: 10px; background: white; }
.catalog-search svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--muted); }
.catalog-search:focus-within { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 1px; }
.catalog-search input { min-height: 44px; width: 100%; min-width: 0; background: transparent; border: 0; border-radius: 10px; outline: 0; padding: 7px 9px 7px 0; }
.catalog-search input::placeholder { color: #596782; opacity: 1; }
.catalog-toolbar { margin-block: 24px 12px; display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.filter-list { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-button { min-height: 40px; padding: 7px 13px; border: 1px solid #dce5f2; border-radius: 7px; color: #394a67; background: white; font-size: .875rem; font-weight: 700; }
.filter-button:hover { border-color: #95aaf5; color: var(--blue-dark); }
.filter-button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: white; }
.catalog-sort { position: relative; display: inline-flex; width: fit-content; flex: 0 0 auto; align-items: center; }
.catalog-sort select { appearance: none; min-height: 40px; padding: 7px 34px 7px 12px; border: 1px solid #dce5f2; border-radius: 7px; background: white; color: #394a67; font: 700 .875rem var(--type); cursor: pointer; }
.catalog-sort svg { position: absolute; right: 10px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.catalog-count { margin-bottom: 13px; color: var(--muted); font-size: .875rem; }
.catalog-more { margin: 24px auto 0; text-align: center; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.product-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #e0e7f2; border-radius: 15px; overflow: hidden; background: white; }
.product-card:hover { border-color: #bcccf0; }
.product-image { position: relative; aspect-ratio: 1.3; overflow: hidden; background: white; border-bottom: 1px solid #e7edf7; }
.product-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.product-meta { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 17px 18px 18px; }
.product-category { color: #495c7e; font-size: .8125rem; line-height: 1.4; font-weight: 650; }
.product-category span { padding-inline: 4px; }
.product-name { margin-top: 5px; font-size: clamp(1.04rem, 1.6vw, 1.28rem); line-height: 1.4; letter-spacing: -.035em; }
.product-variant { margin-top: 4px; color: var(--muted); font-size: .875rem; line-height: 1.55; }
.product-description { margin: 7px 0 15px; font-size: .925rem; line-height: 1.65; color: var(--muted); }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; margin: auto 0 11px; }
.reference-price-amount { color: var(--blue-dark); font: 750 1.22rem/1.3 system-ui, sans-serif; white-space: nowrap; }
.reference-price-label { color: var(--muted); font-size: .8125rem; font-weight: 650; }
.product-actions { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: auto; }
.product-actions button, .product-dialog-info .product-add { min-height: 44px; border: 1px solid transparent; border-radius: 8px; padding: 8px 11px; font-size: .875rem; line-height: 1.3; font-weight: 750; }
.product-actions .product-details { color: #2d4062; border-color: #dce5f4; background: white; }
.product-actions .product-details:hover { color: var(--blue-dark); border-color: #94aaf0; }
.product-actions .product-add, .product-dialog-info .product-add { color: var(--blue-dark); border-color: #dce6ff; background: #ecf2ff; }
.product-actions .product-add:hover, .product-dialog-info .product-add:hover { background: #dfe9ff; }
.product-dialog-info .product-add { margin-top: 16px; }
.empty-results, .list-empty { padding: 44px 14px; text-align: center; background: white; border: 1px dashed #cdd8eb; border-radius: 13px; }
.empty-results svg, .list-empty svg { width: 30px; height: 30px; margin-bottom: 9px; color: var(--blue); }
.empty-results p, .list-empty p { margin: 6px 0 18px; color: var(--muted); line-height: 1.6; }

.info-section { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(32px, 6vw, 90px); align-items: center; padding-block: 62px; }
.about-card { padding: 28px; border-radius: 16px; background: #edf3ff; }
.about-card img { margin-bottom: 17px; }
.about-card h2, .faq h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.about-card p { margin-top: 14px; max-width: 30em; line-height: 1.75; color: #435575; }
.about-card .about-English { margin-top: 3px; font: 700 .8rem/1.5 system-ui, sans-serif; letter-spacing: .08em; }
.faq h2 { margin-bottom: 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 49px; padding-block: 9px; font-weight: 700; line-height: 1.5; }
.faq summary:hover { color: var(--blue-dark); }
.faq summary::marker, .mobile-nav summary::marker { content: ""; }
.faq summary::-webkit-details-marker, .mobile-nav summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: 0 0 auto; width: 19px; height: 19px; }
.faq details[open] svg { transform: rotate(180deg); }
.faq details p { padding: 0 30px 15px 0; color: var(--muted); line-height: 1.65; }
.site-footer { border-top: 1px solid #e5ebf5; background: #f8faff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; padding-block: 27px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: .9rem; }
.footer-inner > small { color: var(--muted); font-size: .85rem; }

.shop-dialog { color: var(--ink); background: white; border: 0; border-radius: 18px; box-shadow: 0 19px 70px #14213d35; padding: 0; max-height: calc(100% - 32px); max-width: calc(100% - 28px); overflow: auto; }
.shop-dialog::backdrop { background: rgba(13, 25, 51, .55); }
.dialog-close { position: absolute; z-index: 1; top: 9px; right: 9px; background: white; border: 1px solid #e6ecf5; }
.product-dialog { width: 740px; }
.product-dialog-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.product-dialog-image { display: grid; place-items: center; background: white; border-inline-end: 1px solid #e7edf7; }
.product-dialog-image img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.product-dialog-info { padding: 43px 27px 26px; }
.product-dialog-info h2 { margin: 6px 0 10px; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.product-dialog-description { color: var(--muted); line-height: 1.7; }
.product-specs { display: grid; margin: 15px 0 0; }
.product-specs div { display: flex; justify-content: space-between; gap: 8px; padding-block: 7px; border-bottom: 1px solid #e7edf6; font-size: .9rem; }
.product-specs dt { color: var(--muted); }
.product-specs dd { font-weight: 700; margin: 0; text-align: right; }
.product-source { display: grid; justify-items: start; gap: 5px; margin-top: 12px; color: var(--muted); font-size: .825rem; line-height: 1.5; }
.product-source a, a.product-source { color: var(--blue-dark); text-decoration: underline; text-underline-offset: .18em; }
.list-dialog { width: 540px; }
.list-heading { position: sticky; z-index: 2; top: 0; border-bottom: 1px solid var(--line); background: white; padding: 15px 62px 15px 23px; }
.list-heading h2 { font-size: 1.35rem; line-height: 1.45; }
.list-body { padding: 15px 22px; }
.list-row { display: grid; grid-template-columns: 51px minmax(0, 1fr) auto auto; align-items: center; min-height: 78px; gap: 9px; padding-block: 8px; border-bottom: 1px solid #ebf0f7; }
.list-row:last-child { border-bottom: 0; }
.list-item-image { border-radius: 8px; aspect-ratio: 1; object-fit: cover; }
.list-item-name { font-weight: 750; line-height: 1.35; }
.list-item-color { color: var(--muted); font-size: .8125rem; margin-top: 4px; }
.list-unit-price { color: var(--blue-dark); font-size: .8125rem; font-weight: 700; margin-top: 4px; }
.list-quantity { display: flex; align-items: center; justify-content: center; gap: 5px; }
.list-quantity span { min-width: 1.4em; text-align: center; font-variant-numeric: tabular-nums; font-weight: 750; }
.list-stepper, .list-remove { min-width: 34px; min-height: 38px; border: 1px solid #dce6f4; border-radius: 7px; padding: 5px; background: var(--paper); color: var(--ink); }
.list-remove { border-color: transparent; background: transparent; color: #4c5c77; font-size: .875rem; }
.list-stepper:hover, .list-remove:hover { background: #edf2ff; color: var(--blue-dark); }
.list-controls { padding: 17px 22px; background: var(--paper); border-top: 1px solid var(--line); }
.list-controls p { line-height: 1.55; color: var(--muted); }
.list-controls #list-summary { font-weight: 750; color: var(--ink); }
.list-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 13px; }
.checkout-totals { display: grid; gap: 6px; margin-block: 11px; }
.checkout-totals div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.checkout-totals dt { color: var(--muted); }
.checkout-totals dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; }
#checkout-total-row { padding-top: 6px; border-top: 1px solid var(--line); }
.list-controls .checkout-status { font-size: .9rem; }
.checkout-return { margin-bottom: 13px; padding: 11px 13px; border: 1px solid #c6d5f1; border-radius: 9px; background: #edf3ff; color: #24395e; line-height: 1.6; overflow-wrap: anywhere; }
.dialog-status:not(:empty) { margin-top: 9px; color: var(--blue-dark); font-size: .875rem; font-weight: 700; }
.shop-toast { z-index: 3; position: fixed; inset: auto 19px 19px auto; max-width: min(420px, calc(100% - 38px)); }
.shop-toast:not(:empty) { padding: 12px 17px; color: white; background: #172b54; border-radius: 9px; font-size: .9rem; box-shadow: 0 7px 24px #14213d24; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 64px); }
  .header-inner { gap: 14px; }
  .desktop-nav { gap: clamp(12px, 1.8vw, 21px); }
  .category-link { gap: 10px; padding: 11px; }
  .category-icon { width: 43px; height: 43px; }
}

@media (max-width: 840px) {
  .shell { width: calc(100% - 42px); }
  .header-inner { min-height: 68px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav nav { position: absolute; z-index: 3; top: calc(100% + 7px); right: 0; width: min(240px, 80vw); padding: 6px; display: grid; border: 1px solid #dbe3f3; border-radius: 13px; background: white; box-shadow: 0 8px 24px #14213d16; }
  .mobile-nav a { min-height: 44px; padding: 11px 12px; border-radius: 7px; color: var(--ink); font-size: .925rem; }
  .mobile-nav a:hover { background: #edf2ff; color: var(--blue-dark); }
  .hero { min-height: 380px; }
  .hero-copy { padding-left: 29px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-link { min-height: 78px; padding: 12px 14px; }
  .product-grid { gap: 12px; }
  .product-meta { padding: 12px; }
  .product-actions button { padding-inline: 5px; }
}

@media (max-width: 630px) {
  .shell { width: calc(100% - 32px); }
  html { scroll-padding-top: 16px; }
  .header-inner { min-height: 61px; }
  .header-actions { gap: 3px; }
  .list-trigger-label { display: none; }
  .brand { gap: 7px; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: 1.12rem; }
  .brand small { font-size: .57rem; }
  .hero { margin-top: 14px; display: flex; flex-direction: column; min-height: auto; border-radius: 17px; }
  .hero-copy { align-self: stretch; padding: 26px 20px 19px; }
  .hero h1 { margin-block: 11px 12px; font-size: clamp(2.2rem, 9.2vw, 3.7rem); }
  .hero-description { max-width: 20em; line-height: 1.6; }
  .hero-actions { gap: 8px; margin-top: 17px; }
  .hero-actions .button { padding-inline: 12px; }
  .hero-art { aspect-ratio: 1.5; }
  .hero-phone { height: 100%; }
  .hero-phone-apple { top: 0; }
  .hero-phone-samsung { top: 3%; }
  .categories { padding-block: 28px 33px; }
  .categories h2 { margin-bottom: 12px; }
  .category-link { gap: 8px; min-height: 72px; padding: 8px; border-radius: 10px; }
  .category-icon { width: 37px; height: 37px; border-radius: 8px; }
  .category-icon svg { width: 21px; height: 21px; }
  .category-link strong { font-size: .925rem; }
  .category-link small { font-size: .76rem; }
  .catalog-section { padding-block: 31px 37px; }
  .catalog-heading { align-items: stretch; flex-direction: column; gap: 13px; }
  .catalog-search { min-width: 0; }
  .catalog-toolbar { display: grid; gap: 9px; margin-block: 14px 10px; }
  .filter-list { gap: 5px; }
  .filter-button { min-height: 40px; padding-inline: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product-card { border-radius: 11px; }
  .product-image { aspect-ratio: 1.08; }
  .product-meta { padding: 10px; }
  .product-description { margin-bottom: 10px; font-size: .85rem; }
  .product-category { font-size: .75rem; }
  .product-actions { grid-template-columns: 1fr; gap: 5px; }
  .info-section { grid-template-columns: 1fr; gap: 26px; padding-block: 34px 41px; }
  .about-card { padding: 21px; }
  .footer-inner { gap: 16px; }
  .footer-inner nav { order: 1; width: 100%; }
  .product-dialog-layout { grid-template-columns: 1fr; }
  .product-dialog-image img { max-height: 245px; object-fit: contain; }
  .product-dialog-info { padding: 20px; }
  .list-heading { padding-left: 14px; }
  .list-body, .list-controls { padding-inline: 13px; }
  .list-row { grid-template-columns: 36px minmax(0, 1fr) auto auto; gap: 6px; }
  .list-item-name { font-size: .88rem; }
  .list-item-color { font-size: .75rem; }
  .list-stepper, .list-remove { min-width: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
