/* Astuti Electricals v2.2 — Light paper wholesale e-commerce
   Soft paper white + charcoal ink. Mobile-first.
   No page builders. Lightweight custom CSS. */

:root {
  --bg: #F8F7F4;
  --bg-elevated: #FFFFFF;
  --bg-dark: #0B1220;
  --bg-muted: #F1F0EC;
  --bg-navy-soft: #141C2E;

  --text: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #F8FAFC;

  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --highlight: #3B82F6;

  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  --success: #059669;
  --error: #DC2626;
  --whatsapp: #25D366;

  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 999px;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --container: min(1200px, calc(100% - 2rem));
  --header-h: 68px;
  --prose: 40rem;
  --touch-min: 44px;

  --z-header: 100;
  --z-drawer: 150;
  --z-overlay: 200;
  --z-sticky: 300;
  --z-toast: 400;
  --z-whatsapp: 90;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;

  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.1);
  --shadow-focus: 0 0 0 3px var(--accent-soft);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --section-y: clamp(3.5rem, 8vw, 5.5rem);
  --fluid-h1: clamp(2.25rem, 5.5vw, 3.75rem);
  --fluid-h2: clamp(1.5rem, 3vw, 2.25rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: max(16px, 1rem); }
button { cursor: pointer; }
ul, ol { list-style: none; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}
.container--narrow { max-width: var(--prose); }

/* ---- A11y ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: var(--z-toast);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-dark);
  color: var(--text-inverse);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--space-4); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---- Type ---- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--on-dark { color: var(--highlight); }

.lead {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 36rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--touch-min);
  padding: 0.75rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  transition:
    background var(--duration-base) var(--ease-out),
    color var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn:focus-visible { box-shadow: var(--shadow-focus); }

.btn-primary {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-color: var(--bg-dark);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--bg-dark);
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.btn-ghost {
  background: transparent;
  color: var(--text-inverse);
  border-color: rgba(248, 250, 252, 0.28);
}
.btn-ghost:hover {
  background: rgba(248, 250, 252, 0.08);
  border-color: rgba(248, 250, 252, 0.5);
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  transition: gap var(--duration-base) var(--ease-out);
}
.link-arrow::after { content: '→'; transition: transform var(--duration-base); }
.link-arrow:hover { gap: 0.55rem; color: var(--accent-hover); }

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 254, 251, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-base), box-shadow var(--duration-base);
  overflow: visible;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 0.75rem;
  min-width: 0;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
  min-width: 0;
  flex: 1 1 auto;
  max-width: min(58vw, 16rem);
}
.logo-name {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 3.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo-tag {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo .custom-logo-link { display: block; line-height: 0; }
.logo .custom-logo { max-height: 36px; width: auto; }

/* Desktop nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.nav-desktop-list {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-desktop-list > .menu-item {
  position: relative;
}
.nav-desktop a,
.nav-desktop .menu-item > a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.15rem;
  transition: color var(--duration-base);
}
.nav-desktop a:hover,
.nav-desktop a.active,
.nav-desktop .current-menu-item > a,
.nav-desktop .current-menu-ancestor > a { color: var(--text); }
.nav-desktop-list > .menu-item > a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width var(--duration-base) var(--ease-out);
}
.nav-desktop-list > .menu-item > a:hover::after,
.nav-desktop-list > .menu-item.current-menu-item > a::after,
.nav-desktop-list > .menu-item.current-menu-ancestor > a::after { width: 100%; }

/* Parent indicator */
.nav-desktop-list > .menu-item-has-children > a::before {
  content: '';
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.55;
  order: 2;
  margin-left: 0.15rem;
}

/* Desktop dropdown */
.nav-desktop .sub-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 200px;
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 160ms;
  z-index: 120;
}
.nav-desktop .sub-menu::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}
.nav-desktop .menu-item-has-children:hover > .sub-menu,
.nav-desktop .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-desktop .sub-menu .menu-item {
  margin: 0;
}
.nav-desktop .sub-menu a {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.nav-desktop .sub-menu a::after { display: none; }
.nav-desktop .sub-menu a:hover,
.nav-desktop .sub-menu .current-menu-item > a {
  background: var(--bg-muted);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
}

/* ---- Header live search ---- */
.header-search {
  position: relative;
}
.header-search-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: min(360px, calc(100vw - 1.5rem));
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: calc(var(--z-header) + 20);
  padding: 0.65rem;
  overflow: hidden;
}
.header-search-panel[hidden] { display: none !important; }
.header-search-form {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
}
.header-search-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: max(16px, 0.9rem);
  background: var(--bg);
  color: var(--text);
}
.header-search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--shadow-focus);
}
.header-search-go {
  flex-shrink: 0;
  min-height: 42px;
  padding: 0 0.85rem;
  border: none;
  border-radius: var(--radius);
  background: var(--bg-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.header-search-go:hover { background: var(--accent); }
.header-search-results {
  margin-top: 0.55rem;
  max-height: min(60vh, 360px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.header-search-results[hidden] { display: none !important; }
.header-search-status {
  padding: 0.75rem 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}
.header-search-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-search-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}
.header-search-item:hover,
.header-search-item:focus-visible {
  background: var(--bg-muted);
}
.header-search-thumb {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--bg-muted);
  overflow: hidden;
  border: 1px solid var(--border);
}
.header-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.header-search-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.header-search-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-search-price {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}
.header-search-all {
  display: block;
  margin-top: 0.35rem;
  padding: 0.65rem 0.5rem 0.25rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-top: 1px solid var(--border);
}
.header-search-all:hover { text-decoration: underline; }
.header-search.is-open .search-toggle {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
@media (max-width: 899px) {
  .header-search-panel {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.35rem);
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
  }
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  padding: 0.5rem;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background var(--duration-base), color var(--duration-base);
}
.icon-btn:hover { background: var(--bg-muted); color: var(--accent); }
.icon-btn-label { display: none; font-size: 0.8125rem; font-weight: 600; }

.count-badge {
  position: absolute;
  top: 4px; right: 2px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  line-height: 1;
}

/* Hamburger — always visible on mobile */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--duration-base), border-color var(--duration-base);
}
.menu-toggle:hover { border-color: var(--bg-dark); background: var(--bg-muted); }
.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
}
.menu-toggle-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
  transform-origin: center;
}
.menu-toggle[aria-expanded="true"] {
  border-color: var(--accent);
  color: var(--accent);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .icon-btn-label { display: inline; }
  .icon-btn { padding: 0.5rem 0.75rem; }
  .logo { max-width: none; flex: 0 1 auto; }
  .logo-name { font-size: 1.2rem; }
  .nav-drawer { display: none !important; }
  :root { --header-h: 72px; --container: min(1200px, calc(100% - 3rem)); }
}

/* ---- Mobile nav drawer (outside header) ---- */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-header) + 50);
  pointer-events: none;
  visibility: hidden;
}
.nav-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}
.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.48);
  opacity: 0;
  transition: opacity 0.28s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-drawer.is-open .nav-drawer-backdrop { opacity: 1; }

.nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  max-width: 100%;
  background: var(--bg-elevated);
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
  transform: translate3d(104%, 0, 0);
  transition: transform 0.3s var(--ease-out);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.nav-drawer.is-open .nav-drawer-panel {
  transform: translate3d(0, 0, 0);
}

.nav-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-drawer-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}
.nav-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius);
  background: var(--bg-muted);
  color: var(--text);
  cursor: pointer;
}
.nav-drawer-close:hover { background: var(--border); }

.nav-drawer-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0;
}
.nav-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-drawer-list li { margin: 0; }
.nav-drawer-list a,
.nav-drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  min-height: 52px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-drawer-list a:hover,
.nav-drawer-list a:focus-visible,
.nav-drawer-list a.active,
.nav-drawer-list .current-menu-item > a {
  background: var(--accent-soft);
  color: var(--accent);
}
.nav-drawer-list a::after {
  content: '→';
  color: var(--text-muted);
  font-size: 0.9rem;
  opacity: 0.7;
}
.nav-drawer-list a.active::after,
.nav-drawer-list .current-menu-item > a::after {
  color: var(--accent);
  opacity: 1;
}

/* Mobile drawer submenus */
.nav-drawer-list .menu-item-has-children > a {
  padding-right: 3rem;
  position: relative;
}
.nav-drawer-list .menu-item-has-children > a::after {
  content: '';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.8;
}
.nav-drawer-list .menu-item-has-children.is-open > a::after {
  transform: translateY(-30%) rotate(225deg);
}
.nav-drawer-list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}
.nav-drawer-list .menu-item-has-children.is-open > .sub-menu {
  display: block;
}
.nav-drawer-list .sub-menu a {
  padding-left: 2rem;
  font-size: 0.95rem;
  font-weight: 450;
  color: var(--text-secondary);
  min-height: 46px;
  border-bottom: 1px solid transparent;
}
.nav-drawer-list .sub-menu a::after {
  content: none;
}
.nav-drawer-list .sub-menu .current-menu-item > a {
  color: var(--accent);
  background: transparent;
}

.nav-drawer-footer {
  flex-shrink: 0;
  padding: 1rem 1.15rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.nav-drawer-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.nav-drawer-quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}
.nav-drawer-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
}
body.astuti-nav-open {
  overflow: hidden;
  touch-action: none;
}
body.astuti-nav-open .astuti-float-dock {
  opacity: 0;
  pointer-events: none;
}

/* ---- Hero (full banner) ---- */
/* ---- Light hero (paper aesthetic) ---- */
.hero {
  position: relative;
  overflow: clip;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2.25rem) 0 2.5rem;
  background: #FFFEFB;
  color: var(--text);
}
.hero--light {
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(37, 99, 235, 0.06), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(15, 23, 42, 0.03), transparent 50%),
    #FFFEFB;
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.hero-copy { max-width: 36rem; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}
.hero-title {
  font-size: clamp(2.15rem, 6.2vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 1.1rem 0 1.15rem;
}
.hero-title-line { display: block; }
.hero-title-muted { color: #94a3b8; font-weight: 600; }
.hero-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}
.btn-soft {
  background: #fff;
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.btn-soft:hover {
  background: var(--bg-muted);
  border-color: var(--text);
}
.btn-hero {
  border-radius: 999px;
  padding-inline: 1.35rem;
  min-height: 48px;
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp);
}
.btn-whatsapp:hover {
  filter: brightness(0.95);
  background: #1ebe57;
  border-color: #1ebe57;
  color: #fff;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}
.hero-trust-icon {
  display: inline-flex;
  color: var(--text);
  opacity: 0.7;
}

/* Popular looping panel — soft list, CSS scroll */
.hero-panel {
  position: relative;
  background: linear-gradient(165deg, #F7F4EF 0%, #F3EFE8 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  padding: 1rem 0.85rem 1rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 12px 40px rgba(15, 23, 42, 0.06);
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
}
.hero-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding: 0 0.55rem;
}
.hero-panel-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8B8680;
}
.hero-panel-hint {
  font-size: 0.6875rem;
  color: #A39E96;
  opacity: 0.9;
}
.hero-loop {
  position: relative;
}
.hero-loop-viewport {
  height: 320px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.hero-loop-track {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  will-change: transform;
  animation: hero-loop-scroll 32s linear infinite;
}
.hero-panel--loop:hover .hero-loop-track,
.hero-panel--loop:focus-within .hero-loop-track,
.hero-panel--loop.is-paused .hero-loop-track {
  animation-play-state: paused;
}
@keyframes hero-loop-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -50%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-loop-track {
    animation: none;
    transform: none;
  }
  .hero-loop-viewport {
    height: auto;
    max-height: 360px;
    overflow-y: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.hero-loop-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.hero-loop-row:hover,
.hero-loop-row:focus-visible {
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
  outline: none;
}
.hero-loop-media {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #EEF2FF, #F8FAFC);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-loop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-loop-placeholder {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.1);
}
.hero-loop-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-loop-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-loop-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  color: #8B8680;
}
.hero-loop-sku {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.hero-loop-rating {
  color: #B45309;
  font-weight: 600;
}
.hero-loop-pricewrap {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  flex-shrink: 0;
}
.hero-loop-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.hero-loop-price del {
  display: none;
}
.hero-loop-price ins {
  text-decoration: none;
}
.hero-loop-save {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #16A34A;
  white-space: nowrap;
}
.hero-loop-row--empty {
  pointer-events: none;
  grid-template-columns: 1fr;
}

.hero-loop-badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: min(240px, 88%);
  padding: 0.55rem 0.75rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  z-index: 2;
  pointer-events: none;
}
.hero-loop-badge-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #0F172A;
  color: #FBBF24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.hero-loop-badge strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.hero-loop-badge small {
  display: block;
  font-size: 0.625rem;
  color: #8B8680;
  line-height: 1.3;
  margin-top: 0.1rem;
}

@media (min-width: 900px) {
  .hero {
    padding: calc(var(--header-h) + 3.25rem) 0 3.75rem;
    min-height: min(70vh, 640px);
    display: flex;
    align-items: center;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.95fr;
    gap: 3rem;
  }
  .hero-panel {
    margin-inline: 0 0;
    max-width: none;
  }
  .hero-loop-viewport { height: 360px; }
  .hero-panel-hint { display: inline; }
}
@media (max-width: 899px) {
  .hero-panel-hint { display: none; }
  .hero-loop-viewport { height: 280px; }
  .hero-loop-track { animation-duration: 28s; }
  .hero-loop-badge {
    right: 0.5rem;
    bottom: 0.5rem;
    max-width: 70%;
  }
}

/* Pause state for revolving panel */
.hero-panel.is-paused .hero-panel-hint::after {
  content: ' · paused';
}

/* ---- Sections ---- */
.section { padding: var(--section-y) 0; }
.section--tight-top { padding-top: 0; }
.section--muted { background: var(--bg-muted); border-block: 1px solid var(--border); }

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-header h2 {
  font-size: var(--fluid-h2);
  margin-top: 0.4rem;
}
.section-intro {
  color: var(--text-secondary);
  max-width: 28rem;
  line-height: 1.65;
  font-size: 0.9375rem;
}
.section-header--center {
  text-align: center;
  align-items: center;
}
.section-intro--center { margin-inline: auto; }

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
  }
  .section-header--center {
    flex-direction: column;
    align-items: center;
  }
}

/* ---- Trust bar ---- */
.trust-bar {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.trust-item::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}
.trust-divider {
  width: 1px; height: 12px;
  background: var(--border-strong);
  display: none;
}
@media (min-width: 640px) {
  .trust-divider { display: block; }
  .trust-item::before { display: none; }
}

/* ---- Category strip (subtle depth, not bland white) ---- */
.cat-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.cat-strip-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 148px;
  padding: 1.25rem 1.25rem 1.35rem;
  background:
    linear-gradient(165deg, #ffffff 0%, #f3f6fb 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
  transition:
    background var(--duration-base) var(--ease-out),
    color var(--duration-base),
    border-color var(--duration-base),
    box-shadow var(--duration-base),
    transform var(--duration-base);
}
/* Soft corner accent + technical grid (very light) */
.cat-strip-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
  opacity: 0.85;
  z-index: 1;
}
.cat-strip-card::after {
  content: '';
  position: absolute;
  right: -20%;
  top: -30%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cat-strip-card > * { position: relative; z-index: 1; }
.cat-strip-card:hover,
.cat-strip-card:focus-visible {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--text-inverse);
  box-shadow: 0 12px 28px rgba(11, 18, 32, 0.16);
  transform: translateY(-2px);
}
.cat-strip-card:hover::before,
.cat-strip-card:focus-visible::before {
  background: var(--highlight);
  opacity: 1;
}
.cat-strip-card:hover::after,
.cat-strip-card:focus-visible::after {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, transparent 70%);
}
.cat-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.cat-strip-card:hover .cat-num,
.cat-strip-card:focus-visible .cat-num { color: var(--highlight); }
.cat-strip h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}
.cat-strip-body span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.45;
  max-width: 14rem;
}
.cat-strip-card:hover .cat-strip-body span,
.cat-strip-card:focus-visible .cat-strip-body span {
  color: rgba(248, 250, 252, 0.6);
}
.cat-arrow {
  position: absolute;
  right: 1.15rem;
  bottom: 1.15rem;
  color: var(--accent);
  opacity: 0.35;
  font-size: 1rem;
  transition: opacity var(--duration-base), transform var(--duration-base), color var(--duration-base);
}
.cat-strip-card:hover .cat-arrow,
.cat-strip-card:focus-visible .cat-arrow {
  opacity: 1;
  color: var(--highlight);
  transform: translateX(3px);
}
@media (min-width: 640px) {
  .cat-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}
@media (min-width: 900px) {
  .cat-strip {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
  }
  .cat-strip-card { min-height: 164px; padding: 1.4rem; }
}
@media (min-width: 1100px) {
  .cat-strip {
    grid-template-columns: repeat(var(--cat-count, 4), 1fr);
  }
  .cat-strip-card { min-height: 172px; padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cat-strip-card:hover,
  .cat-strip-card:focus-visible { transform: none; }
}

/* ---- Product grid / cards ---- */
.product-grid,
.shop-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .product-grid, .shop-products {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
  }
}

.product-card,
article.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  color: inherit;
  transition: border-color var(--duration-base), box-shadow var(--duration-base);
  min-width: 0;
}
.product-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.product-card-media {
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-card-image {
  aspect-ratio: 1;
  background: linear-gradient(160deg, #eef2f7 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.5rem;
  display: block;
  background: transparent;
  transition: transform var(--duration-slow) var(--ease-out);
}
.product-card:hover .product-card-img { transform: scale(1.04); }
.product-card-image .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
/* Wishlist / AJAX cards must never stay invisible */
.wishlist-card,
.product-card.wishlist-card,
.wishlist-grid .product-card,
.wishlist-grid .reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
.wishlist-grid {
  min-height: 4rem;
}

.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-radius: var(--radius);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.875rem;
  min-width: 0;
}
@media (min-width: 640px) {
  .product-card-body { padding: 1.1rem; }
}

.product-card-title-link {
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.product-card-cat {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 640px) {
  .product-card-title { font-size: 1.05rem; }
}
.product-card-title-link:hover .product-card-title { color: var(--accent); }

.product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: auto;
}
.product-card-price {
  font-weight: 700;
  font-size: 0.9375rem;
}
.product-card-price del,
.product-card-price .woocommerce-Price-amount del {
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.product-card-add {
  width: 100%;
  margin-top: 0.75rem;
  opacity: 1;
  transform: none;
}
.product-card-add.is-added {
  pointer-events: none;
  background: var(--success);
  border-color: var(--success);
}

/* Wishlist button */
.astuti-wishlist-btn {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-muted);
  box-shadow: var(--shadow);
  transition: color var(--duration-base), transform var(--duration-fast);
}
.astuti-wishlist-btn:hover { color: var(--accent); transform: scale(1.05); }
.astuti-wishlist-btn.is-active { color: var(--error); }
.astuti-wishlist-btn--single {
  position: static;
  width: auto;
  height: auto;
  min-height: var(--touch-min);
  min-width: 120px;
  padding: 0 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  box-shadow: none;
  font-size: 0.8125rem;
  font-weight: 600;
  gap: 0.4rem;
}

/* ---- Why us ---- */
.why-section { background: var(--bg-elevated); border-block: 1px solid var(--border); }
.why-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}
.why-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  min-width: 0;
}
.why-card-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.why-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Testimonials ---- */
.testimonial-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.testimonial-card {
  margin: 0;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.testimonial-card blockquote p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.testimonial-card strong {
  font-size: 0.875rem;
  font-weight: 600;
}
.testimonial-card figcaption span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---- About band ---- */
.about-band {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}
.about-band-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.about-band h2 {
  font-size: var(--fluid-h2);
  margin: 0.5rem 0 1rem;
}
.about-band p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.stat-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-row span {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.about-band-cta { margin-top: 1.75rem; }
.about-image {
  aspect-ratio: 4 / 3;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  min-height: 220px;
}
.about-image-text {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 700;
  color: rgba(248, 250, 252, 0.08);
  letter-spacing: -0.04em;
  user-select: none;
}
@media (min-width: 900px) {
  .about-band-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

/* ---- CTA band (light) ---- */
.cta-band {
  background: #F3E8E0;
  color: var(--text);
  text-align: center;
  padding: var(--section-y) 0;
}
.cta-band--light {
  background: linear-gradient(180deg, #F8EDE4 0%, #F3E8E0 100%);
  border-block: 1px solid #ead9cd;
}
.cta-band-inner { max-width: 40rem; margin-inline: auto; }
.cta-band h2 {
  font-size: var(--fluid-h2);
  margin: 0.75rem 0 1rem;
}
.cta-band-text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.cta-band .hero-actions { justify-content: center; }
.cta-band .eyebrow { color: #9a6b4f; }

/* ---- Footer (light paper) ---- */
.site-footer {
  background: #FFFEFB;
  color: var(--text-secondary);
  padding: 3rem 0 0;
  border-top: 1px solid var(--border);
}
.site-footer--light { background: #F8F7F4; }
.footer-top {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 960px) {
  .footer-top {
    grid-template-columns: 1.35fr 1.65fr auto;
    gap: 2.5rem;
    align-items: start;
  }
}
.logo--footer {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}
.logo--footer .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-dark);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}
.logo--footer .logo-text { display: flex; flex-direction: column; gap: 0.1rem; }
.logo--footer .logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo--footer .logo-tag {
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-blurb {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 24rem;
  color: var(--text-secondary);
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}
.footer-badges span {
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.25rem;
}
@media (min-width: 640px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.footer-col a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: color var(--duration-base);
}
.footer-col a:hover { color: var(--text); }
.footer-col span { color: var(--text-muted); }
.footer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-menu-list a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: color var(--duration-base);
}
.footer-menu-list a:hover { color: var(--text); }
.footer-menu-list .menu-item { margin: 0; }
.footer-wa {
  display: flex;
  align-items: flex-start;
}
.footer-wa-btn {
  border-radius: 999px;
  min-height: 48px;
  padding-inline: 1.25rem;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem 0 calc(1.15rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-legal a:hover { color: var(--text); }
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ---- Page shells ---- */
.page-content,
.content-page {
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2rem) 0 4rem;
}
.page-content h1,
.content-page h1,
.page-intro h1 {
  font-size: var(--fluid-h2);
  margin: 0.5rem 0 1rem;
}
.page-intro { margin-bottom: 2rem; }
.entry-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}
.entry-content h2,
.entry-content h3 {
  font-family: var(--font-display);
  color: var(--text);
  margin: 1.75rem 0 0.75rem;
  line-height: 1.25;
}
.entry-content p { margin-bottom: 1rem; }
.entry-content ul,
.entry-content ol {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.entry-content a { color: var(--accent); }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: 0.9375rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-answer {
  padding: 0 1.15rem 1.15rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.faq-cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; }
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea,
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce-input-wrapper input,
.woocommerce-input-wrapper select,
.woocommerce-input-wrapper textarea {
  width: 100%;
  min-height: var(--touch-min);
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  transition: border-color var(--duration-base), box-shadow var(--duration-base);
}
.form-group textarea,
.woocommerce form textarea { min-height: 140px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.woocommerce form .input-text:focus {
  border-color: var(--accent);
  box-shadow: var(--shadow-focus);
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.contact-info-block {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.contact-info-block h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 1.15rem;
}
.contact-info-row {
  margin-bottom: 1rem;
}
.contact-info-row:last-child { margin-bottom: 0; }
.contact-info-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.contact-info-block p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}
.contact-info-block a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.contact-info-block a:hover { text-decoration: underline; }
.contact-map {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-muted);
  aspect-ratio: 4 / 3;
  min-height: 220px;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
}
.contact-map-link {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
}
.contact-map-link a {
  color: var(--accent);
  text-decoration: none;
}
.contact-map-link a:hover { text-decoration: underline; }
.contact-notice {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.contact-notice--success { background: #ecfdf5; color: var(--success); }
.contact-notice--error { background: #fef2f2; color: var(--error); }

/* ---- Shop ---- */
.page-hero {
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2rem) 0 1.5rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: var(--fluid-h2);
  margin: 0.4rem 0 0.5rem;
}
.page-hero p {
  color: var(--text-secondary);
  max-width: 36rem;
  font-size: 0.9375rem;
}

.shop-layout {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem 0 3.5rem;
  align-items: start;
}
@media (min-width: 960px) {
  .shop-layout {
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
    padding: 2.5rem 0 4rem;
  }
}

/* ---- Shop filters (desktop sidebar + mobile drawer) ---- */
.shop-filters {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  /* Never use .reveal animation on this panel — it fights mobile transform */
  opacity: 1 !important;
  transform: none;
}
.shop-filters-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-elevated);
}
.shop-filters-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}
.shop-filters-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -6px -6px -6px 0;
  border: none;
  border-radius: var(--radius);
  background: var(--bg-muted);
  color: var(--text);
  cursor: pointer;
}
.shop-filters-close:hover { background: var(--border); }
.shop-filters-body {
  padding: 1.15rem 1.15rem 1.25rem;
  min-width: 0;
}
.shop-filters h3,
.astuti-filters-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
}
.shop-filters-section h3 { margin-bottom: 0.65rem; }
.filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.filter-list a {
  display: block;
  padding: 0.5rem 0.55rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius);
  min-height: 40px;
  line-height: 1.4;
}
.filter-list a:hover,
.filter-list a.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.astuti-filters-panel { min-width: 0; }
.astuti-filters-form {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.astuti-filters-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.astuti-filters-clear {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0;
  min-height: 40px;
  text-decoration: underline;
  cursor: pointer;
  flex-shrink: 0;
}
.astuti-filter-group {
  border: none;
  margin: 0 0 1.15rem;
  padding: 0;
  min-width: 0;
}
.astuti-filter-group legend {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  padding: 0;
}
.astuti-filter-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  min-height: 40px;
  cursor: pointer;
}
.astuti-filter-check input {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.astuti-price-range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.astuti-price-range input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: max(16px, 0.875rem); /* avoid iOS zoom */
  background: var(--bg-elevated);
  color: var(--text);
}
.astuti-price-sep { color: var(--text-muted); flex-shrink: 0; }

.astuti-filters-footer {
  margin-top: 0.25rem;
  padding-top: 0.25rem;
}
.astuti-filters-footer .btn {
  width: 100%;
}

.shop-toolbar-mobile {
  display: flex;
  margin-bottom: 0.75rem;
}
.shop-filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.shop-filters-toggle:hover { border-color: var(--bg-dark); }

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.shop-count {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}
.shop-sort select,
.woocommerce-ordering select {
  min-height: 40px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  font-size: 0.8125rem;
}
.shop-no-results {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
}
.astuti-shop-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Desktop: normal sidebar */
@media (min-width: 960px) {
  .shop-toolbar-mobile { display: none; }
  .shop-filters-drawer-backdrop { display: none !important; }
  .shop-filters-header { display: none !important; }
  .shop-filters-body { padding: 1.25rem; }
  .astuti-filters-footer {
    position: static;
    border: none;
    padding: 0;
    margin-top: 0.5rem;
    background: transparent;
  }
}

/* Mobile: full-height drawer with sticky Apply footer */
@media (max-width: 959px) {
  .shop-filters {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(340px, 90vw);
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    z-index: var(--z-overlay);
    border-radius: 0;
    border: none;
    border-right: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translate3d(-105%, 0, 0);
    transition: transform 0.28s var(--ease-out);
    padding: 0;
    overflow: hidden;
    /* Flex column: header + scroll body + sticky footer inside form */
  }
  .shop-filters.is-open {
    transform: translate3d(0, 0, 0);
  }
  .shop-filters-header {
    display: flex;
    padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
  }
  .shop-filters-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    padding: 0 0 5.5rem; /* room for sticky apply bar */
  }
  .shop-filters-section {
    padding: 1rem 1rem 0;
  }
  .shop-filters-advanced {
    display: block;
  }
  .astuti-filters-panel {
    display: block;
  }
  .astuti-filters-form {
    display: block;
  }
  .astuti-filters-scroll {
    padding: 0.75rem 1rem 1rem;
  }
  /* Sticky apply bar pinned to bottom of drawer */
  .astuti-filters-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: min(340px, 90vw);
    max-width: 100%;
    z-index: calc(var(--z-overlay) + 1);
    margin: 0;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
    box-shadow: 0 -6px 16px rgba(15, 23, 42, 0.08);
    /* Only visible when drawer open */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  .shop-filters.is-open .astuti-filters-footer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .astuti-filters-footer .btn {
    width: 100%;
    min-height: 48px;
  }

  .shop-filters-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 18, 32, 0.5);
    z-index: calc(var(--z-overlay) - 1);
    -webkit-tap-highlight-color: transparent;
  }
  .shop-filters-drawer-backdrop.is-open {
    display: block;
  }
  body.astuti-filters-open {
    overflow: hidden;
    touch-action: none;
  }
  body.astuti-filters-open .astuti-float-dock {
    opacity: 0;
    pointer-events: none;
  }
}

/* Pagination */
.woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 2rem;
}
.woocommerce-pagination a,
.woocommerce-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}
.woocommerce-pagination .current {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-color: var(--bg-dark);
}

/* ---- Single product ---- */
.product-detail {
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.5rem) 0 3rem;
}
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--accent); }

.product-detail-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }
}
.product-gallery {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0.75rem;
  position: relative;
  min-width: 0;
}
.product-gallery .woocommerce-product-gallery {
  position: relative;
  opacity: 1 !important;
}
.product-gallery .woocommerce-product-gallery__wrapper {
  margin: 0;
}
.product-gallery .woocommerce-product-gallery__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-muted);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-gallery .woocommerce-product-gallery__image a {
  display: block;
  width: 100%;
  height: 100%;
}
.product-gallery .woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 0;
}
.product-gallery .onsale {
  top: 1rem;
  left: 1rem;
}
.woocommerce-product-gallery__trigger {
  position: absolute !important;
  top: 0.85rem !important;
  right: 0.85rem !important;
  z-index: 5;
  width: 40px !important;
  height: 40px !important;
  border-radius: var(--radius) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow);
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-indent: -9999px;
  overflow: hidden;
}
.woocommerce-product-gallery__trigger::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--bg-dark);
  border-radius: 50%;
  top: 11px;
  left: 11px;
  text-indent: 0;
}
.woocommerce-product-gallery__trigger::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 2px;
  background: var(--bg-dark);
  transform: rotate(45deg);
  top: 24px;
  left: 22px;
}
.flex-control-thumbs {
  display: flex;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.flex-control-thumbs li {
  flex: 0 0 64px;
  width: 64px;
  margin: 0 !important;
  list-style: none;
}
.flex-control-thumbs img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity var(--duration-base), border-color var(--duration-base);
}
.flex-control-thumbs .flex-active,
.flex-control-thumbs img:hover,
.flex-control-thumbs img:focus {
  opacity: 1;
  border-color: var(--accent);
}
@media (min-width: 640px) {
  .product-gallery { padding: 1rem; }
  .flex-control-thumbs li,
  .flex-control-thumbs img {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }
}

.product-info .display {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin: 0.4rem 0 0.5rem;
}
.product-info .sku {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.product-price-lg {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}
.product-price-lg del {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-right: 0.4rem;
}
.product-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 0.975rem;
}

.astuti-specs-grid {
  display: grid;
  gap: 0;
  margin: 1.25rem 0 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  overflow: hidden;
}
.astuti-spec-item {
  display: grid;
  grid-template-columns: minmax(110px, 36%) 1fr;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.astuti-spec-item:last-child { border-bottom: none; }
.astuti-spec-item dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
  align-self: center;
}
.astuti-spec-item dd {
  margin: 0;
  font-weight: 500;
  font-size: 0.9rem;
}

.astuti-wholesale-notice {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius);
  font-size: 0.875rem;
}
.astuti-wholesale-notice__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}
.product-options .cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.product-options .single_add_to_cart_button {
  flex: 1 1 auto;
  min-width: min(100%, 160px);
}

/* Qty control */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  overflow: hidden;
}
.qty-control .qty,
.qty-control input.qty {
  width: 3rem;
  min-height: var(--touch-min);
  border: none !important;
  text-align: center;
  font-weight: 600;
  box-shadow: none !important;
  border-radius: 0 !important;
  -moz-appearance: textfield;
}
.qty-control .qty::-webkit-outer-spin-button,
.qty-control .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-btn,
.qty-control button {
  width: 40px;
  min-height: var(--touch-min);
  border: none;
  background: var(--bg-muted);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.qty-btn:hover,
.qty-control button:hover { background: var(--border); }

.qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.qty-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.qty-row .single_add_to_cart_button {
  flex: 1 1 auto;
  min-width: min(100%, 140px);
}

.product-specs {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.product-specs dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.product-specs dd {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.product-reviews-section {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.product-reviews-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.product-reviews-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

/* Sticky ATC */
.sticky-atc {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%);
  transition: transform var(--duration-base) var(--ease-out);
}
.sticky-atc.visible { transform: translateY(0); }
.sticky-atc-inner {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sticky-atc-price { font-weight: 700; font-size: 1.05rem; }

/* ---- Cart / Checkout ---- */
.woocommerce-page-wrap {
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2rem) 0 4rem;
}
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  max-width: 100%;
}
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-elevated);
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.9rem;
}
.woocommerce table.shop_table th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg-muted);
}
.woocommerce-cart-form__cart-item img {
  width: 64px;
  height: auto;
  border-radius: var(--radius);
}
.woocommerce .cart-collaterals,
.woocommerce-checkout #order_review {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.woocommerce .cart_totals h2,
.woocommerce-checkout #order_review_heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.woocommerce #payment {
  background: var(--bg-muted);
  border-radius: var(--radius);
  padding: 1rem;
}
/*
 * WooCommerce + Cart block buttons
 * Cart “You may be interested in…” uses .wc-block-grid / .wp-block-button__link
 * and CSS vars --button--color-*. Override all of those to match the theme.
 */
:root {
  --button--color-background: #2563EB;
  --button--color-text: #ffffff;
  --button--color-border: #2563EB;
  --button--border-radius: 4px;
  --button--border-width: 0;
  --button--font-weight: 600;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce #place_order,
.woocommerce .checkout-button,
.woocommerce .wc-block-components-button,
.woocommerce .wp-block-button__link,
.wc-block-cart .wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link,
.wc-block-grid__product .wp-block-button__link,
.wc-block-components-product-button .wp-block-button__link,
.wp-block-button.wc-block-components-product-button .wp-block-button__link,
body.woocommerce-cart .wp-block-button__link,
body.woocommerce-cart a.add_to_cart_button,
body.woocommerce-page .wc-block-grid__product-add-to-cart .wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: var(--touch-min) !important;
  padding: 0.75rem 1.35rem !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  line-height: 1.2 !important;
  border-radius: var(--radius) !important;
  border: 1.5px solid transparent !important;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
  white-space: normal !important;
  transition: background var(--duration-base), border-color var(--duration-base), color var(--duration-base) !important;
}

/* Primary (navy) — update cart, apply coupon, generic WC buttons */
.woocommerce a.button:not(.alt):not(.checkout-button):not(.add_to_cart_button),
.woocommerce button.button:not(.alt):not(#place_order),
.woocommerce input.button:not(.alt),
.woocommerce #respond input#submit:not(.alt) {
  background: var(--bg-dark) !important;
  background-color: var(--bg-dark) !important;
  color: #fff !important;
  border-color: var(--bg-dark) !important;
}
.woocommerce a.button:not(.alt):hover,
.woocommerce button.button:not(.alt):hover,
.woocommerce input.button:not(.alt):hover {
  background: var(--accent) !important;
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

/* Accent — add to cart, checkout, place order, cart recommendations */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce #place_order,
.woocommerce .checkout-button,
.woocommerce a.add_to_cart_button,
.woocommerce .wc-block-components-button:not(.is-link):not(.outlined):not(.text),
.woocommerce .wp-block-button__link,
.woocommerce .wp-block-button__link.add_to_cart_button,
.wc-block-cart .wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link,
.wc-block-grid__product .wp-block-button__link,
.wc-block-components-product-button .wp-block-button__link,
.wp-block-button.wc-block-components-product-button .wp-block-button__link,
body.woocommerce-cart .wp-block-button__link,
body.woocommerce-cart a.add_to_cart_button,
body.woocommerce-page .wc-block-grid__product-add-to-cart .wp-block-button__link,
body.woocommerce-cart .wc-block-grid__product-add-to-cart a {
  background: var(--accent) !important;
  background-color: var(--accent) !important;
  background-image: none !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #place_order:hover,
.woocommerce .checkout-button:hover,
.woocommerce a.add_to_cart_button:hover,
.woocommerce .wc-block-components-button:not(.is-link):hover,
.woocommerce .wp-block-button__link:hover,
.woocommerce .wp-block-button__link.add_to_cart_button:hover,
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link:hover,
.wc-block-grid__product .wp-block-button__link:hover,
body.woocommerce-cart .wp-block-button__link:hover,
body.woocommerce-cart a.add_to_cart_button:hover {
  background: var(--accent-hover) !important;
  background-color: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
  color: #fff !important;
  opacity: 1 !important;
}

/* Kill outline/inverted block styles that flip to dark bg + colored text */
body.woocommerce-cart .wp-block-button.is-style-outline .wp-block-button__link,
body.woocommerce-page .wp-block-button.is-style-outline .wp-block-button__link,
.wc-block-components-product-button.is-style-outline .wp-block-button__link {
  background: var(--accent) !important;
  background-color: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

.woocommerce a.button.disabled,
.woocommerce button.button.disabled,
.wp-block-button__link.disabled,
.wp-block-button__link.loading {
  opacity: 0.55 !important;
  color: #fff !important;
}

/* Cart recommendation cards layout polish */
body.woocommerce-cart .wc-block-grid__products,
.woocommerce .wc-block-grid__products {
  gap: 1rem;
}
body.woocommerce-cart .wc-block-grid__product,
.woocommerce .wc-block-grid__product {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  padding: 0.75rem;
  text-align: left;
}
body.woocommerce-cart .wc-block-grid__product-title,
.woocommerce .wc-block-grid__product-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text) !important;
}
body.woocommerce-cart .wc-block-grid__product-price,
.woocommerce .wc-block-grid__product-price {
  color: var(--text) !important;
  font-weight: 700;
}
body.woocommerce-cart .wc-block-grid__product-add-to-cart,
.woocommerce .wc-block-grid__product-add-to-cart {
  margin-top: 0.75rem;
}
body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link,
.woocommerce .wc-block-grid__product-add-to-cart .wp-block-button__link {
  width: 100%;
}
.woocommerce a.remove {
  color: var(--error) !important;
  text-decoration: none;
  font-size: 1.25rem;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.875rem;
  border-left: 3px solid;
  list-style: none;
}
.woocommerce-message { background: #ecfdf5; border-color: var(--success); color: #065f46; }
.woocommerce-info { background: #eff6ff; border-color: var(--accent); color: #1e40af; }
.woocommerce-error { background: #fef2f2; border-color: var(--error); color: #991b1b; }

/* Form rows on checkout */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
  display: grid;
  gap: 0.75rem;
}
.woocommerce form .form-row label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.woocommerce form .form-row { margin-bottom: 0.5rem; }

/* Sale flash */
.onsale {
  position: absolute;
  z-index: 2;
  top: 12px; left: 12px;
  background: var(--bg-dark);
  color: var(--text-inverse);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius);
}

/* ---- Floating dock: Cart FAB + WhatsApp (stacked, bottom-right) ---- */
.astuti-float-dock {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: var(--z-whatsapp);
  display: flex;
  flex-direction: column-reverse; /* WhatsApp nearest bottom, cart above */
  align-items: flex-end;
  gap: 0.7rem;
  transition: opacity 0.2s ease, bottom 0.25s ease;
}
body.astuti-sticky-atc-visible .astuti-float-dock {
  bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
}

.astuti-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--duration-base), box-shadow var(--duration-base);
  text-decoration: none;
}
.astuti-whatsapp:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
}

.astuti-float-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.55rem 0.9rem 0.55rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--bg-dark);
  color: #fff;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.28);
  transition: transform var(--duration-base), box-shadow var(--duration-base), background var(--duration-base);
}
.astuti-float-cart:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.astuti-float-cart-label { line-height: 1; }
.astuti-float-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}
.astuti-float-cart.is-pulse {
  animation: pulse-cart 0.5s var(--ease-out);
}
.astuti-float-cart[hidden] {
  display: none !important;
}

/* ---- Toast (add-to-cart feedback) ---- */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(5.5rem, calc(env(safe-area-inset-bottom, 0px) + 5.25rem));
  transform: translateX(-50%) translateY(140%);
  z-index: var(--z-toast);
  display: none; /* never leave a black speck when idle */
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem 0.7rem 1rem;
  background: var(--bg-dark);
  color: var(--text-inverse);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-base) var(--ease-out), opacity var(--duration-base);
  max-width: min(94vw, 440px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.toast[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.toast.show {
  display: flex;
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.toast-msg {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 1 1 auto;
}
.toast-msg span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 12rem;
}
.toast-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}
.toast-cta:hover { background: var(--accent-hover); color: #fff !important; }
.toast-icon { flex-shrink: 0; color: #6ee7b7; }

/* Fly to cart */
.fly-to-cart {
  position: fixed;
  z-index: var(--z-toast);
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease-out);
  box-shadow: var(--shadow);
}
.fly-to-cart img { width: 100%; height: 100%; object-fit: cover; }
.cart-btn.is-pulse,
.astuti-float-cart.is-pulse { animation: pulse-cart 0.45s var(--ease-out); }
@keyframes pulse-cart {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.1); }
}

/* Placeholder */
.placeholder-part {
  width: 120px; height: 120px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #3B82F6 0%, #1D4ED8 55%, #0B1220 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.product-card-image .placeholder-part {
  width: 64px; height: 64px;
}
.hero-visual .placeholder-part {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ---- Motion ---- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .product-card-img,
  .cat-strip-card,
  .astuti-whatsapp,
  .fly-to-cart { transition: none !important; }
}

/* ---- Star ratings (WooCommerce .star-rating without WC CSS) ---- */
.star-rating {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.2em;
  line-height: 1;
  font-size: 0.95rem;
  width: 5.6em;
  font-family: inherit;
  speak: never;
  vertical-align: middle;
  color: #F59E0B;
}
.star-rating::before {
  content: '★★★★★';
  position: absolute;
  inset: 0 auto auto 0;
  color: #E2E8F0;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.star-rating > span {
  position: absolute;
  inset: 0 auto auto 0;
  overflow: hidden;
  padding-top: 1.5em;
  white-space: nowrap;
}
.star-rating > span::before {
  content: '★★★★★';
  position: absolute;
  inset: 0 auto auto 0;
  color: #F59E0B;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.woocommerce .star-rating,
.product-reviews-summary .star-rating {
  margin: 0;
}
.product-reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.comment-form-rating select {
  max-width: 100%;
  min-height: var(--touch-min);
}
.woocommerce-Reviews .star-rating {
  float: none;
  margin-bottom: 0.35rem;
}
.woocommerce-review__author {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---- Product share row ---- */
.product-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
}
.product-share {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.astuti-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: var(--touch-min);
  min-width: var(--touch-min);
  padding: 0 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--duration-base), border-color var(--duration-base), color var(--duration-base);
}
.astuti-share-btn:hover {
  border-color: var(--bg-dark);
  color: var(--bg-dark);
}
.astuti-share-btn--wa:hover {
  border-color: #25D366;
  color: #128C7E;
  background: #ecfdf5;
}
.astuti-share-btn--msg:hover {
  border-color: #0084FF;
  color: #0084FF;
  background: #eff6ff;
}
.astuti-share-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.astuti-share-btn span {
  display: none;
}
@media (min-width: 480px) {
  .astuti-share-btn span { display: inline; }
}
.qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}
.qty-row .single_add_to_cart_button {
  flex: 1 1 auto;
  min-width: min(100%, 140px);
}

/* Wishlist page */
.wishlist-status {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.wishlist-browse { margin-top: 1.5rem; }
.wishlist-grid { margin-top: 1.5rem; }

/* ---- Wishlist page ---- */
.wishlist-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

/* ---- 404 ---- */
.error-404 {
  min-height: 50vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) 1rem 4rem;
}
.error-404 h1 { font-size: var(--fluid-h1); margin-bottom: 1rem; }

/* ---- Screen helpers ---- */
@media (max-width: 379px) {
  .product-grid, .shop-products {
    grid-template-columns: 1fr;
  }
}
