/* katleongfreshmart.com — the owner's Canva Brand Palette (2026): warm ivory, stone beige, charcoal, champagne gold,
   with the logo red; Poppins and Noto Sans CJK as on the wall posters. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/poppins-400.7d93459d86.woff2) format("woff2"); 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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/poppins-500.cd36de204a.woff2) format("woff2"); 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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-600.f4e80d9dfd.woff2) format("woff2"); 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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/poppins-700.9338e65fc0.woff2) format("woff2"); 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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/poppins-800.60bf0aba65.woff2) format("woff2"); 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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ivory: #F8F4EE; --cream: #FAF8F3; --beige: #E9E2D6; --warm-grey: #C8C2BA; --charcoal: #232323; --walnut: #6B5645;
  --gold: #C9A66B; --gold-ink: #8A6A33; --olive: #5D624B; --sage: #8A9473;
  --red: #AD0711; --red-dark: #7F000C; --white: #FFFFFF;
  --ink: var(--charcoal); --ink-2: #5F534A; --line: #E2D9CA;
  --green: #2F7A47; --green-bg: #E3EFE5; --grey-bg: #EEE8DE;
  --radius: 18px; --shadow: 0 1px 2px rgba(35, 35, 35, .05), 0 10px 28px rgba(107, 86, 69, .10);
  --font: "Poppins", "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 100; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(250, 248, 243, .96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: none; margin-left: auto; gap: 2px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--beige); }
.nav a[aria-current="page"] { color: var(--red); }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--gold); border-radius: 2px; margin-top: 2px; }
.lang { display: inline-flex; border: 1.5px solid var(--warm-grey); border-radius: 999px; overflow: hidden; margin-left: 10px; flex: none; }
.lang a, .lang span { font-size: 13px; font-weight: 600; padding: 5px 11px; text-decoration: none; color: var(--ink-2); }
.lang span { background: var(--charcoal); color: var(--white); }
.menu { margin-left: auto; position: relative; }
.menu > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--beige); color: var(--ink); }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary svg { width: 24px; height: 24px; }
.menu[open] > summary { background: var(--charcoal); color: var(--white); }
.menu .panel { position: absolute; right: 0; top: 52px; background: var(--cream); border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 8px; min-width: 230px; display: grid; }
.menu .panel a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 12px 14px; border-radius: 10px; }
.menu .panel a[aria-current="page"] { color: var(--red); background: var(--beige); }
.menu .panel .lang { margin: 8px 6px 4px; justify-self: start; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu { display: none; }
  .brand img { height: 54px; }
  .hdr .wrap { min-height: 80px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; border: 0;
  border-radius: 999px; padding: 13px 24px; cursor: pointer; line-height: 1.2; min-height: 48px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.red { background: var(--red); color: var(--white); }
.btn.red:hover { background: var(--red-dark); }
.btn.white { background: var(--white); color: var(--red); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--charcoal); }
.btn.line:hover { background: var(--charcoal); color: var(--white); }
.btn.wa { background: #1FA855; color: var(--white); }
.btn.small { font-size: 14px; padding: 9px 16px; min-height: 40px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- small gold label above headings (like the wall posters) ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-ink); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }

/* ---------- home: banner ---------- */
.hero { position: relative; overflow: hidden; background: var(--ivory); border-bottom: 1px solid var(--line); }
.hero .bamboo { position: absolute; left: -40px; top: -20px; width: 260px; height: auto; opacity: .55; pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 10px; padding-top: 34px; padding-bottom: 40px; }
.hero h1 { color: var(--red); font-weight: 800; font-size: clamp(34px, 7.2vw, 60px); line-height: 1.06; margin: 14px 0 14px; text-wrap: balance; }
.hero p { font-size: 17px; max-width: 34em; margin: 0 0 24px; color: var(--ink-2); }
.hero .pic { justify-self: center; width: min(100%, 620px); filter: drop-shadow(0 22px 30px rgba(107, 86, 69, .28)); }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 28px; padding-top: 60px; padding-bottom: 68px; }
  .hero .bamboo { width: 340px; left: -30px; }
  .hero p { font-size: 18px; }
}

/* ---------- sections ---------- */
.sec { padding: 60px 0; }
.sec.white { background: var(--cream); }
.sec.beige { background: var(--beige); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.sec-head h2, .page-head h1 { font-weight: 800; font-size: clamp(28px, 5vw, 40px); color: var(--red); }
.sec-head h2::after, .page-head h1::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--gold); margin-top: 14px; }
.sec-head a { font-weight: 700; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.page-head { background: var(--cream); border-bottom: 1px solid var(--line); padding: 44px 0 34px; position: relative; overflow: hidden; }
.page-head p { max-width: 46em; color: var(--ink-2); margin: 16px 0 0; font-size: 17px; }

.highlights { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.hl { background: var(--cream); border-radius: var(--radius); padding: 22px 22px 24px; box-shadow: var(--shadow); position: relative; }
.hl::before { content: ""; position: absolute; left: 22px; top: 0; width: 36px; height: 4px; border-radius: 0 0 4px 4px; background: var(--red); }
.hl h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 6px 0 6px; }
.hl p { margin: 0; color: var(--ink-2); }

/* ---------- pictures: cut-outs sit whole on beige; photos fill their box ---------- */
.tile .img, .cat-top .img, .it .img { position: relative; overflow: hidden; background: var(--beige); }
.tile .img img, .cat-top .img img, .it .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .img img.cut, .cat-top .img img.cut, .it .img img.cut { inset: 7%; width: 86%; height: 86%; object-fit: contain; }
.img img.ph { inset: 28% 32%; width: 36%; height: 44%; object-fit: contain; opacity: .9; }

/* ---------- products ---------- */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.tile { background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s ease; }
.tile:hover { transform: translateY(-2px); }
.tile .img { aspect-ratio: 4 / 3; }
.tile .body { padding: 16px 18px 20px; }
.tile h3 { font-size: 19px; font-weight: 700; color: var(--red); }
.tile p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.cat { padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.cat:first-child { border-top: 0; }
.cat-top { display: grid; gap: 20px; align-items: center; }
.cat-top .img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; max-width: 420px; }
.cat-top h2 { font-weight: 800; font-size: clamp(26px, 4.5vw, 34px); color: var(--red); }
.cat-top p { margin: 8px 0 0; color: var(--ink-2); font-size: 17px; }
@media (min-width: 800px) { .cat-top { grid-template-columns: 360px 1fr; gap: 36px; } }
.items { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); margin-top: 26px; align-items: start; }
.it { background: var(--cream); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.it .img { aspect-ratio: 4 / 3; }
.it .itb { padding: 10px 12px 14px; display: grid; gap: 4px; }
.it b { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.it .itb span { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.it.noimg { border-left: 4px solid var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips a { background: var(--ivory); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.chips a:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }

/* ---------- outlets ---------- */
.outlets { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.ol { background: var(--cream); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 90px; }
.ol .photo { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.ol .body { padding: 20px 20px 22px; display: grid; gap: 12px; flex: 1; align-content: start; }
.ol h3 { font-size: 21px; font-weight: 700; color: var(--red); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ol .code { font-size: 12px; font-weight: 700; background: var(--beige); color: var(--walnut); border-radius: 6px; padding: 2px 8px; }
.ol .note { font-size: 12px; font-weight: 700; background: var(--gold); color: var(--charcoal); border-radius: 6px; padding: 2px 8px; }
.ol .row { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.ol .row svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--gold-ink); }
.ol .row a { color: var(--ink); font-weight: 600; text-decoration: none; }
.hours { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.hours li span:first-child { color: var(--ink-2); }
.hours li span:last-child { font-weight: 600; text-align: right; white-space: nowrap; }
.hours li.off span:last-child { color: var(--red); }
.status { display: none; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; justify-self: start; }
.status.open { display: inline-block; background: var(--green-bg); color: var(--green); }
.status.closed { display: inline-block; background: var(--grey-bg); color: var(--ink-2); }
.ol .btns { margin-top: 6px; }
.ol .btns .btn { flex: 1 1 auto; }
.mini { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.mini a { background: var(--cream); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: grid; gap: 4px; border-top: 3px solid var(--gold); }
.mini b { color: var(--red); font-size: 17px; }
.mini span { color: var(--ink-2); font-size: 14px; }
.mini .status { font-size: 12px; margin-top: 4px; }

/* ---------- member box (Silver free · Premium RM20 a year) ---------- */
.member { background: var(--red); color: var(--white); border-radius: 26px; padding: 34px 24px; display: grid; gap: 22px; position: relative; overflow: hidden; }
.member::after { content: ""; position: absolute; right: -70px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: var(--red-dark); opacity: .7; }
.member > * { position: relative; z-index: 1; }
.member h2 { font-weight: 800; font-size: clamp(26px, 4.6vw, 36px); }
.member .mhead p { margin: 10px 0 0; font-size: 17px; max-width: 36em; color: #FBE9E7; }
.tiers { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tier { background: var(--cream); color: var(--ink); border-radius: 18px; padding: 20px 22px; }
.tier.top { box-shadow: inset 0 0 0 3px var(--gold); }
.tier h3 { font-size: 18px; font-weight: 800; letter-spacing: .02em; }
.tier .price { font-size: 26px; font-weight: 800; color: var(--red); margin: 4px 0 10px; }
.tier.top .price { color: var(--gold-ink); }
.tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tier li { padding-left: 24px; position: relative; font-size: 15px; color: var(--ink-2); }
.tier li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.member .btn.white { justify-self: start; }

/* ---------- about ---------- */
.about { display: grid; gap: 32px; align-items: start; }
.about .text p { margin: 0 0 18px; font-size: 17px; }
.about img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 900px) { .about { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.values { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.val { background: var(--cream); border-radius: 16px; padding: 22px 16px; text-align: center; display: grid; gap: 4px; box-shadow: var(--shadow); }
.val b { font-size: 30px; font-weight: 700; color: var(--red); letter-spacing: .08em; }
.val span { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.val p { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }

/* ---------- footer ---------- */
.ftr { background: var(--charcoal); color: #E9E4DC; padding: 50px 0 110px; font-size: 15px; }
.ftr .grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ftr img.logo { height: 64px; width: auto; }
.ftr h3 { color: var(--gold); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 12px; }
.ftr a { color: var(--white); text-decoration: none; }
.ftr a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr .social { display: flex; gap: 10px; margin-top: 16px; }
.ftr .social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .10); display: flex; align-items: center; justify-content: center; }
.ftr .social svg { width: 20px; height: 20px; }
.ftr .base { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 36px; padding-top: 20px; display: grid; gap: 6px; font-size: 13px; color: #B9B1A6; }
@media (min-width: 900px) { .ftr { padding-bottom: 50px; } }

/* ---------- WhatsApp button ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; background: #1FA855; color: var(--white);
  font-weight: 700; text-decoration: none; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0, 0, 0, .22); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- phones ---------- */
@media (max-width: 599px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile .body { padding: 12px 12px 14px; }
  .tile h3 { font-size: 16px; }
  .tile p { font-size: 13px; line-height: 1.45; }
  .items { grid-template-columns: 1fr 1fr; gap: 10px; }
  .it b { font-size: 14px; }
  .sec { padding: 44px 0; }
  .hero .wrap { padding-top: 26px; padding-bottom: 32px; }
  .hero .bamboo { width: 170px; left: -36px; opacity: .4; }
  .hero p { font-size: 16px; }
  .member { padding: 28px 18px; }
  .val b { font-size: 26px; }
}

/* ---------- preview inside the Management Portal ---------- */
.preview-bar { background: var(--charcoal); color: var(--white); text-align: center; font-size: 13px; font-weight: 600; padding: 6px; }
.is-preview a, .is-preview summary { pointer-events: none; }
.is-preview .wa-float, .is-preview .hdr { position: static; }
