/* Compact responsive showcase; business/detail styles stay in style.css. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 380px) {
  .site-header .brand {
    min-width: 0;
  }
  .category-card {
    padding: 10px;
  }
  .category-card .category-art {
    width: 48px;
  }
  .category-card .category-art .keyboard-art {
    width: 48px;
  }
  .category-copy > span {
    display: none;
  }
}
.site-header {
  min-height: 78px;
  padding: 14px 4.5%;
  gap: 25px;
  flex-wrap: nowrap;
  position: relative;
  z-index: 10;
}
.site-header .brand {
  flex: 0 0 242px;
  gap: 10px;
  font-size: 11px;
  line-height: 1.5;
}
.site-header .brand > span:last-child {
  max-width: 145px;
}
.site-header #logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  line-height: 1;
  letter-spacing: -1px;
}
.site-header #logo strong {
  font-size: 29px;
}
.site-header #logo img {
  width: 52px;
  height: 20px;
  object-fit: contain;
}
.site-header #nav {
  gap: 23px;
  font-size: 12px;
  white-space: nowrap;
  justify-content: center;
}
.site-header .language {
  margin: 0;
}
.site-header .language select {
  font-size: 12px;
  max-width: 90px;
  min-height: 42px;
  padding: 5px;
}
.site-header #header-search {
  display: flex;
  background: #eeeee5;
  border: 1px solid #d9ded2;
  border-radius: 5px;
  flex: 0 1 190px;
  min-width: 120px;
  height: 40px;
}
.site-header #global-search {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 7px 11px;
  font-size: 12px;
  color: #244e43;
}
.site-header #header-search button {
  width: 40px;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  font-size: 25px;
  color: #2a6658;
}
.site-header #menu-toggle {
  display: none;
}
.hero {
  min-height: 0;
  height: 310px;
  padding: 35px 7%;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  background: radial-gradient(ellipse at 76% 65%, #235d56 0%, #103c3b 62%);
}
.hero .hero-copy {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 43px;
  line-height: 1.22;
  letter-spacing: -1px;
  margin: 0 0 12px;
  max-width: 560px;
}
.hero .eyebrow {
  margin-bottom: 13px;
  letter-spacing: 2px;
  font-size: 10px;
}
.hero-intro {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  max-width: 440px;
}
.hero .actions {
  margin-top: 20px;
  gap: 22px;
}
.hero .button {
  min-height: 42px;
  padding: 9px 19px;
  font-size: 12px;
}
.hero .text-link {
  font-size: 12px;
}
.hero-visual {
  height: 230px;
  margin: 0;
  min-height: 0;
}
.hero-visual .large {
  width: 87%;
  max-width: 390px;
  transform: rotate(-6deg);
  position: relative;
  z-index: 1;
  margin-right: 40px;
}
.device-screen {
  background: linear-gradient(135deg, #112c33, #156d65 55%, #162b39);
  border-color: #718981;
}
.light-orbit {
  border-color: #87e4c7;
  opacity: 0.78;
  box-shadow:
    0 0 28px #5be1c0,
    inset 0 0 25px #5bd8c3;
}
.device-screen > span {
  color: #e9fff6;
}
.hero-visual .device-screen {
  border-color: #758d89;
  border-width: 7px;
}
.angkor-lines {
  position: absolute;
  width: 125%;
  height: 260px;
  object-fit: contain;
  right: -70px;
  top: -32px;
  opacity: 0.45;
  pointer-events: none;
}
.hero-note {
  font-size: 8px;
  bottom: 0;
  right: 10px;
}
.phone-art {
  width: 73px;
  height: 140px;
  border: 5px solid #a7b9ae;
  border-radius: 15px;
  background: radial-gradient(
    ellipse at 35% 65%,
    #bbebd5,
    #278e85 40%,
    #123c48 75%
  );
  box-shadow: 0 10px 20px #062b2e55;
  position: relative;
  flex-shrink: 0;
}
.phone-art:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 35%;
  width: 30%;
  height: 4px;
  border-radius: 4px;
  background: #153c40;
}
.phone-art:after {
  content: "";
  position: absolute;
  left: 20%;
  bottom: 20%;
  width: 55%;
  height: 38%;
  border: 2px solid #d4f5dfaa;
  transform: rotate(30deg);
  border-radius: 45%;
}
.hero-visual > .phone-art {
  position: absolute;
  right: 5%;
  bottom: 18px;
  transform: rotate(9deg);
  z-index: 3;
  width: 84px;
  height: 165px;
}
.hero:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100px;
  height: 100%;
  opacity: 0.11;
  background: repeating-linear-gradient(
    45deg,
    transparent 0 13px,
    #c4a666 14px 15px,
    transparent 16px 26px
  );
}
.category-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 23px 4% 14px;
}
.category-section .section-top {
  margin-bottom: 11px;
}
.category-section h2 {
  font-size: 17px;
  margin: 0;
}
.category-section .text-link {
  font-size: 11px;
  padding: 2px 0;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.category-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 14px 18px;
  background: #eaece2;
  border: 1px solid #dce1d3;
  border-radius: 7px;
  min-height: 106px;
}
.category-card:hover {
  background: #e0e7d8;
}
.category-card h3 {
  font-size: 16px;
  margin: 0 0 2px;
}
.category-copy {
  min-width: 0;
}
.category-copy > span {
  font-size: 11px;
  color: #637967;
}
.category-art {
  width: 105px;
  height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.category-art .device-art {
  width: 100%;
}
.category-art .device-screen {
  border-width: 4px;
}
.category-art .device-screen > span {
  font-size: 11px;
  letter-spacing: 3px;
}
.category-art .light-orbit {
  border-width: 6px;
}
.category-art .phone-art {
  width: 34px;
  height: 64px;
  border-width: 3px;
  border-radius: 7px;
}
.category-art .keyboard-art {
  width: 90px;
}
.service-strip {
  max-width: 1320px;
  padding: 0 4% 20px;
  margin: auto;
}
.service-strip .service-grid {
  gap: 16px;
  margin: 0;
}
.service-strip .service-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
  background: #f3f0e6;
  min-height: 83px;
  border-color: #d9d8c7;
}
.service-strip .service-icon {
  font-size: 27px;
  line-height: 1;
}
.service-strip .service-card h3 {
  font-size: 15px;
  margin: 0;
}
.service-strip .service-card p {
  font-size: 11px;
  color: #71806d;
  margin: 3px 0 0;
  line-height: 1.5;
}
.service-strip .service-arrow {
  margin-left: auto;
  font-size: 20px;
  color: #9b875a;
}
.home-collection {
  padding: 20px 4% 45px;
  border-top: 1px solid #dedfd2;
}
.home-collection .section-top {
  margin-bottom: 18px;
}
.home-collection h2 {
  font-size: 25px;
}
.home-collection .eyebrow {
  font-size: 10px;
  margin-bottom: 5px;
}
.home-collection .product-visual {
  height: 150px;
}
.home-collection .product-info {
  padding: 12px 16px;
}
.home-collection .product-info h3 {
  font-size: 17px;
  line-height: 1.4;
  margin: 3px 0;
}
.home-collection .spec-short {
  min-height: 0;
  margin: 5px 0;
  font-size: 11px;
  line-height: 1.5;
}
.home-collection .price {
  font-size: 22px;
  line-height: 1.3;
  margin: 10px 0 4px;
}
.home-collection .detail-link {
  font-size: 11px;
}
@media (min-width: 801px) {
  .category-section {
    padding-top: 16px;
    padding-bottom: 12px;
  }
  .category-card {
    min-height: 88px;
    padding: 10px 16px;
  }
  .category-art {
    height: 64px;
  }
  .service-strip {
    padding-bottom: 14px;
  }
  .service-strip .service-card {
    min-height: 70px;
    padding: 10px 20px;
  }
  .home-collection .product-visual {
    height: 130px;
  }
}
.demo-caption {
  font-size: 11px;
  color: #6c7b69;
  margin: 0 0 14px;
}
body:lang(km) .hero h1 {
  font-size: 34px;
  line-height: 1.5;
  letter-spacing: 0;
}
body:lang(km) .hero-intro {
  line-height: 1.7;
  font-size: 12px;
}
body:lang(km) .site-header {
  gap: 16px;
}
body:lang(km) .site-header #nav {
  gap: 15px;
  font-size: 11px;
}
body:lang(km) .category-card h3 {
  font-size: 14px;
}
body:lang(km) .service-strip .service-card h3 {
  font-size: 14px;
}
@media (max-width: 1120px) {
  .site-header {
    gap: 13px;
    padding: 12px 3%;
  }
  .site-header .brand {
    flex-basis: 215px;
  }
  .site-header #nav {
    gap: 13px;
    font-size: 11px;
  }
  .site-header #header-search {
    flex-basis: 150px;
  }
  .category-card {
    padding: 12px;
  }
  .category-art {
    width: 83px;
  }
  .hero h1 {
    font-size: 38px;
  }
}
@media (max-width: 800px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px 12px;
    padding: 10px 5%;
    min-height: 0;
  }
  .site-header .brand {
    max-width: 270px;
    gap: 9px;
    font-size: 10px;
  }
  .site-header .brand > span:last-child {
    max-width: 160px;
  }
  .site-header #logo {
    min-width: 56px;
  }
  .site-header #logo strong {
    font-size: 25px;
  }
  .site-header #logo img {
    width: 43px;
    height: 15px;
  }
  .site-header #menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    height: 44px;
    border: 1px solid #d4ddce;
    background: #f5f3ec;
    border-radius: 5px;
    color: #244e43;
    font-size: 20px;
  }
  .menu-label {
    font-size: 11px;
  }
  .site-header .language {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
  .site-header #header-search {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: 38px;
  }
  .site-header #nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f5f3ec;
    box-shadow: 0 14px 20px #0d342822;
    border-top: 1px solid #d5decf;
    padding: 13px 5%;
    z-index: 20;
    white-space: normal;
    order: 0;
  }
  .site-header #nav.is-open {
    display: grid;
    gap: 0;
  }
  .site-header #nav a {
    padding: 12px 10px;
    min-height: 46px;
    font-size: 14px;
    border-bottom: 1px solid #dce2d5;
  }
  .site-header #nav a[aria-current] {
    border-bottom: 1px solid #dce2d5;
    background: #e4eadc;
  }
  .hero {
    height: 290px;
    min-height: 0;
    padding: 25px 5%;
    grid-template-columns: 1.15fr 1fr;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-visual {
    height: 210px;
  }
  .hero-visual .large {
    width: 100%;
    margin-right: 15px;
  }
  .hero-visual > .phone-art {
    right: -3%;
    height: 125px;
    width: 63px;
    bottom: 30px;
  }
  .category-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-section {
    padding: 18px 5% 12px;
  }
  .category-card {
    min-height: 93px;
  }
  .category-art {
    width: 90px;
    height: 64px;
  }
  .service-strip {
    padding: 0 5% 18px;
  }
  .service-strip .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }
  .service-strip .service-card {
    padding: 12px;
    gap: 8px;
  }
  .service-strip .service-card p {
    display: none;
  }
  .service-strip .service-card h3 {
    font-size: 13px;
  }
  .service-strip .service-arrow {
    display: none;
  }
  .home-collection {
    padding: 20px 5% 35px;
  }
  .home-collection .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .hero {
    height: 278px;
    grid-template-columns: 1fr;
    display: block;
    padding: 20px 5%;
    position: relative;
  }
  .hero .hero-copy {
    width: 100%;
  }
  .hero h1 {
    font-size: 28px;
    max-width: 290px;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
    margin-bottom: 11px;
    max-width: 220px;
  }
  .hero-intro {
    font-size: 11px;
    line-height: 1.65;
    max-width: 190px;
  }
  .hero .actions {
    gap: 10px;
    margin-top: 15px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 4;
    width: max-content;
    max-width: 150%;
  }
  .hero .button {
    font-size: 11px;
    min-height: 42px;
    padding: 9px 13px;
  }
  .hero .text-link {
    font-size: 11px;
    white-space: nowrap;
  }
  .hero-visual {
    position: absolute;
    right: 3%;
    top: 105px;
    width: 40%;
    height: 145px;
    margin: 0;
    min-height: 0;
    pointer-events: none;
  }
  .hero-visual .large {
    width: 160px;
    max-width: none;
    position: absolute;
    right: -7px;
    top: 0;
    margin: 0;
    transform: rotate(-9deg);
  }
  .hero-visual > .phone-art {
    height: 98px;
    width: 50px;
    bottom: 11px;
    right: 0;
    border-width: 4px;
    border-radius: 10px;
  }
  .hero-visual .device-screen {
    border-width: 4px;
  }
  .hero-visual .device-screen > span {
    font-size: 13px;
  }
  .hero-note {
    display: none;
  }
  .angkor-lines {
    width: 280px;
    max-width: none;
    height: 180px;
    top: -35px;
    right: -45px;
    opacity: 0.43;
  }
  .hero:before {
    width: 45px;
  }
  .hero:after {
    height: 4px;
  }
  .category-section {
    padding-top: 14px;
  }
  .category-section .section-top {
    margin-bottom: 9px;
  }
  .category-section h2 {
    font-size: 15px;
  }
  .category-card {
    padding: 11px;
    min-height: 91px;
    gap: 4px;
  }
  .category-card h3 {
    font-size: 13px;
    margin: 0;
  }
  .category-copy > span {
    font-size: 10px;
  }
  .category-art {
    width: 65px;
    height: 57px;
  }
  .category-art .keyboard-art {
    width: 65px;
  }
  .category-art .device-screen > span {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .category-art .device-base {
    height: 5px;
  }
  .category-art .phone-art {
    width: 29px;
    height: 54px;
  }
  .category-art .device-screen {
    border-width: 3px;
  }
  .service-strip .service-card {
    min-height: 76px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 5px;
    text-align: center;
    justify-content: center;
  }
  .service-strip .service-icon {
    font-size: 23px;
  }
  .service-strip .service-card h3 {
    font-size: 12px;
    line-height: 1.5;
  }
  .service-strip {
    padding-bottom: 15px;
  }
  .home-collection {
    padding-top: 17px;
  }
  .home-collection h2 {
    font-size: 21px;
  }
  .home-collection .eyebrow {
    font-size: 9px;
  }
  .home-collection .product-visual {
    height: 118px;
  }
  .home-collection .product-info {
    padding: 12px;
  }
  .home-collection .product-info h3 {
    font-size: 15px;
  }
  .home-collection .spec-short {
    font-size: 11px;
  }
  .demo-caption {
    font-size: 10px;
  }
  .site-header .language select {
    font-size: 12px;
    min-height: 38px;
  }
  .site-header #header-search button {
    min-height: 38px;
  }
  .site-header .brand #logo {
    font-size: 25px;
  }
  .site-header .brand #logo strong {
    font-size: 25px;
  }
  body:lang(km) .hero h1 {
    font-size: 22px;
    line-height: 1.5;
    max-width: 230px;
  }
  body:lang(km) .hero .hero-copy {
    width: 100%;
  }
  body:lang(km) .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0;
  }
  body:lang(km) .hero-intro {
    font-size: 10px;
    line-height: 1.7;
    max-width: 190px;
  }
  body:lang(km) .hero .actions {
    gap: 8px;
    margin-top: 13px;
  }
  body:lang(km) .hero .button,
  body:lang(km) .hero .text-link {
    font-size: 10px;
  }
  body:lang(km) .category-card h3 {
    font-size: 12px;
    line-height: 1.8;
  }
  body:lang(km) .category-art {
    width: 52px;
  }
  body:lang(km) .service-strip .service-card h3 {
    font-size: 11px;
  }
  body:lang(km) .site-header {
    gap: 9px 12px;
  }
  .home-collection .section-top .text-link {
    font-size: 11px;
  }
}

.used-badge {
  display: inline-block;
  background: #e5ece4;
  color: #125e55;
  border: 1px solid #b5c8b8;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
}
@media (min-width: 1000px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .category-card {
    min-height: 105px;
  }
}

.subcategory-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
@media (min-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .category-art {
    width: 60px;
  }
  .category-card h3 {
    font-size: 15px;
  }
}
