/* ================================================================
   SLH TUTA (M) MARKETING SDN. BHD. — Global Stylesheet
   Aesthetic: Minimal luxury traditional Chinese
   Palette: Red #EC1B25 · White #FFFFFF · Near-black #1A1A1A
   ================================================================ */

/* ── Reset & Variables ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red:          #EC1B25;
  --red-hover:    #C8161F;
  --white:        #FFFFFF;
  --black:        #1A1A1A;
  --text:         #1A1A1A;
  --text-muted:   #666666;
  --bg:           #FFFFFF;
  --bg-alt:       #FAFAFA;
  --border:       #E5E5E5;

  --font-heading: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
  --font-zh:      'Noto Serif SC', Georgia, serif;
  --font-body:    Arial, Helvetica, sans-serif;

  --nav-h:        80px;
  --max-w:        1200px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Utility ── */
.chinese-serif { font-family: var(--font-zh); }

/* ================================================================
   NAVIGATION
   ================================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-h);
  gap: 1rem;
}

/* Logo */
.nav-logo { flex-shrink: 0; }
.nav-logo img {
  height: 64px;
  width: auto;
  display: block;
}

/* Text branding (used on homepage) */
.nav-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}
.nav-brand-badge {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  padding: 0.25rem 0.5rem;
  line-height: 1.2;
}
.nav-brand-zh {
  font-family: var(--font-zh);
  font-size: 1.3125rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

/* Links (desktop) — absolutely centred inside .nav-inner */
.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* nav-inner needs relative so the absolute centre works */
.nav-inner { position: relative; }

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.15s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--red); }

/* Actions (lang + CTA) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-left: auto;   /* pushes actions to the far right */
}

.lang-btn {
  background: none;
  border: 1.5px solid var(--text);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.lang-btn:hover {
  background: var(--text);
  color: var(--white);
}

.btn-wa-nav {
  display: none;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1.125rem;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn-wa-nav:hover { background: var(--red-hover); }
@media (min-width: 768px) { .btn-wa-nav { display: inline-block; } }

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .nav-hamburger { display: none; } }

.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }

.nav-mobile a {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s, background 0.15s;
}
.nav-mobile a:hover { color: var(--red); background: var(--bg-alt); }

.nav-mobile .mobile-wa {
  background: var(--red);
  color: var(--white) !important;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-bottom: none;
}
.nav-mobile .mobile-wa:hover { background: var(--red-hover) !important; }

/* ================================================================
   BUTTONS
   ================================================================ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

/* ================================================================
   SECTION LABEL / HEADING PATTERN
   ================================================================ */

.section-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--text);
  line-height: 1.2;
}

.section-title-zh {
  font-family: var(--font-zh);
  font-size: clamp(1.35rem, 3vw, 2rem);
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.red-bar {
  width: 40px;
  height: 3px;
  background: var(--red);
  margin: 1.25rem 0 2rem;
}

/* ================================================================
   HERO — Homepage (text left · image right)
   ================================================================ */

.hero {
  position: relative;
  display: flex;
  background: var(--bg);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* Subtle dot texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #1a1a1a 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* ── Text column — always on top, left-aligned on desktop ── */
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 5rem 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-content {
    width: 56%;
    padding: 6rem 4rem 6rem 5%;
    text-align: left;
  }
}

@media (min-width: 1200px) {
  .hero-content {
    padding-left: calc((100vw - var(--max-w)) / 2 + 1.5rem);
  }
}

/* ── Background image (full-bleed, with white wash) ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15) saturate(0.75);
}

/* White wash over background */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
}

/* ── Framed card — below text on mobile, absolute right panel on desktop ── */

/* Mobile: in-flow block below hero text */
.hero-img {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 1.5rem 2.5rem;
}

/* Desktop: absolute panel on the right */
@media (min-width: 768px) {
  .hero-img {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 38%;
    max-width: 440px;
    padding: 0;
  }
}

@media (min-width: 1200px) {
  .hero-img {
    right: calc((100vw - var(--max-w)) / 2 + 1.5rem);
  }
}

/* White frame with red offset shadow */
.hero-img-frame {
  width: 100%;
  background: var(--white);
  padding: 10px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    8px 8px 0 var(--red),
    0 16px 48px rgba(0,0,0,0.2);
}

.hero-img-frame img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px) {
  .hero-img-frame img {
    height: 400px;
  }
}

/* Hero section: column on mobile so image stacks below text */
.hero {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    align-items: center;
    min-height: 88vh;
  }
}

/* Small red eyebrow label */
.hero-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 2.5rem;
}

/* Stacked bilingual headline */
.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.hero-headline .hero-en {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  color: var(--text);
  line-height: 1.15;
}

.hero-headline .hero-zh {
  font-family: 'Noto Serif SC', Georgia, serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  color: var(--text);
  line-height: 1.2;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .hero-ctas { justify-content: flex-start; }
}

/* Hero buttons */
.btn-hero-primary {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn-hero-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

.btn-hero-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}
.btn-hero-outline:hover {
  background: var(--text);
  color: var(--white);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text);
  opacity: 0.25;
  font-size: 1.75rem;
  line-height: 1;
  animation: hero-bounce 1.6s ease-in-out infinite;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-scroll { left: 28%; }
}

@keyframes hero-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ================================================================
   MARQUEE TICKER
   ================================================================ */

.marquee-strip {
  background: var(--red);
  overflow: hidden;
  padding: 0.75rem 0;
}

.marquee-track {
  display: flex;
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 45s linear infinite;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.marquee-inner .sep {
  padding: 0 1.5rem;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-inner { animation: none; }
}

/* ================================================================
   HIGHLIGHTS — 3 columns
   ================================================================ */

.highlights {
  padding: 5rem 1.5rem;
  background: var(--bg);
}

.highlights-header {
  text-align: left;
  max-width: var(--max-w);
  margin: 0 auto 3.5rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .highlights-grid { grid-template-columns: repeat(3, 1fr); }
}

.highlight-item {
  background: var(--white);
  padding: 2.5rem 2rem;
  text-align: left;
}

/* Grey box icon — turns red on hover */
.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--bg-alt);
  margin-bottom: 1.75rem;
  transition: background 0.25s;
}

.highlight-item:hover .highlight-icon {
  background: var(--red);
}

.highlight-icon svg {
  width: 26px; height: 26px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s;
}

.highlight-item:hover .highlight-icon svg {
  stroke: var(--white);
}

.highlight-en {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.highlight-zh {
  font-family: var(--font-zh);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.highlight-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 28ch;
}

/* ================================================================
   ABOUT SNIPPET
   ================================================================ */

.about-snippet {
  padding: 5rem 1.5rem;
  background: var(--bg-alt);
  overflow: hidden;
}

.about-snippet-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-snippet-inner { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

/* Image column with card stack */
.about-snippet-img {
  position: relative;
}

.about-snippet-img-corner {
  display: none;
  position: absolute;
  top: -12px;
  left: -12px;
  width: 80px;
  height: 80px;
  border-left: 2px solid rgba(236, 27, 37, 0.25);
  border-top: 2px solid rgba(236, 27, 37, 0.25);
  pointer-events: none;
  z-index: 1;
}

/* ── Card stack (auto-shuffle) ── */
.about-card-stack {
  position: relative;
  width: 100%;
  height: 480px;
}

.stack-card {
  position: absolute;
  inset: 0;
  background: var(--white);
  padding: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 3-card shuffle — 12s total cycle, each card offset by 4s */
.stack-card-1 { animation: card-to-front 12s ease-in-out infinite; animation-delay:  0s; }
.stack-card-2 { animation: card-to-front 12s ease-in-out infinite; animation-delay: -4s; }
.stack-card-3 { animation: card-to-front 12s ease-in-out infinite; animation-delay: -8s; }

@keyframes card-to-front {
  0%, 5% {
    transform: rotate(-2.5deg) translateY(-10px) scale(1.02);
    box-shadow: 0 14px 36px rgba(0,0,0,0.2), 6px 6px 0 var(--red);
    z-index: 4;
  }
  18% {
    transform: rotate(-2.5deg) translateY(-10px) scale(1.02);
    box-shadow: 0 14px 36px rgba(0,0,0,0.2), 6px 6px 0 var(--red);
    z-index: 4;
  }
  28%, 90% {
    transform: rotate(2deg) translateY(5px) scale(0.96);
    box-shadow: 0 3px 12px rgba(0,0,0,0.09);
    z-index: 1;
  }
  100% {
    transform: rotate(-2.5deg) translateY(-10px) scale(1.02);
    box-shadow: 0 14px 36px rgba(0,0,0,0.2), 6px 6px 0 var(--red);
    z-index: 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stack-card-1, .stack-card-2, .stack-card-3 { animation: none; }
  .stack-card-1 { transform: rotate(-2deg) translateY(-8px); z-index: 3; }
  .stack-card-2 { transform: rotate(1.5deg) translateY(2px);  z-index: 2; }
  .stack-card-3 { transform: rotate(2.5deg) translateY(6px);  z-index: 1; }
}

/* "Est. 2014" badge overlaid on image */
.about-snippet-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--red);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.about-snippet-badge .badge-num {
  font-family: var(--font-body);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}
.about-snippet-badge .badge-label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.5;
}

.about-snippet-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 1rem;
}
.about-snippet-text p.zh {
  font-family: var(--font-zh);
  color: var(--text-muted);
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--red);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1.25rem;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
  transition: opacity 0.15s;
}
.learn-more:hover { opacity: 0.7; }

/* Mobile: reduce card stack height */
@media (max-width: 767px) {
  .about-card-stack { height: 280px; }
}

/* Stats sidebar (desktop only, replaces image column on smaller pages) */
.about-snippet-aside {
  border-top: 3px solid var(--red);
  padding-top: 2rem;
}
@media (min-width: 768px) {
  .about-snippet-aside {
    border-top: none;
    border-left: 3px solid var(--red);
    padding-top: 0;
    padding-left: 2.5rem;
  }
}

.about-stat {
  margin-bottom: 2rem;
}
.about-stat .stat-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.35rem;
}
.about-stat .stat-value {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  color: var(--text);
}

/* ================================================================
   CATEGORY GRID
   ================================================================ */

.categories {
  padding: 5rem 1.5rem;
  background: var(--bg-alt);
}

/* The .section-label and .section-title inside categories go inside .categories-header-text */

.categories-header {
  max-width: var(--max-w);
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.categories-header-text { flex: 1; }

/* Vertical red seal — hidden on mobile */
.categories-seal {
  display: none;
  flex-shrink: 0;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-zh);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--red);
  background: var(--white);
  border: 1.5px solid var(--red);
  padding: 0.5rem 0.375rem;
  letter-spacing: 0.05em;
  line-height: 1;
  align-self: flex-start;
}
@media (min-width: 768px) { .categories-seal { display: block; } }

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (min-width: 600px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); }
}

.cat-card {
  background-color: #f0f0ee;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 1.625rem 1.25rem 1.375rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  text-decoration: none;
}

/* Gradient scrim: readable label at bottom, clear image at top */
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.04) 0%,
    rgba(0,0,0,0.04) 50%,
    rgba(0,0,0,0.55) 100%
  );
  transition: background 0.28s ease;
}
.cat-card:hover::before {
  background: rgba(210, 15, 22, 0.74);
}

.cat-card .cat-num {
  position: absolute;
  top: 0.375rem; right: 0.75rem;
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.cat-card .cat-en {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.4;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.cat-card .cat-zh {
  font-family: var(--font-zh);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0.3rem;
  position: relative;
  z-index: 1;
}

/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */

.page-hero {
  padding: 4rem 1.5rem 3.5rem;
  border-bottom: 3px solid var(--red);
  position: relative;
  overflow: hidden;
  /* Linen weave: horizontal threads + vertical threads + diagonal shimmer + warm base */
  background-color: #deb8b8;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.18) 2px,
      rgba(255,255,255,0.18) 3px,
      transparent 3px,
      transparent 5px,
      rgba(0,0,0,0.04) 5px,
      rgba(0,0,0,0.04) 6px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.12) 2px,
      rgba(255,255,255,0.12) 3px,
      transparent 3px,
      transparent 5px,
      rgba(0,0,0,0.03) 5px,
      rgba(0,0,0,0.03) 6px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.05) 0px,
      rgba(255,255,255,0.05) 1px,
      transparent 1px,
      transparent 10px
    ),
    linear-gradient(160deg, #f0cccc 0%, #e2b8b8 35%, #d8b0b0 65%, #cfa8a8 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Vignette — darkens edges slightly for depth */
  background: radial-gradient(ellipse at 60% 50%, transparent 50%, rgba(180,90,90,0.12) 100%);
  pointer-events: none;
  z-index: 0;
}

.page-hero .container { max-width: var(--max-w); position: relative; z-index: 1; }

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 4rem);
  color: var(--text);
  line-height: 1.1;
}

.page-subtitle {
  font-family: var(--font-zh);
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ================================================================
   CATALOGUE PAGE
   ================================================================ */

/* Search bar */
.cat-search-wrap {
  margin-top: 2rem;
  display: flex;
  max-width: 480px;
}

.cat-search-wrap input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-right: none;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  background: var(--white);
  transition: border-color 0.15s;
  -webkit-appearance: none;
  border-radius: 0;
}
.cat-search-wrap input:focus { border-color: var(--red); }

.cat-search-wrap button {
  padding: 0.75rem 1.25rem;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.875rem;
  font-family: var(--font-body);
  transition: background 0.15s;
}
.cat-search-wrap button:hover { background: var(--red-hover); border-color: var(--red-hover); }

/* Filter / Jump bar */
.filter-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--red) var(--border);
}
.filter-bar::-webkit-scrollbar { height: 3px; }
.filter-bar::-webkit-scrollbar-track { background: var(--border); }
.filter-bar::-webkit-scrollbar-thumb { background: var(--red); }

.filter-bar-inner {
  display: flex;
  align-items: stretch;
  white-space: nowrap;
  padding: 0 1.5rem;
  gap: 0;
  min-width: max-content;
}

.filter-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.875rem 1.125rem;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.filter-btn:hover,
.filter-btn.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* Catalogue sections */
.cat-sections {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.cat-section {
  margin-bottom: 3rem;
  scroll-margin-top: calc(var(--nav-h) + 58px);
}

/* (old duplicate removed — see redesigned block below) */

.cat-section-body {
  border: 1px solid var(--border);
  border-top: none;
  padding: 2rem 1.5rem;
  background: var(--white);
}

.cat-placeholder {
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.cat-placeholder .zh-p {
  font-family: var(--font-zh);
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9375rem;
}

/* No results */
.no-results {
  display: none;
  padding: 3rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ================================================================
   PRODUCT CATALOGUE — CARDS
   ================================================================ */

/* ── Category section header — redesigned banner ── */

/* Counter increments on each .cat-section */
.cat-sections { counter-reset: cat; }
.cat-section   { counter-increment: cat; }

.cat-section-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.5rem 1.125rem 1.25rem;
  margin-bottom: 1.75rem;
  background: linear-gradient(100deg, #f5e6e6 0%, #fafafa 100%);
  border-left: 5px solid #8B0F16;
  overflow: hidden;
}

/* Ghost number watermark via CSS counter */
.cat-section-header::before {
  content: counter(cat, decimal-leading-zero);
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: #8B0F16;
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}

.cat-section-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  position: relative;
  z-index: 1;
}

.cat-h-en {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.cat-h-zh {
  font-family: var(--font-zh);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cat-count {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8B0F16;
  border: 1.5px solid #8B0F16;
  padding: 0.25rem 0.7rem;
  white-space: nowrap;
}

/* Category description text */
.cat-section-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 780px;
  margin-bottom: 2rem;
}

/* Product grid */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) {
  .prod-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (min-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

/* Product card */
.prod-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.prod-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  border-color: rgba(236,27,37,0.25);
  transform: translateY(-2px);
}

/* Image area */
.prod-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 0.35s;
}
.prod-card:hover .prod-img-wrap img { transform: scale(1.04); }

/* Placeholder when no image */
.prod-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
}
.prod-img-placeholder span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--border);
}

/* Card body */
.prod-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1rem 1.25rem;
  gap: 0.35rem;
}
.prod-sku {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.prod-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.prod-spec {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.1rem;
}
.prod-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-top: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Enquiry button */
.btn-enquire {
  margin-top: 0.875rem;
  width: 100%;
  padding: 0.625rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-enquire:hover {
  background: var(--red);
  color: var(--white);
}

/* Mobile: 2-column grid minimum */
@media (max-width: 479px) {
  .prod-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .prod-body { padding: 0.75rem 0.75rem 1rem; }
  .prod-name { font-size: 0.8125rem; }
  .prod-desc { -webkit-line-clamp: 2; }
}

/* ================================================================
   ABOUT PAGE
   ================================================================ */

.about-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}
@media (min-width: 768px) {
  .about-main {
    grid-template-columns: 1.75fr 1fr;
    gap: 5rem;
    align-items: start;
  }
}

.about-body p {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.about-body p.zh-para {
  font-family: var(--font-zh);
  color: var(--text-muted);
}

.about-sidebar {
  border-top: 3px solid var(--red);
  padding-top: 2rem;
}
@media (min-width: 768px) {
  .about-sidebar {
    border-top: none;
    border-left: 3px solid var(--red);
    padding-top: 0;
    padding-left: 2.5rem;
  }
}

.sidebar-detail {
  margin-bottom: 2rem;
}
.sidebar-detail .s-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}
.sidebar-detail .s-value {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.6;
}

.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px; height: 88px;
  border: 2.5px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--font-zh);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */

/* ── Contact page hero ── */
.contact-page-hero {
  border-bottom: 3px solid var(--red);
  overflow: hidden;
  position: relative;
  background-color: #deb8b8;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.18) 2px,
      rgba(255,255,255,0.18) 3px,
      transparent 3px,
      transparent 5px,
      rgba(0,0,0,0.04) 5px,
      rgba(0,0,0,0.04) 6px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.12) 2px,
      rgba(255,255,255,0.12) 3px,
      transparent 3px,
      transparent 5px,
      rgba(0,0,0,0.03) 5px,
      rgba(0,0,0,0.03) 6px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.05) 0px,
      rgba(255,255,255,0.05) 1px,
      transparent 1px,
      transparent 10px
    ),
    linear-gradient(160deg, #f0cccc 0%, #e2b8b8 35%, #d8b0b0 65%, #cfa8a8 100%);
}
.contact-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, transparent 50%, rgba(180,90,90,0.12) 100%);
  pointer-events: none;
  z-index: 0;
}
.contact-page-hero-inner { position: relative; z-index: 1; }

.contact-page-hero-inner {
  display: flex;
  align-items: stretch;
  min-height: 220px;
  gap: 0;
}

.contact-page-hero-text {
  flex: 1;
  padding: 3.5rem 0 3rem;
}

.contact-page-hero-text .page-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
}

.contact-page-hero-text .page-subtitle {
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  color: var(--text-muted);
}

/* Decorative image panel — right side of hero */
.contact-page-hero-deco {
  display: none;
  position: relative;
  width: 280px;
  flex-shrink: 0;
  overflow: hidden;
}
@media (min-width: 768px) { .contact-page-hero-deco { display: block; } }

.contact-page-hero-deco img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: grayscale(1);
}

/* Vertical red bar on the right edge of the deco panel */
.deco-bar {
  position: absolute;
  top: 0; right: 0;
  width: 6px;
  height: 100%;
  background: var(--red);
}

/* ── Contact layout ── */
.contact-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}
@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 6rem; }
}

/* Info blocks */
.info-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2.25rem;
}

.info-block .info-icon {
  color: var(--red);
  flex-shrink: 0;
  width: 22px;
  margin-top: 2px;
}
.info-block .info-icon svg {
  width: 22px; height: 22px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-block .info-inner .i-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.3rem;
}
.info-block .info-inner .i-value {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}
.info-block .info-inner .i-value a { color: var(--text); }
.info-block .info-inner .i-value a:hover { color: var(--red); }

.btn-wa-big {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--red);
  color: var(--white);
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  transition: background 0.15s;
  margin-top: 1.5rem;
}
.btn-wa-big:hover { background: var(--red-hover); }

.btn-wa-big svg {
  width: 22px; height: 22px;
  fill: var(--white);
  flex-shrink: 0;
}

/* Maps */
.maps-embed-wrap {
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  overflow: hidden;
  line-height: 0;
}
.maps-embed-wrap iframe {
  width: 100%;
  height: 280px;
  display: block;
  border: none;
}
@media (min-width: 768px) {
  .maps-embed-wrap iframe { height: 360px; }
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: none;
  border-bottom: 2px solid var(--border);
  padding: 0.75rem 0;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text);
  background: transparent;
  outline: none;
  transition: border-color 0.15s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--red); }

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%231A1A1A' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 1.5rem;
  cursor: pointer;
}

.form-group select option { color: var(--text); background: var(--white); }

/* 2-column form row (Name+Email, Phone+Company) */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* Full-width red submit button */
.btn-contact-submit {
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: none;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1.125rem 2rem;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 0.5rem;
}
.btn-contact-submit:hover { background: var(--red-hover); }
.btn-contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-msg {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: var(--font-body);
}
.form-msg--success { background: #edfaf1; color: #1a6634; border: 1px solid #a8dab5; }
.form-msg--error   { background: #fdf0f0; color: #8B0F16; border: 1px solid #f5b8b8; }

/* Honeypot — invisible to real users, bots fill it and get silently dropped */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Direct Inquiry dark box */
.direct-inquiry-box {
  background: var(--black);
  padding: 2rem;
  margin-top: 2.5rem;
}

.direct-inquiry-box .section-label {
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.75rem;
}

.direct-inquiry-box p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.btn-wa-direct {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem 1.5rem;
  transition: background 0.15s;
}
.btn-wa-direct:hover { background: var(--red-hover); }
.btn-wa-direct svg {
  width: 18px; height: 18px;
  fill: var(--white);
  flex-shrink: 0;
}

/* ── Contact Map section ── */
.contact-map-section {
  padding: 0 1.5rem 5rem;
}

.contact-map-card {
  max-width: var(--max-w);
  margin: 0 auto;
  border: 1px solid var(--border);
  overflow: hidden;
}

.contact-map-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.contact-map-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0.125rem 0;
}

.contact-map-addr {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-map-card .maps-embed-wrap {
  margin-top: 0;
  border: none;
}

/* ================================================================
   FOOTER — Redesigned
   ================================================================ */

.footer { background: #9E0B14; color: var(--white); }

/* ── Brand band (top) ── */
.footer-brand-band {
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: 2.5rem 1.5rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-zh-name {
  font-family: var(--font-zh);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  line-height: 1;
  flex-shrink: 0;
}

.footer-brand-divider {
  width: 2px;
  height: 3rem;
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}
@media (max-width: 480px) { .footer-brand-divider { display: none; } }

.footer-en-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.footer-tagline-text {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.88);
  margin-top: 0.25rem;
  letter-spacing: 0.03em;
}

/* ── 3-column body ── */
.footer-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.footer-cols > :last-child {
  grid-column: 1 / -1;
}
@media (min-width: 1024px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .footer-cols > :last-child { grid-column: auto; }
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

/* Nav links col */
.footer-col-nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-col-nav a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.95);
  transition: color 0.15s;
}
.footer-col-nav a:hover { color: var(--white); }

/* Contact col */
.footer-col-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.f-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.5;
}
.f-contact-row a { color: rgba(255,255,255,0.95); }
.f-contact-row a:hover { color: var(--white); }
.f-contact-row .f-icon { flex-shrink: 0; font-style: normal; }

.footer-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  transition: background 0.15s;
  align-self: flex-start;
}
.footer-wa-link:hover { background: rgba(255,255,255,0.22); }

/* Address col */
.footer-col-address address {
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.footer-reg {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* ── Bottom bar ── */
.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.18);
}
.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.125rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
}
@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-bottom-inner a { color: rgba(255,255,255,0.8); text-decoration: underline; }
.footer-bottom-inner a:hover { color: var(--white); }

/* ================================================================
   FLOATING WHATSAPP BUTTON — WhatsApp green
   ================================================================ */

.float-wa {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 900;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
  box-shadow: 0 4px 18px rgba(37,211,102,0.4);
}
.float-wa:hover { background: #20BA5A; transform: scale(1.06); }
.float-wa svg { width: 28px; height: 28px; fill: var(--white); }

/* ================================================================
   FADE-IN ANIMATION (Scroll reveal)
   ================================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* Stagger delays */
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ================================================================
   UTILITY CLASSES
   ================================================================ */

.text-center { text-align: center; }
.text-red    { color: var(--red); }
.text-muted  { color: var(--text-muted); }
.mt-sm       { margin-top: 1rem; }
.mt-md       { margin-top: 2rem; }
.mt-lg       { margin-top: 3rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ================================================================
   CART ICON — in Nav
   ================================================================ */

.cart-icon-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  padding: 0.375rem;
  transition: color 0.15s;
}
.cart-icon-btn:hover { color: var(--red); }
.cart-icon-btn svg {
  width: 22px; height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-badge {
  position: absolute;
  top: -2px; right: -4px;
  background: var(--red);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  font-family: var(--font-body);
  line-height: 1;
}
.cart-badge.has-items { display: flex; }

/* ================================================================
   CART SIDEBAR + OVERLAY
   ================================================================ */

.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1100;
}
.cart-overlay.open { display: block; }

.cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 100vw);
  height: 100dvh;
  background: var(--white);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 2px solid var(--red);
  flex-shrink: 0;
}

.cart-header-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--text);
}
.cart-header-title .zh {
  font-family: var(--font-zh);
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.cart-close {
  background: none;
  border: 1.5px solid var(--border);
  width: 32px; height: 32px;
  cursor: pointer;
  font-size: 1.125rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, color 0.15s;
}
.cart-close:hover { border-color: var(--red); color: var(--red); }

/* Cart item list */
.cart-items-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.cart-empty-msg {
  text-align: center;
  padding: 3rem 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.cart-empty-msg .cart-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.4;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.cart-item-text { flex: 1; min-width: 0; }
.cart-item-name {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-cat {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

.cart-qty-btn {
  width: 28px; height: 28px;
  background: none;
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}
.cart-qty-btn:hover { border-color: var(--red); color: var(--red); }

.cart-item-qty {
  font-weight: 700;
  font-size: 0.9375rem;
  min-width: 1.75rem;
  text-align: center;
}

.cart-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.25rem;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.15s;
  margin-left: 0.25rem;
}
.cart-remove:hover { color: var(--red); }

/* Cart footer */
.cart-foot {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  flex-shrink: 0;
}

.cart-foot-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cart-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  background: #25D366;
  color: var(--white);
  border: none;
  padding: 0.9375rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s;
}
.cart-wa-btn:hover { background: #20BA5A; }
.cart-wa-btn:disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
}
.cart-wa-btn svg { width: 22px; height: 22px; fill: var(--white); flex-shrink: 0; }

.cart-clear-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8125rem;
  cursor: pointer;
  padding: 0.625rem 0 0;
  text-align: center;
  transition: color 0.15s;
}
.cart-clear-btn:hover { color: var(--red); }

/* Add to cart button (on product cards) */
.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1.5px solid var(--red);
  color: var(--red);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  margin-top: 1rem;
}
.btn-add-cart:hover {
  background: var(--red);
  color: var(--white);
}

/* ================================================================
   PRODUCT DETAIL MODAL
   ================================================================ */

.prod-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.65);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.2s;
}
.prod-modal-overlay[hidden] { display: none; }
.prod-modal-overlay.is-open { opacity: 1; }

.prod-modal {
  background: var(--white);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.25s;
}
.prod-modal-overlay.is-open .prod-modal { transform: translateY(0); }

.prod-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}
.prod-modal-close:hover { color: var(--red); }

.prod-modal-inner {
  display: flex;
  flex-direction: column;
}
@media (min-width: 540px) {
  .prod-modal-inner { flex-direction: row; }
}

.prod-modal-img-wrap {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  overflow: hidden;
}
@media (min-width: 540px) {
  .prod-modal-img-wrap { width: 240px; }
}

.prod-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  display: block;
}

.prod-modal-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--border);
}

.prod-modal-body {
  padding: 2rem 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.prod-modal-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  padding-right: 2rem;
}

.prod-modal-spec {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-left: 2px solid var(--red);
}

.prod-modal-desc {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.75;
  margin-top: 0.5rem;
  flex: 1;
}

.prod-modal-enquire {
  margin-top: 1.25rem;
  align-self: flex-start;
  padding: 0.625rem 1.5rem;
}

/* Lock body scroll when modal open */
body.modal-open { overflow: hidden; }

/* ================================================================
   Bilingual visibility — controlled by html.lang-en / html.lang-zh
   set by lang.js on every language change and page load
   ================================================================ */

/* EN mode: hide Chinese-only elements */
html.lang-en .hero-zh,
html.lang-en .highlight-zh,
html.lang-en .cat-zh,
html.lang-en .cat-h-zh,
html.lang-en .section-title-zh,
html.lang-en .footer-zh-name,
html.lang-en .seal { display: none !important; }

/* ZH mode: hide English-only elements */
html.lang-zh .hero-en,
html.lang-zh .highlight-en,
html.lang-zh .cat-en,
html.lang-zh .cat-h-en { display: none !important; }

/* ZH mode: .cat-zh takes over bottom-anchor position from hidden .cat-en */
html.lang-zh .cat-card .cat-zh {
  margin-top: auto;
}
