/* SampaiKu visual system */
:root {
  --navy: #14213D;
  --lime: #C6FF00;
  --mint: #E9FFE0;
  --warm-white: #FAFAF7;
  --light-gray: #F1F3F5;
  --text: #161616;
  --muted: #6B7280;
  --white: #FFFFFF;
  --border: rgba(20, 33, 61, .14);
  --shadow: 0 18px 45px rgba(20, 33, 61, .08);
  --radius: 18px;
  --space: clamp(18px, 3vw, 36px);
  --content: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--warm-white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body.menu-open { overflow: hidden; }

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--navy);
  background: var(--lime);
  border-radius: 10px;
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

/* Header and footer */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px max(18px, calc((100vw - var(--content)) / 2));
  background: rgba(250, 250, 247, .94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.logo {
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0;
}

.logo mark {
  color: var(--navy);
  background: var(--lime);
  border-radius: 10px;
  padding: 1px 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 22px);
  font-size: 15px;
  font-weight: 750;
}

.site-nav a {
  padding: 8px 2px;
  color: var(--navy);
  border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: var(--lime);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.header-search label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.header-search input {
  width: 105px;
  border: 0;
  outline: 0;
  background: transparent;
}

.cart-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  color: var(--navy);
  background: var(--mint);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 800;
}

.cart-status strong {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  color: var(--navy);
  background: var(--lime);
  border-radius: 999px;
  font-size: 13px;
}

.menu-toggle { display: none; }

.site-footer {
  display: grid;
  gap: 22px;
  padding: 44px max(18px, calc((100vw - var(--content)) / 2));
  color: var(--white);
  background: var(--navy);
}

.site-footer strong { font-size: 24px; letter-spacing: 0; }
.site-footer p { margin: 0; color: rgba(255,255,255,.76); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.site-footer a { color: var(--white); font-weight: 750; }
.site-footer a:hover { color: var(--lime); }

/* Shared components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: var(--navy);
  background: var(--lime);
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover { transform: translateY(-1px); background: #d7ff38; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn-small { min-height: 40px; padding-inline: 16px; font-size: 14px; }
.btn-secondary { background: var(--white); border-color: var(--border); }
.btn-secondary:hover { background: var(--mint); }

.text-link {
  color: var(--navy);
  font-weight: 900;
  border-bottom: 3px solid var(--lime);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section, .page-main {
  width: min(var(--content), calc(100vw - 36px));
  margin: 0 auto;
}

.section { padding: clamp(42px, 7vw, 84px) 0; }

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

h1, h2, h3 { color: var(--navy); line-height: 1.05; letter-spacing: 0; }
h1 { font-size: clamp(42px, 7vw, 82px); margin: 0 0 18px; }
h2 { font-size: clamp(28px, 4vw, 48px); margin: 0 0 12px; }
h3 { font-size: 21px; margin: 0 0 8px; }
p { margin: 0 0 16px; }

.page-title {
  padding: clamp(38px, 6vw, 72px) 0 24px;
  max-width: 760px;
}

/* Home */
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  min-height: 650px;
  padding: clamp(36px, 7vw, 82px) max(18px, calc((100vw - var(--content)) / 2));
  overflow: hidden;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.hero-art {
  position: relative;
  min-height: 450px;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(circle at 70% 20%, rgba(198, 255, 0, .22), transparent 28%), var(--navy);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.art-bag {
  position: absolute;
  left: 18%;
  bottom: 12%;
  width: 38%;
  height: 48%;
  background: var(--mint);
  border: 10px solid var(--lime);
  border-radius: 24px 24px 34px 34px;
}

.art-bag::before {
  content: "";
  position: absolute;
  left: 25%;
  top: -56px;
  width: 48%;
  height: 80px;
  border: 10px solid var(--lime);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.art-box {
  position: absolute;
  right: 12%;
  bottom: 20%;
  width: 30%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--white), var(--mint));
  border: 8px solid rgba(255,255,255,.28);
  border-radius: 24px;
  transform: rotate(-8deg);
}

.art-box::after {
  content: "";
  position: absolute;
  inset: 0 42% auto;
  height: 100%;
  background: rgba(20, 33, 61, .12);
}

.art-arrow {
  position: absolute;
  left: 48%;
  top: 28%;
  width: 28%;
  height: 14px;
  background: var(--lime);
  border-radius: 999px;
}

.art-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -13px;
  width: 40px;
  height: 40px;
  border-top: 14px solid var(--lime);
  border-right: 14px solid var(--lime);
  transform: rotate(45deg);
}

.art-card {
  position: absolute;
  display: grid;
  place-items: center;
  width: 96px;
  height: 54px;
  color: var(--navy);
  background: var(--lime);
  border-radius: 16px;
  font-weight: 950;
  box-shadow: 0 14px 24px rgba(0,0,0,.16);
}

.art-card-a { right: 18%; top: 15%; }
.art-card-b { left: 12%; top: 24%; transform: rotate(-10deg); }
.art-dot { position: absolute; border-radius: 50%; background: rgba(255,255,255,.16); }
.dot-a { width: 92px; height: 92px; right: 8%; top: 45%; }
.dot-b { width: 52px; height: 52px; left: 10%; bottom: 8%; }

.category-grid, .why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-card, .why-grid article, .product-card, .cart-item, .cart-summary, .checkout-form, .contact-form, .empty-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(20,33,61,.04);
}

.category-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 108px;
  padding: 20px;
}

.category-card span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--navy);
  background: var(--lime);
  border-radius: 14px;
  font-size: 24px;
}

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

.promo-strip {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 28px;
  align-items: center;
  width: min(var(--content), calc(100vw - 36px));
  margin: 36px auto;
  padding: clamp(28px, 5vw, 52px);
  color: var(--white);
  background: var(--navy);
  border-radius: 28px;
  overflow: hidden;
}

.promo-strip h2, .promo-strip .eyebrow { color: var(--white); }
.promo-strip p { color: rgba(255,255,255,.76); }

.promo-motion {
  position: relative;
  height: 160px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(198,255,0,.18));
}

.promo-motion span {
  position: absolute;
  left: 20px;
  top: 58px;
  width: 72px;
  height: 52px;
  background: var(--lime);
  border-radius: 14px;
  animation: deliver 4s ease-in-out infinite;
}

.promo-motion span::before {
  content: "";
  position: absolute;
  inset: -16px 18px auto;
  height: 16px;
  background: var(--mint);
  border-radius: 8px 8px 0 0;
}

@keyframes deliver {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(140px); }
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps article {
  padding: 26px;
  border-top: 4px solid var(--lime);
  background: var(--mint);
  border-radius: var(--radius);
}

.steps span { color: var(--muted); font-weight: 950; }
.why-grid article { padding: 24px; }

.about-band {
  padding: clamp(44px, 7vw, 80px) max(18px, calc((100vw - var(--content)) / 2));
  background: var(--mint);
}

.about-band div { max-width: 850px; }

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.product-visual {
  display: grid;
  place-items: center;
  min-height: 210px;
  color: var(--navy);
  background: var(--mint);
  border-bottom: 1px solid var(--border);
}

.product-visual svg { width: 72%; height: 160px; }

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.product-body h3 { font-size: 20px; }
.product-body p { color: var(--muted); }
.product-category { color: var(--muted); font-size: 13px; font-weight: 850; text-transform: uppercase; }
.price { margin-top: auto; color: var(--navy); font-size: 22px; font-weight: 950; }
.card-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 8px; }

.filters {
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 16px;
  align-items: end;
  padding: 20px;
  background: var(--mint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.field, .checkout-form label, .contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 850;
}

input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}

textarea { resize: vertical; }

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
}

.chip {
  min-height: 42px;
  padding: 0 15px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 850;
}

.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.result-count { margin: 22px 0; color: var(--muted); font-weight: 800; }
.empty-panel { padding: 28px; margin: 24px 0 60px; }

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: start;
  padding: clamp(38px, 6vw, 76px) 0;
}

.detail-image {
  display: grid;
  place-items: center;
  min-height: 480px;
  background: var(--mint);
  border: 1px solid var(--border);
  border-radius: 28px;
}

.detail-image svg { width: 78%; height: 330px; }
.thumbnails { display: flex; gap: 12px; margin-top: 14px; }

.thumbnail {
  display: grid;
  place-items: center;
  width: 88px;
  height: 74px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 16px;
}

.thumbnail[aria-pressed="true"] { border-color: var(--navy); background: var(--mint); }
.thumbnail svg { width: 52px; height: 52px; }
.detail-price { color: var(--navy); font-size: 34px; font-weight: 950; }
.detail-list { padding-left: 20px; color: var(--muted); }
.demo-note, .demo-banner {
  padding: 14px 16px;
  color: var(--navy);
  background: var(--mint);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-weight: 800;
}

.quantity-control {
  display: grid;
  grid-template-columns: 1fr 46px 90px 46px;
  gap: 10px;
  align-items: center;
  max-width: 360px;
  margin: 22px 0;
}

.quantity-control button, .qty-button {
  min-height: 46px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 950;
}

.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Cart and checkout */
.cart-layout, .checkout-grid, .contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
  padding-bottom: 72px;
}

.cart-list { display: grid; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.cart-thumb {
  display: grid;
  place-items: center;
  width: 92px;
  height: 84px;
  background: var(--mint);
  border-radius: 14px;
}

.cart-thumb svg { width: 62px; height: 62px; }
.cart-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cart-controls input { width: 76px; }
.remove-button { color: #8a1f1f; background: #fff0f0; border: 1px solid #efb3b3; border-radius: 999px; min-height: 42px; padding: 0 14px; font-weight: 850; }

.cart-summary {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  padding: 22px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.summary-row.total { font-size: 22px; }
.checkout-form, .contact-form { display: grid; gap: 16px; padding: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.error { min-height: 18px; color: #9b1c1c; font-size: 14px; font-weight: 750; }
.form-status { color: var(--navy); font-weight: 850; }

.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20,33,61,.66);
}

.dialog {
  width: min(480px, 100%);
  padding: 28px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-layout { grid-template-columns: .8fr 1fr; padding-top: 56px; }
.contact-copy { padding: 22px 0; }
.email-link { color: var(--navy); font-size: 22px; font-weight: 950; border-bottom: 3px solid var(--lime); }
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 300;
  max-width: 320px;
  padding: 14px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.toast.show { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1040px) {
  .site-header { grid-template-columns: auto auto; }
  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    min-height: 42px;
    padding: 0 14px;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-weight: 900;
  }
  .site-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
  }
  .site-nav.is-open { display: flex; }
  .header-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-section, .product-detail, .cart-layout, .checkout-grid, .contact-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

@media (max-width: 680px) {
  .site-header { gap: 12px; }
  .header-actions { flex-wrap: wrap; }
  .header-search { order: 3; width: 100%; border-radius: 14px; }
  .header-search input { width: 100%; }
  .btn-small { display: none; }
  .hero-section { min-height: auto; grid-template-columns: 1fr; }
  .hero-art { min-height: 330px; border-radius: 22px; }
  .hero-actions, .detail-actions { display: grid; }
  .category-grid, .why-grid, .steps, .product-grid, .filters, .promo-strip, .form-row, .cart-item { grid-template-columns: 1fr; }
  .filter-buttons { grid-column: auto; }
  .section-heading.split { display: block; }
  .detail-image { min-height: 320px; }
  .detail-image svg { height: 230px; }
  .quantity-control { grid-template-columns: 1fr 42px 80px 42px; }
  .cart-item { align-items: start; }
  .cart-thumb { width: 100%; }
  .toast { left: 18px; right: 18px; max-width: none; }
}

@media (max-width: 360px) {
  .cart-status span { display: none; }
  h1 { font-size: 38px; }
  .quantity-control { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
