/* Heng Jaya Trading â€” classic, boxed company website. */
:root {
  color-scheme: light;
  --burgundy: #792d2b;
  --burgundy-dark: #602221;
  --gold: #b59a62;
  --ink: #36352f;
  --muted: #6b675e;
  --line: #cfc8b9;
  --paper: #fffefa;
  --cream: #f3f0e7;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body {
  margin: 0;
  padding: 30px 24px;
  background: repeating-linear-gradient(90deg, #e6e3db 0, #e6e3db 2px, #e9e6de 2px, #e9e6de 4px);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--burgundy); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid #b07613; outline-offset: 4px; }
p, h1, h2, h3, dl, dd { margin: 0; }
.website {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  border: 1px solid #b8b0a1;
  border-top: 5px solid var(--burgundy);
  background: var(--paper);
  box-shadow: 0 2px 9px #3f392218;
}
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 10; padding: 10px 18px; background: #fff; }
.skip-link:focus { top: 10px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px 32px 29px; }
.brand { display: flex; align-items: center; gap: 17px; color: var(--burgundy); text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: var(--burgundy);
  border: 5px double #f4e7c9;
  outline: 1px solid var(--burgundy);
  color: #fff9eb;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -3px;
  padding-right: 3px;
}
.brand-name { font-family: Georgia, 'Times New Roman', serif; font-size: 34px; font-weight: 700; line-height: 1.12; letter-spacing: .02em; }
.brand-trading { display: block; margin-top: 8px; padding-top: 5px; border-top: 1px solid #c9b898; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 400; letter-spacing: .42em; }
.masthead-details { text-align: right; font-size: 14px; line-height: 1.7; color: var(--muted); }
.masthead-country { font-size: 14px; letter-spacing: .16em; color: var(--burgundy); font-weight: 700; }
.main-navigation { display: grid; grid-template-columns: repeat(4, 1fr); background: linear-gradient(#873a36, #702927); border-top: 1px solid #5d2523; border-bottom: 3px solid var(--gold); }
.main-navigation a { display: flex; align-items: center; justify-content: center; padding: 11px 12px; border-right: 1px solid #a66059; color: #fffaf0; text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.6; }
.main-navigation a:last-child { border-right: 0; }
.main-navigation a.current { color: #652623; background: linear-gradient(#eee2c3, #dfcda5); }
.main-navigation a:hover { background: #57211f; color: #fff; }
.main-navigation a:focus-visible { outline-color: #edc98d; outline-offset: -5px; }
.banner-wrap { margin: 21px 23px 0; }
.banner { display: grid; grid-template-columns: 44% 56%; min-height: 274px; border: 1px solid #cbc3b3; background: #f2eee4; }
.banner-copy { align-self: center; padding: 29px 30px; }
.banner-overline { margin-bottom: 13px; color: #736346; font-size: 12px; font-weight: 700; letter-spacing: .13em; }
.banner-overline span { padding: 0 4px; }
h1 { max-width: 340px; font-family: Georgia, 'Times New Roman', serif; font-size: 36px; font-weight: 400; line-height: 1.2; color: var(--burgundy); }
.banner-rule { display: block; width: 42px; height: 2px; margin: 20px 0 12px; background: var(--gold); }
.banner-byline { font-family: Georgia, 'Times New Roman', serif; font-size: 16px; color: #655641; }
.image-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #e5e2d9; color: #747167; }
.banner-placeholder { margin: 12px; min-height: 244px; border: 1px solid #c7c2b7; outline: 1px solid #f7f5ef; outline-offset: -6px; background: #dfded7; }
.placeholder-cross { font-family: Georgia, 'Times New Roman', serif; font-size: 31px; line-height: 1; font-weight: 400; color: #949082; }
.placeholder-label { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.placeholder-detail { margin-top: 3px; font-size: 13px; }
.banner-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 13px; border: 1px solid #cbc3b3; border-top: 0; background: #ece5d5; color: #685839; font-size: 12px; letter-spacing: .035em; }
.banner-caption span:first-child { font-weight: 700; }
.page-content { display: grid; grid-template-columns: minmax(0, 1fr) 276px; align-items: start; gap: 31px; padding: 30px 27px 32px; }
.main-column, .sidebar { min-width: 0; }
.section-heading { padding-bottom: 9px; margin-bottom: 17px; border-bottom: 1px solid var(--line); position: relative; }
.section-heading::after { position: absolute; bottom: -1px; left: 0; width: 54px; height: 3px; background: var(--burgundy); content: ''; }
h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 24px; line-height: 1.3; font-weight: 400; color: var(--burgundy); }
.welcome-section p { margin-bottom: 13px; }
.welcome-section p:last-child { margin-bottom: 0; }
.products-section { margin-top: 30px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.product { padding: 5px; border: 1px solid #d2cbbc; background: #fcfaf5; }
.product-placeholder { width: 100%; aspect-ratio: 4 / 3; border: 1px solid #d4cfc4; }
.product-placeholder .placeholder-cross { font-size: 26px; }
.product-placeholder .placeholder-label { margin-top: 8px; font-size: 12px; letter-spacing: .04em; }
.product-description { padding: 11px 6px 8px; }
.product-description h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 17px; font-weight: 400; color: var(--burgundy); line-height: 1.35; }
.product-description p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.information-panel { border: 1px solid #c9bfa9; background: #f7f4ec; }
.information-panel h2 { padding: 11px 15px; border-bottom: 1px solid #c9bfa9; background: linear-gradient(#ece4d1, #e3d9c0); color: #5c4930; font-size: 19px; }
.company-facts { padding: 3px 15px; }
.company-facts > div { padding: 10px 0; border-bottom: 1px dotted #c5beaf; }
.company-facts > div:last-child { border-bottom: 0; }
dt { color: var(--muted); font-size: 14px; line-height: 1.5; }
dd { margin-top: 2px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.contact-panel { margin-top: 22px; padding: 0 2px; }
.contact-panel h2 { padding-bottom: 7px; border-bottom: 2px solid var(--burgundy); font-size: 21px; }
.contact-intro { margin-top: 10px; font-size: 14px; color: var(--muted); }
.contact-details { display: grid; gap: 11px; margin-top: 12px; }
.contact-details dt { color: #554b3b; font-weight: 700; }
.contact-details dd { color: var(--muted); }
.address-note { display: block; margin-top: 2px; font-size: 13px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 27px; border-top: 3px solid var(--gold); background: var(--burgundy-dark); color: #f7edda; font-size: 13px; }
.site-footer a { color: #f7edda; font-size: 14px; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (min-width: 851px) {
  .sidebar { border-left: 1px solid #e0dacd; padding-left: 22px; }
}
@media (max-width: 850px) {
  body { padding: 18px 14px; }
  .masthead { padding: 24px; }
  .brand-name { font-size: 29px; }
  .brand-mark { width: 64px; height: 64px; font-size: 31px; }
  .banner-copy { padding: 25px 23px; }
  h1 { font-size: 31px; }
  .page-content { grid-template-columns: 1fr; gap: 28px; padding: 27px 24px; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
  .contact-panel { margin: 0; }
}
@media (max-width: 580px) {
  body { padding: 10px 8px; }
  .masthead { flex-wrap: wrap; gap: 15px; padding: 21px 18px 18px; }
  .brand { gap: 13px; }
  .brand-name { font-size: 28px; }
  .brand-trading { font-size: 13px; }
  .brand-mark { width: 60px; height: 60px; font-size: 30px; }
  .masthead-details { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 13px; width: 100%; text-align: left; }
  .masthead-country { font-size: 12px; }
  .main-navigation { grid-template-columns: repeat(2, 1fr); }
  .main-navigation a { padding: 10px 8px; }
  .main-navigation a:nth-child(2) { border-right: 0; }
  .main-navigation a:nth-child(-n+2) { border-bottom: 1px solid #aa7360; }
  .banner-wrap { margin: 16px 15px 0; }
  .banner { grid-template-columns: 1fr; }
  .banner-copy { padding: 25px 23px 21px; }
  h1 { max-width: 330px; font-size: 34px; }
  .banner-rule { margin: 17px 0 9px; }
  .banner-placeholder { min-height: 165px; margin-top: 0; }
  .banner-caption { flex-wrap: wrap; gap: 2px 12px; padding: 8px 10px; }
  .page-content { padding: 24px 18px; }
  h2 { font-size: 23px; }
  .product-grid { grid-template-columns: 1fr; gap: 12px; }
  .product { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; }
  .product-description { padding: 10px 12px; }
  .product-placeholder { aspect-ratio: 1; }
  .product-placeholder .placeholder-label { font-size: 12px; letter-spacing: 0; }
  .sidebar { grid-template-columns: 1fr; gap: 23px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 8px; padding: 15px 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media print {
  body { padding: 0; background: white; }
  .website { max-width: none; box-shadow: none; }
  .skip-link, .main-navigation, .site-footer a { display: none; }
  .page-content { grid-template-columns: 1fr 240px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product { display: block; }
}