/* ============================================================
   MUTT STORE — Kopitiam Pop design system
   Visual-first · minimal copy · motion-heavy
   ============================================================ */

@font-face { font-family: 'Baloo2'; src: url('../fonts/baloo800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('../fonts/nunito400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('../fonts/nunito700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('../fonts/nunito900.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
  --yellow: #FFC921;
  --yellow-soft: #FFE38A;
  --cream: #FAF3E1;
  --ink: #231D12;
  --white: #FFFFFF;
  --red: #E8542F;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --r-lg: 26px;
  --r-md: 18px;
  --r-pill: 999px;
  --disp: 'Baloo2', 'Nunito', sans-serif;
  --body: 'Nunito', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--ink); color: var(--yellow); }

h1, h2, h3, .disp { font-family: var(--disp); font-weight: 800; line-height: 1.02; letter-spacing: -0.01em; }

.wrap { width: min(1200px, 92vw); margin: 0 auto; }

/* ---------- buttons / chips / stickers ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--disp); font-weight: 800; font-size: 1.05rem;
  background: var(--ink); color: var(--yellow);
  border: 3px solid var(--ink); border-radius: var(--r-pill);
  padding: .8rem 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s;
}
.btn:hover { transform: translate(-2px,-2px) rotate(-1deg); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px,2px) scale(.97); box-shadow: 1px 1px 0 var(--ink); }
.btn.alt { background: var(--white); color: var(--ink); }
.btn.yellow { background: var(--yellow); color: var(--ink); }
.btn.big { font-size: 1.3rem; padding: 1rem 2.2rem; }
.btn.full { width: 100%; justify-content: center; }

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 900; font-size: .85rem;
  background: var(--white); border: 2.5px solid var(--ink);
  border-radius: var(--r-pill); padding: .42rem 1rem;
  transition: transform .15s, background .15s;
  user-select: none; white-space: nowrap;
}
.chip:hover { transform: translateY(-2px) rotate(-1deg); }
.chip.on { background: var(--ink); color: var(--yellow); }

.sticker {
  background: var(--white); border: 3px solid var(--ink);
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}

.badge {
  display: inline-block; font-family: var(--disp); font-weight: 800;
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--yellow); border: 2.5px solid var(--ink);
  border-radius: var(--r-pill); padding: .3rem .9rem;
}
.badge.red { background: var(--red); color: var(--white); }
.badge.white { background: var(--white); }

.starburst {
  position: relative; display: grid; place-items: center;
  width: 110px; height: 110px; text-align: center;
  font-family: var(--disp); font-weight: 800; font-size: .82rem; line-height: 1.05;
  color: var(--ink); background: var(--red);
  clip-path: polygon(50% 0%, 59% 12%, 73% 5%, 76% 20%, 91% 19%, 88% 34%, 100% 41%, 91% 53%, 99% 66%, 84% 70%, 85% 85%, 70% 82%, 65% 96%, 52% 88%, 40% 99%, 33% 85%, 18% 90%, 20% 74%, 4% 71%, 12% 58%, 0% 48%, 12% 39%, 6% 24%, 21% 24%, 21% 9%, 36% 13%, 43% 0%);
  color: var(--white);
  animation: spin-slow 22s linear infinite;
}

/* ---------- marquee ---------- */
.mq { display: flex; overflow: hidden; user-select: none; }
.mq-track {
  flex-shrink: 0; display: flex; align-items: center;
  gap: 2.4rem; padding-right: 2.4rem; min-width: 100%;
  animation: mq-scroll var(--dur, 26s) linear infinite;
}
.mq.rev .mq-track { animation-direction: reverse; }
.mq:hover .mq-track { animation-play-state: paused; }
@keyframes mq-scroll { to { transform: translateX(-100%); } }

.tickerbar {
  background: var(--ink); color: var(--yellow);
  font-family: var(--disp); font-weight: 800; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .45rem 0;
}
.mq-band {
  background: var(--yellow); border-block: 3px solid var(--ink);
  font-family: var(--disp); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-transform: uppercase; padding: .9rem 0;
}
.mq-band.ink { background: var(--ink); color: var(--yellow); }
.mq-band .mq-track { --dur: 30s; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: var(--cream); border-bottom: 3px solid var(--ink);
  transition: box-shadow .25s;
}
.site-head.scrolled { box-shadow: 0 6px 0 rgba(35,29,18,.12); }
.nav { display: flex; align-items: center; gap: 1.6rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--disp); font-weight: 800; font-size: 1.45rem; }
.brand img { width: 46px; height: 46px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--white); transition: transform .3s; }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; font-weight: 900; font-size: .98rem; }
.nav-links a { position: relative; padding: .2rem 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 4px; width: 100%;
  background: var(--yellow); border-radius: 4px; transform: scaleX(0); transform-origin: left;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1); z-index: -1;
}
.nav-links a:hover::after, .nav-links a.here::after { transform: scaleX(1); }
.cart-btn {
  position: relative; margin-left: .4rem;
  background: var(--yellow); border: 3px solid var(--ink); border-radius: var(--r-pill);
  font-family: var(--disp); font-weight: 800; font-size: 1rem;
  padding: .5rem 1.1rem; box-shadow: var(--shadow-sm);
  transition: transform .18s;
}
.cart-btn:hover { transform: translateY(-2px) rotate(-2deg); }
.cart-count {
  position: absolute; top: -10px; right: -8px;
  min-width: 24px; height: 24px; display: grid; place-items: center;
  background: var(--red); color: var(--white); font-weight: 900; font-size: .8rem;
  border: 2.5px solid var(--ink); border-radius: var(--r-pill); padding: 0 .3rem;
}
.cart-count.pop { animation: pop .4s cubic-bezier(.34,1.56,.64,1); }
.burger { display: none; margin-left: auto; background: none; border: none; font-size: 1.9rem; line-height: 1; }

/* mobile menu */
.mnav {
  position: fixed; inset: 0; z-index: 90; background: var(--yellow);
  display: flex; flex-direction: column; justify-content: center; padding: 8vw;
  transform: translateY(-102%); transition: transform .38s cubic-bezier(.7,0,.3,1);
}
.mnav.open { transform: translateY(0); }
.mnav a { font-family: var(--disp); font-weight: 800; font-size: clamp(2.4rem, 9vw, 4rem); padding: .4rem 0; opacity: 0; transform: translateX(-24px); transition: opacity .3s, transform .3s; }
.mnav.open a { opacity: 1; transform: none; }
.mnav .close { position: absolute; top: 5vw; right: 6vw; font-size: 2.4rem; background: none; border: none; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--yellow); border-bottom: 3px solid var(--ink); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23231D12' fill-opacity='0.055'%3E%3Cellipse cx='30' cy='34' rx='7' ry='9'/%3E%3Cellipse cx='46' cy='26' rx='6' ry='8'/%3E%3Cellipse cx='62' cy='34' rx='7' ry='9'/%3E%3Cpath d='M46 42c9 0 15 6 15 13s-7 10-15 10-15-3-15-10 6-13 15-13z'/%3E%3C/g%3E%3C/svg%3E");
  animation: drift 60s linear infinite;
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; padding: 4.2rem 0 4.6rem; }
.hero h1 { font-size: clamp(3rem, 7.2vw, 6rem); text-transform: uppercase; }
[data-split] .ln { display: block; overflow: hidden; }
[data-split] .ch { display: inline-block; transform: translateY(112%); animation: rise .6s cubic-bezier(.2,.9,.3,1.2) forwards; }
.hero-sub { font-weight: 700; font-size: 1.15rem; margin: 1.1rem 0 1.6rem; max-width: 34ch; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stage { position: relative; height: 460px; }
.hero-stick {
  position: absolute; width: 240px; padding: 10px;
  background: var(--white); border: 3px solid var(--ink); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.hero-stick img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; }
.hs-1 { top: 4%; left: 2%; rotate: -7deg; animation: bob 5.2s ease-in-out infinite; }
.hs-2 { top: 30%; right: 0; rotate: 5deg; width: 260px; animation: bob 6.1s ease-in-out .8s infinite; }
.hs-3 { bottom: 0; left: 14%; rotate: -3deg; width: 210px; animation: bob 5.6s ease-in-out 1.6s infinite; }
.hero-burst { position: absolute; top: -6%; right: 8%; }
.hero-pill { position: absolute; bottom: 14%; right: 6%; animation: wiggle 3.4s ease-in-out infinite; }

/* ---------- sections ---------- */
.sec { padding: 4.4rem 0; }
.sec-head { display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.sec-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); text-transform: uppercase; }
.sec-head .more { margin-left: auto; font-weight: 900; border-bottom: 3px solid var(--yellow); }
.sec-head .more:hover { background: var(--yellow); }

/* ---------- product cards ---------- */
.pcard {
  position: relative; background: var(--white); border: 3px solid var(--ink);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s;
  display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-7px) rotate(-1.3deg); box-shadow: 7px 9px 0 var(--ink); }
.pcard .ph { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--yellow-soft); }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .ph img { transform: scale(1.07) rotate(1deg); }
.pcard .ph .noimg { display: grid; place-items: center; height: 100%; font-size: 3rem; }
.pcard .info { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem 1rem; }
.pcard .t { font-family: var(--disp); font-weight: 800; font-size: 1.02rem; line-height: 1.15; flex: 1; }
.pcard .pr { font-weight: 900; white-space: nowrap; }
.pcard .add {
  width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%;
  font-size: 1.4rem; font-weight: 900; line-height: 1;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), background .18s;
}
.pcard .add:hover { transform: scale(1.14) rotate(90deg); }
.pcard .add:active { transform: scale(.9); }
.pcard .flag { position: absolute; top: 12px; left: 12px; rotate: -6deg; }
.pcard.sold .ph img { filter: grayscale(1) opacity(.55); }
.pcard.sold .add { display: none; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.6rem; }

/* carousel = marquee of cards */
.carousel .mq-track { --dur: 45s; gap: 1.6rem; padding-right: 1.6rem; align-items: stretch; }
.carousel .pcard { width: 265px; flex-shrink: 0; }
.carousel { padding-block: .6rem; overflow: visible; overflow-x: clip; }

/* ---------- why band ---------- */
.why { background: var(--white); border-block: 3px solid var(--ink); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.why-tile { text-align: center; padding: 1.6rem 1rem; border: 3px solid var(--ink); border-radius: var(--r-lg); background: var(--cream); box-shadow: var(--shadow-sm); transition: transform .2s; }
.why-tile:hover { transform: rotate(2deg) scale(1.04); background: var(--yellow); }
.why-tile .ic { font-size: 2.6rem; display: block; margin-bottom: .5rem; animation: bob 4s ease-in-out infinite; }
.why-tile:nth-child(2) .ic { animation-delay: .5s; }
.why-tile:nth-child(3) .ic { animation-delay: 1s; }
.why-tile:nth-child(4) .ic { animation-delay: 1.5s; }
.why-tile b { font-family: var(--disp); font-weight: 800; font-size: 1.15rem; }

/* ---------- kuih fan ---------- */
.kuih { background: var(--cream); overflow: hidden; }
.kuih-fan { display: flex; justify-content: center; gap: 0; padding: 1.4rem 0 .8rem; }
.kuih-fan .pcard { width: 225px; margin-inline: -14px; flex-shrink: 0; }
.kuih-fan .pcard:nth-child(odd) { rotate: -3.5deg; translate: 0 10px; }
.kuih-fan .pcard:nth-child(even) { rotate: 3deg; translate: 0 -8px; }
.kuih-fan .pcard:hover { transform: translateY(-14px) rotate(0deg) scale(1.05); z-index: 3; }

/* ---------- photo strips ---------- */
.strip-sec { background: var(--ink); color: var(--cream); border-block: 3px solid var(--ink); padding: 3.6rem 0; }
.strip-sec h2 { color: var(--yellow); }
.filmstrip .mq-track { --dur: 38s; gap: 1.2rem; padding-right: 1.2rem; }
.filmstrip img {
  width: 250px; aspect-ratio: 1; object-fit: cover;
  border: 3px solid var(--cream); border-radius: var(--r-md);
  transition: transform .3s, rotate .3s;
}
.filmstrip img:hover { transform: scale(1.06); rotate: -2deg; }
.filmstrip.small img { width: 190px; }

/* ---------- IG strip ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.ig-grid a { overflow: hidden; border: 3px solid var(--ink); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.ig-grid img { aspect-ratio: 1; object-fit: cover; transition: transform .45s; }
.ig-grid a:hover img { transform: scale(1.12) rotate(2deg); }

/* ---------- footer ---------- */
.foot { background: var(--yellow); border-top: 3px solid var(--ink); padding: 3.6rem 0 1.6rem; }
.foot-cta { text-align: center; margin-bottom: 2.6rem; }
.foot-cta h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); text-transform: uppercase; }
.foot-sub { font-weight: 700; margin-top: .5rem; opacity: .8; }
.foot-form { display: flex; gap: .7rem; justify-content: center; margin-top: 1.3rem; flex-wrap: wrap; }
.foot-form input {
  font: 700 1rem var(--body); padding: .85rem 1.3rem; min-width: 280px;
  border: 3px solid var(--ink); border-radius: var(--r-pill); background: var(--white);
}
.foot-form input:focus { outline: none; box-shadow: var(--shadow-sm); }
.foot-grid { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 3px solid var(--ink); padding-top: 1.4rem; font-weight: 700; font-size: .9rem; }
.foot-grid .links { display: flex; gap: 1.2rem; font-weight: 900; }
.foot-note { text-align: center; font-size: .78rem; opacity: .75; margin-top: 1.2rem; }

/* ---------- shop page ---------- */
.shop-hero { background: var(--yellow); border-bottom: 3px solid var(--ink); padding: 3rem 0 2.2rem; }
.shop-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; }
.shop-hero p { font-weight: 700; margin-top: .4rem; }
.filters { position: sticky; top: 76px; z-index: 40; background: var(--cream); padding: 1rem 0; border-bottom: 3px solid var(--ink); }
.chip-row { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-row + .chip-row { margin-top: .6rem; }
.shop-count { font-weight: 900; font-size: .9rem; opacity: .7; margin: 1.2rem 0 .8rem; }

/* ---------- product page ---------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; padding: 3.4rem 0; }
.pd-img { position: sticky; top: 110px; }
.pd-img .frame { padding: 12px; background: var(--white); border: 3px solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow); rotate: -1.5deg; }
.pd-img img { border-radius: 16px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.pd-info h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.pd-price { font-family: var(--disp); font-weight: 800; font-size: 2rem; margin: .8rem 0; }
.pd-chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.pd-desc { font-weight: 600; opacity: .85; margin-bottom: 1.5rem; max-width: 46ch; }
.pd-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.qty { display: inline-flex; align-items: center; border: 3px solid var(--ink); border-radius: var(--r-pill); background: var(--white); overflow: hidden; }
.qty button { width: 44px; height: 48px; border: none; background: none; font-size: 1.3rem; font-weight: 900; }
.qty button:hover { background: var(--yellow); }
.qty span { min-width: 40px; text-align: center; font-weight: 900; font-size: 1.1rem; }
.vsel { font: 900 1rem var(--body); padding: .7rem 1.1rem; border: 3px solid var(--ink); border-radius: var(--r-pill); background: var(--white); }
.pd-link { font-size: .85rem; font-weight: 700; opacity: .6; }
.pd-link:hover { opacity: 1; text-decoration: underline; }

/* ---------- photography ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; align-items: stretch; }
.pkg {
  position: relative; text-align: center; padding: 2.2rem 1.6rem;
  display: flex; flex-direction: column; gap: .6rem; align-items: center;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1);
}
.pkg:hover { transform: translateY(-8px) rotate(-1deg); }
.pkg.hot { background: var(--yellow); rotate: 1.5deg; }
.pkg h3 { font-size: 1.7rem; text-transform: uppercase; }
.pkg .p { font-family: var(--disp); font-weight: 800; font-size: 2.4rem; }
.pkg ul { list-style: none; font-weight: 700; opacity: .85; }
.pkg ul li { padding: .18rem 0; }
.pkg .btn { margin-top: auto; }
.gal { columns: 3 260px; column-gap: 1.2rem; }
.gal img { border: 3px solid var(--ink); border-radius: var(--r-md); margin-bottom: 1.2rem; box-shadow: var(--shadow-sm); transition: transform .3s; }
.gal img:hover { transform: scale(1.03) rotate(-1deg); }

/* ---------- about ---------- */
.statement { font-family: var(--disp); font-weight: 800; font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.18; max-width: 24ch; }
.statement mark { background: linear-gradient(transparent 55%, var(--yellow) 55%); padding-inline: .1em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; text-align: center; padding: 1.8rem 1.2rem 1.4rem; counter-increment: step; }
.step::before {
  content: counter(step); position: absolute; top: -18px; left: 50%; translate: -50% 0;
  width: 38px; height: 38px; display: grid; place-items: center;
  font-family: var(--disp); font-weight: 800;
  background: var(--red); color: var(--white); border: 3px solid var(--ink); border-radius: 50%;
}
.step .ic { font-size: 2.4rem; display: block; margin-bottom: .4rem; }
.step b { font-family: var(--disp); font-size: 1.2rem; }
.collage { position: relative; height: 420px; }
.collage img {
  position: absolute; width: 46%; aspect-ratio: 1; object-fit: cover;
  border: 3px solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow);
  transition: transform .3s, z-index 0s;
}
.collage img:hover { transform: scale(1.05) rotate(0deg) !important; z-index: 5; }
.stat-row { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 2rem; }
.stat { padding: 1.1rem 1.6rem; text-align: center; rotate: -2deg; }
.stat:nth-child(2) { rotate: 2deg; }
.stat:nth-child(3) { rotate: -1deg; }
.stat b { font-family: var(--disp); font-weight: 800; font-size: 1.9rem; display: block; }
.stat span { font-weight: 900; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- faq ---------- */
.acc { display: grid; gap: 1rem; max-width: 780px; margin: 0 auto; }
.acc-item { overflow: hidden; }
.acc-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: none; text-align: left;
  font-family: var(--disp); font-weight: 800; font-size: 1.2rem; padding: 1.2rem 1.4rem;
}
.acc-q .tg { font-size: 1.5rem; transition: rotate .3s; flex-shrink: 0; }
.acc-item.open .tg { rotate: 45deg; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; font-weight: 600; }
.acc-a div { padding: 0 1.4rem 1.3rem; }
.acc-item.open { background: var(--yellow); }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.ccard { text-align: center; padding: 2rem 1.4rem; transition: transform .2s; }
.ccard:hover { transform: rotate(-2deg) scale(1.04); }
.ccard .ic { font-size: 2.4rem; display: block; margin-bottom: .5rem; }
.ccard b { font-family: var(--disp); font-size: 1.2rem; display: block; margin-bottom: .3rem; }
.ccard a { font-weight: 700; border-bottom: 2px solid var(--yellow); }

/* ---------- cart drawer ---------- */
.cart-ov { position: fixed; inset: 0; z-index: 95; background: rgba(35,29,18,.5); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-ov.open { opacity: 1; pointer-events: auto; }
.cart-dr {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 96;
  width: min(430px, 94vw); background: var(--cream);
  border-left: 3px solid var(--ink);
  display: flex; flex-direction: column;
  transform: translateX(103%); transition: transform .38s cubic-bezier(.7,0,.3,1);
}
.cart-dr.open { transform: none; }
.cart-hd { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 3px solid var(--ink); background: var(--yellow); }
.cart-hd h3 { font-size: 1.5rem; text-transform: uppercase; }
.cart-hd button { background: none; border: none; font-size: 1.8rem; line-height: 1; transition: rotate .25s; }
.cart-hd button:hover { rotate: 90deg; }
.cart-items { flex: 1; overflow-y: auto; padding: 1.2rem 1.4rem; display: grid; gap: 1rem; align-content: start; }
.ci { display: grid; grid-template-columns: 74px 1fr auto; gap: .9rem; align-items: center; background: var(--white); border: 3px solid var(--ink); border-radius: var(--r-md); padding: .7rem; }
.ci img { width: 74px; height: 74px; object-fit: cover; border-radius: 10px; border: 2px solid var(--ink); }
.ci .t { font-family: var(--disp); font-weight: 800; font-size: .95rem; line-height: 1.15; }
.ci .v { font-size: .78rem; font-weight: 700; opacity: .6; }
.ci .qty { scale: .8; transform-origin: left; margin-top: .3rem; }
.ci .qty button { height: 38px; width: 36px; }
.ci-right { text-align: right; display: grid; gap: .4rem; justify-items: end; }
.ci-right .pr { font-weight: 900; }
.ci-right .rm { background: none; border: none; font-size: .78rem; font-weight: 900; opacity: .5; text-decoration: underline; }
.ci-right .rm:hover { opacity: 1; color: var(--red); }
.cart-ft { border-top: 3px solid var(--ink); padding: 1.2rem 1.4rem; background: var(--white); }
.cart-tot { display: flex; justify-content: space-between; font-family: var(--disp); font-weight: 800; font-size: 1.3rem; margin-bottom: .9rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; font-weight: 700; opacity: .7; }
.cart-empty .ic { font-size: 3.4rem; display: block; margin-bottom: .6rem; animation: bob 3s ease-in-out infinite; }

/* ---------- checkout ---------- */
.co { display: grid; grid-template-columns: 1fr .85fr; gap: 2.6rem; align-items: start; padding: 3rem 0 4rem; }
.co-form { display: grid; gap: 1rem; padding: 2rem; }
.co-form label { font-weight: 900; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; display: grid; gap: .35rem; }
.co-form input, .co-form textarea {
  font: 700 1rem var(--body); padding: .8rem 1.1rem;
  border: 3px solid var(--ink); border-radius: var(--r-md); background: var(--cream); width: 100%;
}
.co-form input:focus, .co-form textarea:focus { outline: none; background: var(--white); box-shadow: var(--shadow-sm); }
.co-sum { padding: 1.8rem; position: sticky; top: 110px; }
.co-sum h3 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 1rem; }
.co-line { display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; padding: .35rem 0; font-size: .95rem; }
.co-line.tot { font-family: var(--disp); font-weight: 800; font-size: 1.25rem; border-top: 3px solid var(--ink); margin-top: .7rem; padding-top: .8rem; }
.co-done { text-align: center; padding: 4.5rem 1rem; }
.co-done .ic { font-size: 5rem; display: block; animation: pop .5s cubic-bezier(.34,1.56,.64,1); }
.co-done h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: .8rem 0 .4rem; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; translate: -50% 0;
  background: var(--ink); color: var(--yellow);
  font-family: var(--disp); font-weight: 800; font-size: 1rem;
  padding: .8rem 1.6rem; border-radius: var(--r-pill); border: 3px solid var(--yellow);
  opacity: 0; translate: -50% 20px; transition: opacity .3s, translate .3s;
  pointer-events: none; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- reveal on scroll ---------- */
[data-rv] { opacity: 0; transform: translateY(26px) rotate(var(--rvr, 0deg)); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.9,.3,1.1); transition-delay: var(--rvd, 0s); }
[data-rv].in { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes rise { to { transform: translateY(0); } }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes wiggle { 0%,100% { rotate: -3deg; } 50% { rotate: 4deg; } }
@keyframes drift { to { transform: translate(120px, 120px); } }
@keyframes spin-slow { to { rotate: 360deg; } }
@keyframes pop { 0% { scale: .3; } 60% { scale: 1.25; } 100% { scale: 1; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero-stage { height: 380px; margin-top: 1rem; }
  .hero-stick { width: 190px; }
  .hs-2 { width: 210px; }
  .hs-3 { width: 175px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .pd { grid-template-columns: 1fr; }
  .pd-img { position: static; }
  .pkg-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .co { grid-template-columns: 1fr; }
  .co-sum { position: static; order: -1; }
  .contact-cards { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .ig-grid a:nth-child(n+4) { display: none; }
  .kuih-fan { flex-wrap: wrap; gap: 1.2rem; }
  .kuih-fan .pcard { margin-inline: 0; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .burger { display: block; margin-left: 0; }
  .cart-btn { margin-left: auto; }
  .filters { top: 66px; }
  .collage { height: 320px; }
}

/* snapshot mode (?snap=1): skip entrance animations for full-page captures */
html.snap [data-rv] { opacity: 1; transform: none; transition: none; }
html.snap [data-split] .ch { transform: none; animation: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-split] .ch { transform: none; animation: none; }
  [data-rv] { opacity: 1; transform: none; }
  .mq-track { animation: none; }
}
