:root {
  --ach-bg: #fff8f3;
  --ach-bg-alt: #ffffff;
  --ach-card: #ffffff;
  --ach-border: #ffe4d4;
  --ach-text: #222222;
  --ach-muted: #666666;
  --ach-orange: #ee4d2d;
  --ach-orange-dark: #d73211;
  --ach-orange-light: #ff6633;
  --ach-shadow: 0 4px 20px rgba(238, 77, 45, 0.12);
  --ach-radius: 12px;
  --ach-font: "Plus Jakarta Sans", system-ui, sans-serif;
  --ach-container: 1120px;
}

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

body.ach-body {
  margin: 0;
  font-family: var(--ach-font);
  background: var(--ach-bg);
  color: var(--ach-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: var(--ach-orange); text-decoration: none; }
a:hover { color: var(--ach-orange-dark); }

.container {
  width: min(100% - 2rem, var(--ach-container));
  margin-inline: auto;
}

/* Header */
.ach-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ach-orange);
  box-shadow: 0 2px 12px rgba(238, 77, 45, 0.08);
}

.ach-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.ach-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ach-text);
  font-weight: 800;
  font-size: 1.1rem;
}

.ach-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--ach-orange);
  color: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
}

.ach-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ach-nav a {
  color: var(--ach-text);
  font-weight: 600;
  font-size: 0.95rem;
}

.ach-nav a:hover { color: var(--ach-orange); }

.ach-search input {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--ach-border);
  border-radius: 999px;
  min-width: 160px;
  font: inherit;
}

.ach-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.ach-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ach-text);
}

/* Hero */
.ach-hero {
  background: linear-gradient(135deg, #ee4d2d 0%, #ff6633 50%, #ff8f59 100%);
  color: #fff;
  padding: 3rem 0;
}

.ach-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0.5rem 0;
  line-height: 1.2;
}

.ach-hero h1 em { font-style: normal; text-decoration: underline; text-underline-offset: 4px; }

.ach-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.9;
  margin: 0;
}

.ach-hero-sub { opacity: 0.95; max-width: 540px; margin: 0; }

.ach-hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Buttons */
.ach-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.ach-btn:hover { transform: translateY(-1px); }

.ach-btn-primary {
  background: #fff;
  color: var(--ach-orange);
}

.ach-btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.ach-btn-shopee {
  background: var(--ach-orange);
  color: #fff;
  box-shadow: var(--ach-shadow);
}

.ach-btn-shopee:hover { background: var(--ach-orange-dark); color: #fff; }

.ach-btn-lg { padding: 0.85rem 1.75rem; font-size: 1.05rem; width: 100%; max-width: 360px; }

/* Sections */
.ach-section { padding: 2.5rem 0; }
.ach-section-alt { background: var(--ach-bg-alt); }

.ach-section-head { margin-bottom: 1.5rem; }
.ach-section-head h2 { margin: 0 0 0.25rem; font-size: 1.5rem; }
.ach-section-head p { margin: 0; color: var(--ach-muted); }

/* Grid */
.ach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.ach-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.ach-cat-card {
  background: var(--ach-card);
  border: 1px solid var(--ach-border);
  border-radius: var(--ach-radius);
  padding: 1rem;
  color: var(--ach-text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ach-cat-card:hover {
  border-color: var(--ach-orange);
  box-shadow: var(--ach-shadow);
  color: var(--ach-text);
}

.ach-cat-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.ach-cat-card p { margin: 0; font-size: 0.85rem; color: var(--ach-muted); }

/* Product card */
.ach-card {
  background: var(--ach-card);
  border-radius: var(--ach-radius);
  overflow: hidden;
  border: 1px solid var(--ach-border);
  transition: box-shadow 0.15s, transform 0.15s;
}

.ach-card:hover {
  box-shadow: var(--ach-shadow);
  transform: translateY(-2px);
}

.ach-card-link { color: inherit; display: block; }

.ach-card-img {
  aspect-ratio: 1;
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

.ach-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.ach-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--ach-muted);
  font-weight: 600;
}

.ach-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--ach-orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.ach-card-body { padding: 0.75rem; }
.ach-card-body h3 { margin: 0 0 0.5rem; font-size: 0.9rem; line-height: 1.35; font-weight: 600; }

.ach-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.ach-rating { color: #f5a623; font-weight: 700; }
.ach-rating-lg { font-size: 1.1rem; }

.ach-price { color: var(--ach-orange); font-weight: 800; }
.ach-price-lg { font-size: 1.75rem; margin: 0.5rem 0; }
.ach-price-muted { font-size: 0.8rem; font-weight: 600; color: var(--ach-muted); }

/* Page head */
.ach-page-head { padding: 2rem 0 1rem; }
.ach-page-head h1 { margin: 0.25rem 0; }
.ach-breadcrumb { font-size: 0.85rem; color: var(--ach-muted); margin: 0; }
.ach-lead { color: var(--ach-muted); max-width: 640px; }

.ach-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--ach-muted);
}

.ach-sort select {
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--ach-border);
  font: inherit;
}

.ach-empty, .ach-results { color: var(--ach-muted); }

/* Product page */
.ach-product { padding: 1rem 0 3rem; }

.ach-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.ach-product-img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #fff;
  border-radius: var(--ach-radius);
  border: 1px solid var(--ach-border);
  padding: 1rem;
}

.ach-product-placeholder { min-height: 280px; border-radius: var(--ach-radius); }

.ach-product-info h1 { font-size: 1.5rem; margin: 0 0 1rem; line-height: 1.3; }

.ach-reviews { color: var(--ach-muted); font-size: 0.9rem; }

.ach-cta-hint { font-size: 0.85rem; color: var(--ach-muted); margin-top: 0.5rem; }

.ach-ideal { margin-top: 1rem; font-size: 0.95rem; }

.ach-disclosure-inline {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--ach-muted);
  padding: 0.75rem;
  background: var(--ach-bg);
  border-radius: 8px;
}

.ach-editorial, .ach-related { margin-top: 2.5rem; }
.ach-editorial h2, .ach-related h2 { font-size: 1.25rem; }

.ach-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.ach-pros-cons h3 { margin-top: 0; font-size: 1rem; }
.ach-pros-cons ul { margin: 0; padding-left: 1.25rem; }

/* Sticky CTA */
.ach-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 2px solid var(--ach-orange);
  padding: 0.75rem 0;
  transform: translateY(100%);
  transition: transform 0.25s;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.ach-sticky-cta.is-visible { transform: translateY(0); }

.ach-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ach-sticky-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ach-sticky-title {
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Footer */
.ach-footer {
  background: #fff;
  border-top: 1px solid var(--ach-border);
  padding: 2rem 0 1.5rem;
  margin-top: 2rem;
}

.ach-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.ach-footer ul { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.ach-footer li { margin: 0.25rem 0; }
.ach-footer a { color: var(--ach-muted); }
.ach-disclosure, .ach-copy { font-size: 0.8rem; color: var(--ach-muted); }

.ach-disclosure-bar {
  background: #fff3ed;
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--ach-muted);
  text-align: center;
}

.ach-search-page {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  max-width: 480px;
}

.ach-search-page input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid var(--ach-border);
  border-radius: 999px;
  font: inherit;
}

.ach-legal { max-width: 720px; }
.ach-legal p { color: var(--ach-muted); }

@media (max-width: 768px) {
  .ach-nav-toggle { display: flex; }

  .ach-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 1rem;
    border-bottom: 2px solid var(--ach-orange);
  }

  .ach-nav.is-open { display: flex; }

  .ach-product-layout { grid-template-columns: 1fr; }
  .ach-pros-cons { grid-template-columns: 1fr; }
}
