:root {
  color-scheme: light;
  --ink: #10263a;
  --muted: #4d6274;
  --blue: #076b91;
  --blue-dark: #055374;
  --line: #dbe5ed;
  --canvas: #f9fafb;
  --white: #fff;
  --pale: #edf5fa;
  --radius: 24px;
  font-family: "Inter", "Helvetica Neue", Arial, "Noto Sans Thai", Thonburi, "Leelawadee UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
main:focus { outline: none; }
h1, h2, h3, p, figure, dd { margin: 0; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(100% - 100px, 1320px); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; z-index: 10; left: 12px; top: 12px; background: white; padding: 12px 22px; }

.site-header { background: var(--white); border-bottom: 1px solid #e9eef2; }
.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; justify-self: start; }
.brand img { width: 146px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav a {
  padding: 10px 16px; border-radius: 24px;
  color: var(--muted); font-size: .89rem; font-weight: 650; white-space: nowrap;
}
.main-nav a:is(:hover, [aria-current]) { background: var(--pale); color: var(--blue-dark); }
.header-search {
  justify-self: end; display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%; color: var(--ink);
}
.header-search:hover { color: var(--blue); background: var(--pale); }
.lucide {
  display: block; width: 1em; height: 1em; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.header-search .lucide { font-size: 1.13rem; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 46px; padding: 10px 19px; border: 0; border-radius: 99px;
  font-weight: 700; font-size: .91rem; line-height: 1.45;
  transition: background .2s ease, color .2s ease;
}
.button-primary { color: white; background: var(--blue-dark); }
.button-primary:hover { background: #103850; }
.hero {
  margin-top: 23px;
  padding: 25px clamp(24px, 3.3vw, 48px) 18px;
  border: 1px solid #e4e8eb;
  border-radius: 29px;
  overflow: hidden;
  color: #152731;
  background: radial-gradient(ellipse at 51% 51%, #fff 0%, #f2f5f7 55%, #e9eef1 100%);
}
.hero-top { display: flex; justify-content: flex-end; }
.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.hero-catalog { justify-self: end; font-size: .84rem; white-space: nowrap; }
.hero-word {
  margin-top: 15px;
  color: #cbd6de;
  font-size: clamp(5.3rem, 14.5vw, 13rem);
  line-height: .97;
  letter-spacing: -.095em;
  text-align: center;
  font-weight: 800;
  white-space: nowrap;
  user-select: none;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.84fr) minmax(0, 1fr);
  grid-template-areas: "copy media facts";
  align-items: center;
  gap: clamp(15px, 3vw, 44px);
  margin-top: clamp(-100px, -7.15vw, -54px);
}
.hero-copy { grid-area: copy; position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(1.6rem, 2.75vw, 2.85rem);
  letter-spacing: -.045em;
  line-height: 1.13;
  font-weight: 760;
}
.hero-model { margin-top: 7px; }
.hero-intro { margin-top: 11px; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.hero-detail { margin-top: 17px; background: #112d3b; color: white; }
.hero-detail:hover { background: var(--blue-dark); }

.hero-media {
  grid-area: media;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
}
.hero-media > img { width: 100%; height: 100%; object-fit: contain; }
.hero-media { filter: drop-shadow(0 17px 14px #1a455b35); }
.hero-media:hover { filter: drop-shadow(0 20px 17px #1a455b4d); }
.hero-facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.hero-fact {
  min-width: 0;
  min-height: 88px;
  padding: 12px 5px 5px 0;
  border-top: 1px solid #b8c9d3;
}
.hero-fact strong { display: block; font-size: clamp(1.52rem, 2.55vw, 2.5rem); letter-spacing: -.06em; line-height: 1.15; white-space: nowrap; }
.hero-fact small { margin-left: .16em; font-size: .43em; letter-spacing: 0; }
.hero-fact p { margin-top: 6px; color: var(--muted); font-size: .77rem; line-height: 1.5; }

.hero-bottom { margin-top: 15px; }
.hero-notice { font-size: .75rem; color: var(--muted); line-height: 1.5; }
.hero-slide-number { justify-self: end; color: var(--muted); font-size: .72rem; letter-spacing: .13em; font-weight: 700; }
.hero-controls, .hero-dots { display: flex; align-items: center; gap: 3px; }
.hero-controls { gap: 8px; }
.hero-step {
  display: grid; place-items: center; padding: 0;
  width: 42px; height: 42px; border: 1px solid #fff; border-radius: 50%;
  background: #ffffffb5; color: var(--ink); font-size: 1.12rem;
}
.hero-step:hover { background: var(--blue-dark); color: white; }
.hero-dots button { display: grid; place-items: center; width: 28px; height: 35px; border: 0; background: transparent; border-radius: 20px; }
.hero-dots button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7f909b; }
.hero-dots button:is(:hover, [aria-pressed="true"])::after { background: #122c3d; }
.hero-dots button[aria-pressed="true"]::after { width: 19px; border-radius: 9px; }

.model { color: var(--blue-dark); font-size: .71rem; font-weight: 750; letter-spacing: .085em; }
.round-arrow {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%;
  color: var(--blue-dark); background: var(--white); font-size: 1.12rem;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
a:hover .round-arrow { background: var(--blue-dark); border-color: var(--blue-dark); color: white; transform: rotate(6deg); }

.category-links {
  margin-top: 18px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line);
}
.category-links a {
  min-height: 60px; display: flex; gap: 7px; align-items: center; justify-content: center;
  padding: 11px 8px; background: var(--white); font-size: .86rem; font-weight: 650; text-align: center;
}
.category-links a:hover { background: var(--pale); color: var(--blue-dark); }
.category-links a:focus-visible { outline-offset: -4px; }
.category-links .lucide { color: var(--blue); flex: 0 0 auto; }

.page-section { margin-top: 65px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 21px; }
.section-heading h2, .spec-section h2 {
  font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -.045em; line-height: 1.18;
}
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-dark); font-weight: 700; line-height: 1.5; }
.text-link:hover { text-decoration: underline; text-underline-offset: .28em; }
.section-heading .text-link { flex-shrink: 0; padding-block: 6px; }
.bento, .recommended-grid, .catalog-grid { display: grid; gap: 16px; }
.bento { grid-template-columns: 1.3fr 1fr; }
.recommended-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card {
  min-width: 0; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.product-card:hover { border-color: #91bdce; box-shadow: 0 8px 24px #0d3b5910; }
.card-media {
  height: auto; aspect-ratio: 1.25; min-width: 0; overflow: hidden;
  display: grid; place-items: center; background: #f2f6f9;
}
.card-media img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.bento-card .card-media { aspect-ratio: auto; height: clamp(230px, 29vw, 405px); }
.bento-card:first-child .card-media { background: #d8e8f6; }
.bento-card:last-child .card-media { background: #e9edef; }
.card-summary {
  flex: 1; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 19px;
}
.bento-card .card-summary { padding-inline: 25px; }
.card-summary h3 { font-size: clamp(1.12rem, 2vw, 1.45rem); letter-spacing: -.035em; overflow-wrap: anywhere; }
.bento-card h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); }
.card-summary .model { margin-top: 5px; }
.card-label { color: var(--muted); font-size: .85rem; line-height: 1.5; margin-top: 3px; }

.page-intro {
  margin-top: 28px; padding: clamp(29px, 6vw, 75px); border: 1px solid #e1ebf1;
  border-radius: 30px; background: linear-gradient(110deg, #e7f2f8, #f7fafc);
}
.page-intro h1 {
  font-size: clamp(2.7rem, 7vw, 5.3rem); font-weight: 760; line-height: 1.15;
  letter-spacing: -.06em; margin-bottom: 8px;
}
.page-intro > p:last-child { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.catalog-controls { margin-top: 29px; scroll-margin-top: 18px; }
.search-field {
  width: min(100%, 530px); min-height: 55px; display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line); border-radius: 15px; background: white; color: var(--muted); padding-inline: 17px;
}
.search-field:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; color: var(--blue-dark); }
.search-field .lucide { font-size: 1.12rem; }
.search-field input { min-width: 0; width: 100%; height: 54px; color: var(--ink); outline: 0; border: 0; background: transparent; }
.search-field input::placeholder { color: var(--muted); }
.filter-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.filter-list button {
  min-height: 42px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 99px;
  background: white; color: var(--muted); font-size: .88rem; font-weight: 650;
}
.filter-list button:hover { color: var(--blue-dark); background: var(--pale); }
.filter-list button[aria-pressed="true"] { color: white; background: var(--blue-dark); border-color: var(--blue-dark); }
.results-count { margin-block: 24px 13px; color: var(--muted); font-size: .86rem; font-weight: 650; }
.empty-state {
  min-height: 245px; padding: 30px 20px; display: grid; place-content: center;
  justify-items: center; gap: 14px; text-align: center; border-radius: var(--radius);
  border: 1px solid var(--line); background: white;
}
.empty-state p { color: var(--muted); }
.missing { margin-top: 30px; }

.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-block: 24px; font-size: .86rem; color: var(--muted); }
.breadcrumbs .lucide { width: 12px; height: 12px; }
.breadcrumbs a:hover { color: var(--blue-dark); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 700; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr); gap: clamp(23px, 5vw, 75px); align-items: start; }
.gallery-stage {
  display: block; position: relative; padding: 0; width: 100%; aspect-ratio: 1.13;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #eff4f8; cursor: zoom-in;
}
.gallery-stage img { width: 100%; height: 100%; object-fit: contain; }
.zoom-icon {
  position: absolute; bottom: 15px; right: 15px; display: grid; place-items: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 1.5rem;
}
.gallery-stage:hover .zoom-icon { color: white; background: var(--blue-dark); }
.thumb-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.thumb-list button {
  display: block; aspect-ratio: 1; padding: 2px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px; background: white;
}
.thumb-list img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.thumb-list button:is(:hover, [aria-pressed="true"]) { border-color: var(--blue); }
.thumb-list button[aria-pressed="true"] { box-shadow: 0 0 0 1px var(--blue) inset; }
.image-note { margin-top: 10px; color: var(--muted); font-size: .83rem; }
.product-summary { padding-top: 4px; }
.category-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; margin-top: 11px;
  background: #e7f2f8; color: var(--blue-dark); font-size: .8rem; font-weight: 700;
}
.category-tag:hover { background: #d6ebf6; }
.product-summary h1 {
  font-size: clamp(2.2rem, 4.3vw, 4.5rem); line-height: 1.03; font-weight: 760;
  letter-spacing: -.065em; overflow-wrap: anywhere;
}
.product-model { color: var(--blue-dark); font-weight: 750; font-size: .88rem; letter-spacing: .045em; margin-top: 12px; }
.product-model span { margin-inline: 5px; color: var(--muted); }
.product-description { color: var(--muted); margin-top: 20px; line-height: 1.75; font-size: 1.02rem; }
.price-block { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 19px; color: var(--muted); font-size: .82rem; }
.price-block strong { font-size: 2rem; color: var(--ink); letter-spacing: -.04em; }
.concept-notice {
  display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 10px;
  background: var(--pale); color: var(--blue-dark); margin-block: 14px 21px; font-size: .8rem; line-height: 1.5;
}
.product-summary h2 { font-size: 1.22rem; }
.highlight-list { padding-inline-start: 21px; margin-block: 9px 0; color: var(--muted); line-height: 1.7; }
.highlight-list li::marker { color: var(--blue); }
.spec-section {
  margin-top: 55px; display: grid; grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr);
  gap: clamp(21px, 5vw, 70px); border-top: 1px solid var(--line); padding-top: 39px;
}
.spec-sidebar > p { color: var(--muted); margin-top: 8px; font-size: .9rem; }
.box-contents { margin-top: 22px; background: var(--pale); border-radius: 14px; padding: 15px; line-height: 1.6; }
.box-contents h3 { font-size: .92rem; }
.box-contents p { margin-top: 4px; color: var(--muted); font-size: .88rem; }
.spec-list { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.spec-list div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.66fr);
  padding: 12px 15px; gap: 12px; font-size: .91rem; line-height: 1.55; background: #fff; overflow-wrap: anywhere;
}
.spec-list div:nth-child(odd) { background: #eef4f8; }
.spec-list dt { font-weight: 700; }
.spec-list dd { color: var(--muted); }

.lightbox {
  width: min(870px, calc(100% - 30px)); max-height: calc(100dvh - 24px); overflow: auto;
  padding: 12px; border: 0; border-radius: 20px; background: white; color: var(--ink);
}
.lightbox::backdrop { background: #071c2be0; }
.lightbox img { width: 100%; max-height: calc(100dvh - 154px); object-fit: contain; background: #f4f7fa; border-radius: 10px; }
.lightbox-header, .lightbox-controls { display: flex; align-items: center; gap: 12px; padding: 6px 3px; }
.lightbox-header { justify-content: space-between; font-size: .85rem; color: var(--muted); }
.lightbox-controls { justify-content: center; padding-top: 10px; }
.lightbox button { display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--pale); font-size: 1.25rem; width: 43px; height: 43px; }
.lightbox button:hover { color: white; background: var(--blue-dark); }

.contact-grid { margin-top: 18px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.contact-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3.25vw, 41px); }
.contact-card h2 { font-size: clamp(1.03rem, 1.75vw, 1.4rem); }
.contact-office { grid-row: span 2; }
.contact-office address { margin-block: 12px 22px; color: var(--muted); font-style: normal; line-height: 1.8; }
.contact-channel { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.contact-channel h2 { color: var(--muted); font-size: .92rem; margin-bottom: 5px; }
.contact-channel div > span { font-size: clamp(1.12rem, 2.6vw, 2rem); font-weight: 730; letter-spacing: -.03em; overflow-wrap: anywhere; }
.contact-channel:hover { border-color: #91bdce; }

.site-footer { margin-top: 72px; border-top: 1px solid var(--line); background: #f1f5f8; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; padding-block: 34px; }
.footer-brand img { width: 128px; }
.footer-inner p { margin-top: 9px; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.footer-details { text-align: right; }
.footer-details nav { display: flex; justify-content: end; gap: 20px; font-size: .88rem; font-weight: 700; }
.footer-details a:hover { color: var(--blue-dark); text-decoration: underline; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 58px); }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-fact { min-height: 0; }
  .category-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-links a { min-height: 49px; }
  .recommended-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 34px); }
  .header-inner { min-height: 66px; gap: 9px; }
  .brand img { width: 113px; }
  .main-nav a { padding-inline: 9px; font-size: .78rem; }
  .header-search { width: 39px; height: 39px; }
  .hero { margin-top: 17px; padding: 19px 20px 15px; border-radius: 24px; }
  .hero-word { font-size: clamp(4.1rem, 14.3vw, 7.3rem); }
  .hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    grid-template-areas: "media media" "copy facts";
    gap: 20px 16px;
    margin-top: -36px;
  }
  .hero-media { max-width: 414px; justify-self: center; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-intro { font-size: .85rem; }
  .hero-bottom { margin-top: 18px; }
  .page-section { margin-top: 44px; }
  .catalog-grid, .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card .card-media { height: auto; aspect-ratio: 1.1; }
  .bento-card .card-summary { padding-inline: 13px; }
  .card-summary { padding: 12px; }
  .card-summary .round-arrow { width: 32px; height: 32px; }
  .page-intro { margin-top: 17px; border-radius: 24px; }
  .product-layout, .spec-section { grid-template-columns: minmax(0, 1fr); }
  .product-summary h1 { font-size: clamp(2.45rem, 8vw, 4rem); }
  .spec-section h2 br { display: none; }
  .gallery-stage { aspect-ratio: 1.1; }
  .spec-section { margin-top: 36px; padding-top: 25px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-office { grid-row: auto; }
  .site-footer { margin-top: 47px; }
}

@media (max-width: 485px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 3px 12px; padding-top: 9px; padding-bottom: 8px; }
  .header-search { grid-column: 2; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; justify-content: center; }
  .main-nav a { font-size: .82rem; padding-inline: 13px; }
  .hero { padding-inline: 15px; }
  .hero-catalog { font-size: .69rem; gap: 4px; }
  .hero-word { font-size: clamp(3.13rem, 14vw, 4.45rem); }
  .hero-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "copy" "facts"; gap: 12px; margin-top: -23px; }
  .hero-detail { margin-top: 12px; }
  .hero-fact { padding: 9px 5px 2px 0; }
  .hero-bottom { grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
  .hero-controls { grid-row: 1; grid-column: 1 / -1; justify-self: center; }
  .hero-notice { font-size: .7rem; }
  .category-links a { font-size: .73rem; padding-inline: 5px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento-card .card-media { aspect-ratio: 1.42; }
  .recommended-grid, .catalog-grid { gap: 9px; }
  .product-card { border-radius: 15px; }
  .card-summary { gap: 7px; padding: 10px; }
  .card-summary h3 { font-size: 1.03rem; }
  .card-label { font-size: .76rem; }
  .card-summary .round-arrow { width: 26px; height: 26px; font-size: .92rem; }
  .section-heading .text-link { font-size: .84rem; }
  .footer-inner { flex-direction: column; gap: 16px; padding-block: 24px; }
  .footer-details { text-align: left; }
  .footer-details nav { justify-content: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
