:root {
  --kl-cyan: #51c6d3;
  --kl-orange: #ff7e00;
  --kl-dark: #3d484a;
  --kl-dark-2: #303b3e;
  --kl-light: #f7f7f7;
  --kl-body: #666;
  --kl-border: rgba(0, 0, 0, 0.1);
  --kl-white: #fff;
  --kl-content: 1200px;
  --kl-heading: Poppins, "PingFang TC", "Microsoft JhengHei", sans-serif;
  --kl-body-font: Roboto, "PingFang TC", "Microsoft JhengHei", sans-serif;
  --kl-focus: oklch(0.72 0.15 205);
  --z-nav: 20;
  --z-float: 30;
}

* { box-sizing: border-box; }

html {
  background: var(--kl-white);
  color: var(--kl-dark);
  font-family: var(--kl-body-font);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--kl-white);
  color: var(--kl-body);
  font-size: 15px;
  line-height: 1.5;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--kl-focus);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--kl-dark);
  font-family: var(--kl-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.topbar {
  min-height: 40px;
  background: var(--kl-dark-2);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.topbar > div {
  width: min(calc(100% - 40px), var(--kl-content));
  min-height: 40px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-contact { display: flex; align-items: center; gap: 22px; }
.topbar a { min-height: 40px; display: inline-flex; align-items: center; }
.topbar a:hover { color: var(--kl-cyan); }

.site-header {
  width: min(calc(100% - 40px), var(--kl-content));
  min-height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--kl-white);
}

.logo-link { flex: 0 0 158px; }
.brand-logo { width: 150px; max-height: 58px; object-fit: contain; }

.search-link {
  min-height: 44px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 18px;
  border: 1px solid var(--kl-border);
  color: #707070;
}

.search-link b { color: var(--kl-dark); font-size: 24px; font-weight: 400; }

.header-enquiry,
.product-action,
.all-products,
.newsletter > a,
.product-actions a,
.disabled-page a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: var(--kl-cyan);
  color: var(--kl-white);
  font-family: var(--kl-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background-color 180ms ease-out, transform 180ms ease-out;
}

.header-enquiry:hover,
.product-action:hover,
.all-products:hover,
.newsletter > a:hover,
.product-actions a:hover,
.disabled-page a:hover { background: var(--kl-dark); transform: translateY(-1px); }

.menu-toggle { display: none; }

.primary-nav {
  position: relative;
  z-index: var(--z-nav);
  min-height: 54px;
  background: var(--kl-dark);
  color: var(--kl-white);
}

.primary-nav > div {
  width: min(calc(100% - 40px), var(--kl-content));
  min-height: 54px;
  margin: auto;
  display: flex;
  align-items: stretch;
}

.primary-nav a {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  font-family: var(--kl-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.primary-nav a:hover { background: var(--kl-cyan); }

.service-strip { border-bottom: 1px solid var(--kl-border); background: var(--kl-white); }
.service-strip > div {
  width: min(calc(100% - 40px), var(--kl-content));
  min-height: 110px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-strip article {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  border-right: 1px solid var(--kl-border);
}

.service-strip article:first-child { border-left: 1px solid var(--kl-border); }
.service-strip b { color: #c20000; font-size: 25px; }
.service-strip h2 { margin-bottom: 4px; color: #440000; font-size: 16px; }
.service-strip p { margin: 0; color: #707070; font-size: 13px; }

.store-grid {
  width: min(calc(100% - 40px), var(--kl-content));
  margin: 40px auto 80px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.store-sidebar { min-width: 0; }
.store-sidebar > h2 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--kl-border);
  font-size: 22px;
}

.store-sidebar > nav {
  margin-bottom: 26px;
  background: var(--kl-light);
}

.store-sidebar > nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--kl-border);
  color: var(--kl-dark);
  font-family: var(--kl-heading);
  font-size: 14px;
  font-weight: 600;
}

.store-sidebar > nav a:hover { background: var(--kl-orange); color: var(--kl-white); }

.quick-links {
  margin-bottom: 30px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--kl-light);
  color: var(--kl-dark);
  font-family: var(--kl-heading);
  font-weight: 600;
}

.side-banner { display: block; margin-bottom: 34px; overflow: hidden; }
.side-banner img { width: 100%; aspect-ratio: 2.775 / 1; object-fit: cover; }

.brand-grid {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--kl-border);
  border: 1px solid var(--kl-border);
}

.brand-grid img {
  width: 100%;
  height: 84px;
  padding: 16px;
  object-fit: contain;
  background: var(--kl-white);
}

.sidebar-gallery {
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gallery-item { margin: 0; overflow: hidden; background: var(--kl-light); }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 240ms ease-out; }
.gallery-item:hover img { transform: scale(1.035); }

.sidebar-newsletter {
  margin-bottom: 34px;
  padding: 24px;
  background: var(--kl-dark);
  color: var(--kl-white);
}

.sidebar-newsletter h2 { color: var(--kl-white); font-size: 20px; }
.sidebar-newsletter p { color: rgba(255, 255, 255, 0.72); }
.sidebar-newsletter a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 0 16px;
  background: var(--kl-cyan);
  color: var(--kl-white);
  font-weight: 700;
}

.news-card {
  min-height: 100px;
  margin-bottom: 34px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: var(--kl-light);
  color: var(--kl-dark);
  font-family: var(--kl-heading);
  font-weight: 600;
}

.news-card span { color: var(--kl-cyan); font-family: var(--kl-body-font); font-size: 13px; }
.store-sidebar blockquote { margin: 0; padding: 22px; background: var(--kl-light); }
.store-sidebar blockquote p { margin: 0 0 16px; color: var(--kl-dark); }
.store-sidebar blockquote footer { color: #707070; font-size: 13px; }

.store-main { min-width: 0; }
.hero-slider { position: relative; height: 500px; margin-bottom: 40px; overflow: hidden; background: var(--kl-dark); }
.carousel-track, .hero-slide { width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}
.hero-slide[aria-hidden="true"] { display: none; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: rgba(48, 59, 62, 0.34); }
.hero-slide > div {
  position: absolute;
  z-index: 1;
  left: 75px;
  right: 75px;
  bottom: 72px;
  width: min(60%, 540px);
  color: var(--kl-white);
}
.hero-slide--right > div { left: auto; text-align: right; }
.hero-slide p { margin: 0 0 8px; font-family: var(--kl-heading); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-slide h1 { margin-bottom: 22px; color: var(--kl-white); font-size: clamp(34px, 4.2vw, 60px); }
.hero-slide a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; background: var(--kl-white); color: var(--kl-dark); font-family: var(--kl-heading); font-weight: 600; }
.carousel-controls { position: absolute; z-index: 2; right: 22px; bottom: 22px; display: flex; gap: 6px; }
.carousel-controls button { width: 44px; min-height: 44px; border: 0; background: var(--kl-white); color: var(--kl-dark); cursor: pointer; font-size: 24px; }
.carousel-controls button:hover { background: var(--kl-cyan); color: var(--kl-white); }

.feature-trio { margin-bottom: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-trio article { position: relative; min-width: 0; min-height: 280px; overflow: hidden; background: var(--kl-light); }
.feature-trio img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.feature-trio article::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(48, 59, 62, 0.82)); }
.feature-trio article > div { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; color: var(--kl-white); }
.feature-trio span { font-size: 13px; font-weight: 700; }
.feature-trio h2 { margin-top: 4px; color: var(--kl-white); font-size: 21px; }

.catalog-section { margin-bottom: 66px; }
.catalog-section > header, .popular-section > header { margin-bottom: 28px; text-align: center; }
.catalog-section > header h2, .popular-section > header h2 { font-size: 28px; }
.catalog-section > header p, .popular-section > header p { max-width: 680px; margin: 10px auto 0; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { min-width: 0; background: var(--kl-white); box-shadow: 0 8px 8px rgba(0, 0, 0, 0.05); }
.product-photo { display: block; overflow: hidden; background: var(--kl-light); }
.product-photo img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform 220ms ease-out; }
.product-card:hover .product-photo img { transform: scale(1.035); }
.product-card-copy { padding: 16px 16px 20px; text-align: center; }
.product-card-copy p { min-height: 18px; margin: 0 0 7px; color: #777; font-size: 12px; }
.product-card-copy h3 { min-height: 54px; font-size: 14px; line-height: 1.3; }
.product-action { width: 100%; margin-top: 14px; padding: 0 10px; }

.featured-banner {
  min-height: 330px;
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  padding: 56px;
  background-color: #f0a900;
  background-position: center;
  background-size: cover;
}
.featured-banner > div { max-width: 400px; padding: 28px; background: rgba(255, 255, 255, 0.92); }
.featured-banner h2 { font-size: 28px; }
.featured-banner p { margin: 10px 0 0; }
.all-products { margin: 30px auto 0; width: max-content; }

.popular-section > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.popular-section article { position: relative; min-height: 310px; overflow: hidden; background: var(--kl-light); }
.popular-section img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; }
.popular-section article::after { content: ""; position: absolute; inset: 0; background: rgba(48, 59, 62, 0.36); }
.popular-section article > div { position: absolute; z-index: 1; inset: auto 20px 22px; }
.popular-section h3 { margin-bottom: 14px; color: var(--kl-white); font-size: 21px; }
.popular-section span { display: inline-flex; margin: 3px 3px 0 0; padding: 6px 9px; background: var(--kl-light); color: var(--kl-dark); font-size: 12px; }

.newsletter {
  min-height: 230px;
  padding: 52px max(24px, calc((100vw - var(--kl-content)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--kl-dark);
  color: rgba(255, 255, 255, 0.72);
}
.newsletter p { margin: 0 0 7px; color: var(--kl-cyan); font-family: var(--kl-heading); font-weight: 600; }
.newsletter h2 { margin-bottom: 10px; color: var(--kl-white); font-size: 30px; }

.page-hero {
  min-height: 310px;
  padding: 72px max(24px, calc((100vw - var(--kl-content)) / 2));
  background: var(--kl-dark);
  color: rgba(255, 255, 255, 0.75);
}
.page-hero p { margin: 0 0 10px; color: var(--kl-cyan); font-family: var(--kl-heading); font-weight: 600; }
.page-hero h1 { max-width: 900px; color: var(--kl-white); font-size: clamp(34px, 5vw, 56px); }
.page-hero span { display: block; max-width: 760px; margin-top: 18px; }

.category-pills {
  width: min(calc(100% - 40px), var(--kl-content));
  margin: 34px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-pills a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; background: var(--kl-light); color: var(--kl-dark); font-family: var(--kl-heading); font-weight: 600; }
.category-pills a:hover { background: var(--kl-orange); color: var(--kl-white); }
.shop-products { width: min(calc(100% - 40px), var(--kl-content)); margin: 34px auto 86px; }

.product-page {
  width: min(calc(100% - 40px), var(--kl-content));
  margin: 58px auto 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(40px, 7vw, 86px);
}
.product-media > figure { margin: 0; background: var(--kl-light); }
.product-media > figure img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product-thumbs { margin-top: 12px; display: flex; gap: 10px; overflow-x: auto; }
.product-thumb { width: 90px; height: 90px; flex: 0 0 auto; object-fit: contain; background: var(--kl-light); }
.product-info > p { margin: 0 0 12px; color: var(--kl-cyan); font-family: var(--kl-heading); font-weight: 600; }
.product-info h1 { font-size: clamp(30px, 4.2vw, 48px); }
.product-description { max-width: 68ch; margin-top: 24px; color: var(--kl-body); white-space: pre-line; }
.availability { margin-top: 28px; padding: 20px; display: flex; flex-direction: column; gap: 7px; background: var(--kl-light); }
.availability strong { color: var(--kl-dark); }
.product-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.product-actions a:last-child { background: var(--kl-orange); }

.content-page { width: min(calc(100% - 40px), 980px); margin: 60px auto 90px; }
.content-page > header { padding-bottom: 30px; border-bottom: 1px solid var(--kl-border); }
.content-page > header p { margin: 0 0 8px; color: var(--kl-cyan); font-family: var(--kl-heading); font-weight: 600; }
.content-page > header h1 { font-size: clamp(36px, 5vw, 56px); }
.content-body { padding-top: 34px; }
.content-body h2 { margin: 38px 0 14px; font-size: 28px; }
.content-body h3 { font-size: 19px; }
.content-body p, .content-body li { font-size: 16px; line-height: 1.8; }
.content-body figure { margin: 28px 0; }
.content-feature { margin: 22px 0; padding: 22px; background: var(--kl-light); }
.contact-facts { margin-top: 34px; display: grid; gap: 1px; background: var(--kl-border); }
.contact-facts a, .contact-facts address { min-height: 64px; padding: 18px 22px; display: flex; align-items: center; background: var(--kl-light); color: var(--kl-dark); font-style: normal; }

.news-list { width: min(calc(100% - 40px), 900px); margin: 56px auto 90px; }
.news-list article { padding: 28px 0; border-bottom: 1px solid var(--kl-border); }
.news-list article > p { margin: 0 0 8px; color: var(--kl-cyan); font-weight: 700; }
.news-list h2 { margin-bottom: 12px; font-size: 28px; }

.disabled-page { width: min(calc(100% - 40px), 760px); min-height: 520px; margin: auto; padding: 90px 0; text-align: center; }
.disabled-page > span { color: var(--kl-orange); font-family: var(--kl-heading); font-size: 18px; font-weight: 700; }
.disabled-page h1 { margin: 12px 0 20px; font-size: clamp(38px, 6vw, 64px); }
.disabled-page p { max-width: 620px; margin: 0 auto; }
.disabled-page > div { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.site-footer { background: var(--kl-dark-2); color: rgba(255, 255, 255, 0.68); }
.footer-main {
  width: min(calc(100% - 40px), var(--kl-content));
  margin: auto;
  padding: 70px 0 54px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1.15fr 0.85fr;
  gap: 44px;
}
.footer-main section { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-main h2 { margin-bottom: 9px; color: var(--kl-white); font-size: 16px; }
.footer-main a { min-height: 32px; display: inline-flex; align-items: center; }
.footer-main a:hover { color: var(--kl-cyan); }
.footer-main address { max-width: 26ch; font-style: normal; }
.footer-logo { min-height: 44px !important; }
.footer-logo img { width: 180px; filter: brightness(0) invert(1); }
.footer-main section:first-child p { margin: 8px 0 0; }
.footer-bottom { min-height: 58px; padding: 12px max(20px, calc((100vw - var(--kl-content)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; }

.floating-contact {
  position: fixed;
  z-index: var(--z-float);
  right: 20px;
  bottom: 20px;
  width: 52px;
  min-height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d35151;
  color: var(--kl-white);
  font-size: 20px;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.18);
}

@media (max-width: 1023px) {
  .service-strip { display: none; }
  .site-header { min-height: 76px; gap: 18px; }
  .logo-link { flex-basis: 120px; }
  .brand-logo { width: 110px; }
  .primary-nav a { padding: 0 15px; }
  .store-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .store-sidebar { display: none; }
  .feature-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-trio article, .feature-trio img { min-height: 230px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .popular-section article, .popular-section img { min-height: 270px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  body { font-size: 14px; }
  .topbar > div { width: min(calc(100% - 32px), var(--kl-content)); justify-content: center; text-align: center; }
  .topbar > div > span:first-child { display: none; }
  .topbar-contact a:first-child { display: none; }
  .site-header { width: calc(100% - 32px); min-height: 68px; gap: 12px; }
  .logo-link { flex-basis: 108px; }
  .brand-logo { width: 104px; max-height: 44px; }
  .search-link { flex: 0 0 44px; justify-content: center; padding: 0; border: 0; }
  .search-link span, .header-enquiry { display: none; }
  .menu-toggle { min-width: 52px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; margin-left: auto; border: 1px solid var(--kl-border); background: var(--kl-white); color: var(--kl-dark); font-weight: 700; }
  .primary-nav { display: none; }
  .primary-nav.is-open { display: block; }
  .primary-nav > div { width: 100%; display: flex; flex-direction: column; }
  .primary-nav a { width: 100%; padding: 0 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .service-strip { display: none; }
  .store-grid { width: 100%; margin: 0 auto 60px; }
  .hero-slider { height: 300px; margin-bottom: 30px; }
  .hero-slide > div { left: 30px; right: 30px; bottom: 30px; width: auto; }
  .hero-slide--right > div { left: 30px; text-align: right; }
  .hero-slide h1 { max-width: 15ch; margin-left: 0; font-size: 30px; }
  .hero-slide--right h1 { margin-left: auto; }
  .hero-slide p { font-size: 12px; }
  .carousel-controls { right: 12px; bottom: 12px; }
  .carousel-controls button { width: 44px; }
  .feature-trio, .popular-section > div { padding: 0 16px; grid-template-columns: 1fr; }
  .feature-trio article, .feature-trio img { min-height: 310px; }
  .catalog-section, .popular-section { margin-bottom: 52px; padding: 0 16px; }
  .catalog-section > header h2, .popular-section > header h2 { font-size: 25px; }
  .product-grid { gap: 10px; }
  #featured-products .product-grid { grid-template-columns: 1fr; }
  .product-card-copy { padding: 12px 10px 14px; }
  .product-card-copy h3 { min-height: 64px; font-size: 13px; }
  .product-card-copy p { font-size: 11px; }
  .product-action { min-height: 44px; font-size: 12px; }
  .featured-banner { min-height: 360px; margin: 0 16px 38px; padding: 24px; background-position: 60% center; }
  .featured-banner > div { padding: 22px; }
  .popular-section article, .popular-section img { min-height: 330px; }
  .newsletter { min-height: 300px; padding: 44px 20px; flex-direction: column; align-items: flex-start; }
  .newsletter h2 { font-size: 25px; }
  .page-hero { min-height: 280px; padding: 56px 20px; }
  .page-hero h1 { font-size: 34px; }
  .category-pills, .shop-products, .product-page, .content-page, .news-list { width: calc(100% - 32px); }
  .category-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .category-pills a { flex: 0 0 auto; }
  .shop-products { margin-bottom: 64px; }
  .product-page { margin: 30px auto 64px; grid-template-columns: 1fr; gap: 32px; }
  .product-info h1 { font-size: 30px; }
  .product-actions a { flex: 1 1 180px; }
  .content-page { margin: 44px auto 64px; }
  .content-page > header h1 { font-size: 36px; }
  .content-body h2 { font-size: 24px; }
  .footer-main { width: calc(100% - 32px); padding: 54px 0 40px; grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { padding: 18px 16px; flex-direction: column; align-items: flex-start; }
  .floating-contact { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
