@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #182c25;
  --green: #194638;
  --muted: #4d6258;
  --paper: #fcfdf9;
  --sage: #eaf1e8;
  --border: #d3dfd4;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html:lang(vi) { --sans: system-ui, sans-serif; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; font: 1rem/1.55 var(--sans); color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--green); }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #387857; outline-offset: 3px; }
.wrap { width: min(100% - 5rem, 73rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: 1rem; z-index: 9; padding: .6rem; background: white; transform: translateY(-250%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.market-bar { padding: .38rem 1rem; text-align: center; background: #173d32; color: #f5faf5; font-size: .825rem; letter-spacing: .035em; }

.site-header { position: sticky; z-index: 4; top: 0; background: var(--paper); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 4.4rem; }
.brand { display: flex; align-items: center; gap: .68rem; text-decoration: none; line-height: 1.15; color: var(--ink); }
.brand strong { display: block; font-size: 1.26rem; letter-spacing: .13em; }
.brand small { display: block; margin-top: .25rem; color: var(--muted); font-size: .625rem; font-weight: 700; letter-spacing: .09em; }
.brand-mark { display: grid; align-content: center; gap: .2rem; width: 2.2rem; height: 2.2rem; padding: .37rem; border: 1px solid var(--green); border-radius: .45rem; }
.brand-mark i { display: block; height: 2px; background: var(--green); }
.brand-mark i:nth-child(2) { width: 74%; }
.main-nav, .header-actions { display: flex; align-items: center; gap: clamp(.6rem, 1.5vw, 1.45rem); }
.main-nav a { padding-block: .7rem; color: var(--ink); font-size: .91rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .22em; }
.language { max-width: 9.5rem; min-height: 2.55rem; padding: .28rem .6rem; border: 1px solid var(--border); border-radius: .4rem; color: var(--ink); background: var(--paper); font-size: .87rem; }
.menu-button { display: none; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .61rem 1.17rem;
  border: 1px solid var(--green);
  border-radius: .42rem;
  background: var(--green);
  color: white;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.button:hover { background: #28624d; border-color: #28624d; }
.button:disabled { opacity: .68; cursor: default; }
.button:disabled:hover { background: var(--green); border-color: var(--green); }
.button-small { min-height: 2.55rem; font-size: .892rem; }
.button-outline { color: var(--green); background: transparent; border-color: #97b0a1; }
.button-outline:hover { background: #dbe8dc; border-color: #809d8b; }

.hero { padding-block: clamp(2rem, 5vw, 4.5rem); background: var(--sage); }
.hero-inner { display: grid; grid-template-columns: .87fr 1.13fr; align-items: center; gap: clamp(1.9rem, 5vw, 5rem); }
h1, h2 { font: 400 1em/1.02 var(--serif); overflow-wrap: anywhere; }
:is(html:lang(zh), html:lang(th), html:lang(vi)) :is(h1, h2) { font-family: var(--sans); font-weight: 650; line-height: 1.15; letter-spacing: -.035em; }
h1 { margin: 0 0 1.25rem; font-size: clamp(3.05rem, 5.4vw, 5.35rem); letter-spacing: -.02em; }
h2 { margin: 0; font-size: clamp(2.5rem, 4vw, 3.65rem); }
h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.lead { max-width: 28rem; margin: 0 0 1.75rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.actions { display: flex; flex-wrap: wrap; gap: .68rem; }
.hero-photo { margin: 0; border-radius: .65rem; overflow: hidden; background: #dce3dc; }
.hero-photo img { width: 100%; height: auto; }

.section { padding-block: clamp(2.8rem, 5.2vw, 4.9rem); }
.section-head { max-width: 43rem; margin-bottom: 1.7rem; }
.section-head p, .size-copy > p { margin: .65rem 0 0; color: var(--muted); }
.model-grid, .process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.model { display: flex; flex-direction: column; background: white; border: 1px solid var(--border); border-radius: .65rem; overflow: hidden; }
.model img { width: 100%; height: auto; aspect-ratio: 1.52; object-fit: cover; }
.model .catalog-photo { aspect-ratio: 1.27; }
.model-copy { display: flex; flex: 1; align-items: flex-start; flex-direction: column; padding: 1.26rem; }
.model-copy p { margin: .5rem 0 .85rem; color: var(--muted); }
.model-link { display: inline-block; margin-top: auto; padding-block: .45rem; color: var(--green); text-underline-offset: .23em; font-weight: 700; }
.model-link:hover { color: #2e7255; }
.model-code { width: fit-content; color: var(--green); font-weight: 700; letter-spacing: .08em; font-size: .875rem; margin-bottom: .38rem; }
.breadcrumbs { display: flex; align-items: center; gap: .6rem; padding-block: 1.4rem; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { text-underline-offset: .2em; }
.product-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 4.25rem); align-items: center; }
.product-intro { padding-bottom: clamp(2rem, 4vw, 3.9rem); }
.product-title { font-size: clamp(2.65rem, 5vw, 4.75rem); margin-bottom: 1rem; }
.product-photo { width: 100%; height: auto; aspect-ratio: 1.27; object-fit: cover; border-radius: .65rem; background-color: #f0f2ee; }
.product-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.55rem 0 .7rem; gap: .75rem 1rem; }
.product-specs div { border-top: 1px solid var(--border); padding: .62rem 0 0; }
.product-specs dt, .spec-footnote { color: var(--muted); font-size: .9rem; }
.product-specs dd { font-weight: 700; margin: .15rem 0 0; }
.product-summary { margin-block: 0 1.25rem; }
.product-summary div { border-top: 0; border-left: 2px solid var(--border); padding: .12rem 0 .15rem .72rem; }
.product-intro h1 { font-size: clamp(2.4rem, 4.5vw, 4.35rem); }
.product-details h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); }
.product-details .product-specs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.product-sizes-title { margin-top: 1.65rem; }
.product-purchase { padding: clamp(1.15rem, 4vw, 2.35rem); background: var(--sage); border: 1px solid var(--border); border-radius: .65rem; }
.product-purchase h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); }
.product-purchase p { max-width: 52rem; color: var(--muted); }
.product-purchase .actions { align-items: center; }
.product-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.4rem); }
.product-gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: .65rem; background: white; }
.product-gallery img { width: 100%; height: auto; aspect-ratio: 1.4; object-fit: contain; background: #eef3ec; }
.product-gallery figcaption { padding: .62rem .9rem; font-size: .93rem; color: var(--muted); }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: .55rem; background: white; }
.catalog-table { min-width: 40rem; width: 100%; border-collapse: collapse; text-align: left; }
.desktop-compare th { width: 18%; }
.desktop-compare td { width: 27.33%; }
.mobile-compare { display: none; }
.compare-card { padding: 1rem; min-width: 0; border: 1px solid var(--border); border-radius: .55rem; background: white; }
.compare-card h3 a { display: inline-flex; align-items: center; min-height: 2.75rem; text-underline-offset: .22em; }
.compare-card p { margin: 0 0 .75rem; color: var(--muted); }
.compare-card dl { display: grid; gap: .52rem; margin: 0; }
.compare-card dl div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: .6rem; padding-top: .55rem; border-top: 1px solid var(--border); }
.compare-card dt { color: var(--muted); }
.compare-card dd { margin: 0; font-weight: 650; }
.catalog-table :is(td, th) { padding: .78rem .9rem; vertical-align: top; }
.catalog-table thead th { background: #e2ebe1; }
.catalog-table tbody tr + tr { border-top: 1px solid var(--border); }
.catalog-table a { font-weight: 700; text-underline-offset: .22em; }
.product-table { min-width: 0; }
.product-table-scroll { max-width: 42rem; }
.size-section { background: #eef3ec; border-block: 1px solid var(--border); }
.size-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.size-photo { width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; object-position: center 55%; border-radius: .65rem; }
.width-options { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.25rem; }
.width-options button { min-height: 2.85rem; padding: .52rem .85rem; border: 1px solid #97b0a1; border-radius: .4rem; background: #f9fcf8; color: var(--green); font-weight: 700; }
.width-options button:hover { border-color: var(--green); }
.width-options [aria-pressed="true"] { color: white; border-color: var(--green); background: var(--green); }
.size-copy .size-use { min-height: 3.3rem; padding-top: .15rem; }
.packing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.3rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(1.15rem, 4vw, 3.5rem);
  background: #eef3ec;
  border: 1px solid var(--border);
  border-radius: .65rem;
}
.packing-copy { max-width: 36rem; }
.packing-copy p { max-width: 33rem; margin: .9rem 0 1.2rem; color: var(--muted); }
.packing-video { display: block; width: min(24vw, 15rem); height: auto; aspect-ratio: 9 / 16; border-radius: .5rem; background: #173d32; }
#packing + #certification { padding-top: 0; }
.certification-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(1.15rem, 2.75vw, 2.1rem) clamp(1.4rem, 4vw, 4rem);
  padding: clamp(1.15rem, 4vw, 3.5rem);
  border: 1px solid var(--border);
  border-radius: .65rem;
}
.certification-layout > h2, .certification-note { grid-column: 1 / -1; }
.certification-layout > h2 { font-size: clamp(1.65rem, 2.7vw, 2.35rem); }
.manufacturer-name { margin: .35rem 0 0; }
.manufacturer-record dl, .certificate-record dl { display: grid; gap: .65rem; margin: .8rem 0 0; }
.manufacturer-record dt, .certificate-record dt { font-size: .88rem; color: var(--muted); }
.manufacturer-record dd, .certificate-record dd { margin: .08rem 0 0; font-weight: 650; overflow-wrap: anywhere; }
.manufacturer-record .model-link { min-height: 2.75rem; padding-block: .55rem; font-size: .93rem; }
.certificate-record { padding: clamp(1rem, 2.5vw, 1.65rem); border-radius: .5rem; background: #eef3ec; }
.certificate-number { font-variant-numeric: tabular-nums; }
.certificate-record p { margin: .8rem 0 0; color: var(--muted); font-size: .93rem; }
.certificate-record .model-link { margin-top: .35rem; }
.certification-note { margin: 0; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--muted); }
#certification + #process { padding-top: 0; }
.process-grid article { border-top: 2px solid #aec4b1; padding: 1.05rem .3rem 0 0; }
.process-grid p { color: var(--muted); margin: .42rem 0 0; }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; padding-top: 1.2rem; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { position: relative; list-style: none; cursor: pointer; font-weight: 700; padding: .95rem 2rem .95rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .35rem; top: .58rem; color: var(--green); font-size: 1.45rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 2rem .95rem 0; color: var(--muted); }

.quote-section { background: #173d32; color: #fcfdf9; }
.quote-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.quote-copy p { max-width: 24rem; margin: 1rem 0 0; color: #dae9df; }
form { background: var(--paper); color: var(--ink); padding: clamp(1rem, 2.7vw, 2rem); border-radius: .65rem; }
fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; }
.fields label { display: grid; gap: .32rem; align-content: start; font-size: .9rem; font-weight: 650; }
.fields .full { grid-column: 1 / -1; }
.fields :is(input, select, textarea) {
  width: 100%; min-width: 0; min-height: 2.8rem; padding: .52rem .65rem;
  border: 1px solid #acbeb1; border-radius: .36rem; background: white; color: var(--ink);
  font-size: 1rem; font-weight: 400;
}
.fields textarea { resize: vertical; }
.form-note { font-size: .87rem; color: var(--muted); margin: .8rem 0; }
.footer { padding-block: 1.8rem; background: #ecf1eb; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.footer p { margin: .22rem 0; color: var(--muted); font-size: .91rem; }
.footer a { display: inline-block; font-weight: 700; text-underline-offset: .2em; }
.mobile-quote { display: none; }

@media (max-width: 60rem) {
  .wrap { width: calc(100% - 3rem); }
  .main-nav { display: none; position: absolute; inset: 100% 0 auto; padding: .5rem 1.5rem .8rem; background: var(--paper); border-bottom: 1px solid var(--border); }
  .main-nav.open { display: flex; flex-wrap: wrap; }
  .menu-button { display: flex; flex-direction: column; justify-content: center; gap: .3rem; width: 2.7rem; height: 2.7rem; align-items: center; color: var(--green); background: var(--paper); border: 1px solid var(--border); border-radius: .4rem; }
  .menu-button span { width: 1.1rem; height: 2px; background: currentColor; }
}
@media (max-width: 46rem) {
  .desktop-compare { display: none; }
  .mobile-compare { display: grid; gap: .75rem; }
}
@media (max-width: 43rem) {
  html { scroll-padding-bottom: 5rem; }
  .wrap { width: calc(100% - 2rem); }
  .header-quote { display: none; }
  .header-inner { min-height: 3.85rem; gap: .6rem; }
  .header-actions { gap: .45rem; }
  .language { max-width: 8.3rem; }
  .hero-inner, .size-layout, .quote-layout, .faq, .certification-layout { grid-template-columns: 1fr; }
  .packing-card { grid-template-columns: 1fr; }
  .packing-video { width: min(100%, 15rem); justify-self: center; }
  .product-intro, .product-gallery-grid { grid-template-columns: 1fr; }
  .product-intro .lead { margin-bottom: 1.1rem; }
  .hero-inner, .size-layout { gap: 1.6rem; }
  .hero-photo { max-width: 34rem; }
  h1 { font-size: clamp(2.9rem, 10vw, 4.7rem); }
  :is(html:lang(zh), html:lang(th), html:lang(vi)) h1 { font-size: clamp(2.4rem, 8vw, 3.95rem); }
  .model-grid, .process-grid { grid-template-columns: 1fr; gap: 1rem; }
  .model img { aspect-ratio: 1.65; }
  .size-photo { order: 2; }
  .faq { gap: 0; }
  .quote-layout { gap: 1.35rem; }
  .footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
  .mobile-quote { display: block; position: fixed; z-index: 3; inset: auto 0 0; padding: .5rem 1rem calc(.5rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--border); }
  .mobile-quote .button { width: 100%; }
}
@media (max-width: 29rem) {
  .fields { grid-template-columns: 1fr; }
  .brand { gap: .45rem; }
  .brand strong { font-size: 1.04rem; }
  .brand small { font-size: .54rem; }
}
@media (max-width: 22.5rem) {
  .language { width: 6.25rem; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
