/* =========================================================
   BUNA — tema pastel lucu, MOBILE-FIRST
   Urutan: HP (dasar) → tablet (≥600px) → desktop (≥1024px)
   ========================================================= */
:root {
  --pink: #ff6fae;
  --pink-deep: color-mix(in srgb, var(--pink) 78%, #5a1840);
  --pink-soft: color-mix(in srgb, var(--pink) 16%, #fff);
  --pink-mid: color-mix(in srgb, var(--pink) 40%, #fff);
  --lav: #b59cff; --lav-soft: #f0eaff;
  --mint: #5fd1b3; --mint-soft: #dcf7ef;
  --peach: #ffad80; --peach-soft: #ffeee3;
  --butter: #ffd25e; --butter-soft: #fff5d4;
  --sky: #7cc6ff; --sky-soft: #e2f2ff;
  --gray-soft: #f1edf0;
  --bg: #fff8fb;
  --ink: #4a2c48;
  --muted: #94788f;
  --line: #f6dce9;
  --r-sm: 12px; --r: 18px; --r-lg: 24px;
  --shadow: 0 12px 30px -14px color-mix(in srgb, var(--pink) 55%, transparent);
  --shadow-sm: 0 4px 14px -6px rgba(120, 50, 100, .18);
  --shadow-up: 0 -8px 28px -10px rgba(120, 50, 100, .28);
  --font-head: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 12px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --bar-h: 72px;
}

/* ---------------------------------------------------------- dasar */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(color-mix(in srgb, var(--pink) 16%, transparent) 1.2px, transparent 1.3px);
  background-size: 24px 24px;
  line-height: 1.55;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
  padding-bottom: calc(var(--bar-h) + var(--safe-b)); /* ruang untuk navigasi bawah */
}
img { max-width: 100%; display: block; }
a { color: var(--pink-deep); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { touch-action: manipulation; }
[hidden] { display: none !important; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
:focus-visible { outline: 3px solid var(--pink-mid); outline-offset: 2px; }

.container { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.narrow { width: min(820px, 100% - var(--gutter) * 2); margin-inline: auto; }
.narrow-sm { width: min(480px, 100% - var(--gutter) * 2); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.tiny { font-size: .76rem; }
.center { text-align: center; }

/* visibilitas per layar */
.hide-mobile { display: none !important; }
.only-touch { }            /* tampil di HP & tablet, hilang di desktop */
.scroll-x { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.scroll-x::-webkit-scrollbar { display: none; }

/* ---------------------------------------------------------- warna kartu */
.tone-pink { --t: var(--pink); --ts: var(--pink-soft); }
.tone-lav { --t: var(--lav); --ts: var(--lav-soft); }
.tone-mint { --t: var(--mint); --ts: var(--mint-soft); }
.tone-peach { --t: var(--peach); --ts: var(--peach-soft); }
.tone-butter { --t: var(--butter); --ts: var(--butter-soft); }
.tone-sky { --t: var(--sky); --ts: var(--sky-soft); }
.tone-gray { --t: #b9a9b6; --ts: var(--gray-soft); }

/* ---------------------------------------------------------- tombol */
.btn {
  --bg1: var(--pink); --bg2: color-mix(in srgb, var(--pink) 70%, var(--lav));
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 44px; padding: .6em 1.2em; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--bg1), var(--bg2));
  color: #fff; font-weight: 800; letter-spacing: .01em; text-decoration: none;
  box-shadow: var(--shadow), inset 0 -3px 0 rgba(0,0,0,.08);
  transition: transform .18s cubic-bezier(.3,1.6,.6,1), box-shadow .2s, filter .2s;
  white-space: nowrap; user-select: none;
}
.btn:active { transform: scale(.96); }
.btn:disabled, .btn-disabled { opacity: .5; cursor: not-allowed; transform: none; filter: grayscale(.4); }
.btn-sm { min-height: 36px; padding: .4em .95em; font-size: .86rem; }
.btn-lg { min-height: 50px; padding: .75em 1.4em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-soft { background: var(--pink-soft); color: var(--pink-deep); box-shadow: none; }
.btn-ghost { background: #fff; color: var(--pink-deep); box-shadow: inset 0 0 0 2px var(--pink-mid); }
.btn-white { background: #fff; color: var(--pink-deep); box-shadow: var(--shadow-sm); }
.btn-wa { --bg1: #25d366; --bg2: #1fbf8f; box-shadow: 0 12px 26px -14px #1fbf8f; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--pink-soft); color: var(--pink-deep);
  transition: transform .2s, background .2s;
}
.icon-btn:active { transform: scale(.9); }
.icon-btn .ic { width: 20px; height: 20px; }
.icon-btn-sm { width: 34px; height: 34px; }
.icon-btn-sm .ic { width: 16px; height: 16px; }
.icon-btn-lg { width: 50px; height: 50px; }
.bubble {
  position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--pink); color: #fff; font-size: .7rem; font-weight: 800;
  display: grid; place-items: center; border: 2px solid #fff; animation: pop .35s;
}
@keyframes pop { 0% { transform: scale(.3); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }

.pill { display: inline-flex; align-items: center; gap: .3em; padding: .18em .65em; border-radius: 999px; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.pill-pink { background: var(--pink-soft); color: var(--pink-deep); }
.pill-lav { background: var(--lav-soft); color: #6c4fd8; }
.pill-mint { background: var(--mint-soft); color: #1e8f72; }
.pill-gray { background: var(--gray-soft); color: var(--muted); }

/* ---------------------------------------------------------- topbar & header */
.topbar {
  background: linear-gradient(90deg, var(--pink), var(--lav), var(--sky), var(--pink));
  background-size: 300% 100%; animation: shimmer 12s linear infinite;
  color: #fff; font-weight: 700; font-size: .78rem; overflow: hidden; white-space: nowrap;
}
@keyframes shimmer { to { background-position: 300% 0; } }
.topbar-track { display: inline-flex; gap: 5rem; padding: .35rem 0; animation: marquee 26s linear infinite; padding-left: 100%; }
@keyframes marquee { to { transform: translateX(-100%); } }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, #fff 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px dashed var(--line);
}
.header-inner { display: flex; align-items: center; gap: .5rem; min-height: 58px; }
.brand { display: flex; align-items: center; gap: .45rem; color: var(--ink); flex: none; min-width: 0; }
.brand img { width: 36px; height: 36px; transition: transform .4s; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
  background: linear-gradient(135deg, var(--pink), var(--lav)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-tag { display: none; font-size: .68rem; color: var(--muted); font-weight: 700; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main-nav { display: none; }
.nav-toggle { width: 40px; height: 40px; }
.header-actions { display: flex; gap: .4rem; margin-left: auto; }
.header-actions .icon-btn { width: 40px; height: 40px; }

.search-box {
  display: flex; align-items: center; gap: .5rem;
  background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 0 .9rem; transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within { border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-soft); }
.search-box .ic { color: var(--pink); }
.search-box input { border: 0 !important; outline: 0; background: none !important; box-shadow: none !important; padding: .5rem 0 !important; min-height: 40px !important; width: 100%; font-size: 16px; min-width: 0; border-radius: 0 !important; }
.search-box input::-webkit-search-cancel-button { filter: hue-rotate(300deg); }
.search-inline { display: none; }
.header-search { padding-bottom: .55rem; }
/* halaman transaksi: header lebih ringkas di HP */
body[data-page=product] .header-search,
body[data-page=cart] .header-search,
body[data-page=checkout] .header-search,
body[data-page=order] .header-search,
body[data-page=auth] .header-search { display: none; }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(74, 44, 72, .38); animation: fade .2s; }
.drawer-panel {
  position: absolute; inset: 0 auto 0 0; width: min(310px, 86vw); background: #fff; padding: 1rem 1rem calc(1rem + var(--safe-b));
  border-radius: 0 var(--r-lg) var(--r-lg) 0; animation: slideIn .28s cubic-bezier(.2,1.2,.4,1); overflow-y: auto;
  display: flex; flex-direction: column; gap: .8rem;
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-user { display: flex; align-items: center; gap: .7rem; padding: .7rem; border-radius: var(--r); background: var(--pink-soft); color: var(--ink); }
.drawer-user small { display: block; color: var(--muted); font-weight: 700; }
.drawer-auth { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.drawer-nav { display: grid; gap: .15rem; }
.drawer-nav a { display: flex; align-items: center; gap: .75rem; padding: .8rem .9rem; border-radius: var(--r-sm); color: var(--ink); font-weight: 700; }
.drawer-nav a:active { background: var(--pink-soft); }
.drawer-nav .ic { color: var(--pink); }
.drawer-panel .btn-wa { margin-top: auto; }
@keyframes fade { from { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(-100%); } }

/* flash */
.flash-wrap { margin-top: .8rem; display: grid; gap: .5rem; }
.flash {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .75rem 1rem; border-radius: var(--r); font-weight: 700; font-size: .92rem; animation: drop .4s cubic-bezier(.2,1.4,.4,1);
  border: 2px solid transparent;
}
.flash-success { background: var(--mint-soft); color: #17775f; border-color: #b6ecdd; }
.flash-error { background: #ffe7ea; color: #c23a5a; border-color: #ffc7d2; }
.flash-info { background: var(--lav-soft); color: #5b3fc4; border-color: #ddd0ff; }
.flash-x { background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: inherit; line-height: 1; padding: 0 .2rem; }
@keyframes drop { from { transform: translateY(-12px); opacity: 0; } }

.site-main { min-height: 50vh; padding-bottom: 2rem; }

/* ---------------------------------------------------------- hero (geser) */
.hero { margin-top: .8rem; }
.hero-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: var(--r-lg); }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide {
  position: relative; overflow: hidden; isolation: isolate; flex: 0 0 100%; scroll-snap-align: center;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem;
  padding: 1rem 1.1rem 1.3rem; border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--ts) 0%, #fff 60%, var(--ts) 100%);
  border: 3px solid #fff; box-shadow: var(--shadow-sm);
}
.blob { position: absolute; z-index: -1; border-radius: 50%; }
.blob-1 { width: 260px; height: 260px; right: -70px; top: -70px; background: var(--t); opacity: .22; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; animation: morph 10s ease-in-out infinite; }
.blob-2 { width: 160px; height: 160px; left: -50px; bottom: -70px; background: var(--butter); opacity: .28; animation: morph 12s ease-in-out infinite reverse; }
@keyframes morph { 50% { border-radius: 58% 42% 37% 63% / 55% 61% 39% 45%; transform: rotate(12deg) scale(1.05); } }
.deco { position: absolute; color: var(--t, var(--pink)); font-size: 1.3rem; animation: float 4s ease-in-out infinite; pointer-events: none; z-index: 1; }
.deco-star { top: 10%; left: 8%; }
.deco-heart { top: 14%; right: 8%; color: var(--pink); animation-delay: -1.5s; }
@keyframes float { 50% { transform: translateY(-8px) rotate(12deg); } }
.hero-art img { height: 150px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(160, 60, 120, .18)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
.hero-kicker { display: inline-flex; align-items: center; gap: .35rem; background: #fff; padding: .25rem .8rem; border-radius: 999px; font-weight: 800; font-size: .74rem; color: var(--pink-deep); box-shadow: var(--shadow-sm); }
.hero-title { font-size: 1.5rem; margin: .5rem 0 .35rem; font-weight: 700; }
.hero-sub { font-size: .9rem; color: var(--muted); margin-bottom: .2rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-cta { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: .8rem; }
.hero-dots { display: flex; justify-content: center; gap: 7px; margin-top: .6rem; }
.hero-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: var(--pink-mid); cursor: pointer; transition: width .3s, background .3s; padding: 0; }
.hero-dots button.is-active { width: 24px; background: var(--pink); }

/* keunggulan: baris geser */
.perks { display: flex; gap: .5rem; margin-top: .9rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.perks::-webkit-scrollbar { display: none; }
.perk { flex: 0 0 auto; display: flex; align-items: center; gap: .5rem; background: #fff; padding: .45rem .8rem .45rem .45rem; border-radius: 999px; box-shadow: var(--shadow-sm); border: 2px solid var(--ts); }
.perk-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ts); color: var(--t); flex: none; }
.perk-ic .ic { width: 17px; height: 17px; }
.perk b { display: block; font-family: var(--font-head); font-weight: 600; font-size: .84rem; white-space: nowrap; }
.perk small { display: none; color: var(--muted); }

/* section */
.section { margin-top: 1.8rem; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .9rem; }
.section-head.center { justify-content: center; text-align: center; }
.section-title { font-size: 1.22rem; margin: 0; position: relative; padding-bottom: .35rem; }
.section-title::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 70px; height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 10'%3E%3Cpath d='M2 6c8-6 14 4 22 0s14-6 22 0 14 4 22 0 14-4 20 0' fill='none' stroke='%23ffb3d1' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
}
.section-head.center .section-title::after { left: 50%; transform: translateX(-50%); }
.wiggle { display: inline-block; animation: wiggle 2.5s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.link-more { display: inline-flex; align-items: center; gap: .15rem; font-weight: 800; font-size: .86rem; white-space: nowrap; }

/* kategori: geser di HP */
.cat-grid { display: flex; gap: .6rem; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; margin-inline: -2px; }
.cat-grid::-webkit-scrollbar { display: none; }
.cat-item {
  flex: 0 0 104px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .1rem;
  padding: .8rem .4rem; border-radius: var(--r); background: #fff; color: var(--ink);
  border: 2px solid var(--ts); transition: transform .25s cubic-bezier(.3,1.6,.6,1), box-shadow .25s;
}
.cat-item:active { transform: scale(.96); }
.cat-emoji { width: 54px; height: 54px; display: grid; place-items: center; font-size: 1.6rem; border-radius: 50%; background: var(--ts); margin-bottom: .3rem; transition: transform .3s; }
.cat-item b { font-family: var(--font-head); font-weight: 600; font-size: .82rem; line-height: 1.2; }
.cat-item small { color: var(--muted); font-size: .72rem; }

/* ---------------------------------------------------------- kartu produk */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.card-product {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 2px solid #fff; min-width: 0;
  transition: transform .25s cubic-bezier(.3,1.5,.6,1), box-shadow .25s, border-color .25s;
}
.cp-media { position: relative; display: block; aspect-ratio: 1; background: radial-gradient(circle at 30% 25%, #fff 0 10%, transparent 11%), var(--ts); overflow: hidden; }
.cp-media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform .4s cubic-bezier(.3,1.4,.6,1); }
.cp-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2; background: #fff; color: var(--pink-deep);
  padding: .15rem .55rem; border-radius: 999px; font-weight: 800; font-size: .66rem; box-shadow: var(--shadow-sm);
}
.cp-disc {
  position: absolute; bottom: 8px; left: 8px; z-index: 2; background: var(--pink); color: #fff;
  padding: .12rem .45rem; border-radius: 8px; font-weight: 800; font-size: .7rem; transform: rotate(-4deg);
}
.cp-out { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.6); font-weight: 800; color: var(--muted); font-family: var(--font-head); }
.card-product.is-out .cp-media img { filter: grayscale(.6); opacity: .7; }
.cp-wish {
  position: absolute; top: 6px; right: 6px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: #fff; color: var(--pink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm);
}
.cp-wish .ic { width: 17px; height: 17px; }
[data-wish].is-on .ic { fill: currentColor; animation: heartbeat .5s; }
[data-wish].is-on { color: var(--pink); }
@keyframes heartbeat { 30% { transform: scale(1.4); } 60% { transform: scale(.9); } }
.cp-body { padding: .6rem .65rem .7rem; display: flex; flex-direction: column; gap: .15rem; flex: 1; min-width: 0; }
.cp-cat { font-size: .64rem; font-weight: 800; color: var(--t, var(--pink)); text-transform: uppercase; letter-spacing: .04em; filter: saturate(1.2) brightness(.85); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-name { font-family: var(--font); font-weight: 800; font-size: .86rem; margin: 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.cp-name a { color: var(--ink); }
.cp-price { display: flex; align-items: baseline; gap: .3rem; flex-wrap: wrap; }
.cp-price strong { font-family: var(--font-head); font-size: 1rem; color: var(--pink-deep); font-weight: 600; }
.cp-price s { color: var(--muted); font-size: .74rem; }
.cp-price small { color: var(--muted); font-size: .7rem; }
.cp-foot { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-top: auto; padding-top: .35rem; }
.cp-sold { font-size: .7rem; color: var(--muted); display: inline-flex; align-items: center; gap: .2rem; min-width: 0; overflow: hidden; white-space: nowrap; }
.cp-sold .ic { color: var(--butter); width: 13px; height: 13px; }
.cp-foot .btn { min-height: 32px; padding: .3em .8em; font-size: .78rem; box-shadow: none; }
.cp-foot .btn .btn-label { display: none; }          /* HP: tombol keranjang cukup ikon */
.cp-foot .btn:has(.btn-label) { width: 34px; height: 34px; min-height: 0; padding: 0; border-radius: 50%; }
.cp-foot .btn .ic { width: 16px; height: 16px; }

/* ---------------------------------------------------------- blok beranda */
.promo-band { display: grid; gap: .6rem; }
.promo-card {
  display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--t), color-mix(in srgb, var(--t) 60%, var(--pink))); color: #fff; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.promo-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.18); }
.promo-card h3 { margin: 0 0 .1rem; font-size: 1.02rem; }
.promo-card p { margin: 0; opacity: .95; font-size: .8rem; line-height: 1.35; }
.promo-card .btn { margin-left: auto; position: relative; z-index: 1; flex: none; }
.promo-emoji { font-size: 1.9rem; flex: none; animation: float 3.5s ease-in-out infinite; }

.two-col { display: grid; gap: 1.8rem; }

.steps { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.step { background: #fff; border-radius: var(--r); padding: .9rem .8rem; text-align: center; border: 2px dashed var(--t); }
.step-no { width: 36px; height: 36px; border-radius: 50%; background: var(--t); color: #fff; display: grid; place-items: center; margin: 0 auto .4rem; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; box-shadow: 0 4px 0 var(--ts); }
.step b { font-family: var(--font-head); font-weight: 600; font-size: .92rem; display: block; margin-bottom: .15rem; }
.step p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.4; }

/* testimoni: geser di HP */
.testi-grid { display: flex; gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; margin-inline: -2px; }
.testi-grid::-webkit-scrollbar { display: none; }
.testi { flex: 0 0 84%; scroll-snap-align: center; margin: 0; background: #fff; border-radius: var(--r-lg); padding: 1.1rem; box-shadow: var(--shadow-sm); position: relative; border-top: 5px solid var(--t); }
.testi::before { content: '“'; position: absolute; right: 14px; top: -6px; font-size: 4rem; font-family: Georgia, serif; color: var(--ts); line-height: 1; }
.testi blockquote { margin: .4rem 0 .8rem; font-size: .9rem; }
.testi figcaption { display: flex; align-items: center; gap: .6rem; }
.testi figcaption small { display: block; color: var(--muted); font-size: .76rem; }
.stars { color: #ffbf3c; letter-spacing: 2px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ts); color: var(--t); font-weight: 800; font-family: var(--font-head); flex: none; filter: saturate(1.2); }
.avatar-lg { width: 60px; height: 60px; font-size: 1.4rem; }

.cta-box {
  position: relative; overflow: hidden; display: grid; gap: 1rem;
  padding: 1.4rem 1.2rem; border-radius: var(--r-lg); color: #fff;
  background: linear-gradient(120deg, var(--pink), var(--lav) 60%, var(--sky));
  box-shadow: var(--shadow);
}
.cta-box h2 { font-size: 1.3rem; margin-bottom: .3rem; }
.cta-box p { margin: 0; opacity: .95; font-size: .9rem; }
.cta-box .btn { width: 100%; }
.cta-box .deco { color: #fff; opacity: .6; }

/* ---------------------------------------------------------- footer */
.site-footer { position: relative; margin-top: 3rem; background: var(--lav-soft); padding-bottom: 1rem; }
.footer-wave { position: absolute; top: -30px; left: 0; width: 100%; height: 32px; fill: var(--lav-soft); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; padding-top: 1.6rem; }
.footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
.site-footer h4 { font-size: .98rem; margin-bottom: .5rem; }
.site-footer a:not(.brand) { display: block; color: var(--ink); padding: .3rem 0; font-weight: 600; font-size: .92rem; }
.footer-brand p { color: var(--muted); margin: .4rem 0 .8rem; font-size: .9rem; }
.socials { display: flex; gap: .5rem; }
.socials a { display: grid !important; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--pink-deep) !important; padding: 0 !important; }
.footer-contact { display: flex; gap: .5rem; align-items: flex-start; color: var(--ink); margin-bottom: .45rem; font-size: .9rem; }
.footer-contact .ic { color: var(--lav); margin-top: .2rem; }
.footer-bottom { border-top: 2px dashed #ddd0ff; margin-top: 1.4rem; padding-top: 1rem; color: var(--muted); font-size: .8rem; text-align: center; }

/* ---------------------------------------------------------- navigasi bawah (HP & tablet) */
.bottom-nav {
  display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-radius: 22px 22px 0 0; box-shadow: var(--shadow-up);
  padding: .35rem .4rem calc(.35rem + var(--safe-b));
}
.bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: .4rem 0; border-radius: 16px; color: var(--muted); font-size: .68rem; font-weight: 800; }
.bottom-nav a .ic { width: 22px; height: 22px; }
.bottom-nav a.active { color: var(--pink-deep); background: var(--pink-soft); }
.bottom-nav .bubble { top: 0; right: calc(50% - 22px); }
/* halaman dengan bar aksi sendiri: navigasi bawah disembunyikan */
body[data-page=product] .bottom-nav,
body[data-page=cart] .bottom-nav,
body[data-page=checkout] .bottom-nav { display: none; }

.wa-float {
  position: fixed; right: 14px; bottom: calc(var(--bar-h) + 14px + var(--safe-b)); z-index: 55; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px #1fa855;
  animation: float 3s ease-in-out infinite;
}
.wa-float .ic { width: 26px; height: 26px; }
body[data-page=product] .wa-float,
body[data-page=cart] .wa-float,
body[data-page=checkout] .wa-float { display: none; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--bar-h) + 18px + var(--safe-b)); z-index: 100; transform: translate(-50%, 30px);
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: .9rem;
  box-shadow: 0 14px 30px -10px rgba(74,44,72,.5); transition: transform .35s cubic-bezier(.2,1.4,.4,1), opacity .25s;
  width: max-content; max-width: calc(100% - 24px); display: flex; align-items: center; gap: .6rem; opacity: 0; pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast a { color: var(--butter); font-weight: 800; white-space: nowrap; }

/* ---------------------------------------------------------- bar aksi menempel (HP & tablet) */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; align-items: center; gap: .7rem;
  padding: .65rem .9rem calc(.65rem + var(--safe-b)); background: #fff;
  border-radius: 22px 22px 0 0; box-shadow: var(--shadow-up);
}
.action-bar-total { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.action-bar-total small { color: var(--muted); font-weight: 700; font-size: .74rem; }
.action-bar-total b { font-family: var(--font-head); font-size: 1.25rem; color: var(--pink-deep); }
.action-bar .btn { flex: none; }

/* ---------------------------------------------------------- umum */
.card { background: #fff; border-radius: var(--r); padding: 1rem; box-shadow: var(--shadow-sm); margin-bottom: .9rem; border: 2px solid #fff; }
.card-title { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; margin-bottom: .8rem; }
.card-title .num { width: 26px; height: 26px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-size: .85rem; flex: none; }
.crumbs { font-size: .82rem; color: var(--muted); margin: .9rem 0 .6rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs a { color: var(--muted); font-weight: 700; }
.page-title { font-size: 1.4rem; margin: .9rem 0 .9rem; }
.page-hero {
  margin-top: .8rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .9rem 1.1rem 1rem; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--ts), #fff); border: 3px solid #fff; box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.page-hero h1 { font-size: 1.35rem; margin-bottom: .15rem; }
.page-hero p { margin: 0; color: var(--muted); font-size: .86rem; }
.page-hero .crumbs { margin: 0 0 .2rem; }
.page-hero-emoji { font-size: 2.4rem; flex: none; animation: bob 4s ease-in-out infinite; }
.page-hero-img { width: 84px; flex: none; animation: bob 4s ease-in-out infinite; }

.field { display: flex; flex-direction: column; gap: .3rem; }
.field > span { font-weight: 800; font-size: .88rem; }
.field small { color: var(--muted); font-weight: 600; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; min-height: 46px; padding: .65rem .95rem; border: 2px solid var(--line); border-radius: 14px; background: #fff; outline: 0;
  font-size: 16px; /* 16px: mencegah zoom otomatis di iPhone */
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 0; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--pink) !important; box-shadow: 0 0 0 4px var(--pink-soft); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6fae' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 16px; padding-right: 2.4rem !important; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: .8rem; }
.form-grid .full { grid-column: 1 / -1; }
.stack { display: grid; gap: .9rem; }
.check { display: flex; align-items: center; gap: .55rem; font-weight: 700; cursor: pointer; margin: .5rem 0; min-height: 40px; }
input[type=checkbox], input[type=radio] { accent-color: var(--pink); width: 20px; height: 20px; }
.note-box { display: flex; gap: .7rem; align-items: center; padding: .8rem 1rem; border-radius: var(--r); background: var(--ts); margin-bottom: .9rem; font-weight: 600; font-size: .9rem; }
.note-box .ic { color: var(--t); filter: brightness(.8); }
.note-inline { background: var(--butter-soft); padding: .55rem .75rem; border-radius: 12px; font-size: .9rem; }

.empty { text-align: center; padding: 2.4rem 1rem; grid-column: 1 / -1; }
.empty-emoji { font-size: 3.4rem; animation: bob 3s ease-in-out infinite; margin-bottom: .5rem; }
.empty h3, .empty h1 { font-size: 1.25rem; }
.empty p { color: var(--muted); }
.loading-dots { display: flex; gap: 6px; justify-content: center; padding: 2rem; grid-column: 1 / -1; }
.loading-dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--pink); animation: bounce 1s infinite; }
.loading-dots span:nth-child(2) { background: var(--lav); animation-delay: .15s; }
.loading-dots span:nth-child(3) { background: var(--mint); animation-delay: .3s; }
@keyframes bounce { 50% { transform: translateY(-10px); } }

/* ---------------------------------------------------------- katalog */
.catalog { display: grid; gap: 1rem; margin-top: .9rem; }
.chip-scroll { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: .7rem; }
.chip-scroll::-webkit-scrollbar { display: none; }
.qchip { flex: none; padding: .5rem .95rem; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; font-size: .84rem; box-shadow: var(--shadow-sm); white-space: nowrap; }
.qchip.active { background: var(--pink); color: #fff; }
.catalog-bar { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; flex-wrap: wrap; font-size: .86rem; }
.sort-form { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.sort-form select { width: auto; min-height: 38px; padding: .35rem .9rem; border-radius: 999px; font-size: .86rem; }
/* filter: lembar bawah (bottom sheet) */
.filters {
  position: fixed; inset: auto 0 0 0; z-index: 95; max-height: 82vh; overflow-y: auto; background: var(--bg);
  padding: .9rem .9rem calc(1rem + var(--safe-b)); border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--shadow-up);
  transform: translateY(105%); transition: transform .3s cubic-bezier(.2,1,.4,1); display: grid; gap: .8rem; visibility: hidden;
}
.filters.open { transform: none; visibility: visible; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head::before { content: ''; position: absolute; top: 7px; left: 50%; width: 42px; height: 5px; border-radius: 9px; background: var(--line); transform: translateX(-50%); }
body.sheet-open::after { content: ''; position: fixed; inset: 0; z-index: 94; background: rgba(74,44,72,.38); animation: fade .2s; }
.filter-block { background: #fff; border-radius: var(--r); padding: .9rem; box-shadow: var(--shadow-sm); }
.filter-block h4 { font-size: .98rem; margin-bottom: .5rem; }
.filter-link { display: flex; align-items: center; gap: .4rem; padding: .6rem .7rem; border-radius: 12px; color: var(--ink); font-weight: 700; font-size: .92rem; }
.filter-link small { margin-left: auto; color: var(--muted); background: var(--gray-soft); padding: 0 .5rem; border-radius: 99px; }
.filter-link.active { background: var(--pink); color: #fff; }
.filter-link.active small { background: rgba(255,255,255,.3); color: #fff; }
.price-range { display: flex; align-items: center; gap: .4rem; }

.pagination { display: flex; justify-content: center; gap: .35rem; margin-top: 1.4rem; flex-wrap: wrap; }
.pg-btn { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fff; font-weight: 800; color: var(--ink); box-shadow: var(--shadow-sm); padding: 0 .6rem; }
.pg-btn.active { background: var(--pink); color: #fff; }
.pg-gap { align-self: center; color: var(--muted); }

/* ---------------------------------------------------------- detail produk */
.pd { display: grid; gap: .9rem; margin-top: .8rem; }
.pd-stage { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); background: radial-gradient(circle at 25% 20%, #fff 0 12%, transparent 13%), var(--ts); overflow: hidden; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.pd-slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pd-slides::-webkit-scrollbar { display: none; }
.pd-slide { flex: 0 0 100%; scroll-snap-align: center; }
.pd-slide img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.pd-count { position: absolute; right: 10px; bottom: 10px; background: rgba(74,44,72,.7); color: #fff; font-size: .75rem; font-weight: 800; padding: .15rem .6rem; border-radius: 99px; }
.pd-thumbs { display: none; gap: .5rem; margin-top: .7rem; flex-wrap: wrap; }
.pd-thumb { width: 70px; height: 70px; border-radius: 14px; background: var(--ts); border: 3px solid transparent; padding: 5px; cursor: pointer; }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumb.active { border-color: var(--pink); }
.pd-head { background: #fff; border-radius: var(--r); padding: .9rem 1rem; box-shadow: var(--shadow-sm); }
.pd-price { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.pd-price strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--pink-deep); font-weight: 700; line-height: 1.1; }
.pd-price s { color: var(--muted); font-size: .9rem; }
.pd-title { font-size: 1.15rem; margin: .4rem 0 .5rem; font-weight: 600; }
.pd-meta { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; font-size: .84rem; }
.pd-short { font-size: .92rem; margin: .7rem 0 0; color: color-mix(in srgb, var(--ink) 80%, #fff); }
.pd-block { background: #fff; border-radius: var(--r); padding: .9rem 1rem; box-shadow: var(--shadow-sm); }
.pd-label { font-weight: 800; margin-bottom: .55rem; font-size: .92rem; }
.pd-label b { color: var(--pink-deep); }
.variant-chips { display: flex; flex-wrap: wrap; gap: .45rem; position: relative; }
.variant-chips.is-collapsed { max-height: 152px; overflow: hidden; }
.variant-chips.is-collapsed::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.more-btn { margin-top: .6rem; }
.chip { cursor: pointer; position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .85rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 700; font-size: .86rem; transition: all .15s; }
.chip.has-swatch span { padding-left: .4rem; }
.chip .sw { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); }
.chip input:checked + span { border-color: var(--pink); background: var(--pink); color: #fff; box-shadow: var(--shadow); }
.chip input:checked + span .sw { box-shadow: 0 0 0 2px #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px var(--pink-soft); }
.chip.is-out span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.pd textarea[data-pd-note] { border-color: var(--butter); background: #fffdf5; }
.pd-qty { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.pd-qty .pd-label { margin: 0; }
.qty { display: inline-flex; align-items: center; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 3px; }
.qty button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--pink-soft); color: var(--pink-deep); cursor: pointer; display: grid; place-items: center; }
.qty input { width: 46px !important; min-height: 0 !important; text-align: center; border: 0 !important; padding: .2rem 0 !important; box-shadow: none !important; font-weight: 800; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm button { width: 32px; height: 32px; }
.qty-sm input { width: 36px !important; }
/* tombol beli menempel di bawah layar (HP & tablet) */
.pd-actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem .8rem calc(.6rem + var(--safe-b)); background: #fff;
  border-radius: 22px 22px 0 0; box-shadow: var(--shadow-up);
}
.pd-actions .btn { flex: 1; min-height: 50px; padding: .6em .8em; font-size: .95rem; }
.pd-actions .btn[data-pd-buy] { flex: 1.3; }
.pd-actions .icon-btn { width: 50px; height: 50px; }
.pd-trust { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; }
.pd-trust::-webkit-scrollbar { display: none; }
.pd-trust span { flex: none; display: inline-flex; align-items: center; gap: .35rem; background: #fff; border-radius: 999px; padding: .4rem .8rem; font-size: .78rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.pd-trust .ic { color: var(--mint); }
.wa-ask { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-radius: var(--r); background: #e6f9ee; color: #157a45; font-size: .9rem; }
.wa-ask .ic { width: 24px; height: 24px; flex: none; }
.pd-desc { margin-top: .9rem; }
.pd-desc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.pd-desc summary::-webkit-details-marker { display: none; }
.pd-desc summary::after { content: '▾'; color: var(--pink); font-size: 1.2rem; transition: transform .2s; }
.pd-desc:not([open]) summary::after { transform: rotate(-90deg); }
.pd-desc summary h2 { font-size: 1.05rem; margin: 0; }
.pd-desc .prose { margin-top: .7rem; }
.prose { font-size: .92rem; overflow-wrap: anywhere; }
.prose.big { font-size: .98rem; }

/* ---------------------------------------------------------- keranjang & checkout */
.cart-layout, .checkout-layout { display: grid; gap: .9rem; align-items: start; }
.cart-card { padding: .3rem .9rem; }
.cart-line { display: grid; grid-template-columns: 72px 1fr; gap: .2rem .8rem; align-items: start; padding: .9rem 0; border-bottom: 2px dashed var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cl-img { width: 72px; height: 72px; border-radius: 16px; background: var(--ts); padding: 6px; display: block; grid-row: span 2; }
.cl-img img { width: 100%; height: 100%; object-fit: contain; }
.cl-info { min-width: 0; }
.cl-info b { display: block; line-height: 1.3; font-size: .92rem; }
.cl-info a { color: var(--ink); }
.cl-info small { display: block; color: var(--muted); font-size: .8rem; }
.cl-warn { color: #d2486a !important; font-weight: 700; }
.cl-note { display: inline-block !important; background: var(--butter-soft); color: #8a6a10 !important; padding: .1rem .5rem; border-radius: 8px; font-weight: 700; margin: .15rem 0; overflow-wrap: anywhere; }
.cl-side { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.cl-side b { font-family: var(--font-head); color: var(--pink-deep); font-size: 1rem; }
.cl-remove { background: none; border: 0; color: var(--muted); cursor: pointer; display: inline-flex; gap: .25rem; align-items: center; font-size: .8rem; font-weight: 700; min-height: 36px; }
.summary h3 { font-size: 1.1rem; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: .92rem; }
.sum-row.discount b { color: #17a37e; }
.sum-total { display: flex; justify-content: space-between; align-items: center; padding: .8rem 0; margin-top: .4rem; border-top: 2px dashed var(--line); }
.sum-total b { font-family: var(--font-head); font-size: 1.35rem; color: var(--pink-deep); }
.free-ship { background: var(--mint-soft); color: #17775f; padding: .55rem .8rem; border-radius: 12px; font-size: .84rem; font-weight: 700; margin: .5rem 0; }
.free-ship .bar { height: 8px; background: #fff; border-radius: 99px; margin-top: .4rem; overflow: hidden; }
.free-ship .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), var(--sky)); border-radius: 99px; transition: width .4s; }
.sum-items { display: grid; gap: .7rem; margin-bottom: .9rem; }
.si { display: grid; grid-template-columns: 50px 1fr auto; gap: .6rem; align-items: center; font-size: .86rem; }
.si-img { width: 50px; height: 50px; border-radius: 12px; background: var(--ts); padding: 4px; position: relative; }
.si-img img { width: 100%; height: 100%; object-fit: contain; }
.si-img em { position: absolute; top: -6px; right: -6px; background: var(--pink); color: #fff; font-style: normal; font-size: .7rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 99px; display: grid; place-items: center; border: 2px solid #fff; }
.si small { display: block; color: var(--muted); }
.voucher { display: flex; gap: .5rem; }
.voucher input { text-transform: uppercase; min-height: 44px !important; }
.voucher-msg { font-size: .84rem; font-weight: 700; min-height: 1.2em; margin: .4rem 0 .5rem; }
.voucher-msg.ok { color: #17a37e; }
.voucher-msg.err { color: #d2486a; }
.ship-options { display: grid; gap: .6rem; }
.ship-option { position: relative; }
.ship-option input { position: absolute; opacity: 0; }
.ship-box { display: flex; align-items: center; gap: .75rem; padding: .8rem .9rem; border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; transition: all .2s; }
.ship-option input:checked + .ship-box { border-color: var(--pink); background: var(--pink-soft); }
.ship-option input:focus-visible + .ship-box { box-shadow: 0 0 0 4px var(--pink-soft); }
.ship-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--lav-soft); color: var(--lav); flex: none; }
.ship-text { flex: 1; min-width: 0; font-size: .9rem; }
.ship-text small { display: block; color: var(--muted); }
.ship-cost { font-weight: 800; color: var(--pink-deep); font-size: .9rem; white-space: nowrap; }
.pay-preview { display: flex; flex-wrap: wrap; gap: .4rem; }

/* ---------------------------------------------------------- halaman pesanan */
.celebrate { position: relative; text-align: center; padding: 1.4rem .5rem .6rem; }
.celebrate h1 { font-size: 1.45rem; }
.celebrate p { color: var(--muted); font-size: .92rem; }
.celebrate-emoji { font-size: 3.6rem; animation: bob 2s ease-in-out infinite; }
.confetti i { position: absolute; top: 0; width: 9px; height: 14px; border-radius: 3px; animation: confetti 3s ease-in forwards; opacity: 0; }
.confetti i:nth-child(odd) { background: var(--pink); }
.confetti i:nth-child(3n) { background: var(--lav); }
.confetti i:nth-child(4n) { background: var(--mint); }
.confetti i:nth-child(5n) { background: var(--butter); }
.confetti i:nth-child(1) { left: 8%; animation-delay: .1s; } .confetti i:nth-child(2) { left: 18%; animation-delay: .5s; }
.confetti i:nth-child(3) { left: 28%; animation-delay: .2s; } .confetti i:nth-child(4) { left: 38%; animation-delay: .7s; }
.confetti i:nth-child(5) { left: 48%; animation-delay: .3s; } .confetti i:nth-child(6) { left: 58%; animation-delay: .9s; }
.confetti i:nth-child(7) { left: 68%; animation-delay: .4s; } .confetti i:nth-child(8) { left: 78%; animation-delay: .6s; }
.confetti i:nth-child(9) { left: 88%; animation-delay: .25s; } .confetti i:nth-child(10) { left: 95%; animation-delay: .8s; }
@keyframes confetti { 0% { opacity: 1; transform: translateY(-20px) rotate(0); } 100% { opacity: 0; transform: translateY(240px) rotate(540deg); } }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.order-code { display: flex; align-items: center; gap: .4rem; }
.order-code b { font-family: var(--font-head); font-size: 1.3rem; letter-spacing: .03em; color: var(--pink-deep); }
.status-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .85rem; border-radius: 999px; background: var(--ts); font-weight: 800; font-size: .82rem; white-space: nowrap; }
.progress { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; margin: 0 0 .3rem; }
.progress li { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; font-size: .66rem; font-weight: 700; color: var(--muted); position: relative; line-height: 1.2; }
.progress li::before { content: ''; position: absolute; top: 17px; right: 50%; width: 100%; height: 4px; background: var(--line); z-index: 0; border-radius: 4px; }
.progress li:first-child::before { display: none; }
.progress li.done::before { background: var(--pink); }
.progress-dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gray-soft); color: var(--muted); position: relative; z-index: 1; border: 3px solid #fff; }
.progress-dot .ic { width: 16px; height: 16px; }
.progress li.done .progress-dot { background: var(--pink); color: #fff; }
.progress li.done { color: var(--ink); }
.progress li.current .progress-dot { box-shadow: 0 0 0 5px var(--pink-soft); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px transparent; } }
.pay-card { border-color: var(--pink-soft); }
.pay-total { display: flex; align-items: center; justify-content: space-between; gap: .8rem; background: var(--pink-soft); border-radius: var(--r); padding: .8rem 1rem; margin-bottom: .9rem; flex-wrap: wrap; }
.pay-total b { font-family: var(--font-head); font-size: 1.55rem; color: var(--pink-deep); }
.bank-list { list-style: none; padding: 0; margin: 0 0 .9rem; display: grid; gap: .5rem; }
.bank-list li { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; background: var(--lav-soft); border-radius: 14px; font-weight: 700; font-size: .88rem; }
.bank-list li span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.bank-list .ic { color: var(--lav); }
.bank-list .btn { flex: none; background: #fff; }
.qris { display: grid; justify-items: center; gap: .4rem; margin: 1rem 0; text-align: center; }
.qris img { width: min(240px, 80%); border-radius: 16px; border: 3px solid var(--line); }
.proof-form { display: grid; gap: .8rem; margin-top: .9rem; }
.upload-drop { display: block; cursor: pointer; position: relative; }
.upload-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload-inner { display: grid; justify-items: center; gap: .25rem; padding: 1.2rem; border: 3px dashed var(--pink-mid); border-radius: var(--r); background: var(--bg); text-align: center; }
.upload-inner .ic { width: 30px; height: 30px; color: var(--pink); }
.upload-inner small { color: var(--muted); }
.upload-inner img { max-height: 180px; border-radius: 12px; }
.upload-drop input:focus-visible + .upload-inner { box-shadow: 0 0 0 4px var(--pink-soft); }
.order-items { display: grid; gap: .8rem; margin-bottom: .9rem; }
.oi { display: grid; grid-template-columns: 54px 1fr auto; gap: .7rem; align-items: center; font-size: .9rem; }
.oi-img { width: 54px; height: 54px; border-radius: 14px; background: var(--ts); padding: 5px; }
.oi-img img { width: 100%; height: 100%; object-fit: contain; }
.oi-info { min-width: 0; }
.oi-info small { display: block; }
.grid-2-even { display: grid; gap: .9rem; }
.grid-2-even > .card { margin-bottom: 0; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.timeline li { display: flex; gap: .7rem; font-size: .9rem; }
.timeline small { display: block; font-size: .8rem; }
.tl-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--t); margin-top: .3rem; flex: none; box-shadow: 0 0 0 4px var(--ts); }

/* ---------------------------------------------------------- akun & auth */
.auth-card { background: #fff; border-radius: var(--r-lg); padding: 1.3rem 1.1rem; box-shadow: var(--shadow); margin-top: 3.4rem; border: 3px solid var(--pink-soft); }
.auth-card h1 { font-size: 1.4rem; text-align: center; }
.auth-card > p.muted { text-align: center; font-size: .9rem; }
.auth-art { width: 104px; height: 104px; border-radius: 50%; margin: -3.8rem auto .8rem; background: var(--ts); display: grid; place-items: center; border: 5px solid #fff; box-shadow: var(--shadow-sm); font-size: 3rem; overflow: hidden; }
.auth-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.account-hero { display: flex; align-items: center; gap: .8rem; margin: 1rem 0 1rem; flex-wrap: wrap; }
.account-hero h1 { margin: 0; font-size: 1.35rem; }
.account-hero p { margin: 0; font-size: .86rem; }
.push-right { margin-left: auto; }
.tabs { display: flex; gap: .45rem; margin-bottom: 1rem; overflow-x: auto; scrollbar-width: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; font-size: .88rem; box-shadow: var(--shadow-sm); }
.tab.active { background: var(--pink); color: #fff; }
.order-list { display: grid; gap: .7rem; }
.order-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .4rem .8rem; color: var(--ink); margin: 0; }
.order-row small { display: block; }
.order-row > .ic { display: none; }

/* tentang */
.about-grid { display: grid; gap: .9rem; align-items: start; }
.about-cats { display: grid; gap: .2rem; }
.faq { display: grid; gap: .6rem; }
.faq details { background: #fff; border-radius: var(--r); padding: .9rem 1rem; box-shadow: var(--shadow-sm); }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-size: .94rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--pink); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .6rem 0 0; color: var(--muted); font-size: .9rem; }

/* ---------------------------------------------------------- jastip: DP, ongkir alamat */
.jastip-note { align-items: flex-start; }
.jastip-ic { font-size: 1.4rem; line-height: 1; }
.sub-title { font-size: .95rem; margin: 1.1rem 0 .6rem; }
.area-field { position: relative; }
.area-search { display: flex; align-items: center; gap: .5rem; border: 2px solid var(--line); border-radius: 14px; background: #fff; padding: 0 .8rem; transition: border-color .2s, box-shadow .2s; }
.area-search:focus-within { border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-soft); }
.area-search .ic { color: var(--pink); }
.area-search input { border: 0 !important; box-shadow: none !important; padding: .55rem 0 !important; min-height: 44px !important; background: none !important; }
.area-list { position: absolute; left: 0; right: 0; top: calc(100% - 1.4rem); z-index: 20; list-style: none; margin: 0; padding: .35rem; background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 2px solid var(--pink-soft); max-height: 280px; overflow-y: auto; }
.area-list li { padding: .7rem .8rem; border-radius: 10px; font-size: .9rem; font-weight: 600; cursor: pointer; line-height: 1.35; }
.area-list li[role=option]:active, .area-list li[role=option]:focus { background: var(--pink-soft); }
.ship-hint { padding: .7rem .9rem; border-radius: 12px; background: var(--bg); border: 2px dashed var(--line); margin: 0; }
.ship-api { display: grid; gap: .6rem; margin-top: .6rem; }
.ship-api:empty { display: none; }
.ship-weight { margin: 0; }
.ship-ic.courier { font-size: .62rem; font-weight: 800; letter-spacing: .02em; color: #6c4fd8; }
.dp-flow { margin: 0 0 .8rem; padding-left: 1.2rem; display: grid; gap: .35rem; font-size: .9rem; }
.total-row { border-top: 2px dashed var(--line); margin-top: .3rem; padding-top: .6rem; }
.total-row b { font-family: var(--font-head); font-size: 1.1rem; }
.dp-box { display: grid; gap: .3rem; background: var(--pink-soft); border-radius: 14px; padding: .7rem .85rem; margin: .5rem 0 .8rem; }
.dp-box > div { display: flex; justify-content: space-between; gap: .8rem; font-size: .88rem; font-weight: 700; }
.dp-box > div:first-child b { font-family: var(--font-head); color: var(--pink-deep); font-size: 1.15rem; }
.progress-6 { grid-template-columns: repeat(6, 1fr); }
.pay-split { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.pay-part { display: flex; flex-direction: column; gap: .1rem; padding: .75rem .8rem; border-radius: 14px; background: var(--bg); border: 2px solid var(--line); }
.pay-part small { color: var(--muted); font-weight: 800; font-size: .72rem; }
.pay-part b { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.pay-part span { font-size: .78rem; font-weight: 700; }
.pay-part.now { border-color: var(--peach); background: var(--peach-soft); }
.pay-part.done { border-color: var(--mint); background: var(--mint-soft); }
.pd-po { display: flex; gap: .6rem; align-items: flex-start; padding: .8rem 1rem; border-radius: var(--r); background: var(--lav-soft); font-size: .88rem; }
.pd-po b { color: #5b3fc4; }
.pd-po .po-ic { font-size: 1.4rem; line-height: 1; }
.cp-po { position: absolute; bottom: 8px; right: 8px; z-index: 2; background: var(--lav); color: #fff; padding: .1rem .45rem; border-radius: 8px; font-weight: 800; font-size: .64rem; }

/* =========================================================
   TABLET  (≥ 600px)
   ========================================================= */
@media (min-width: 600px) {
  :root { --gutter: 20px; }
  body { font-size: 15.5px; }
  .hide-mobile { display: revert !important; }
  .btn.hide-mobile, .icon-btn.hide-mobile { display: inline-flex !important; }
  .icon-btn.hide-mobile { display: inline-grid !important; }

  .header-inner { gap: .8rem; min-height: 66px; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: 1.5rem; }
  .brand-tag { display: block; }
  .search-inline { display: flex; flex: 1; min-width: 0; }
  .header-search { display: none; }
  .header-actions .icon-btn { width: 42px; height: 42px; }

  .hero { margin-top: 1.2rem; }
  .hero-slide { flex-direction: row; text-align: left; align-items: center; gap: 1.2rem; padding: 1.8rem 2rem; min-height: 300px; }
  .hero-art { order: 2; flex: 0 0 40%; display: grid; place-items: center; }
  .hero-art img { height: auto; max-height: 250px; width: 100%; }
  .hero-text { flex: 1; }
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: 1rem; -webkit-line-clamp: 3; }
  .hero-cta { justify-content: flex-start; }
  .deco-star { left: 48%; }

  .perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; overflow: visible; }
  .perk { border-radius: var(--r); padding: .8rem .9rem; gap: .7rem; }
  .perk-ic { width: 42px; height: 42px; border-radius: 14px; }
  .perk-ic .ic { width: 22px; height: 22px; }
  .perk b { font-size: .95rem; }
  .perk small { display: block; font-size: .8rem; }

  .section { margin-top: 2.6rem; }
  .section-title { font-size: 1.5rem; }
  .section-title::after { width: 90px; height: 10px; }

  .cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem; overflow: visible; }
  .cat-item { padding: 1.1rem .6rem; }
  .cat-emoji { width: 66px; height: 66px; font-size: 1.9rem; }
  .cat-item b { font-size: .95rem; }

  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .product-grid.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-body { padding: .85rem .95rem 1rem; gap: .25rem; }
  .cp-cat { font-size: .72rem; }
  .cp-name { font-size: .95rem; }
  .cp-price strong { font-size: 1.12rem; }
  .cp-badge { top: 12px; left: 12px; font-size: .72rem; padding: .22rem .7rem; }
  .cp-wish { width: 38px; height: 38px; top: 10px; right: 10px; }

  .promo-band { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .promo-card { padding: 1.2rem 1.3rem; }
  .promo-card h3 { font-size: 1.2rem; }
  .promo-card p { font-size: .88rem; }
  .promo-emoji { font-size: 2.4rem; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .step { padding: 1.3rem 1rem; }
  .step-no { width: 46px; height: 46px; font-size: 1.25rem; }
  .step p { font-size: .86rem; }

  .testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; overflow: visible; }
  .testi { padding: 1.4rem; }

  .cta-box { grid-template-columns: 1fr auto; align-items: center; padding: 2rem 2.2rem; }
  .cta-box h2 { font-size: 1.6rem; }
  .cta-box .btn { width: auto; }

  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }

  .card { padding: 1.3rem; }
  .crumbs { margin: 1.1rem 0 .8rem; }
  .page-title { font-size: 1.8rem; }
  .page-hero { padding: 1.2rem 1.8rem 1.4rem; }
  .page-hero h1 { font-size: 1.9rem; }
  .page-hero p { font-size: .95rem; }
  .page-hero-emoji { font-size: 3.6rem; }
  .page-hero-img { width: 130px; }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .catalog-bar { font-size: .92rem; }
  .filters { left: 50%; right: auto; width: min(560px, 100%); transform: translate(-50%, 105%); }
  .filters.open { transform: translate(-50%, 0); }

  .pd-thumbs { display: flex; }
  .pd-title { font-size: 1.5rem; }
  .pd-price strong { font-size: 1.9rem; }
  .pd-actions { left: 50%; right: auto; width: min(640px, 100%); transform: translateX(-50%); }

  .cart-line { grid-template-columns: 88px 1fr auto; align-items: center; }
  .cl-img { width: 88px; height: 88px; grid-row: auto; }
  .cl-side { flex-direction: column; align-items: flex-end; }
  .action-bar { left: 50%; right: auto; width: min(640px, 100%); transform: translateX(-50%); }

  .celebrate h1 { font-size: 2rem; }
  .order-code b { font-size: 1.6rem; }
  .progress li { font-size: .8rem; }
  .progress-dot { width: 46px; height: 46px; }
  .progress-dot .ic { width: 20px; height: 20px; }
  .progress li::before { top: 21px; }
  .grid-2-even { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .oi { grid-template-columns: 62px 1fr auto; }
  .oi-img { width: 62px; height: 62px; }

  .auth-card { padding: 2rem; margin-top: 4rem; }
  .auth-card h1 { font-size: 1.7rem; }
  .auth-art { width: 120px; height: 120px; margin-top: -4.4rem; }
  .account-hero h1 { font-size: 1.7rem; }
  .order-row { grid-template-columns: 1fr auto auto auto; }
  .order-row > .ic { display: block; }
}

/* =========================================================
   DESKTOP  (≥ 1024px)
   ========================================================= */
@media (min-width: 1024px) {
  body { font-size: 16px; padding-bottom: 0; }
  .only-touch { display: none !important; }

  /* header lengkap, tanpa navigasi bawah */
  .nav-toggle { display: none; }
  .header-inner { gap: 1.2rem; min-height: 74px; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 1.65rem; }
  .main-nav { display: flex; gap: .15rem; }
  .main-nav a { padding: .45rem .8rem; border-radius: 999px; color: var(--ink); font-weight: 700; font-size: .95rem; transition: background .2s, color .2s; }
  .main-nav a.active { background: var(--pink); color: #fff; }
  .nav-dot { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--butter); color: var(--ink); font-size: .7rem; margin-left: 2px; }
  .main-nav a.active .nav-dot { background: #fff; color: var(--pink-deep); }
  .bottom-nav { display: none !important; }
  .wa-float { bottom: 24px; right: 24px; width: 58px; height: 58px; }
  .wa-float .ic { width: 28px; height: 28px; }
  body[data-page=product] .wa-float, body[data-page=cart] .wa-float, body[data-page=checkout] .wa-float { display: grid; }
  .toast { bottom: 28px; }

  .hero-track { border-radius: 32px; }
  .hero-slide { min-height: 420px; padding: 2.6rem 3.2rem; border-radius: 32px; gap: 2rem; }
  .hero-title { font-size: 3.1rem; }
  .hero-sub { font-size: 1.1rem; max-width: 480px; }
  .hero-cta { margin-top: 1.4rem; }
  .hero-art img { max-height: 360px; }
  .blob-1 { width: 380px; height: 380px; right: -60px; top: -60px; }
  .deco { font-size: 1.6rem; }
  .hero-dots { margin-top: .9rem; }
  .hero-dots button { width: 10px; height: 10px; }
  .hero-dots button.is-active { width: 30px; }

  .perks { grid-template-columns: repeat(4, 1fr); margin-top: 1.4rem; }
  .section { margin-top: 3.4rem; }
  .section-title { font-size: 2rem; }
  .section-head { margin-bottom: 1.2rem; }
  .link-more { font-size: .95rem; }

  .cat-grid { grid-template-columns: repeat(6, 1fr); }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .product-grid.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cp-foot .btn { min-height: 34px; padding: .4em .95em; font-size: .84rem; }
  .cp-foot .btn .btn-label { display: inline; }
  .cp-foot .btn:has(.btn-label) { width: auto; height: auto; min-height: 34px; padding: .4em .95em; border-radius: 999px; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .testi-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .cta-box { padding: 2.4rem 2.8rem; }
  .cta-box h2 { font-size: 2rem; }

  .site-footer { margin-top: 4rem; padding-bottom: 1.5rem; }
  .footer-wave { top: -40px; height: 42px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; padding-top: 2.4rem; }
  .footer-grid > div:last-child { grid-column: auto; }

  /* katalog: filter jadi sidebar */
  .catalog { grid-template-columns: 250px 1fr; gap: 1.6rem; align-items: start; margin-top: 1.6rem; }
  .filters { position: sticky; top: 92px; inset: auto; z-index: auto; transform: none !important; visibility: visible; max-height: none; overflow: visible; background: none; padding: 0; box-shadow: none; width: auto; left: auto; }
  body.sheet-open::after { display: none; }

  /* detail produk: dua kolom, tombol beli kembali ke dalam halaman */
  .pd { grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: start; margin-top: 0; }
  .pd-gallery { position: sticky; top: 96px; }
  .pd-info { display: grid; gap: 1rem; }
  .pd-head, .pd-block { box-shadow: none; padding: 0; background: none; }
  .pd-head { border-bottom: 2px dashed var(--line); padding-bottom: 1rem; }
  .pd-price { order: -1; }
  .pd-title { font-size: 2.1rem; }
  .pd-price strong { font-size: 2.2rem; }
  .pd-actions { position: static; transform: none; width: auto; padding: 0; box-shadow: none; background: none; border-radius: 0; }
  .pd-actions .btn { flex: 1; min-height: 54px; font-size: 1.02rem; }
  .pd-desc { margin-top: 2rem; }
  .pd-desc summary h2 { font-size: 1.3rem; }
  .prose { font-size: 1rem; }

  /* keranjang & checkout: ringkasan di samping */
  .cart-layout, .checkout-layout { grid-template-columns: 1fr 370px; gap: 1.4rem; }
  .summary { position: sticky; top: 96px; }
  .action-bar { position: static; transform: none; width: auto; padding: 0; box-shadow: none; background: none; border-radius: 0; flex-direction: column; align-items: stretch; gap: .9rem; margin-top: .4rem; }
  .action-bar-total { flex-direction: row; justify-content: space-between; align-items: center; padding-top: .9rem; border-top: 2px dashed var(--line); }
  .action-bar-total small { font-size: .95rem; color: var(--ink); }
  .action-bar-total b { font-size: 1.5rem; }
  .action-bar .btn { width: 100%; }
  .summary .btn-ghost { margin-top: .6rem; }
  .sum-items { max-height: 340px; overflow-y: auto; }

  .about-grid { grid-template-columns: 1.6fr 1fr; gap: 1.2rem; }
  .auth-card { margin-top: 4.4rem; }
}

/* ---------------------------------------------------------- efek hover (hanya perangkat dengan mouse) */
@media (hover: hover) {
  a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
  .btn:hover, .icon-btn:hover, .cat-item:hover, .card-product a:hover, .brand:hover, .drawer-nav a:hover, .qchip:hover, .tab:hover, .pg-btn:hover, .bottom-nav a:hover, .socials a:hover, .order-row:hover, .filter-link:hover, .main-nav a:hover { text-decoration: none; }
  .btn:hover { transform: translateY(-2px) scale(1.02); filter: saturate(1.1); }
  .icon-btn:hover { transform: rotate(-8deg) scale(1.08); background: var(--pink-mid); }
  .brand:hover img { transform: rotate(-12deg) scale(1.08); }
  .main-nav a:hover { background: var(--pink-soft); color: var(--pink-deep); }
  .cat-item:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow); }
  .cat-item:hover .cat-emoji { transform: scale(1.1) rotate(10deg); }
  .card-product:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--ts); }
  .card-product:hover .cp-media img { transform: scale(1.08) rotate(-3deg); }
  .cp-wish:hover { transform: scale(1.15); }
  .filter-link:hover:not(.active) { background: var(--pink-soft); }
  .chip:hover span { border-color: var(--pink-mid); }
  .qty button:hover { background: var(--pink-mid); }
  .cl-remove:hover { color: #d2486a; }
  .pg-btn:hover { transform: translateY(-2px); }
  .socials a:hover { transform: translateY(-3px) rotate(-8deg); }
  .order-row:hover { transform: translateX(4px); border-color: var(--pink-soft); }
  .upload-drop:hover .upload-inner { background: var(--pink-soft); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .topbar-track { padding-left: 0; }
}
