/* CV Danawa Indra Mitra Sentosa — design.md */

/* Inter 500/600 — non-critical, loaded with this stylesheet (async) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter/inter-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter/inter-600.woff2') format('woff2');
}

:root {
  --primary: #BD151B;
  --primary-hover: #A01116;
  --dark: #111111;
  --text: #1F1F1F;
  --muted: #6B7280;
  --border: #E5E7EB;
  --bg: #FFFFFF;
  --bg-page: #0A0A0A;
  --bg-section: #111111;
  --bg-elevated: #1A1A1A;
  --text-on-dark: #FFFFFF;
  --muted-on-dark: #9CA3AF;
  --border-on-dark: rgba(255,255,255,.08);
  --success: #22C55E;
  --container: 1280px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 20px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.35);
  --shadow-card: 0 2px 16px rgba(0,0,0,.25);
  --header-h: 88px;
  --catbar-h: 56px;
  --section-pad: 80px;
  --transition: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg-page); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 600; border-radius: var(--radius-sm);
  border: 1.5px solid transparent; transition: all var(--transition); white-space: nowrap;
}
.btn--primary { background: var(--primary); color: #fff; padding: 14px 28px; height: 48px; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--outline { background: #fff; color: var(--text); border-color: var(--border); padding: 14px 28px; height: 48px; }
.btn--outline:hover { border-color: var(--text); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn--white { background: #fff; color: var(--primary); padding: 14px 28px; height: 48px; }
.btn--white:hover { background: #f9f9f9; }
.btn--sm { padding: 10px 18px; height: 40px; font-size: 14px; }
.btn--wa-full {
  width: 100%; background: var(--primary); color: #fff; padding: 12px 16px;
  font-size: 13px; font-weight: 600; border-radius: 0 0 var(--radius-md) var(--radius-md); gap: 6px;
}
.btn--wa-full:hover { background: var(--primary-hover); }

/* ─── Header ─── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--bg);
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.header-brand {
  background: var(--bg-section);
  border-bottom: 1px solid var(--border-on-dark);
}
.header-brand__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; height: 34px;
  font-size: 12px; letter-spacing: .01em;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.header-brand__inner::-webkit-scrollbar { display: none; }
.header-brand__name { font-weight: 600; color: var(--text-on-dark); white-space: nowrap; }
.header-brand__sep { color: rgba(255,255,255,.28); flex-shrink: 0; }
.header-brand__tagline { font-weight: 400; color: var(--muted-on-dark); white-space: nowrap; }
.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}
.header-main .logo { justify-self: start; }
.header-search-desktop { justify-self: center; width: 100%; max-width: 420px; }
.header-search {
  display: flex; align-items: center; gap: 0;
  width: 100%; height: 52px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #F9FAFB;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.header-search:focus-within {
  background: #fff;
  border-color: rgba(189,21,27,.35);
  box-shadow: 0 0 0 3px rgba(189,21,27,.1);
}
.header-search__icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; flex-shrink: 0; color: var(--muted); pointer-events: none;
}
.header-search__input {
  flex: 1; min-width: 0; border: none; outline: none;
  padding: 0 8px 0 0; font-size: 14px; color: var(--text);
  background: transparent;
}
.header-search__input::placeholder { color: #9CA3AF; }
.header-search__input::-webkit-search-cancel-button { display: none; }
.header-search__clear {
  width: 36px; height: 36px; margin-right: 4px;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 8px; background: transparent;
  color: var(--muted); cursor: pointer; flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.header-search__clear:hover { background: #F3F4F6; color: var(--text); }
.header-search__clear[hidden] { display: none; }
.header-search__submit {
  width: 52px; height: 100%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer; transition: background var(--transition);
}
.header-search__submit:hover { background: var(--primary-hover); }
.header-search-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; color: var(--text);
  cursor: pointer; transition: border-color var(--transition), background var(--transition);
}
.header-search-toggle:hover { border-color: var(--muted); background: #F9FAFB; }
.header-search-panel {
  display: none; padding: 0 0 14px;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.header-search-panel.is-open { display: block; }
.header-right {
  display: flex; align-items: center; gap: 28px; justify-self: end;
}
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a { font-size: 15px; font-weight: 500; color: var(--muted); transition: color var(--transition); }
.header-nav a:hover, .header-nav a.is-active { color: var(--text); }
.logo { display: inline-flex; line-height: 0; flex-shrink: 0; }
.header-main .logo img { height: 56px; width: auto; max-width: none; }
.footer .logo img { height: 48px; width: auto; max-width: none; }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; color: var(--text);
  cursor: pointer; flex-shrink: 0;
  transition: border-color var(--transition), background var(--transition);
}
.menu-toggle:hover { border-color: var(--muted); background: #F9FAFB; }
.menu-toggle__icon--close { display: none; }
.menu-toggle.is-active .menu-toggle__icon--open { display: none; }
.menu-toggle.is-active .menu-toggle__icon--close { display: block; }

.header-mobile-menu {
  display: none; background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 4px 0 16px;
}
.header-mobile-menu.is-open { display: block; }
.header-mobile-menu__nav {
  display: flex; flex-direction: column;
}
.header-mobile-menu__nav a {
  display: block; padding: 14px 0;
  font-size: 16px; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.header-mobile-menu__nav a:hover,
.header-mobile-menu__nav a.is-active { color: var(--primary); }
.header-mobile-menu__wa {
  width: 100%; margin-top: 14px; height: 48px;
}

/* ─── Category Bar ─── */
.category-bar {
  background: var(--primary); height: var(--catbar-h);
}
.category-bar .container {
  display: flex; align-items: center; height: 100%;
  overflow-x: auto; scrollbar-width: none; gap: 0;
}
.category-bar .container::-webkit-scrollbar { display: none; }
.category-bar__all {
  display: flex; align-items: center; gap: 8px;
  color: #fff; font-size: 14px; font-weight: 600;
  padding-right: 20px; margin-right: 8px;
  border-right: 1px solid rgba(255,255,255,.25);
  white-space: nowrap; flex-shrink: 0;
}
.category-bar__links { display: flex; align-items: center; }
.category-bar__links a {
  color: rgba(255,255,255,.92); font-size: 14px; font-weight: 500;
  padding: 0 18px; white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.15);
  height: var(--catbar-h); display: flex; align-items: center;
  transition: color var(--transition);
}
.category-bar__links a:hover { color: #fff; }
.category-bar__links a:last-child { border-right: none; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background-color: #000;
  background-image:
    linear-gradient(
      90deg,
      #000 0%,
      #000 38%,
      rgba(0,0,0,.92) 44%,
      rgba(0,0,0,.65) 50%,
      rgba(0,0,0,.3) 58%,
      rgba(0,0,0,.08) 66%,
      transparent 74%
    ),
    url('/images/hero-bg.jpg');
  background-size: 100% 100%, cover;
  background-position: center, right center;
  background-repeat: no-repeat;
}
@supports (background-image: image-set(url('/images/hero-bg.webp') type('image/webp'))) {
  .hero {
    background-image:
      linear-gradient(
        90deg,
        #000 0%,
        #000 38%,
        rgba(0,0,0,.92) 44%,
        rgba(0,0,0,.65) 50%,
        rgba(0,0,0,.3) 58%,
        rgba(0,0,0,.08) 66%,
        transparent 74%
      ),
      image-set(
        url('/images/hero-bg.webp') type('image/webp'),
        url('/images/hero-bg.jpg') type('image/jpeg')
      );
  }
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  align-items: stretch; min-height: 680px;
}
.hero__content {
  max-width: 520px;
  padding: 120px 24px 160px 48px;
  align-self: start;
}
.hero__badge {
  display: inline-block; font-size: 14px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 20px;
}
.hero__title {
  font-size: 64px; font-weight: 700; line-height: 1.1;
  letter-spacing: -.03em; color: #fff; margin-bottom: 24px;
}
.hero__title em { font-style: normal; color: var(--primary); }
.hero__desc {
  font-size: 18px; line-height: 1.8; color: #E5E7EB;
  max-width: 480px; margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn--hero {
  height: 52px; padding: 0 28px; border-radius: 12px; font-size: 15px;
}
.hero .btn--outline-light {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.3);
}
.hero .btn--outline-light:hover {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); color: #fff;
}
/* ─── Hero Benefit Bar ─── */
.hero__benefit {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 3;
  width: 90%; max-width: calc(var(--container) * 0.9);
}
.hero__benefit .benefit-bar__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px; padding: 24px;
}
.hero__benefit .benefit-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 0 12px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.hero__benefit .benefit-item:last-child { border-right: none; }
.hero__benefit .benefit-item__icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.hero__benefit .benefit-item__text strong {
  display: block; font-size: 14px; font-weight: 600;
  color: #fff; line-height: 1.3; margin-bottom: 2px;
}
.hero__benefit .benefit-item__text span {
  display: block; font-size: 12px; color: rgba(255,255,255,.65); line-height: 1.4;
}

/* ─── Sections ─── */
.section { padding: var(--section-pad) 0; background: var(--bg-page); }
.section--muted { background: var(--bg-section); }
.section-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px; gap: 16px;
}
.section-row h2 { font-size: 36px; font-weight: 700; letter-spacing: -.02em; color: var(--text-on-dark); }
.section-row a { font-size: 15px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.section-row a:hover { opacity: .85; }

/* ─── Category Cards (6 in row) ─── */
.cat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.cat-item {
  text-align: center; transition: transform var(--transition);
}
.cat-item:hover { transform: translateY(-3px); }
.cat-item__card {
  background: #fff; border-radius: var(--radius-md);
  border: none; overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition);
}
.cat-item:hover .cat-item__card { box-shadow: 0 8px 32px rgba(0,0,0,.45); }
.cat-item__img { height: 160px; overflow: hidden; }
.cat-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-item:hover .cat-item__img img { transform: scale(1.04); }
.cat-item__icon-wrap { display: flex; justify-content: center; margin-top: -18px; position: relative; z-index: 1; }
.cat-item__icon {
  width: 36px; height: 36px; background: #fff; border-radius: 50%;
  box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.cat-item__name {
  font-size: 13px; font-weight: 600; color: var(--text);
  padding: 14px 8px 16px; line-height: 1.3; margin: 0;
}

/* ─── Product Cards (6 in row) ─── */
.prod-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.prod-item {
  background: #fff; border: none;
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.prod-item:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,.45); }
.prod-item__img { height: 220px; overflow: hidden; background: var(--bg-elevated); }
.prod-item__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.prod-item:hover .prod-item__img img { transform: scale(1.03); }
.prod-item__body { padding: 16px; flex: 1; }
.prod-item__title { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 4px; }
.prod-item__cat { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.card-price { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.35; }
.card-price__unit { font-size: 11px; font-weight: 500; color: var(--muted); }

/* ─── Consultation Banner ─── */
.consult {
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #8a0e14 100%);
  display: grid; grid-template-columns: 40% 60%; min-height: 280px;
}
.consult__content {
  padding: 48px 40px; display: flex; flex-direction: column; justify-content: center;
}
.consult__title {
  font-size: 28px; font-weight: 700; color: #fff;
  letter-spacing: -.02em; line-height: 1.25; margin-bottom: 24px;
}
.consult__image { position: relative; min-height: 280px; }
.consult__image img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Article Cards (horizontal, 4) ─── */
.article-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.article-item {
  display: flex; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
  box-shadow: var(--shadow-card); transition: box-shadow var(--transition);
}
.article-item:hover { box-shadow: 0 8px 32px rgba(0,0,0,.45); }
.article-item__img {
  width: 110px; height: 88px; border-radius: var(--radius-sm);
  overflow: hidden; flex-shrink: 0; background: var(--bg-elevated);
}
.article-item__img img { width: 100%; height: 100%; object-fit: cover; }
.article-item__tag {
  font-size: 11px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px;
}
.article-item__title {
  font-size: 14px; font-weight: 600; color: var(--text);
  line-height: 1.4; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-item__date { font-size: 12px; color: var(--muted); }

/* ─── Footer Top ─── */
.footer-top {
  padding: 48px 0; background: var(--bg-section);
  border-top: 1px solid var(--border-on-dark);
}
.footer-top__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.footer-top__item { display: flex; gap: 16px; align-items: flex-start; }
.footer-top__icon {
  width: 44px; height: 44px; border: 2px solid var(--primary);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--primary); flex-shrink: 0; font-size: 18px;
}
.footer-top__title { font-size: 14px; font-weight: 700; color: var(--text-on-dark); margin-bottom: 4px; }
.footer-top__item p { font-size: 13px; color: var(--muted-on-dark); line-height: 1.5; }

/* ─── Footer ─── */
.footer {
  padding: 64px 0 32px; background: var(--bg-page);
  border-top: 1px solid var(--border-on-dark);
}
.footer__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  margin-bottom: 48px;
}
.footer__heading {
  font-size: 14px; font-weight: 700; color: var(--text-on-dark);
  margin-bottom: 20px; letter-spacing: -.01em;
}
.footer__links li { margin-bottom: 12px; }
.footer__links a { font-size: 15px; color: var(--muted-on-dark); transition: color var(--transition); }
.footer__links a:hover { color: var(--text-on-dark); }
.footer__contact li { font-size: 15px; color: var(--muted-on-dark); margin-bottom: 10px; line-height: 1.6; }
.footer__contact a:hover { color: var(--text-on-dark); }
.footer__brand-desc { font-size: 14px; color: var(--muted-on-dark); line-height: 1.7; margin-top: 12px; }
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 24px;
  padding-top: 4px;
  flex-wrap: wrap;
}
.social-links + .footer__links {
  margin-top: 0;
}
.social-links__item {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .95);
  border: 1px solid rgba(255, 255, 255, .22);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.social-links__item:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer .logo { margin-top: 12px; display: inline-flex; }
.footer__bottom {
  padding-top: 24px; border-top: 1px solid var(--border-on-dark);
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--muted-on-dark);
}

.floating-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 52px; height: 52px; background: var(--success); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: transform var(--transition);
}
.floating-wa:hover { transform: scale(1.06); }

/* ─── Inner pages ─── */
.page-header { padding: 56px 0 40px; background: var(--bg-section); border-bottom: 1px solid var(--border-on-dark); }
.page-header h1 { font-size: 36px; font-weight: 700; letter-spacing: -.02em; color: var(--text-on-dark); }
.page-header p { color: var(--muted-on-dark); margin-top: 8px; }

/* ─── Category detail hero ─── */
.category-hero {
  position: relative;
  padding: 56px 0 40px;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border-on-dark);
  overflow: hidden;
}
.category-hero__layout {
  position: relative;
  width: 100%;
}
.category-hero__body {
  position: relative;
  z-index: 2;
}
.category-hero h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text-on-dark);
}
.category-hero p {
  color: var(--muted-on-dark);
  margin-top: 8px;
}
.category-hero__media {
  position: absolute;
  top: -56px;
  right: 0;
  bottom: -40px;
  width: 42%;
  pointer-events: none;
}
.category-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.category-hero__media-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      270deg,
      var(--bg-section) 0%,
      rgba(17, 17, 17, .85) 14%,
      rgba(17, 17, 17, .35) 32%,
      transparent 55%
    ),
    linear-gradient(
      90deg,
      var(--bg-section) 0%,
      rgba(17, 17, 17, .95) 12%,
      rgba(17, 17, 17, .7) 28%,
      rgba(17, 17, 17, .25) 50%,
      transparent 72%
    );
}
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 16px; top: 16px; width: auto; height: auto; overflow: visible;
  padding: 10px 14px; background: #fff; color: #111; border-radius: 8px;
  z-index: 2000; font-size: 14px; font-weight: 600; box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

.breadcrumb { font-size: 14px; color: var(--muted-on-dark); margin-bottom: 20px; }
.breadcrumb__list {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--muted-on-dark); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--text-on-dark); }
.breadcrumb__sep { color: rgba(255,255,255,.25); }
.breadcrumb__current { color: var(--text-on-dark); font-weight: 500; }
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 20px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 28px;
}
.filter-bar input, .filter-bar select {
  padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; outline: none;
}
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card {
  background: #fff; border: none; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.prod-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,.45); }
.prod-card__img { aspect-ratio: 1; overflow: hidden; background: #F3F4F6; }
.prod-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.prod-card:hover .prod-card__img img { transform: scale(1.03); }
.prod-card__body { padding: 16px; flex: 1; }
.prod-card__title { font-size: 14px; font-weight: 600; margin: 0 0 4px; color: var(--text); line-height: 1.35; }
.category-hero__breadcrumb { margin-bottom: 12px; }
.prod-card__cat { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card__image {
  aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-card);
}
.category-card__image img { width: 100%; height: 100%; object-fit: cover; }
.category-card__title { font-size: 16px; font-weight: 600; margin-top: 14px; color: var(--text-on-dark); }
/* ─── Product detail page ─── */
.product-page__breadcrumb { padding-top: 24px; }
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-areas:
    "gallery info"
    "specs info";
  gap: 20px 40px;
  padding: 24px 0 48px;
  align-items: start;
}
.product-detail__gallery { grid-area: gallery; min-width: 0; }
.product-info { grid-area: info; }
.product-specs { grid-area: specs; min-width: 0; }
.product-detail:not(:has(.product-specs)) {
  grid-template-areas: "gallery info";
}
.product-detail__content { margin-bottom: 16px; }

/* Specs — left column, below gallery */
.product-specs {
  background: #fff; border-radius: 16px; padding: 20px 22px;
  box-shadow: var(--shadow-card);
}
.product-specs__title {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin-bottom: 14px; letter-spacing: -.01em;
}
.product-specs__table {
  width: 100%; border-collapse: collapse;
}
.product-specs__table tr + tr {
  border-top: 1px solid var(--border);
}
.product-specs__table th,
.product-specs__table td {
  padding: 10px 0; font-size: 13px; line-height: 1.45;
  vertical-align: top; text-align: left;
}
.product-specs__table th {
  width: 42%; font-weight: 500; color: var(--muted); padding-right: 12px;
}
.product-specs__table td {
  font-weight: 600; color: var(--text);
}

/* Gallery */
.product-gallery__main {
  border-radius: 20px; overflow: hidden; aspect-ratio: 1;
  background: var(--bg-elevated); box-shadow: var(--shadow-card);
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-gallery__thumbs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px; margin: 12px 0 0; padding: 0; list-style: none;
}
.product-gallery__thumbs > li { margin: 0; padding: 0; }
.product-gallery__thumb {
  aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  border: 2px solid transparent; padding: 0; cursor: pointer;
  background: var(--bg-elevated); transition: border-color var(--transition), transform var(--transition);
}
.product-gallery__thumb:hover { border-color: rgba(255,255,255,.25); }
.product-gallery__thumb.is-active { border-color: var(--primary); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Purchase panel */
.product-info {
  background: #fff; border-radius: 20px; padding: 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.08);
}
.product-info--sticky {
  position: sticky;
  top: calc(var(--header-h) + var(--catbar-h) + 20px);
}
.product-info__category {
  font-size: 12px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px;
}
.product-info h1 { font-size: 26px; font-weight: 700; margin: 4px 0 14px; color: var(--text); line-height: 1.25; }
.product-info__price { font-size: 28px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.product-info__unit { font-size: 14px; font-weight: 500; color: var(--muted); }
.product-info__excerpt { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 12px 0 0; }
.product-info__min-order {
  font-size: 13px; color: var(--muted); margin: 12px 0 18px;
}
.product-info__min-order strong { color: var(--text); font-weight: 600; }

/* Variant price table */
.product-variants { margin: 4px 0 16px; }
.product-variants__heading {
  font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px;
}
.product-variants__table {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
}
.product-variants__table thead {
  background: #F9FAFB;
}
.product-variants__table th {
  padding: 10px 12px; font-size: 11px; font-weight: 700;
  color: var(--muted); text-align: left; text-transform: uppercase; letter-spacing: .04em;
}
.product-variants__table th:last-child { text-align: right; }
.product-variants__row { border-top: 1px solid var(--border); cursor: pointer; transition: background var(--transition); }
.product-variants__row:hover { background: #F9FAFB; }
.product-variants__row.is-selected { background: rgba(189,21,27,.06); }
.product-variants__row td {
  padding: 11px 12px; font-size: 13px; color: var(--text); vertical-align: middle;
}
.product-variants__row td:last-child {
  text-align: right; font-weight: 700; white-space: nowrap;
}
.product-variants__unit { font-size: 11px; font-weight: 500; color: var(--muted); }

.product-info__cta { width: 100%; height: 52px; margin-bottom: 16px; gap: 8px; }

/* Product share */
.product-share {
  margin-bottom: 18px; padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.product-share__label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: .05em; margin-bottom: 12px;
}
.product-share__actions {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.product-share__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: #F9FAFB;
  color: var(--muted); cursor: pointer;
  transition: transform var(--transition), border-color var(--transition),
    background var(--transition), color var(--transition), box-shadow var(--transition);
}
.product-share__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.product-share__btn--wa:hover { background: #25D366; border-color: #25D366; color: #fff; }
.product-share__btn--fb:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.product-share__btn--x:hover { background: #000; border-color: #000; color: #fff; }
.product-share__btn--tg:hover { background: #229ED9; border-color: #229ED9; color: #fff; }
.product-share__btn--copy:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.product-share__btn.is-copied {
  background: #ECFDF5; border-color: #22C55E; color: #16A34A;
}
.product-share__btn.is-copied .product-share__icon-copy { display: none; }
.product-share__btn.is-copied .product-share__icon-check { display: block !important; }

.product-info__trust {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 4px;
}
.product-info__trust li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.product-info__trust span {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(189,21,27,.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}

/* Product content panel (deskripsi + spesifikasi) */
.product-content-panel {
  background: #fff; border-radius: 20px; padding: 32px;
  box-shadow: var(--shadow-card); border: 1px solid rgba(255,255,255,.06);
}
.product-content-panel__section--divider {
  margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border);
}
.product-content-panel__title {
  font-size: 20px; font-weight: 700; color: var(--text);
  margin-bottom: 20px; letter-spacing: -.02em;
}
.specs-table--panel { width: 100%; }
.specs-table--panel tr { border-bottom: 1px solid var(--border); }
.specs-table--panel td { padding: 14px 0; font-size: 15px; color: var(--text); }
.specs-table--panel td:first-child { color: var(--muted); width: 38%; font-weight: 500; }
.specs-table--panel td:last-child { font-weight: 600; }

/* Prose — WYSIWYG output (matches TinyMCE editor preview) */
.prose { color: var(--text); font-size: 16px; line-height: 1.75; max-width: 72ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 22px; font-weight: 700; color: var(--text); margin-top: 1.75em; margin-bottom: .5em; line-height: 1.3; }
.prose h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-top: 1.5em; margin-bottom: .4em; }
.prose h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-top: 1.25em; margin-bottom: .35em; }
.prose p { color: var(--muted); margin-bottom: 0; }
.prose ul {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 1.5em;
  color: var(--muted);
}
.prose ol {
  list-style-type: decimal;
  list-style-position: outside;
  padding-left: 1.5em;
  color: var(--muted);
}
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--primary); }
.prose strong, .prose b { color: var(--text); font-weight: 600; }
.prose em, .prose i { font-style: italic; }
.prose u { text-decoration: underline; }
.prose s, .prose strike, .prose del { text-decoration: line-through; }
.prose sub, .prose sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
.prose sup { top: -.5em; }
.prose sub { bottom: -.25em; }
.prose a { color: var(--primary); text-decoration: underline; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 1.5em 0; }
.prose pre {
  background: #F3F4F6; border-radius: 8px; padding: 12px 14px;
  overflow-x: auto; font-size: 13px; color: var(--text);
}
.prose code {
  background: #F3F4F6; border-radius: 4px; padding: 2px 5px; font-size: 13px; color: var(--text);
}
.prose table {
  width: 100%; border-collapse: collapse; margin: 1.25em 0; font-size: 14px;
}
.prose th, .prose td {
  border: 1px solid var(--border); padding: 8px 10px;
  text-align: left; vertical-align: top; color: var(--muted);
}
.prose th { background: #F9FAFB; font-weight: 600; color: var(--text); }
.prose img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.25em 0; }
.prose blockquote {
  border-left: 3px solid var(--primary); padding-left: 16px;
  color: var(--muted); font-style: italic;
}

.product-related { padding: 40px 0 80px; }
.product-related__title { font-size: 28px; font-weight: 700; color: var(--text-on-dark); margin-bottom: 24px; letter-spacing: -.02em; }

.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border-on-dark); }
.specs-table td { padding: 12px 0; font-size: 15px; color: var(--text-on-dark); }
.specs-table td:first-child { color: var(--muted-on-dark); width: 40%; }
.page-count { font-size: 13px; color: var(--muted-on-dark); margin-bottom: 24px; }

/* Article detail */
.article-layout { max-width: 720px; margin: 0 auto; padding: 48px 0 80px; }
.article-layout .breadcrumb { margin-bottom: 8px; }
.article-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--primary); margin: 0;
}
.article-header h1 {
  font-size: 36px; font-weight: 700; letter-spacing: -.02em;
  color: var(--text-on-dark); line-height: 1.2; margin: 8px 0 12px;
}
.article-lead {
  font-size: 18px; line-height: 1.65; color: var(--muted-on-dark);
  margin: 0 0 20px; max-width: 65ch;
}
.article-meta {
  display: flex; gap: 8px; align-items: center;
  font-size: 14px; color: var(--muted-on-dark); margin-bottom: 16px;
}
.article-layout .article-share { margin-bottom: 24px; }
.article-cta {
  margin-top: 36px; padding: 24px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(189,21,27,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
}
.article-cta__title {
  font-size: 20px; font-weight: 700; color: var(--text-on-dark); margin: 0 0 8px;
}
.article-cta__text { font-size: 14px; color: var(--muted-on-dark); margin: 0 0 16px; }
.article-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.article-featured {
  border-radius: var(--radius-md); overflow: hidden; margin-bottom: 28px;
  aspect-ratio: 16/9; box-shadow: var(--shadow-card);
}
.article-featured img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-content--panel {
  background: #fff; border-radius: 20px; padding: 32px 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
}
.article-related { margin-top: 64px; }
.article-related h2 {
  font-size: 24px; font-weight: 700; color: var(--text-on-dark);
  margin-bottom: 24px; letter-spacing: -.02em;
}

/* Article listing */
.article-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.article-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.article-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.45); transform: translateY(-2px); }
.article-card__img {
  aspect-ratio: 16/10; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--bg-elevated);
}
.article-card__img img { width: 100%; height: 100%; object-fit: cover; }
.article-card__tag {
  font-size: 11px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: .04em;
}
.article-card-wrap { margin: 0; }
.article-card__title,
h2.article-card__title {
  font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.4; margin: 0;
}
.article-card__excerpt { font-size: 13px; color: var(--muted); margin: 2px 0; line-height: 1.5; }
.article-card__date { font-size: 12px; color: var(--muted); }

/* Generic cards (related content) */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.45); transform: translateY(-2px); }
.card__image { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-elevated); }
.card__image img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 16px; }
.card__title { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4; margin: 0 0 6px; }
.card__excerpt { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); font-size: 14px;
  background: #fff; border: 1px solid var(--border); color: var(--text);
  transition: border-color var(--transition), color var(--transition);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination span:not(.active) { color: var(--muted); }

.empty-state {
  text-align: center; padding: 64px 32px;
  background: var(--bg-elevated); border-radius: var(--radius-md);
  border: 1px solid var(--border-on-dark);
}
.empty-state h3 { font-size: 20px; font-weight: 700; color: var(--text-on-dark); margin-bottom: 8px; }
.empty-state p { font-size: 14px; color: var(--muted-on-dark); }

/* About page */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-grid h2 { font-size: 22px; font-weight: 800; color: var(--text-on-dark); margin-bottom: 14px; }
.about-text { font-size: 14px; line-height: 1.7; color: var(--muted-on-dark); margin-bottom: 14px; }
.about-text:last-of-type { margin-bottom: 0; }
.about-grid__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-grid__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.about-grid__media-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      270deg,
      var(--bg-page) 0%,
      rgba(10, 10, 10, .85) 14%,
      rgba(10, 10, 10, .35) 32%,
      transparent 55%
    ),
    linear-gradient(
      90deg,
      var(--bg-page) 0%,
      rgba(10, 10, 10, .95) 12%,
      rgba(10, 10, 10, .7) 28%,
      rgba(10, 10, 10, .25) 50%,
      transparent 72%
    );
}
.about-values {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px;
}
.value-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 20px; box-shadow: var(--shadow-card);
}
.value-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.value-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

.consult-banner {
  position: relative; border-radius: 24px; overflow: hidden; min-height: 280px;
  display: flex; align-items: center;
}
.consult-banner__bg { position: absolute; inset: 0; }
.consult-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.consult-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(189,21,27,.92) 0%, rgba(0,0,0,.75) 100%);
}
.consult-banner__content {
  position: relative; z-index: 1; padding: 48px 40px; color: #fff; max-width: 560px;
}
.consult-banner__content h2 {
  font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 16px;
}
.consult-banner__content p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.9); margin-bottom: 24px; }

.category-card__desc { font-size: 14px; color: var(--muted-on-dark); margin-top: 6px; line-height: 1.5; }

/* ─── Responsive ─── */
@media (max-width: 1200px) {
  .cat-row, .prod-row { grid-template-columns: repeat(3, 1fr); }
  .hero__title { font-size: 48px; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --section-pad: 48px; --header-h: 72px; }
  .header-main {
    grid-template-columns: auto 1fr auto;
    gap: 12px; min-height: var(--header-h);
  }
  .header-brand__tagline,
  .header-brand__sep { display: none; }
  .header-search-desktop { display: none; }
  .header-search-toggle { display: flex; }
  .header-nav { display: none; }
  .header-wa-desktop { display: none; }
  .header-right { gap: 8px; flex-shrink: 0; }
  .menu-toggle { display: flex; }
  .header-main .logo img { height: 44px; }
  .hero {
    display: flex; flex-direction: column;
    min-height: auto;
    background-color: #000;
    background-image:
      linear-gradient(
        180deg,
        #000 0%,
        rgba(0,0,0,.88) 35%,
        rgba(0,0,0,.5) 60%,
        rgba(0,0,0,.2) 100%
      ),
      url('/images/hero-bg.jpg');
    background-size: 100% 100%, cover;
    background-position: center, center;
  }
  @supports (background-image: image-set(url('/images/hero-bg.webp') type('image/webp'))) {
    .hero {
      background-image:
        linear-gradient(
          180deg,
          rgba(0,0,0,.55) 0%,
          rgba(0,0,0,.2) 100%
        ),
        image-set(
          url('/images/hero-bg.webp') type('image/webp'),
          url('/images/hero-bg.jpg') type('image/jpeg')
        );
    }
  }
  .hero__grid {
    grid-template-columns: 1fr; min-height: auto;
  }
  .hero__content {
    padding: 80px 24px 28px;
    max-width: none;
  }
  .hero__desc { margin-bottom: 28px; }
  .hero__title { font-size: 40px; }
  .category-hero__media { display: none; }
  .hero__benefit {
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
    padding: 0 24px 32px;
    margin-top: 12px;
  }
  .hero__benefit .benefit-bar__inner { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .hero__benefit .benefit-item:nth-child(2) { border-right: none; }
  .cat-row, .prod-row { grid-template-columns: repeat(2, 1fr); }
  .consult { grid-template-columns: 1fr; }
  .consult__image { min-height: 200px; }
  .footer-top__grid, .footer__grid { grid-template-columns: 1fr 1fr; }
  .section-row h2 { font-size: 28px; }
  .product-detail {
    grid-template-columns: 1fr;
    grid-template-areas:
      "gallery"
      "info"
      "specs";
    gap: 20px;
  }
  .about-grid { grid-template-columns: 1fr; }
  .product-info--sticky { position: static; }
  .product-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .product-content-panel { padding: 24px 20px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 28px; }
  .article-content--panel { padding: 24px 20px; }
  .about-values { grid-template-columns: 1fr; }
  .consult-banner__content { padding: 32px 24px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header-main .logo img { height: 40px; }
  .product-info__cta {
    height: auto; min-height: 52px;
    padding: 12px 16px; white-space: normal; text-align: center;
  }
  .floating-wa {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
  }
  .hero__title { font-size: 32px; }
  .hero__content { padding: 64px 16px 20px; }
  .hero__benefit { padding: 0 16px 28px; margin-top: 16px; }
  .cat-row, .prod-row, .prod-grid { grid-template-columns: 1fr; }
  .hero__benefit .benefit-bar__inner { grid-template-columns: 1fr; padding: 20px; }
  .hero__benefit .benefit-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 12px 0;
  }
  .hero__benefit .benefit-item:last-child { border-bottom: none; }
  .article-row { grid-template-columns: 1fr; }
  .footer-top__grid, .footer__grid { grid-template-columns: 1fr; }
  .category-bar__links { display: none; }
}
