/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #0f172a; background: #fff; }
a { color: inherit; text-decoration: none; }

:root {
  --color-primary: #a80100;
  --color-primary-hover: #8d0100;
  --color-primary-soft: rgba(168, 1, 0, 0.08);
  --color-bg: #f4f1ef;
  --color-surface: #ffffff;
  --color-surface-2: #f8f4f2;
  --color-text: #181412;
  --color-text-muted: #6d625d;
  --color-border: #e4d9d4;
  --color-sidebar: #181b20;
  --color-sidebar-2: #22262d;
  --color-success: #18794e;
  --color-warning: #b5690a;
  --color-danger: #b42318;
  --shadow-soft: 0 18px 40px rgba(24, 20, 18, 0.07);
  --shadow-card: 0 14px 32px rgba(24, 20, 18, 0.06);
  --radius-md: 14px;
  --radius-lg: 20px;
}

body.public-site {
  --site-header-height: 126px;
  position: relative;
  isolation: isolate;
}

body.public-site.is-loading {
  overflow: auto;
}

.product-detail-page{padding:32px 0 72px;background:#fff}
.product-detail-shell{display:grid;grid-template-columns:minmax(0,1.05fr)minmax(320px,.95fr);gap:34px;align-items:start}
.product-detail-hero{margin-top:18px}
.product-detail-gallery{display:grid;gap:14px;min-width:0}
.product-detail-stage{position:relative;display:grid;place-items:center;aspect-ratio:4/3;overflow:hidden;border-radius:28px;background:linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%);border:1px solid rgba(226,232,240,.92);box-shadow:0 20px 48px rgba(15,23,42,.08)}
.product-detail-stage-image{display:block;width:100%;height:100%;object-fit:cover}
.product-detail-placeholder{display:grid;place-items:center;width:100%;height:100%;color:#0f172a;font-size:clamp(3rem,8vw,6rem);font-weight:800}
.product-detail-thumbs{display:grid;grid-auto-flow:column;grid-auto-columns:96px;gap:10px;overflow-x:auto;overflow-y:hidden;padding:2px 2px 12px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.product-detail-thumbs::-webkit-scrollbar{height:8px}
.product-detail-thumbs::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(148,163,184,.55)}
.product-detail-thumb{position:relative;display:block;aspect-ratio:1/1;padding:0;overflow:hidden;border:2px solid transparent;border-radius:16px;background:#fff;box-shadow:0 10px 22px rgba(15,23,42,.08);cursor:pointer;scroll-snap-align:start;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.product-detail-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.product-detail-thumb:hover,.product-detail-thumb:focus-visible{transform:translateY(-2px);box-shadow:0 14px 28px rgba(15,23,42,.12)}
.product-detail-thumb.is-active{border-color:#b91c1c;box-shadow:0 0 0 4px rgba(185,28,28,.12),0 14px 28px rgba(15,23,42,.1)}
.product-detail-card{padding:28px;border-radius:28px;border:1px solid rgba(226,232,240,.92);background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);box-shadow:0 18px 42px rgba(15,23,42,.06)}
.product-detail-copy{display:grid;gap:18px}
.product-detail-category{display:inline-flex;width:fit-content;align-items:center;min-height:34px;padding:0 13px;border-radius:999px;background:rgba(185,28,28,.08);color:#991b1b;font-size:.82rem;font-weight:800;text-decoration:none}
.product-detail-title{margin:0;color:#0f172a;font-size:clamp(2.2rem,4vw,3.8rem);line-height:1;letter-spacing:-.05em}
.product-detail-summary{margin:0;color:#475569;font-size:1.05rem;line-height:1.8}
.product-detail-cta-box{display:grid;gap:16px;margin-top:4px;padding:20px;border-radius:22px;background:#0f172a;color:#cbd5e1}
.product-detail-cta-box h2{margin:0 0 8px;color:#fff;font-size:1.15rem}
.product-detail-cta-box p{margin:0;line-height:1.7}
.product-detail-actions,.product-side-actions{display:flex;flex-wrap:wrap;gap:12px}
.product-detail-layout{display:grid;grid-template-columns:minmax(0,1fr)320px;gap:28px;margin-top:32px;align-items:start}
.product-detail-content-panel{padding:26px;border-radius:28px;border:1px solid rgba(226,232,240,.92);background:#fff;box-shadow:0 18px 38px rgba(15,23,42,.05)}
.product-detail-side{display:grid;gap:16px;position:sticky;top:24px}
.product-side-card{display:grid;gap:14px}
.product-side-card h2{margin:0;color:#0f172a;font-size:1.16rem}
.product-side-card p{margin:0;color:#475569;line-height:1.75}
.product-side-card-primary{background:#0f172a;color:#cbd5e1}
.product-side-card-primary h2{color:#fff}
.product-side-card-primary p{color:#cbd5e1}
.product-related-section{margin-top:34px}
.product-related-grid{margin-top:18px}
@media(max-width:1024px){.product-detail-shell,.product-detail-layout{grid-template-columns:1fr}.product-detail-side{position:static}.product-detail-stage{border-radius:24px}}
@media(max-width:640px){.product-detail-page{padding-top:22px}.product-detail-card,.product-detail-content-panel{padding:20px;border-radius:24px}.product-detail-stage{border-radius:22px}.product-detail-thumbs{grid-auto-columns:78px}.product-detail-actions .best-product-btn,.product-side-actions .best-product-btn{width:100%;justify-content:center}}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(168, 1, 0, 0.06), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #faf8f7 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.42s ease, visibility 0.42s ease;
}

.site-preloader.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader-orbit {
  position: relative;
  width: 126px;
  height: 126px;
  border-radius: 999px;
  filter: drop-shadow(0 18px 34px rgba(42, 42, 42, 0.12));
  animation: sitePreloaderSpin 2.8s cubic-bezier(0.6, 0.04, 0.24, 0.98) infinite;
}

.site-preloader-orbit::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(168, 1, 0, 0.09), rgba(168, 1, 0, 0) 58%),
    radial-gradient(circle at 50% 50%, rgba(42, 42, 42, 0.06), rgba(42, 42, 42, 0) 68%);
  filter: blur(8px);
}

.site-preloader-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  margin: -13px;
  border-radius: 999px;
  transform-origin: 0 0;
  animation: sitePreloaderPulse 1.9s ease-in-out infinite;
  will-change: transform, opacity;
}

.site-preloader-node.is-crimson {
  background: #A80100;
  box-shadow: 0 0 0 10px rgba(168, 1, 0, 0.08);
  transform: rotate(0deg) translateY(-46px);
}

.site-preloader-node.is-white {
  background: #FFFFFF;
  border: 1px solid rgba(42, 42, 42, 0.12);
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.5),
    0 10px 22px rgba(42, 42, 42, 0.12);
  transform: rotate(120deg) translateY(-46px);
  animation-delay: 0.18s;
}

.site-preloader-node.is-graphite {
  background: #2A2A2A;
  box-shadow: 0 0 0 10px rgba(42, 42, 42, 0.08);
  transform: rotate(240deg) translateY(-46px);
  animation-delay: 0.36s;
}

@keyframes sitePreloaderSpin {
  0% {
    transform: rotate(0deg) scale(0.98);
  }

  50% {
    transform: rotate(180deg) scale(1);
  }

  100% {
    transform: rotate(360deg) scale(0.98);
  }
}

@keyframes sitePreloaderPulse {
  0%, 100% {
    opacity: 0.92;
    filter: blur(0);
  }

  50% {
    opacity: 1;
    filter: blur(0.2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader,
  .site-preloader-orbit,
  .site-preloader-node {
    transition-duration: 0.2s;
    animation-duration: 5.2s;
  }

  .site-preloader-orbit {
    animation-timing-function: linear;
  }
}

.container { max-width: 720px; margin: 40px auto; padding: 0 16px; }
.container-wide { max-width: 1100px; }
label { display: block; margin-top: 12px; }
input { width: 100%; padding: 10px; margin-top: 6px; }
button { cursor: pointer; }
.alert { padding: 10px; margin: 12px 0; border: 1px solid #ddd; }

.alert-success { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }
.alert-error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 10px; border: 1px solid #e5e7eb; background: #fff; font-weight: 800; }
.btn-primary { border-color: #22c55e; background: #22c55e; color: #fff; }

.admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.admin-actions { display: inline-flex; gap: 10px; }

.form { display: grid; gap: 14px; }
.card { border: 1px solid #eef2f7; border-radius: 14px; padding: 14px; background: #fff; }
.card h2 { margin: 0 0 10px 0; font-size: 16px; }
.form-row { margin-top: 10px; }
.form-row small { display: block; margin-top: 6px; color: #64748b; }
textarea { width: 100%; padding: 10px; margin-top: 6px; border: 1px solid #e5e7eb; border-radius: 10px; font-family: inherit; }
input[type="text"], input[type="email"], input[type="search"], input[type="file"] { border: 1px solid #e5e7eb; border-radius: 10px; }
.form-actions { padding: 8px 0 24px 0; }

/* Admin tables / tabs */
.tabs { display: inline-flex; gap: 8px; margin: 14px 0; }
.tab { padding: 8px 12px; border: 1px solid #e5e7eb; border-radius: 999px; font-weight: 800; background: #fff; }
.tab-active { border-color: #22c55e; background: #f0fdf4; color: #166534; }

.table-wrap { overflow: auto; border: 1px solid #eef2f7; border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; min-width: 840px; background: #fff; }
.table th, .table td { padding: 10px 10px; border-bottom: 1px solid #eef2f7; text-align: left; vertical-align: top; }
.table th { font-size: 13px; color: #475569; background: #f8fafc; position: sticky; top: 0; }
.table td input[type="text"],
.table td input[type="number"],
.table td select { margin-top: 0; padding: 8px 10px; border-radius: 10px; border: 1px solid #e5e7eb; }

.inline-form { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.inline-form .btn { padding: 8px 10px; border-radius: 10px; font-weight: 800; }

.form-grid { display: grid; grid-template-columns: 1.2fr 1.8fr 0.6fr 0.8fr 0.6fr; gap: 12px; }
@media (max-width: 960px) {
  .form-grid { grid-template-columns: 1fr; }
  .table { min-width: 720px; }
}

/* Layout helpers */
.header-wrap,
.footer-wrap,
.page-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.site-header-spacer { height: var(--site-header-height); }
.site-main { min-height: 60vh; }
.site-main,
.site-main > section,
.site-main > div,
.hero-slider,
.hero-slider-shell,
.hero-slider-track {
  position: relative;
  z-index: 0;
}

/* Page helpers */
.page-title { margin: 24px 0 8px 0; font-size: 36px; letter-spacing: -0.02em; }
.page-subtitle { margin: 0 0 16px 0; color: #475569; }
.card-narrow { max-width: 820px; }
.text-muted { margin: 0; color: #475569; }
.simple-list { margin: 0; padding-left: 18px; }

/* Small utilities (no inline styles) */
.mt-6 { margin-top: 6px; }
.mt-10 { margin-top: 10px; }
.w-60 { width: 60px; }
.w-90 { width: 90px; }
.w-110 { width: 110px; }
.w-140 { width: 140px; }
.w-170 { width: 170px; }
.w-200 { width: 200px; }
.w-220 { width: 220px; }
.label-tight { margin-top: 0; display: inline-flex; align-items: center; gap: 8px; }
.color-field { display: flex; align-items: center; gap: 10px; }
.color-field-compact { min-width: 180px; }
.color-field-picker {
  width: 52px;
  min-width: 52px;
  height: 42px;
  padding: 4px;
  margin-top: 0;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.color-field input[data-color-text] { margin-top: 0; }
.why-icon-preview {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  border: 1px solid rgba(228, 217, 212, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 26px rgba(24, 20, 18, 0.08);
  overflow: hidden;
}
.why-icon-preview::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 6px 16px rgba(24, 20, 18, 0.08);
}

@media (max-width: 720px) {
  .color-field {
    flex-wrap: wrap;
  }
}


/* Header (2 layers) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 4000;
  background: #fff;
  border-bottom: 1px solid #eef2f7;
  isolation: isolate;
  transition: box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(226, 232, 240, 0.92);
}

.header-main { background: #fff; border-bottom: 1px solid #eef2f7; }
.header-main .header-wrap { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 220px; }
.brand-logo{
  height: 40px;       /* ubah di sini kalau mau lebih besar */
  width: auto;
  display: block;
}
.brand-mark { width: 44px; height: 44px; border-radius: 10px; background: #e2e8f0; display: inline-block; }
.brand-name { font-weight: 800; font-size: 18px; line-height: 1.1; }

.header-search { flex: 1; position: relative; }
.header-search-input { width: 100%; padding: 12px 54px 12px 14px; border: 1px solid #e5e7eb; border-radius: 10px; margin-top: 0; }
.header-search-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; width: 42px; height: 42px; border-radius: 12px; color: #0f172a; }
.header-search-dropdown { position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 130; display: grid; gap: 12px; padding: 14px; border: 1px solid rgba(226, 232, 240, 0.96); border-radius: 18px; background: rgba(255, 255, 255, 0.98); box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14); }
.header-search-dropdown[hidden] { display: none !important; }
.header-search-status { font-size: 13px; line-height: 1.5; color: #64748b; }
.header-search-status.is-loading { color: #2563eb; }
.header-search-status.is-error { color: #b42318; }
.header-search-status.is-empty { color: #475569; }
.header-search-sections { display: grid; gap: 14px; }
.header-search-section { display: grid; gap: 8px; }
.header-search-section-title { margin: 0; color: #64748b; font-size: 11px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.header-search-list { display: grid; gap: 6px; }
.header-search-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px; border-radius: 14px; transition: background-color 0.2s ease, transform 0.2s ease; }
.header-search-item:hover, .header-search-item:focus-visible { background: #f8fafc; transform: translateY(-1px); }
.header-search-item-thumb { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #eef2f7; }
.header-search-item-thumb-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.header-search-item-thumb-fallback { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #0f172a; font-size: 14px; font-weight: 900; }
.header-search-item-copy { min-width: 0; display: grid; gap: 3px; }
.header-search-item-title { color: #111827; font-size: 14px; font-weight: 800; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-search-item-meta { color: #64748b; font-size: 12px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.header-actions { display: inline-flex; align-items: center; gap: 10px; }
.btn-wa { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; border: 1px solid #dcfce7; background: #22c55e; color: #fff; font-weight: 700; }
.btn-wa-text { white-space: nowrap; }
.btn-wa.disabled,
.wa-float-btn.disabled,
.best-product-btn.disabled,
.homepage-cta-button.disabled {
  opacity: .56;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  filter: none;
}
.icon-wa-svg {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}
.icon-wa-svg svg {
  width: 18px;
  height: 18px;
  display: block;
}

.btn-mobile { display: none; border: 1px solid #e5e7eb; background: #fff; border-radius: 10px; width: 42px; height: 42px; color: #b91c1c; }

.header-nav {
  background: #fff;
  box-shadow: none;
  transition: background-color 0.28s ease;
}
.header-nav .header-wrap { display: flex; align-items: center; padding-top: 10px; padding-bottom: 10px; }

.nav-left { display: flex; align-items: center; gap: 16px; width: 100%; }

.nav-list {
  --nav-indicator-x: 0px;
  --nav-indicator-y: 0px;
  --nav-indicator-size: 10px;
  --nav-indicator-stretch: 1;
  --nav-indicator-opacity: 0;
  list-style: none;
  position: relative;
  padding: 0 0 10px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-item {
  position: relative;
  z-index: 1;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #334155;
  font-weight: 700;
  transition: color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #991b1b;
  background: rgba(168, 1, 0, 0.05);
}

.nav-link.is-active {
  color: #991b1b;
}

.nav-active-indicator {
  position: absolute;
  left: 0;
  top: 100%;
  width: var(--nav-indicator-size);
  height: var(--nav-indicator-size);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #ff8a8a 0%, #d40d0c 38%, #a80100 100%);
  box-shadow:
    0 0 0 6px rgba(168, 1, 0, 0.08),
    0 10px 20px rgba(168, 1, 0, 0.2);
  opacity: var(--nav-indicator-opacity);
  pointer-events: none;
  transform: translate3d(var(--nav-indicator-x), var(--nav-indicator-y), 0) translateX(-50%) scaleX(var(--nav-indicator-stretch)) scaleY(calc(1 / var(--nav-indicator-stretch)));
  transform-origin: center;
  will-change: transform, opacity;
}

.nav-list[data-indicator-effect="spring"] .nav-active-indicator {
  transition:
    transform 560ms cubic-bezier(0.22, 1.38, 0.34, 1),
    opacity 180ms ease;
}

.nav-list[data-indicator-effect="liquid"] .nav-active-indicator {
  transition:
    transform 480ms cubic-bezier(0.2, 1.1, 0.32, 1),
    opacity 180ms ease;
}

.nav-list.is-indicator-moving[data-indicator-effect="liquid"] .nav-active-indicator {
  filter: saturate(1.04);
}

.nav-mega { position: relative; }
.nav-link-mega {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

/* Mega menu panel */
.mega {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  width: min(1240px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
  display: none;
  padding: 20px;
  z-index: 120;
}
.mega-menu-shell { display:block; }
.mega-menu-columns { display:grid; grid-template-columns:minmax(0, 1.7fr) minmax(280px, .9fr); gap:20px; align-items:start; }
.mega-menu-sections { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px; }
.mega-section-head { margin-bottom:12px; }
.mega-section-head h3 { margin:0; font-size:15px; line-height:1.3; font-weight:900; color:#0f172a; }
.mega-section-head p { margin:6px 0 0; font-size:13px; line-height:1.5; color:#64748b; }
.mega-links { display:grid; gap:10px; }
.mega-link-card { display:flex; gap:12px; align-items:flex-start; padding:14px; border:1px solid #eef2f7; border-radius:18px; background:#fff; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.mega-link-card:hover,
.mega-link-card:focus-visible { border-color:rgba(185,28,28,.18); box-shadow:0 16px 30px rgba(15,23,42,.08); transform:translateY(-1px); }
.mega-link-card.is-featured { background:linear-gradient(180deg, #fff8f7 0%, #fff 100%); border-color:rgba(185,28,28,.12); }
.mega-link-card.is-label { cursor:default; }
.mega-link-thumb { width:56px; height:56px; object-fit:cover; border-radius:14px; flex:0 0 56px; background:#f1f5f9; }
.mega-link-copy { min-width:0; display:grid; gap:5px; }
.mega-link-copy strong { font-size:14px; line-height:1.35; color:#0f172a; }
.mega-link-copy span { color:#475569; font-size:13px; line-height:1.45; }
.mega-link-copy small { color:#64748b; font-size:12px; line-height:1.5; }
.mega-link-meta { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.mega-link-badge,
.mega-link-icon { display:inline-flex; align-items:center; min-height:22px; padding:0 9px; border-radius:999px; background:#fee2e2; color:#991b1b; font-size:11px; font-weight:800; }
.mega-link-icon { background:#f1f5f9; color:#334155; }
.mega-menu-cta { display:grid; gap:14px; }
.mega-cta-card { display:grid; gap:14px; padding:16px; border-radius:22px; background:linear-gradient(180deg, #fff8f7 0%, #fff1f1 100%); border:1px solid rgba(185,28,28,.12); }
.mega-cta-card.is-empty { background:linear-gradient(180deg, #f8fafc 0%, #fff 100%); border-color:#e2e8f0; }
.mega-cta-card strong { font-size:18px; line-height:1.3; color:#0f172a; }
.mega-cta-card p { margin:0; color:#475569; line-height:1.6; }
.mega-cta-card small { color:#991b1b; font-size:12px; font-weight:700; }
.mega-cta-promo { width:100%; height:196px; object-fit:contain; object-position:center; border-radius:18px; background:linear-gradient(180deg, #ffffff 0%, #fff7f7 100%); padding:14px; border:1px solid rgba(185,28,28,.08); }
.mega-cta-promo.is-qr-only { padding:18px; background:#fff; }
.mega-cta-copy { display:grid; gap:8px; }
.mega-cta-kicker { font-size:11px; letter-spacing:.12em; text-transform:uppercase; font-weight:800; color:#b91c1c; }
.mega-cta-foot { display:flex; align-items:center; justify-content:flex-start; gap:12px; }
.mega-cta-btn { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:0 16px; border-radius:999px; background:#b91c1c; color:#fff; font-weight:800; box-shadow:0 12px 24px rgba(185,28,28,.18); }
.homepage-cta-section { padding:28px 0; }
.homepage-cta-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:20px; }
.homepage-cta-grid.is-single { grid-template-columns:minmax(0, 1fr); }
.homepage-cta-card { position:relative; display:grid; grid-template-columns:minmax(0, 1.16fr) minmax(220px, .84fr); gap:18px; align-items:center; padding:28px 30px; border-radius:28px; overflow:hidden; border:1px solid rgba(185,28,28,.1); background:radial-gradient(circle at top right, rgba(255,255,255,.74), transparent 32%), linear-gradient(135deg, #fff8f7 0%, #fff2f0 54%, #fffaf8 100%); box-shadow:0 24px 46px rgba(15,23,42,.07); }
.homepage-cta-card.is-text-only { grid-template-columns:minmax(0, 1fr); }
.homepage-cta-card::before { content:""; position:absolute; inset:auto -70px -90px auto; width:220px; height:220px; border-radius:50%; background:radial-gradient(circle, rgba(185,28,28,.08) 0%, rgba(185,28,28,0) 68%); pointer-events:none; }
.homepage-cta-copy { position:relative; z-index:1; display:grid; gap:12px; }
.homepage-cta-kicker { display:inline-flex; align-items:center; width:max-content; min-height:30px; padding:0 12px; border-radius:999px; background:rgba(185,28,28,.08); color:#991b1b; font-size:11px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.homepage-cta-title { margin:0; font-size:clamp(1.8rem, 2.4vw, 2.5rem); line-height:1.04; letter-spacing:-.04em; color:#0f172a; }
.homepage-cta-description { margin:0; max-width:58ch; color:#475569; line-height:1.75; }
.homepage-cta-points { display:grid; gap:10px; margin:4px 0 0; padding:0; list-style:none; }
.homepage-cta-points li { position:relative; padding-left:18px; color:#334155; font-weight:600; line-height:1.55; }
.homepage-cta-points li::before { content:""; position:absolute; top:.55em; left:0; width:8px; height:8px; border-radius:50%; background:linear-gradient(180deg, #c20b0b 0%, #8d0100 100%); box-shadow:0 0 0 5px rgba(185,28,28,.08); }
.homepage-cta-actions { display:flex; flex-wrap:wrap; gap:12px; padding-top:4px; }
.homepage-cta-button { min-height:46px; padding:0 20px; }
.homepage-cta-visual { position:relative; z-index:1; display:flex; align-items:center; justify-content:center; min-height:220px; padding:18px; border-radius:24px; background:linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,249,248,.72) 100%); border:1px solid rgba(255,255,255,.9); box-shadow:inset 0 1px 0 rgba(255,255,255,.92); }
.homepage-cta-image { width:100%; max-width:300px; max-height:240px; object-fit:contain; display:block; }
.mega-empty-inline { padding:12px 14px; border-radius:16px; background:#f8fafc; color:#64748b; font-size:13px; }
.mega-empty { color: #64748b; padding: 10px; }

/* Desktop hover opens mega */
@media (min-width: 960px) {
  .nav-mega:hover .mega,
  .nav-mega:focus-within .mega,
  .nav-mega.is-open .mega { display: block; }
}

/* Mobile drawer */
.mobile-drawer { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45); display: none; }
.mobile-drawer.is-open { display: block; }
.mobile-drawer-inner { width: min(312px, 88vw); height: 100%; background: #fff; padding: 14px; }
.mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #eef2f7; margin-bottom: 12px; }
.mobile-title { font-weight: 800; }
.mobile-close { border: 0; background: transparent; font-size: 24px; line-height: 1; }
.mobile-link { display: block; padding: 10px 10px; border-radius: 10px; color: #334155; font-weight: 600; }
.mobile-mega + .mobile-link,
.mobile-mega-panel + .mobile-link { margin-top: 12px; }
.mobile-link + .mobile-link { margin-top: 6px; }
.mobile-link:hover { background: #f1f5f9; }
.mobile-link.is-active { background: #fee2e2; color: #991b1b; }

.mobile-mega { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border-radius: 12px; border: 1px solid #e5e7eb; background: #fff; font-weight: 800; margin-bottom: 14px; }
.mobile-mega-panel { display: none; margin-top: -2px; margin-bottom: 14px; padding: 10px; border: 1px solid #e5e7eb; border-radius: 16px; background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); }
.mobile-mega-panel.is-open { display: block; }
.mobile-mega-panel .mobile-link { padding: 12px 14px; border-radius: 12px; }
.mobile-mega-panel .mobile-link + .mobile-link { margin-top: 4px; }
.mobile-mega-panel .mobile-link:hover,
.mobile-mega-panel .mobile-link:focus-visible { background: rgba(255, 255, 255, 0.9); }
.mobile-mega-group + .mobile-mega-group { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e2e8f0; }
.mobile-mega-title { margin: 0 0 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #991b1b; font-weight: 800; }
.mobile-link.is-label { color:#64748b; background:transparent; font-weight:700; pointer-events:none; }

/* Icons (CSS only, no inline SVG yet) */
.icon-search { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; }
.icon-search::before { content: '⌕'; font-size: 24px; line-height: 1; font-weight: 700; }
.icon-menu::before { content: '≡'; font-size: 18px; font-weight: 900; color: #b91c1c; }
.icon-grid::before { content: '▦'; font-weight: 900; }
.icon-chevron::before { content: '▾'; font-weight: 900; }
.icon-wa::before { content: '✆'; font-weight: 900; }

/* Header icon refresh */
.nav-link-mega {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}

.nav-link-mega:hover,
.nav-link-mega:focus-visible,
.nav-mega.is-open .nav-link-mega,
.nav-mega:hover .nav-link-mega,
.nav-mega:focus-within .nav-link-mega {
  border-color: rgba(185, 28, 28, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, #fff9f8 100%);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.mobile-mega {
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.mobile-mega:hover,
.mobile-mega:focus-visible,
.mobile-mega[aria-expanded="true"] {
  border-color: rgba(185, 28, 28, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, #fff9f8 100%);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.icon-grid {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: #b91c1c;
  font-size: 0;
}

.icon-grid::before {
  content: none;
}

.icon-grid svg {
  width: 18px;
  height: 18px;
  display: block;
}

.icon-chevron {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  transition: transform .22s ease, color .22s ease;
  transform-origin: 50% 50%;
}

.icon-chevron::before {
  content: '▾';
  font-weight: 900;
  font-size: 11px;
  line-height: 1;
}

.nav-link-mega:hover .icon-chevron,
.nav-link-mega:focus-visible .icon-chevron,
.nav-mega:hover .icon-chevron,
.nav-mega:focus-within .icon-chevron,
.nav-link-mega[aria-expanded="true"] .icon-chevron,
.mobile-mega:hover .icon-chevron,
.mobile-mega:focus-visible .icon-chevron,
.mobile-mega[aria-expanded="true"] .icon-chevron {
  transform: rotate(180deg);
  color: #b91c1c;
}

/* Responsive */
@media (max-width: 959px) {
  body.public-site { --site-header-height: 72px; }
  .site-header { z-index: 4000; }
  .header-main {
    border-bottom: 0;
  }
  .header-main .header-wrap {
    justify-content: space-between;
    gap: 12px;
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .brand {
    min-width: 0;
    flex: 0 1 auto;
    max-width: calc(100% - 68px);
  }
  .brand-logo {
    height: 38px;
  }
  .header-search { display: none; }
  .header-actions {
    margin-left: auto;
    flex: 0 0 auto;
  }
  .btn-wa { display: none; }
  .btn-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
  }
  .header-nav { display: none; }
  .nav-list { display: none; }
  .mega { display: none !important; }
}

@media (max-width: 1180px) {
  .mega { width: min(1120px, calc(100vw - 32px)); }
  .mega-menu-columns { grid-template-columns: minmax(0, 1.45fr) minmax(260px, .8fr); }
  .mega-menu-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Footer */
.site-footer { background: #fff; border-top: 1px solid #eef2f7; margin-top: 40px; }
.footer-wrap { padding-top: 28px; padding-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1.6fr; gap: 22px; }
.footer-brand{
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo{
  height: 36px;      /* footer biasanya lebih kecil */
  width: auto;
  display: block;
}
.footer-logo-placeholder { width: 50px; height: 50px; border-radius: 12px; background: #e2e8f0; }
.footer-brand-name { font-weight: 900; font-size: 16px; }
.footer-desc { margin: 0; color: #475569; line-height: 1.6; }
.footer-title { font-weight: 900; margin-bottom: 10px; }
.footer-link { display: block; padding: 6px 0; color: #334155; }
.footer-line { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; color: #334155; }
.footer-line-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  margin-top: 2px;
}
.footer-line-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.footer-line-icon.is-phone { color: #94a3b8; }
.footer-line-icon.is-email { color: #3b82f6; }
.footer-line-icon.is-address { color: #ef4444; }
.footer-line-icon.is-hours { color: #22c55e; }
.footer-map iframe { width: 100%; height: 200px; border: 0; border-radius: 12px; }
.footer-map-placeholder { color: #64748b; padding: 12px; border: 1px dashed #cbd5e1; border-radius: 12px; }
.footer-bottom { text-align: center; padding: 14px 16px; border-top: 1px solid #eef2f7; color: #475569; font-weight: 700; }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wa-float-left {
    display: none;
  }
}

/* Simple page demo */
.page { padding: 40px 0; }
.page-title { margin: 0 0 8px 0; font-size: 34px; }
.page-lead { margin: 0 0 16px 0; color: #475569; }
.page-link { display: inline-flex; padding: 10px 14px; border-radius: 10px; border: 1px solid #e5e7eb; }
/* WhatsApp Floating Widget */
.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  font-family: inherit;
}

.wa-float-left{
  left: 18px;
  right: auto;
}

.wa-float-btn{
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #0f172a;
  font-weight: 800;
  cursor: pointer;
  filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.18));
}

.wa-float-btn:focus{
  outline: 3px solid rgba(34, 197, 94, .22);
  outline-offset: 3px;
}

.wa-label-bubble{
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  white-space: nowrap;
}

.wa-label-bubble-admin{
  margin-right: -6px;
  padding-right: 18px;
}

.wa-label-bubble-chatbot{
  order: 2;
  margin-left: -6px;
  padding-left: 18px;
}

.wa-label-bubble::after{
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  border-right: 1px solid rgba(226, 232, 240, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
}

.wa-label-bubble-admin::after{
  right: -6px;
  transform: translateY(-50%) rotate(-45deg);
}

.wa-label-bubble-chatbot::after{
  left: -6px;
  transform: translateY(-50%) rotate(135deg);
}

.wa-ic{
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.24),
    0 14px 24px rgba(15, 23, 42, 0.16);
}

.wa-ic svg{
  width: 26px;
  height: 26px;
  display: block;
}

.wa-ic-whatsapp{
  background: linear-gradient(180deg, #25d366 0%, #16a34a 100%);
}

.wa-ic-chatbot{
  background: linear-gradient(180deg, #4ade80 0%, #22c55e 100%);
}

.wa-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(2px);
  z-index: 9998;
}

.wa-float [data-wa-popup],
.wa-float [data-wa-backdrop]{
  display: none !important;
}

.wa-float.is-popup-open [data-wa-popup]{
  display: flex !important;
}

.wa-float.is-popup-open [data-wa-backdrop]{
  display: block !important;
}

.wa-popup{
  position: fixed;
  right: 14px;
  bottom: 86px;
  width: 356px;
  max-width: calc(100vw - 28px);
  max-height: calc(100vh - 104px);
  max-height: calc(100dvh - 104px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 28px 54px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.wa-popup-left{
  left: 14px;
  right: auto;
}

.wa-popup-admin{
  border-radius: 22px;
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.18);
}

.wa-popup-header{
  background: linear-gradient(180deg, #25d366 0%, #22c55e 100%);
  color: #fff;
  padding: 18px 16px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.wa-popup-header-admin{
  padding: 16px 16px 14px;
  border-radius: 22px 22px 0 0;
}

.wa-popup-title{
  max-width: 240px;
}

.wa-popup-h1{
  font-size: 18px;
  font-weight: 900;
  line-height: 1.08;
}

.wa-popup-h2{
  font-size: 13px;
  font-weight: 600;
  opacity: .96;
  margin-top: 8px;
  line-height: 1.35;
}

.wa-popup-close{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: none;
  border-radius: 14px;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.wa-popup-close-admin{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 24px;
  font-weight: 900;
}

.wa-popup-body{
  padding: 14px 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 12px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  overflow: hidden;
}

.wa-popup-body-admin{
  padding: 12px;
  gap: 10px;
  background: #ffffff;
}

.wa-empty{
  padding: 16px 14px;
  background: #f3f4f6;
  border-radius: 16px;
  color: #374151;
  font-weight: 700;
}

.wa-note{
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.wa-card{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e6edf5;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.wa-card-admin{
  padding: 14px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fafaf9 0%, #f3f4f6 100%);
  border: 1px solid #eceff3;
  box-shadow: none;
}

.wa-avatar{
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #e9fbef 0%, #dcfce7 100%);
  color: #16a34a;
  font-size: 24px;
  flex: 0 0 auto;
}

.wa-avatar .wa-wa{
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
}

.wa-avatar .wa-wa svg{
  width: 30px;
  height: 30px;
  display: block;
}

.wa-card.is-offline .wa-avatar{
  background: linear-gradient(180deg, #f7f7f7 0%, #eeeeee 100%);
  color: #c8c8c8;
}

.wa-card.is-offline{
  opacity: 1;
}

.wa-meta{
  flex: 1;
  min-width: 0;
}

.wa-name{
  font-weight: 900;
  font-size: 15px;
  line-height: 1.2;
  color: #1f2937;
}

.wa-role{
  margin-top: 3px;
  color: #8b8b8b;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.25;
}

.wa-status{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-weight: 800;
  color: #16a34a;
}

.wa-status-dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.wa-card.is-offline .wa-status{
  color: #8f8f8f;
}

.wa-card.is-offline .wa-status-dot{
  box-shadow: 0 0 0 4px rgba(163, 163, 163, 0.12);
}

.wa-action{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #25d366 0%, #22c55e 100%);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.22);
}

.wa-action-admin{
  min-width: 74px;
  height: 36px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: none;
}

.wa-action.is-disabled{
  background: #c9c9c9;
  color: #fff;
  box-shadow: none;
  cursor: not-allowed;
}

.wa-flow{
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 0;
}

.wa-flow-launch{
  display: grid;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
}

.wa-flow-launch[hidden],
.wa-flow-shell[hidden]{
  display: none !important;
}

.wa-flow.is-started .wa-flow-launch{
  display: none !important;
}

.wa-flow-shell{
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 0;
}

.wa-flow-history{
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.wa-flow-system-bubble,
.wa-flow-user-bubble{
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.6;
  font-size: 14px;
}

.wa-flow-system-bubble{
  justify-self: start;
  background: #f3f4f6;
  color: #1f2937;
  border: 1px solid #e5e7eb;
}

.wa-flow-user-bubble{
  justify-self: end;
  background: linear-gradient(180deg, #25d366 0%, #22c55e 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.16);
}

.wa-flow-typing-bubble{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 18px;
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #e5e7eb;
}

.wa-flow-typing-dots{
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wa-flow-typing-dots span{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #9ca3af;
  animation: waFlowTypingPulse 1.05s infinite ease-in-out;
}

.wa-flow-typing-dots span:nth-child(2){
  animation-delay: 0.14s;
}

.wa-flow-typing-dots span:nth-child(3){
  animation-delay: 0.28s;
}

.wa-flow-typing-text{
  font-size: 13px;
  font-weight: 700;
}

.wa-flow-helper{
  padding: 12px 14px;
  border-radius: 16px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
  font-size: 13px;
  line-height: 1.55;
}

.wa-flow-controls{
  display: grid;
  gap: 10px;
}

.wa-flow.is-bot-typing .wa-flow-controls{
  pointer-events: none;
}

.wa-flow-input-form{
  display: grid;
  gap: 10px;
}

.wa-flow-input{
  width: 100%;
  padding: 12px 14px;
  margin-top: 0;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
}

.wa-flow-choice-list{
  display: grid;
  gap: 10px;
}

.wa-flow-choice{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  background: #fff;
  color: #111827;
  font-weight: 800;
  text-align: left;
}

.wa-flow-choice:hover,
.wa-flow-choice:focus-visible{
  border-color: rgba(34, 197, 94, 0.4);
  background: #f0fdf4;
}

.wa-flow.is-bot-typing .wa-flow-choice,
.wa-flow.is-bot-typing .wa-flow-next,
.wa-flow.is-bot-typing .wa-flow-start,
.wa-flow.is-bot-typing .wa-flow-reset,
.wa-flow.is-bot-typing [data-chat-flow-send]{
  pointer-events: none;
}

.wa-flow-next,
.wa-flow-start,
.wa-flow-reset{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 900;
}

.wa-flow-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wa-flow-summary-card{
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

@media (max-width: 640px) {
  .wa-float-left {
    display: none;
  }

  .wa-float {
    right: 14px;
    bottom: 14px;
  }

  .wa-float-btn {
    align-items: center;
    gap: 8px;
  }

  .wa-label-bubble {
    display: inline-flex;
    min-height: 40px;
    padding: 0 14px;
    overflow: hidden;
    isolation: isolate;
  }

  .wa-label-bubble-admin,
  .wa-label-bubble-chatbot {
    margin: 0;
    padding-left: 14px;
    padding-right: 14px;
  }

  .wa-label-bubble::after {
    content: none;
    display: none;
  }

  .wa-ic {
    width: 50px;
    height: 50px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 10px 18px rgba(15, 23, 42, 0.14);
  }

  .wa-ic svg {
    width: 24px;
    height: 24px;
  }
}

/* About counters relocation */
.counters-section-about {
  padding: 0 0 34px;
}

.counters-section-about .counters-shell {
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.counters-section-about .counters-head {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  margin-bottom: 20px;
}

.counters-section-about .counters-eyebrow {
  color: #b91c1c;
}

.counters-section-about .counters-title {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.counters-section-about .counters-subtitle {
  max-width: 56ch;
}

.counters-section-about .counters-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.counter-card-compact {
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
}

.counter-card-compact .counter-icon-shell {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.counter-card-compact .counter-icon-shell img {
  width: 30px;
  height: 30px;
}

.counter-card-compact .counter-value {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
}

.counter-card-compact .counter-suffix {
  padding-top: 5px;
  font-size: 1rem;
}

.counter-card-compact .counter-label {
  font-size: 0.94rem;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .counters-section-about .counters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .counters-section-about .counters-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .counters-section-about .counters-shell {
    padding: 20px 18px;
    border-radius: 24px;
  }

  .counters-section-about .counters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .counter-card-compact {
    padding: 16px;
    border-radius: 20px;
  }
}

@media (max-width: 420px) {
  .counters-section-about .counters-grid {
    grid-template-columns: 1fr;
  }
}

/* Product Catalog Refresh */
.product-catalog-page {
  padding: 26px 0 48px;
}

.product-catalog-page .product-catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 380px);
  gap: 26px;
  align-items: stretch;
  margin-bottom: 26px;
  padding: 30px 32px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(220, 38, 38, 0.08), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 58%, #fff5f5 100%);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.06);
}

.product-catalog-page .product-catalog-eyebrow {
  margin: 0 0 12px;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-catalog-page .product-catalog-title {
  margin: 0;
  max-width: 14ch;
  color: #0f172a;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.product-catalog-page .product-catalog-subtitle {
  max-width: 60ch;
  margin: 18px 0 0;
  color: #475569;
  line-height: 1.85;
}

.product-catalog-page .product-catalog-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.product-catalog-page .product-catalog-hero-point {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #334155;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.product-catalog-page .product-catalog-hero-point-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: #b91c1c;
}

.product-catalog-page .product-catalog-hero-point-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.product-catalog-page .product-catalog-hero-panel {
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.96);
  color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.product-catalog-page .product-catalog-hero-stat-label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-catalog-page .product-catalog-hero-panel strong {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.product-catalog-page .product-catalog-hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

.product-catalog-page .product-catalog-hero-panel-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-catalog-page .product-catalog-hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.product-catalog-page .product-catalog-filter-strip {
  margin-bottom: 18px;
}

.product-catalog-page .product-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-catalog-page .product-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
  color: #334155;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.product-catalog-page .product-filter-chip:hover,
.product-catalog-page .product-filter-chip:focus-visible,
.product-catalog-page .product-filter-chip.is-active {
  border-color: rgba(185, 28, 28, 0.16);
  background: #fff4f4;
  color: #991b1b;
  transform: translateY(-1px);
}

.product-catalog-page .product-catalog-shell {
  display: grid;
  gap: 18px;
}

.product-catalog-page .product-catalog-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.08), rgba(220, 38, 38, 0.08));
  border: 1px solid rgba(226, 232, 240, 0.92);
}

.product-catalog-page .product-catalog-help-label {
  margin: 0 0 6px;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-catalog-page .product-catalog-help strong {
  display: block;
  max-width: 58ch;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.65;
}

.product-catalog-page .product-catalog-main {
  display: grid;
  gap: 22px;
}

.product-catalog-page .product-catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: end;
  padding-bottom: 4px;
}

.product-catalog-page .product-catalog-toolbar-label {
  margin: 0 0 8px;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-catalog-page .product-catalog-toolbar-title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.product-catalog-page .product-catalog-toolbar-meta {
  margin: 12px 0 0;
  max-width: 62ch;
  color: #475569;
  line-height: 1.75;
}

.product-catalog-page .product-catalog-toolbar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.product-catalog-page .product-catalog-toolbar-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.product-catalog-page .product-catalog-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.product-catalog-page .product-catalog-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.product-catalog-page .product-catalog-search-field input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #0f172a;
  font: inherit;
}

.product-catalog-page .product-catalog-search-field input:focus {
  outline: 0;
}

.product-catalog-page .product-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-catalog-page .product-catalog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-catalog-page .product-catalog-card:hover,
.product-catalog-page .product-catalog-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(220, 38, 38, 0.14);
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.08);
}

.product-catalog-page .product-catalog-card-media {
  position: relative;
  aspect-ratio: 1 / 0.84;
  background:
    radial-gradient(circle at top right, rgba(220, 38, 38, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.product-catalog-page .product-catalog-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-catalog-page .product-catalog-card-body {
  display: grid;
  gap: 10px;
  padding: 18px 18px 20px;
}

.product-catalog-page .product-catalog-card-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-catalog-page .product-catalog-card-title {
  margin: 0;
  color: #0f172a;
  font-size: 1.08rem;
  line-height: 1.34;
  letter-spacing: -0.02em;
}

.product-catalog-page .product-catalog-card-title a {
  color: inherit;
  text-decoration: none;
}

.product-catalog-page .product-catalog-card-copy {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.72;
  min-height: 4.9em;
}

.product-catalog-page .product-catalog-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.product-catalog-page .product-catalog-card-actions .best-product-btn-secondary {
  background: #fff;
  border-color: rgba(203, 213, 225, 0.95);
  color: #334155;
}

.product-catalog-page .product-catalog-card-actions .best-product-btn-primary {
  box-shadow: 0 14px 28px rgba(185, 28, 28, 0.18);
}

.product-catalog-page .product-catalog-empty {
  display: grid;
  gap: 12px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.04);
}

.product-catalog-page .product-catalog-empty h3,
.product-catalog-page .product-catalog-empty p {
  margin: 0;
}

.product-catalog-page .product-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
}

.product-catalog-page .product-pagination-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 1100px) {
  .homepage-cta-grid { grid-template-columns:1fr; }
  .homepage-cta-card { grid-template-columns:minmax(0, 1fr); }
  .homepage-cta-visual { order:-1; min-height:180px; }

  .product-catalog-page .product-catalog-hero,
  .product-catalog-page .product-catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .product-catalog-page .product-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .product-catalog-page .product-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .homepage-cta-section { padding:20px 0; }
  .homepage-cta-card { padding:22px 20px; border-radius:24px; }
  .homepage-cta-title { font-size:clamp(1.55rem, 7vw, 2rem); }
  .homepage-cta-description { line-height:1.68; }

  .product-catalog-page .product-catalog-hero {
    padding: 24px 22px;
    border-radius: 28px;
  }

  .product-catalog-page .product-catalog-title {
    max-width: none;
  }

  .product-catalog-page .product-catalog-help {
    padding: 18px;
    border-radius: 22px;
  }

  .product-catalog-page .product-catalog-grid {
    grid-template-columns: 1fr;
  }

  .product-catalog-page .product-catalog-search {
    grid-template-columns: 1fr;
  }

  .product-catalog-page .product-catalog-search button,
  .product-catalog-page .product-catalog-search .product-catalog-search-reset {
    justify-content: center;
  }
}
