/* ============ TOKENS ============ */
:root {
  --cream: #FFF8F1;
  --white: #FFFFFF;
  --ink: #2E2440;
  --ink-2: #6B6180;
  --coral: #FF7E6B;
  --coral-d: #F0614D;
  --peach: #FFE6DA;
  --butter: #FFE79A;
  --mint: #C9F0DF;
  --mint-d: #5CC79A;
  --sky: #D3E9FF;
  --pink: #FFDCE8;
  --lilac: #ECE3FF;
  --radius: 28px;
  --shadow: 0 18px 40px -18px rgba(46, 36, 64, .25);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --head: "Baloo 2", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ============ CLOUD EDGES ============ */
.cloud-edge {
  position: absolute; left: 0; right: 0; height: 46px; pointer-events: none; z-index: 2;
  --c: var(--white);
  background:
    radial-gradient(circle at 50% 0, var(--c) 34px, transparent 35px) 0 0 / 92px 46px repeat-x,
    radial-gradient(circle at 50% 0, var(--c) 24px, transparent 25px) 46px 0 / 92px 34px repeat-x;
}
.cloud-edge--down { bottom: -44px; }
.cloud-edge--up {
  bottom: -1px; transform: scaleY(-1);
}
.cloud-edge--cream { --c: var(--cream); }
.section--products > .cloud-edge--down { top: -45px; bottom: auto; transform: scaleY(-1); }
.cta > .cloud-edge--down { top: -45px; bottom: auto; transform: scaleY(-1); }

/* ============ HEADER ============ */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: var(--white);
  transition: transform .5s var(--ease), box-shadow .3s;
  animation: dropIn .9s var(--ease) both;
}
.header__inner {
  max-width: 1240px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  position: relative; z-index: 3;
}
.header.is-scrolled .header__inner { padding-block: 10px; }
.header.is-hidden { transform: translateY(calc(-100% - 60px)); }
@keyframes dropIn { from { transform: translateY(-100%); } }

.logo { font-family: var(--head); font-weight: 800; font-size: 28px; display: flex; align-items: center; gap: 6px; letter-spacing: -.5px; }
.logo b { color: var(--coral); font-weight: 800; }
.logo__mark { width: 34px; height: 34px; display: inline-grid; place-items: center; animation: sway 4s ease-in-out infinite; transform-origin: 50% 100%; }
.logo__mark svg { width: 100%; height: 100%; }
@keyframes sway { 50% { transform: rotate(-8deg); } }

.nav { display: flex; gap: 6px; }
.nav a {
  font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 99px; position: relative;
  transition: background .25s, color .25s;
}
.nav a:hover { background: var(--peach); color: var(--coral-d); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: background .2s, transform .3s var(--spring); }
.icon-btn:hover { background: var(--peach); transform: rotate(-8deg) scale(1.06); }
.icon-btn svg, .cart-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn {
  display: flex; align-items: center; gap: 8px; position: relative;
  background: var(--coral); color: #fff; font-weight: 800; padding: 11px 20px; border-radius: 99px;
  transition: transform .35s var(--spring), background .2s;
}
.cart-btn:hover { transform: scale(1.06); background: var(--coral-d); }
.cart-count {
  font-style: normal; position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px;
  border-radius: 99px; background: var(--ink); color: #fff; font-size: 12px; display: grid; place-items: center; padding: 0 6px;
}
.cart-btn.bump { animation: bump .6s var(--spring); }
@keyframes bump { 30% { transform: scale(1.22) rotate(-6deg); } 60% { transform: scale(.94) rotate(3deg); } }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--peach); position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.nav-open .burger i:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .burger i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--body); font-weight: 800; font-size: 16px;
  padding: 15px 28px; border-radius: 99px; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--spring), box-shadow .3s, background .3s, color .3s;
}
.btn:hover { transform: translateY(-3px) scale(1.03); }
.btn:active { transform: scale(.96); }
.btn__arrow { display: inline-block; transition: transform .35s var(--spring); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 12px 26px -10px rgba(240, 97, 77, .7); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--coral-d);
  clip-path: circle(0% at 50% 100%); transition: clip-path .5s var(--ease);
}
.btn--primary:hover::before { clip-path: circle(150% at 50% 100%); }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn--outline { border: 2px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }

/* ============ HERO ============ */
.hero { position: relative; padding: 150px 24px 70px; min-height: 100vh; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(255, 220, 232, .9), transparent 70%),
    radial-gradient(50% 50% at 85% 25%, rgba(211, 233, 255, .9), transparent 70%),
    radial-gradient(60% 60% at 50% 80%, rgba(201, 240, 223, .7), transparent 70%),
    linear-gradient(180deg, var(--peach) 0%, var(--cream) 75%);
}
.hero__content { max-width: 860px; margin: 0 auto; text-align: center; position: relative; z-index: 3; }
.pill {
  display: inline-block; background: #fff; padding: 8px 18px; border-radius: 99px;
  font-weight: 800; font-size: 14px; box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero__title {
  font-family: var(--head); font-weight: 800; font-size: clamp(42px, 7vw, 86px);
  line-height: 1.02; letter-spacing: -1.5px;
}
.hero__title .hl { color: var(--coral); position: relative; display: inline-block; }
.hero__title .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .05em; height: .22em; z-index: -1;
  background: var(--butter); border-radius: 99px; transform: scaleX(0); transform-origin: left;
  animation: grow 1s var(--ease) 1.2s forwards;
}
@keyframes grow { to { transform: scaleX(1); } }
.hero__sub { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 580px; margin: 22px auto 30px; font-weight: 600; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* word split reveal */
.w { display: inline-block; opacity: 0; transform: translateY(40px) rotate(4deg); }
.is-in .w, .w.in {
  animation: wordIn 1s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + var(--base, 0ms));
}
@keyframes wordIn { to { opacity: 1; transform: none; } }

.reveal-load { opacity: 0; transform: translateY(24px); animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* floating blobs */
.float { position: absolute; z-index: 2; transition: transform .8s var(--ease); }
.float .blob {
  width: 100%; aspect-ratio: 1; display: grid; place-items: center; padding: 14%;
  border-radius: 58% 42% 52% 48% / 48% 56% 44% 52%;
  box-shadow: 0 30px 50px -25px rgba(46, 36, 64, .35);
  animation: popIn 1s var(--spring) both, bob 6s ease-in-out infinite;
  border: 6px solid #fff;
}
.float img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0,0,0,.15)); }
.blob--mint { background: var(--mint); } .blob--butter { background: var(--butter); }
.blob--sky { background: var(--sky); } .blob--pink { background: var(--pink); }
.f1 { width: 190px; left: 4%; top: 18%; } .f1 .blob { animation-delay: .5s, 0s, 0s; }
.f2 { width: 150px; right: 6%; top: 16%; } .f2 .blob { animation-delay: .7s, 1s, 1.4s; }
.f3 { width: 165px; left: 8%; top: 58%; } .f3 .blob { animation-delay: .9s, 2s, .7s; }
.f4 { width: 175px; right: 4%; top: 52%; } .f4 .blob { animation-delay: 1.1s, 3s, 2s; }
@keyframes popIn { from { opacity: 0; transform: scale(.3) rotate(-25deg); } }
@keyframes morph {
  33% { border-radius: 42% 58% 46% 54% / 56% 44% 56% 44%; }
  66% { border-radius: 52% 48% 60% 40% / 44% 52% 48% 56%; }
}
@keyframes bob { 50% { translate: 0 -16px; rotate: 4deg; } }

/* doodles */
.doodle { position: absolute; z-index: 1; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.doodle .fill { fill: var(--ink); stroke: none; }
.d-star { width: 42px; left: 22%; top: 22%; fill: var(--butter); animation: spin 12s linear infinite; }
.d-heart { width: 34px; right: 22%; top: 30%; fill: var(--pink); animation: beat 1.6s ease-in-out infinite; }
.d-swirl { width: 90px; right: 18%; top: 72%; stroke: var(--coral); stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 2.5s var(--ease) 1.4s forwards; }
.d-bunny { width: 56px; left: 6%; top: 40px; stroke: var(--coral); animation: wiggle 3s ease-in-out infinite; }
.d-plane { width: 70px; right: 0; top: 4%; stroke: var(--mint-d); animation: fly 5s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes beat { 15%, 45% { transform: scale(1.2); } 30% { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes wiggle { 50% { transform: rotate(10deg); } }
@keyframes fly { 50% { transform: translate(-14px, -10px) rotate(-6deg); } }
.dot { position: absolute; border-radius: 50%; z-index: 1; animation: bob 5s ease-in-out infinite; }
.dot1 { width: 14px; height: 14px; background: var(--coral); left: 30%; top: 70%; }
.dot2 { width: 10px; height: 10px; background: var(--mint-d); right: 30%; top: 18%; animation-delay: 1s; }
.dot3 { width: 18px; height: 18px; background: var(--butter); left: 16%; top: 46%; animation-delay: 2s; }

/* stats band */
.stats {
  position: relative; z-index: 3; max-width: 1200px; margin: 70px auto 0;
  background: var(--butter); border-radius: var(--radius); padding: 34px 40px;
  display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 24px; align-items: center;
}
.stats__intro h3 { font-family: var(--head); font-size: 26px; line-height: 1.1; margin-bottom: 6px; }
.stats__intro p { color: var(--ink-2); font-weight: 600; font-size: 15px; line-height: 1.5; }
.stat b { display: block; font-family: var(--head); font-size: 42px; line-height: 1; font-weight: 800; }
.stat span { font-weight: 700; font-size: 14px; color: var(--ink-2); }

/* ============ SECTIONS ============ */
.section { position: relative; padding: 110px 24px; max-width: 1240px; margin: 0 auto; }
.section__head { text-align: center; margin-bottom: 54px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; gap: 24px; flex-wrap: wrap; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--coral-d); background: var(--peach); padding: 6px 14px; border-radius: 99px; margin-bottom: 14px;
}
.eyebrow--light { background: rgba(255,255,255,.25); color: #fff; }
.title { font-family: var(--head); font-weight: 800; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -1px; }
.title--light { color: #fff; }
.lead { color: var(--ink-2); font-size: 17px; line-height: 1.7; font-weight: 600; margin: 18px 0 28px; }
.center { text-align: center; margin-top: 48px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ CATEGORIES ============ */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat {
  border-radius: var(--radius); padding: 22px 18px; text-align: center; position: relative; overflow: hidden;
  transition: transform .5s var(--spring), box-shadow .4s;
}
.cat:hover { transform: translateY(-8px) rotate(-1.2deg); box-shadow: var(--shadow); }
.cat__icon {
  width: 78px; height: 78px; margin: 0 auto 12px; background: #fff; display: grid; place-items: center;
  border-radius: 58% 42% 52% 48% / 48% 56% 44% 52%;
  transition: transform .5s var(--spring);
}
.cat__icon img { width: 70%; height: 70%; object-fit: contain; }
.cat:hover .cat__icon { transform: scale(1.12) rotate(8deg); }
.cat h3 { font-family: var(--head); font-size: 19px; line-height: 1.15; }
.cat p { color: var(--ink-2); font-size: 14px; font-weight: 600; margin-top: 6px; }

/* ============ PRODUCTS ============ */
.section--products { max-width: none; background: var(--cream); margin-top: 40px; padding-bottom: 130px; }
.section--products > .section__head, .section--products > .grid, .section--products > .center { max-width: 1192px; margin-inline: auto; }
.tabs { display: flex; gap: 4px; background: #fff; padding: 6px; border-radius: 99px; position: relative; box-shadow: var(--shadow); flex-wrap: wrap; }
.tab { position: relative; z-index: 1; font-weight: 800; font-size: 15px; padding: 10px 18px; border-radius: 99px; transition: color .3s; white-space: nowrap; }
.tab.is-active { color: #fff; }
.tabs__pill { position: absolute; z-index: 0; top: 6px; height: calc(100% - 12px); background: var(--coral); border-radius: 99px; transition: left .5s var(--spring), width .5s var(--spring), top .5s var(--spring); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 14px; position: relative;
  display: flex; flex-direction: column; transition: transform .5s var(--spring), box-shadow .4s;
  opacity: 0; transform: translateY(30px) scale(.96);
  animation: cardIn .7s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms);
}
.card.out { animation: cardOut .3s var(--ease) forwards; }
@keyframes cardIn { to { opacity: 1; transform: none; } }
@keyframes cardOut { to { opacity: 0; transform: translateY(16px) scale(.96); } }
.card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -24px rgba(46, 36, 64, .35); }
.card__media {
  aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center; padding: 18px; position: relative; overflow: hidden;
}
.card__media::before {
  content: ""; position: absolute; width: 80%; aspect-ratio: 1; background: rgba(255,255,255,.55);
  border-radius: 58% 42% 52% 48% / 48% 56% 44% 52%; transition: transform .6s var(--spring);
}
.card:hover .card__media::before { transform: scale(1.15) rotate(20deg); }
.card__media img {
  position: absolute; inset: 14%; width: 72%; height: 72%;
  object-fit: contain; border-radius: 14px; transition: transform .6s var(--spring);
}
.card:hover .card__media img { transform: scale(1.08) rotate(-3deg); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--coral); color: #fff;
  font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 99px;
}
.fav {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; font-size: 16px; color: var(--ink-2); transition: transform .4s var(--spring), color .2s;
}
.fav:hover { transform: scale(1.15); color: var(--coral); }
.fav.on { color: var(--coral); animation: bump .5s var(--spring); }
.card__body { padding: 14px 6px 4px; display: flex; flex-direction: column; flex: 1; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.chip { font-size: 12px; font-weight: 700; background: var(--cream); padding: 3px 9px; border-radius: 99px; color: var(--ink-2); }
.card h3 { font-size: 15px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.price { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price b { font-family: var(--head); font-size: 22px; color: var(--coral-d); line-height: 1; }
.price s { display: block; font-size: 13px; color: #A69EB4; font-weight: 600; }
.add {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 24px; line-height: 1; flex: none;
  display: grid; place-items: center; transition: transform .4s var(--spring), background .25s;
}
.add:hover { background: var(--coral); transform: rotate(90deg) scale(1.08); }
.fly { position: fixed; z-index: 100; pointer-events: none; width: 70px; height: 70px; object-fit: contain; border-radius: 50%; background: #fff; padding: 6px; box-shadow: var(--shadow); }

/* ============ DEAL ============ */
.deal { padding-top: 60px; }
.deal__box {
  background: linear-gradient(135deg, #FF8E7A 0%, #FF6F8E 100%); border-radius: 40px; padding: 48px;
  display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: center; overflow: hidden; position: relative;
}
.deal__box::before, .deal__box::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); }
.deal__box::before { width: 320px; height: 320px; left: -100px; bottom: -140px; }
.deal__box::after { width: 200px; height: 200px; right: 30%; top: -110px; }
.deal__left { position: relative; z-index: 1; }
.big { color: var(--butter); }
.deal__note { color: #fff; font-weight: 700; margin: 22px 0 10px; }
.countdown { display: flex; gap: 10px; }
.countdown div { background: #fff; border-radius: 18px; width: 74px; padding: 10px 0; text-align: center; }
.countdown b { display: block; font-family: var(--head); font-size: 32px; line-height: 1; color: var(--coral-d); }
.countdown span { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.countdown b.tick { animation: tick .4s var(--spring); }
@keyframes tick { from { transform: translateY(-8px); opacity: .3; } }
.deal__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 14px; position: relative; z-index: 1; scrollbar-width: none; }
.deal__track::-webkit-scrollbar { display: none; }
.deal__track .card { flex: 0 0 220px; scroll-snap-align: start; }
.bar { height: 8px; background: var(--peach); border-radius: 99px; margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--coral), #FF6F8E); border-radius: inherit; width: 0; transition: width 1.4s var(--ease) .3s; }
.is-in .bar i, .bar.is-in i { width: var(--w); }
.sold { font-size: 12px; font-weight: 700; color: var(--ink-2); margin-top: 4px; }

/* ============ WHY ============ */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.why__media { position: relative; aspect-ratio: 1; }
.why__blob {
  position: absolute; inset: 6%; background: linear-gradient(135deg, var(--mint), var(--sky));
  border-radius: 58% 42% 52% 48% / 48% 56% 44% 52%;
}
.why__img { position: absolute; object-fit: contain; filter: drop-shadow(0 20px 20px rgba(46,36,64,.2)); animation: bob 6s ease-in-out infinite; }
.w1 { width: 46%; left: 12%; top: 20%; }
.w2 { width: 34%; right: 10%; top: 12%; animation-delay: 1.5s; }
.w3 { width: 38%; right: 16%; bottom: 10%; animation-delay: 3s; }
.features { list-style: none; display: grid; gap: 18px; }
.features li { display: flex; gap: 16px; align-items: flex-start; background: var(--cream); padding: 18px; border-radius: 22px; transition: transform .4s var(--spring); }
.features li:hover { transform: translateX(8px); }
.ic { font-style: normal; flex: none; width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.ic--mint { background: var(--mint); } .ic--butter { background: var(--butter); } .ic--pink { background: var(--pink); }
.features b { display: block; font-family: var(--head); font-size: 20px; }
.features span { color: var(--ink-2); font-weight: 600; font-size: 15px; }

/* ============ REVIEWS ============ */
.reviews { max-width: none; overflow: hidden; }
.marquee { display: flex; width: max-content; gap: 20px; animation: scroll 50s linear infinite; margin-bottom: 20px; }
.marquee--rev { animation-direction: reverse; animation-duration: 58s; }
.marquee:hover { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.review { width: 360px; background: var(--cream); border-radius: var(--radius); padding: 24px; flex: none; }
.review:nth-child(3n+2) { background: var(--sky); } .review:nth-child(3n) { background: var(--pink); }
.review .stars { color: #F5A623; letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-weight: 600; line-height: 1.6; }
.review .who { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.review .av { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 20px; }
.review .who b { display: block; font-family: var(--head); font-size: 17px; line-height: 1.1; }
.review .who span { font-size: 13px; color: var(--ink-2); font-weight: 600; }

/* ============ BLOG ============ */
.blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 0 0 1.5px #F1E9E2; transition: transform .5s var(--spring), box-shadow .4s; cursor: pointer; }
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.post__img { aspect-ratio: 16/10; display: grid; place-items: center; font-size: 76px; position: relative; overflow: hidden; }
.post__img span { transition: transform .6s var(--spring); }
.post:hover .post__img span { transform: scale(1.2) rotate(-10deg); }
.post__img--mint { background: var(--mint); } .post__img--butter { background: var(--butter); } .post__img--pink { background: var(--pink); }
.post__body { padding: 22px; }
.tag { font-size: 13px; font-weight: 800; color: var(--coral-d); text-transform: uppercase; letter-spacing: 1px; }
.post h3 { font-family: var(--head); font-size: 22px; line-height: 1.2; margin: 6px 0 10px; }
.meta { font-size: 14px; color: var(--ink-2); font-weight: 600; }

/* ============ CTA ============ */
.cta { position: relative; background: var(--cream); padding: 120px 24px; text-align: center; margin-top: 60px; }
.cta__inner { max-width: 720px; margin: 0 auto; position: relative; }
.cta p { color: var(--ink-2); font-weight: 600; font-size: 17px; margin: 16px 0 28px; }
.d-star--cta { left: -40px; top: -20px; width: 52px; }
.subscribe { display: flex; gap: 10px; background: #fff; padding: 8px; border-radius: 99px; box-shadow: var(--shadow); max-width: 540px; margin: 0 auto; position: relative; }
.subscribe input { flex: 1; border: 0; outline: 0; font: inherit; font-weight: 600; padding: 0 18px; background: transparent; min-width: 0; }
.subscribe__ok { position: absolute; inset: 0; background: var(--mint); border-radius: 99px; display: grid; place-items: center; font-weight: 800; transform: scale(.8); opacity: 0; pointer-events: none; transition: .5s var(--spring); }
.subscribe.done .subscribe__ok { transform: none; opacity: 1; }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: #D9D2E6; padding: 70px 24px 30px; }
.footer__grid { max-width: 1192px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.logo--light { color: #fff; margin-bottom: 12px; }
.footer h4 { font-family: var(--head); color: #fff; font-size: 19px; margin-bottom: 12px; }
.footer a:not(.logo), .footer p { display: block; font-weight: 600; font-size: 15px; line-height: 2; }
.footer a:not(.logo):hover { color: var(--butter); }
.footer__copy { text-align: center; margin-top: 50px; font-size: 14px !important; opacity: .7; }

/* ============ DRAWER ============ */
.overlay { position: fixed; inset: 0; background: rgba(46,36,64,.4); backdrop-filter: blur(3px); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .4s; }
.drawer {
  position: fixed; top: 12px; right: 12px; bottom: 12px; width: min(420px, calc(100% - 24px)); z-index: 90;
  background: #fff; border-radius: 30px; display: flex; flex-direction: column;
  transform: translateX(110%); transition: transform .6s var(--ease);
}
.cart-open .overlay { opacity: 1; pointer-events: auto; }
.cart-open .drawer { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1.5px solid #F1E9E2; }
.drawer__head h3 { font-family: var(--head); font-size: 24px; }
.drawer__list { flex: 1; overflow-y: auto; padding: 14px 24px; }
.drawer__empty { text-align: center; color: var(--ink-2); font-weight: 700; padding: 60px 0; }
.drawer__empty span { display: block; font-size: 56px; margin-bottom: 10px; animation: bob 3s ease-in-out infinite; }
.line { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed #EEE5DD; animation: fadeUp .5s var(--ease) both; }
.line img { width: 64px; height: 64px; object-fit: contain; background: var(--cream); border-radius: 16px; padding: 6px; flex: none; }
.line__info { flex: 1; min-width: 0; }
.line__info p { font-size: 14px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line__info b { color: var(--coral-d); font-family: var(--head); font-size: 18px; }
.qty { display: flex; align-items: center; gap: 6px; background: var(--cream); border-radius: 99px; padding: 4px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; background: #fff; font-weight: 800; }
.qty span { min-width: 18px; text-align: center; font-weight: 800; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1.5px solid #F1E9E2; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-weight: 700; }
.drawer__total b { font-family: var(--head); font-size: 28px; color: var(--coral-d); }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; background: var(--ink); color: #fff; font-weight: 700;
  padding: 14px 22px; border-radius: 99px; transform: translate(-50%, 180%); opacity: 0; visibility: hidden; transition: transform .5s var(--spring), opacity .3s, visibility .5s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cats { gap: 14px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__intro { grid-column: 1 / -1; }
  .f1, .f3 { left: -30px; } .f2, .f4 { right: -30px; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; top: 76px; left: 12px; right: 12px; flex-direction: column; background: #fff; padding: 14px;
    border-radius: 24px; box-shadow: var(--shadow); transform: translateY(-20px); opacity: 0; pointer-events: none; transition: .4s var(--ease);
  }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 16px; }
  .burger { display: block; }
  .cart-btn span { display: none; }
  .cart-btn { padding: 11px 13px; }
  .header__actions .icon-btn { display: none; }
  .why, .deal__box { grid-template-columns: 1fr; }
  .why { gap: 30px; }
  .blog { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 120px; }
  .float { width: 96px !important; }
  .f1 { top: 12%; left: -18px; } .f2 { top: 13%; right: -14px; }
  .f3 { top: auto; bottom: 36%; left: -22px; } .f4 { top: auto; bottom: 38%; right: -18px; }
  .d-star, .d-heart, .d-swirl { display: none; }
}
@media (max-width: 600px) {
  .grid, .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section { padding: 80px 16px; }
  .hero { padding-inline: 16px; }
  .stats { padding: 24px; gap: 18px; }
  .stat b { font-size: 34px; }
  .card { padding: 10px; border-radius: 22px; }
  .card h3 { font-size: 14px; }
  .price b { font-size: 18px; }
  .add { width: 38px; height: 38px; }
  .tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .deal__box { padding: 28px 20px; border-radius: 30px; }
  .cat { padding: 20px 12px; }
  .cat__icon { width: 72px; height: 72px; }
  .cat h3 { font-size: 17px; }
  .review { width: 290px; }
  .subscribe { flex-direction: column; border-radius: 26px; }
  .subscribe input { padding: 14px 16px; }
  .footer__grid { grid-template-columns: 1fr; }
  .d-star--cta { display: none; }
  .hero { padding-top: 220px; }
  .hero__title { font-size: 40px; }
  .f1 { top: 100px; left: 10%; } .f2 { top: 92px; right: 12%; }
  .f1, .f2 { width: 92px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .w, .reveal, .reveal-load, .card { opacity: 1 !important; filter: none !important; transform: none !important; }
}

#danh-muc { padding-bottom: 90px; }
#danh-muc .section__head { margin-bottom: 40px; }

/* =====================================================================
   V2 — bố cục gọn theo góp ý (21/10/2026)
   ===================================================================== */

/* hero ngắn */
.hero { min-height: 0; padding: 140px 24px 120px; }
.f1 { width: 150px; top: 22%; } .f2 { width: 124px; top: 20%; }
.f3 { width: 132px; top: 60%; } .f4 { width: 140px; top: 56%; }

/* khoảng trắng gọn */
.section--tight { padding: 72px 24px; }
.section__head { margin-bottom: 36px; }
.section--products { margin-top: 30px; padding: 90px 24px 110px; }
.title { font-size: clamp(32px, 4vw, 50px); }

/* danh mục 7 ô */
.cats { grid-template-columns: repeat(7, 1fr); gap: 14px; }
.cat { padding: 18px 10px 16px; }
.cat__icon { width: 74px; height: 74px; margin-bottom: 10px; }
.cat h3 { font-size: 17px; }
.cat p { font-size: 12.5px; line-height: 1.35; }

/* deal + voucher */
.deal { padding-top: 24px; }
.deal__box { padding: 40px; }
.voucher {
  margin-top: 18px; display: flex; align-items: center; gap: 14px; background: var(--mint);
  border-radius: 99px; padding: 10px 10px 10px 18px; position: relative; overflow: hidden;
}
.voucher__gift { font-size: 30px; animation: wiggle 2.4s ease-in-out infinite; }
.voucher__text { flex: 1; min-width: 0; }
.voucher__text b { display: block; font-family: var(--head); font-size: 20px; line-height: 1.1; }
.voucher__text span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.voucher input { width: 210px; border: 0; outline: 0; font: inherit; font-weight: 700; padding: 14px 18px; border-radius: 99px; background: #fff; }
.voucher input:focus { box-shadow: 0 0 0 3px var(--mint-d); }
.voucher .btn { padding: 13px 22px; }
.voucher__ok { position: absolute; inset: 0; background: var(--mint-d); color: #fff; display: grid; place-items: center; font-weight: 800; opacity: 0; transform: scale(.9); pointer-events: none; transition: .5s var(--spring); }
.voucher.done .voucher__ok { opacity: 1; transform: none; }

/* cam kết + đánh giá */
.promise .d-bunny { top: 60px; }
.stats { margin: 0; grid-template-columns: repeat(4, 1fr); padding: 30px; gap: 26px; }
.stat strong { display: block; font-family: var(--head); font-size: 19px; margin: 8px 0 2px; }
.stat span { display: block; line-height: 1.45; font-weight: 600; }
.reviews { max-width: none; overflow: visible; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.review { width: auto; }

/* cẩm nang gọn: thẻ ngang */
.blog { gap: 16px; }
.post { display: flex; align-items: center; gap: 16px; padding: 14px; }
.post__icon {
  flex: none; width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; font-size: 40px;
  transition: transform .5s var(--spring);
}
.post:hover .post__icon { transform: rotate(-8deg) scale(1.08); }
.post__icon--mint { background: var(--mint); } .post__icon--butter { background: var(--butter); } .post__icon--pink { background: var(--pink); }
.post__body { padding: 0; }
.post h3 { font-size: 18px; margin: 2px 0 6px; }
.post .meta { font-size: 13px; }

/* cửa hàng + chỉ đường */
.store { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.store__list { list-style: none; display: grid; gap: 12px; margin: 24px 0; }
.store__list li { display: flex; gap: 14px; align-items: center; background: var(--cream); padding: 14px; border-radius: 20px; }
.store__list b { display: block; font-family: var(--head); font-size: 18px; line-height: 1.1; }
.store__list span { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.route { display: flex; flex-wrap: wrap; gap: 10px; }
.route__result { flex-basis: 100%; background: var(--butter); border-radius: 22px; padding: 16px 18px; animation: fadeUp .6s var(--ease) both; }
.route__dist { font-weight: 700; margin-bottom: 10px; }
.route__dist b { font-family: var(--head); font-size: 24px; color: var(--coral-d); }
.route__modes { display: flex; gap: 8px; flex-wrap: wrap; }
.mode { background: #fff; font-weight: 800; padding: 10px 16px; border-radius: 99px; transition: transform .35s var(--spring), background .2s; }
.mode:hover { transform: translateY(-3px); background: var(--ink); color: #fff; }
.store__map { position: relative; aspect-ratio: 4/3.2; border-radius: 40px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow); background: var(--sky); }
.store__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.store__pin { position: absolute; right: 18px; top: 18px; width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: var(--shadow); animation: bob 3s ease-in-out infinite; pointer-events: none; }

/* footer mây */
.footer { position: relative; margin-top: 60px; }
.cloud-edge--ink { --c: var(--ink); }
.footer > .cloud-edge--down { top: -45px; bottom: auto; transform: scaleY(-1); }

/* thẻ sản phẩm bấm được */
.card__media, .card h3 { cursor: pointer; }
.card h3:hover { color: var(--coral-d); }

/* ===== MODAL ===== */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; background: rgba(46,36,64,.45); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal__box {
  width: min(880px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 32px; position: relative;
  transform: translateY(30px) scale(.96); transition: transform .5s var(--spring);
}
.modal.open .modal__box { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; background: #fff; box-shadow: var(--shadow); }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv__media { position: relative; aspect-ratio: 1; margin: 16px; border-radius: 26px; display: grid; place-items: center; overflow: hidden; }
.qv__media::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; background: rgba(255,255,255,.55); border-radius: 58% 42% 52% 48% / 48% 56% 44% 52%; animation: morph 8s ease-in-out infinite; }
.qv__media img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; border-radius: 16px; animation: popIn .7s var(--spring) both; }
.qv__body { padding: 40px 32px 32px 16px; display: flex; flex-direction: column; }
.qv__cat { font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--coral-d); }
.qv__body h3 { font-family: var(--head); font-size: 28px; line-height: 1.15; margin: 6px 0 12px; }
.qv__price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 6px; }
.qv__price b { font-family: var(--head); font-size: 36px; color: var(--coral-d); line-height: 1; }
.qv__price s { color: #A69EB4; font-weight: 700; }
.qv__save { display: inline-block; background: var(--peach); color: var(--coral-d); font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 99px; }
.qv__perks { list-style: none; display: grid; gap: 6px; margin: 18px 0; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.qv__buy { display: flex; gap: 10px; align-items: center; margin-top: auto; flex-wrap: wrap; }
.qv__buy .qty { padding: 6px; }
.qv__buy .qty button { width: 34px; height: 34px; }
.qv__buy .btn { flex: 1; padding: 14px 18px; }

/* checkout */
.co { padding: 34px; }
.co h3 { font-family: var(--head); font-size: 30px; line-height: 1.1; margin-bottom: 4px; }
.co__sub { color: var(--ink-2); font-weight: 600; margin-bottom: 20px; }
.co__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; border: 2px solid #F1E9E2; border-radius: 16px; padding: 12px 14px; font: inherit; font-weight: 600; outline: 0; transition: border-color .2s; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--coral); }
.ship { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.ship label { border: 2px solid #F1E9E2; border-radius: 16px; padding: 12px; cursor: pointer; font-weight: 700; font-size: 14px; transition: .25s; }
.ship label small { display: block; color: var(--ink-2); font-weight: 600; }
.ship input { display: none; }
.ship label:has(input:checked) { border-color: var(--coral); background: var(--peach); }
.co__sum { background: var(--cream); border-radius: 24px; padding: 18px; align-self: start; }
.co__sum h4 { font-family: var(--head); font-size: 20px; margin-bottom: 8px; }
.co__line { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; padding: 6px 0; border-bottom: 1px dashed #EADFD5; }
.co__line span:first-child { flex: 1; }
.co__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; font-weight: 800; }
.co__total b { font-family: var(--head); font-size: 26px; color: var(--coral-d); }
.co__note { font-size: 13px; color: var(--ink-2); font-weight: 600; margin-top: 10px; }
.okbox { padding: 44px 34px; text-align: center; }
.okbox__icon { font-size: 64px; display: inline-block; animation: popIn .8s var(--spring) both, bob 3s ease-in-out .8s infinite; }
.okbox h3 { font-family: var(--head); font-size: 32px; margin: 10px 0 6px; }
.okbox p { color: var(--ink-2); font-weight: 600; }
.okbox code { font-family: var(--head); font-size: 22px; color: var(--coral-d); }
.okbox__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ===== SEARCH ===== */
.search { position: fixed; inset: 0; z-index: 96; background: rgba(46,36,64,.45); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; padding: 90px 16px 16px; }
.search.open { opacity: 1; pointer-events: auto; }
.search__box { max-width: 680px; margin: 0 auto; background: #fff; border-radius: 30px; padding: 12px; transform: translateY(-20px); transition: transform .45s var(--spring); max-height: calc(100vh - 110px); display: flex; flex-direction: column; }
.search.open .search__box { transform: none; }
.search__bar { display: flex; align-items: center; gap: 10px; background: var(--cream); border-radius: 99px; padding: 4px 4px 4px 18px; }
.search__bar svg { width: 22px; height: 22px; fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; flex: none; }
.search__bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-weight: 700; font-size: 17px; padding: 10px 0; }
.search__hints { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 6px 4px; }
.search__hints button { background: var(--peach); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 99px; transition: transform .3s var(--spring); }
.search__hints button:hover { transform: scale(1.06); }
.search__results { overflow-y: auto; padding: 6px; }
.sr { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; cursor: pointer; animation: fadeUp .4s var(--ease) both; transition: background .2s; }
.sr:hover { background: var(--cream); }
.sr img { width: 56px; height: 56px; object-fit: contain; border-radius: 14px; background: var(--cream); padding: 4px; flex: none; }
.sr p { flex: 1; font-weight: 700; font-size: 15px; }
.sr p mark { background: var(--butter); border-radius: 4px; padding: 0 2px; }
.sr b { font-family: var(--head); color: var(--coral-d); font-size: 18px; white-space: nowrap; }
.search__empty { text-align: center; padding: 30px; color: var(--ink-2); font-weight: 700; }

/* ===== RESPONSIVE V2 ===== */
@media (max-width: 1080px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .store, .qv, .co__grid { grid-template-columns: 1fr; }
  .qv__body { padding: 8px 24px 28px; }
  .reviews { grid-template-columns: 1fr; }
  .voucher { flex-wrap: wrap; border-radius: 28px; padding: 16px; }
  .voucher input { flex: 1; width: auto; }
  .hero { padding-bottom: 110px; }
}
@media (max-width: 600px) {
  .cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 132px; scroll-snap-align: start; }
  .section--tight { padding: 56px 16px; }
  .section--products { padding: 70px 16px 90px; }
  .stats { grid-template-columns: 1fr 1fr; padding: 20px; gap: 18px; }
  .stat span { font-size: 13px; }
  .stat strong { font-size: 16px; }
  .voucher__text b { font-size: 18px; }
  .voucher input, .voucher .btn { flex: 1 1 100%; }
  .store__map { border-radius: 28px; }
  .co, .okbox { padding: 26px 18px; }
  .ship { grid-template-columns: 1fr; }
  .qv__body h3 { font-size: 23px; }
  .hero { padding-top: 210px; }
}

.btn:disabled { opacity: .45; pointer-events: none; }
.qv__buy .btn { white-space: nowrap; flex: 1 1 140px; }
@media (max-width: 600px) { .qv__buy .qty { flex: 1 1 100%; justify-content: space-between; } .qv__buy .qty span { flex: 1; } }
@media (max-width: 600px) { .pill__extra { display: none; } .hero { padding-top: 232px; } }
@media (max-width: 600px) { .f3, .f4 { width: 76px !important; top: auto !important; bottom: 7% !important; } .f3 { left: -14px; } .f4 { right: -12px; } }

/* ===== GIỎ MÂY (thay nút giỏ hàng) ===== */
.basket {
  position: fixed; right: 26px; top: 200px; z-index: 70; width: 112px; height: 103px; cursor: pointer;
  filter: drop-shadow(0 16px 18px rgba(46, 36, 64, .22));
  animation: basketIn 1s var(--spring) 1.3s both; will-change: transform;
}
@keyframes basketIn { from { translate: 160px 0; rotate: 30deg; } }
.basket__body { position: absolute; inset: 0; transform-origin: 50% 100%; animation: sway2 3.6s ease-in-out infinite; transition: scale .4s var(--spring); }
.basket:hover .basket__body { scale: 1.08; }
.basket:active .basket__body { scale: .94; }
@keyframes sway2 { 50% { rotate: -5deg; } }
.basket svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.basket__back { z-index: 1; } .basket__front { z-index: 3; }
.basket__handle { transition: d .3s; }
.basket__bow { transform-origin: 60px 66px; animation: bowWiggle 2.4s ease-in-out infinite; }
@keyframes bowWiggle { 50% { transform: rotate(8deg) scale(1.06); } }
.basket__items { position: absolute; z-index: 2; left: 20%; right: 20%; top: 18%; height: 36%; }
.peek { position: absolute; bottom: -12px; width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0,0,0,.15)); }
.peek--0 { left: -6px; rotate: -18deg; }
.peek--1 { left: 50%; margin-left: -21px; bottom: -6px; z-index: 1; }
.peek--2 { right: -6px; rotate: 16deg; }
.peek.drop { animation: peekDrop .7s var(--spring) both; }
@keyframes peekDrop { from { translate: 0 -54px; scale: .7; opacity: 0; } 40% { opacity: 1; } }
.basket.catch .basket__body { animation: catch .65s var(--spring), sway2 3.6s ease-in-out .65s infinite; }
@keyframes catch { 0% { scale: 1; } 25% { scale: 1.14 .8; } 55% { scale: .94 1.08; } 100% { scale: 1; } }
.basket__count {
  position: absolute; z-index: 4; right: 2px; top: 46%; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 99px;
  background: var(--ink); color: #fff; font-style: normal; font-weight: 800; font-size: 13px; display: grid; place-items: center;
  border: 2.5px solid #fff; transition: scale .4s var(--spring);
}
.basket.is-empty .basket__count { scale: 0; }
.basket.catch .basket__count { animation: bump .6s var(--spring) .1s; }
.basket__bubble {
  position: absolute; right: calc(100% + 6px); top: 30%; white-space: nowrap; pointer-events: none;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 99px 99px 4px 99px;
  opacity: 0; scale: .5; transform-origin: 100% 100%; transition: opacity .3s, scale .45s var(--spring);
}
.basket__bubble.show, .basket:hover .basket__bubble { opacity: 1; scale: 1; }
.spark { position: absolute; z-index: 5; left: 50%; top: 42%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--c); pointer-events: none; animation: spark .85s cubic-bezier(.2,.8,.3,1) forwards; }
.spark--heart { background: none; width: auto; height: auto; }
.spark--heart::before { content: "♥"; color: var(--c); font-size: 15px; line-height: 1; }
@keyframes spark { from { transform: rotate(var(--a)) translateY(0) scale(.3); opacity: 1; } to { transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) scale(1); opacity: 0; } }
.fly { z-index: 75; }
@media (max-width: 600px) {
  .basket { top: auto; bottom: 16px; right: 12px; width: 88px; height: 81px; }
  .peek { width: 32px; height: 32px; } .peek--1 { margin-left: -16px; }
}

/* ===== BẢN ĐỒ: bỏ thẻ Google, đánh dấu bằng ngôi nhà + gấu ===== */
.store__map iframe { position: absolute; left: 0; top: -46px; width: 100%; height: calc(100% + 46px); pointer-events: none; }
/* iframe kéo lên 46px để giấu nút "Mở trong Maps" → tâm bản đồ cao hơn tâm khung 23px */
.shop-mark { position: absolute; left: 50%; top: calc(50% - 23px); z-index: 2; width: 120px; translate: -50% -94%; display: block; cursor: pointer; }
.shop-mark__house { display: block; width: 100%; overflow: visible; filter: drop-shadow(0 10px 10px rgba(46,36,64,.18)); transform-origin: 50% 100%; transition: scale .4s var(--spring); }
.shop-mark:hover .shop-mark__house { scale: 1.1; }
.store__map.is-in .shop-mark__house { animation: houseDrop .9s var(--spring) .3s both, houseBob 3.2s ease-in-out 1.2s infinite; }
@keyframes houseDrop { from { translate: 0 -140px; scale: .6; opacity: 0; } 60% { opacity: 1; } }
@keyframes houseBob { 50% { translate: 0 -5px; } }
.shop-mark__bear { animation: bearPeek 3.4s ease-in-out 1.4s infinite; transform-box: fill-box; }
@keyframes bearPeek { 0%, 100% { transform: translateY(14px); } 18%, 70% { transform: translateY(0); } 40% { transform: translateY(0) rotate(-8deg); } 55% { transform: translateY(0) rotate(6deg); } }
.shop-mark__label {
  position: absolute; left: 50%; bottom: calc(100% + 4px); translate: -50% 0; white-space: nowrap;
  font-family: var(--head); font-weight: 800; font-size: 16px; color: #fff; background: var(--coral);
  padding: 6px 14px; border-radius: 99px; box-shadow: 0 10px 20px -8px rgba(240,97,77,.7);
  opacity: 0;
}
.shop-mark__label::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -7px; border: 7px solid transparent; border-top-color: var(--coral); }
.store__map.is-in .shop-mark__label { animation: labelPop .6s var(--spring) 1.1s both, labelFloat 2.6s ease-in-out 1.8s infinite; }
@keyframes labelPop { from { opacity: 0; scale: .4; translate: -50% 10px; } to { opacity: 1; scale: 1; translate: -50% 0; } }
@keyframes labelFloat { 50% { translate: -50% -4px; } }
.shop-mark__pulse { position: absolute; left: 50%; bottom: 0; width: 70px; height: 18px; margin-left: -35px; border-radius: 50%; border: 3px solid var(--coral); opacity: 0; z-index: -1; }
.store__map.is-in .shop-mark__pulse { animation: pulse 2s ease-out 1.2s infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }

/* nút Mở Google Maps: đổ bóng rõ hơn */
#dirLink { box-shadow: 0 14px 28px -10px rgba(46,36,64,.45), 0 0 0 1.5px rgba(46,36,64,.08); color: var(--ink); }
#dirLink:hover { box-shadow: 0 18px 32px -10px rgba(46,36,64,.5), 0 0 0 1.5px rgba(46,36,64,.12); }
@media (max-width: 600px) { .shop-mark { width: 96px; } .shop-mark__label { font-size: 14px; } }

/* ===== Ô nhập địa chỉ chỉ đường ===== */
.route__form { flex-basis: 100%; background: #fff; border-radius: 26px; padding: 18px; margin-top: 4px;
  box-shadow: 0 18px 40px -18px rgba(46,36,64,.35), 0 0 0 1.5px #F1E9E2; animation: fadeUp .5s var(--ease) both; }
.route__form[hidden] { display: none; }
.route__label { display: block; font-family: var(--head); font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.route__input { display: flex; align-items: center; gap: 10px; background: var(--cream); border: 2px solid #F1E9E2; border-radius: 18px; padding: 4px 4px 4px 14px; transition: border-color .2s, box-shadow .2s; }
.route__input:focus-within { border-color: var(--coral); box-shadow: 0 0 0 4px var(--peach); }
.route__input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-weight: 700; font-size: 16px; padding: 10px 0; }
.route__dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--mint-d); }
.route__dot--to { border-color: var(--coral); background: var(--coral); }
.route__gps { flex: none; width: 42px; height: 42px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 10px -4px rgba(46,36,64,.3); transition: transform .35s var(--spring); }
.route__gps:hover { transform: scale(1.08) rotate(20deg); }
.route__gps svg { width: 22px; height: 22px; fill: none; stroke: var(--coral-d); stroke-width: 2; stroke-linecap: round; }
.route__to { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-2); padding: 12px 16px 4px; position: relative; }
.route__to::before { content: ""; position: absolute; left: 21px; top: -6px; height: 14px; border-left: 2px dashed #D9CFC6; }
.route__modes { display: flex; gap: 8px; margin: 12px 0 14px; flex-wrap: wrap; }
.route__modes label { cursor: pointer; }
.route__modes input { display: none; }
.route__modes span { display: inline-block; font-weight: 800; font-size: 14px; padding: 9px 14px; border-radius: 99px; background: var(--cream); border: 2px solid transparent; transition: .25s var(--ease); }
.route__modes input:checked + span { background: var(--peach); border-color: var(--coral); color: var(--coral-d); }
.route__note { font-size: 14px; font-weight: 700; color: var(--ink-2); margin-top: 8px; min-height: 1em; }
#routeToggle[aria-expanded="true"] { background: var(--ink); box-shadow: none; }

/* ===== Luna's Little home: logo chữ ===== */
.logo__text { white-space: nowrap; color: #6B4A3A; }
.logo__text b { color: var(--coral); }
.logo--light .logo__text { color: #fff; }
.footer__tag { font-family: var(--head); font-style: italic; color: var(--butter) !important; margin-top: -8px; }
@media (max-width: 600px) { .logo { font-size: 22px; } .logo__mark { width: 30px; height: 30px; } }

.preview-pill { position: fixed; left: max(14px, env(safe-area-inset-left, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 60; margin: 0;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 13px; padding: 7px 14px; border-radius: 99px; box-shadow: var(--shadow); pointer-events: none; }
.preview-note { text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 18px 0 -6px; }

/* ===== bản có máy chủ + admin ===== */
.deal .hl { color: var(--butter); }
.grid__empty { grid-column: 1 / -1; text-align: center; font-weight: 700; color: var(--ink-2); padding: 40px 0; }
.co__err { color: var(--coral-d); font-weight: 800; font-size: 14px; min-height: 1em; margin-top: 8px; }
a.post { color: inherit; }

/* hàng ô danh mục: số cột theo số ô (tối đa 8 / hàng) */
.cats { grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); }
@media (max-width: 1080px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* bóng đổ ôm theo hình món đồ (ảnh nền trong suốt): bóng mềm bên dưới + viền bóng mảnh sát mép
   để đồ trắng / màu nhạt (nón voan, bodysuit trắng) không chìm vào nền pastel */
.card__media img, .cat__icon img, .qv__media img, .sr img, .line img, .peek {
  filter: drop-shadow(0 6px 8px rgba(46, 36, 64, .2)) drop-shadow(0 0 1px rgba(46, 36, 64, .35));
}
.float img { filter: drop-shadow(0 12px 14px rgba(46, 36, 64, .22)) drop-shadow(0 0 1px rgba(46, 36, 64, .35)); }

/* ===== DẢI MÂY ĐANG KHÉP ở chân đầu trang ===== */
.hero { padding-bottom: 190px; }
.hero__clouds { position: absolute; left: 0; right: 0; bottom: -2px; height: 190px; z-index: 2; pointer-events: none; }
.hc { position: absolute; bottom: 0; width: 58%; height: 100%; }
.hc--l { left: -5%; animation: driftL 8s ease-in-out infinite; }
.hc--r { right: -5%; animation: driftR 8s ease-in-out infinite; }
.hc::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: var(--cream); }
@keyframes driftL { 50% { translate: 16px 0; } }
@keyframes driftR { 50% { translate: -16px 0; } }
.puff { position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #fff 0 42%, #FFF6F0 70%, #FBE9E2 100%);
  box-shadow: 0 -2px 0 rgba(255, 255, 255, .8) inset, 0 14px 30px -18px rgba(46, 36, 64, .25); }
.hc .puff { background: radial-gradient(circle at 36% 28%, #fff 0 38%, var(--cream) 72%, #F7EADF 100%); }

/* ===== LỚP MÂY PHỦ MÀN HÌNH (hiệu ứng mở mây) ===== */
.gate { position: fixed; inset: 0; z-index: 88; overflow: hidden; visibility: hidden; pointer-events: none; }
.gate.on { visibility: visible; pointer-events: auto; }
.gate__half { position: absolute; top: -10vh; bottom: -10vh; width: 60vw; will-change: transform, opacity; }
.gate__half--l { left: 0; transform: translateX(-105%); transform-origin: 0 50%; background: linear-gradient(90deg, #FDEEE8, #FFFFFF 70%); }
.gate__half--r { right: 0; transform: translateX(105%); transform-origin: 100% 50%; background: linear-gradient(270deg, #EEF4FF, #FFFFFF 70%); }
.puff--soft { opacity: .85; }

/* ===== Ô DANH MỤC LÀM BỘ LỌC SẢN PHẨM ===== */
.section--products > .cats { max-width: 1192px; margin: 0 auto 30px; }
.cat { font: inherit; color: inherit; cursor: pointer; text-align: center; width: 100%; border: 0; display: block; }
.cat .cat__icon { display: grid; }
.cat.is-active { box-shadow: 0 0 0 3px var(--ink), 0 18px 30px -18px rgba(46, 36, 64, .5); translate: 0 -6px; }
.cat.is-active h3 { color: var(--ink); }
.cat:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
@media (max-width: 860px) {
  .hero { padding-bottom: 150px; }
  .hero__clouds { height: 140px; }
  .hc { width: 64%; }
  .hc .puff { scale: .7; transform-origin: 50% 100%; }
}
@media (max-width: 600px) {
  .section--products > .cats { margin-bottom: 18px; padding-top: 8px; }
  .cat.is-active { translate: 0 -4px; }
}
.section--products { margin-top: 0; padding-top: 34px; }   /* nối liền dải mây kem của đầu trang */
@media (max-width: 600px) { .section--products { padding-top: 24px; } }

/* ===== trang mới mở ra với mây đang kín (lớp gate-in bật ngay trong <head>) ===== */
.gate-in .gate { visibility: visible; }
.gate-in .gate__half--l, .gate-in .gate__half--r { transform: none; }
.gate-in main { transform: scale(1.2); opacity: .55; }

/* ===== trang con: /quan-ao và /chi-duong ===== */
.is-sub main { padding-top: 96px; min-height: 80vh; }
.page-shop main { background: var(--cream); }
.page-shop .section--products { padding-top: 24px; }
.page-store .store { padding-top: 40px; }
@media (max-width: 600px) { .is-sub main { padding-top: 84px; } }

/* ============ TÍCH ĐIỂM ĐỔI QUÀ ============ */
.points { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.points .hl { color: var(--coral); }
.points__card {
  background: var(--lilac); border-radius: 40px; padding: 40px; position: relative; overflow: hidden;
}
.points__card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -90px; border-radius: 50%; background: rgba(255,255,255,.45); pointer-events: none; }
.points__text { color: var(--ink-2); font-weight: 600; line-height: 1.6; margin: 14px 0 22px; max-width: 46ch; }
.points__form { display: flex; gap: 10px; background: #fff; border-radius: 99px; padding: 8px; box-shadow: var(--shadow); position: relative; z-index: 1; }
.points__form input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-weight: 700; font-size: 17px; padding: 10px 16px; border-radius: 99px; background: transparent; }
.points__form:focus-within { box-shadow: 0 0 0 3px var(--coral), var(--shadow); }
.points__form .btn { padding: 13px 24px; flex: none; }
.points__result {
  margin-top: 18px; background: #fff; border-radius: 24px; padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  animation: pointsIn .6s var(--spring) both; position: relative; z-index: 1;
}
.points__who { font-weight: 700; color: var(--ink-2); flex-basis: 100%; }
.points__num { font-family: var(--head); font-size: 54px; line-height: 1; color: var(--coral-d); font-variant-numeric: tabular-nums; }
.points__unit { font-family: var(--head); font-size: 22px; font-weight: 700; }
.points__result p { flex-basis: 100%; font-weight: 700; line-height: 1.5; margin-top: 6px; }
.points__result.is-empty p { margin: 0; color: var(--ink-2); }
@keyframes pointsIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.points__gifts h3 { font-family: var(--head); font-size: 26px; margin: 8px 0 14px; }
.gifts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gift { background: #fff; border-radius: 24px; padding: 12px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); transition: transform .4s var(--spring), box-shadow .3s; }
.gift.is-ok { box-shadow: 0 0 0 3px var(--mint-d), var(--shadow); }
.gift.is-ok:hover { transform: translateY(-4px) rotate(-1deg); }
.gift__img { width: 76px; height: 76px; flex: none; border-radius: 18px; display: grid; place-items: center; position: relative; overflow: hidden; }
.gift__img img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(46,36,64,.2)); }
.gift__img span { font-size: 34px; }
.gift__body { min-width: 0; flex: 1; }
.gift__body b { display: block; font-family: var(--head); font-size: 17px; line-height: 1.2; }
.gift__body p { font-size: 13px; color: var(--ink-2); font-weight: 600; line-height: 1.35; margin-top: 2px; }
.gift__pts { display: inline-block; margin-top: 6px; font-weight: 800; font-size: 13px; color: var(--coral-d); background: var(--peach); padding: 2px 10px; border-radius: 99px; }
.gift__ok { display: block; font-style: normal; font-weight: 800; font-size: 13px; color: #2F8F63; margin-top: 6px; }
.gift .bar { margin-top: 8px; height: 6px; }
.gift .bar i { width: var(--w); animation: barIn 1s var(--ease) both; }
.gift small { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2); margin-top: 3px; }
@keyframes barIn { from { width: 0; } }
@media (max-width: 1080px) { .gifts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .points { grid-template-columns: minmax(0, 1fr); } .gifts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .points__card { padding: 28px 20px; border-radius: 30px; }
  .points__form .btn { padding: 12px 18px; }
  .gifts { grid-template-columns: minmax(0, 1fr); }
}
/* menu 5 mục: không xuống dòng; màn vừa thì thu khoảng cách */
.nav a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1080px) { .nav { gap: 0; } .nav a { padding: 8px 10px; font-size: 14.5px; } }

/* ===== trang riêng (/quan-ao, /chi-duong): dải đầu trang thay cho phần giới thiệu ===== */
.is-sub main { padding-top: 0; }
.pagehead { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 150px 24px 96px; }
.pagehead .hero__bg { z-index: -1; }
.crumbs { display: inline-flex; align-items: center; gap: 8px; background: #fff; padding: 8px 16px; border-radius: 99px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); margin-bottom: 22px; }
.crumbs a { color: var(--coral-d); }
.crumbs a:hover { text-decoration: underline; }
.crumbs i { font-style: normal; color: var(--ink-2); }
.pagehead .eyebrow { display: table; margin: 0 auto 14px; }
.pagehead__title { font-family: var(--head); font-weight: 800; font-size: clamp(38px, 5.6vw, 70px); line-height: 1.05; letter-spacing: -1px; text-wrap: balance; max-width: 16ch; margin: 0 auto; }
.pagehead__title .hl { color: var(--coral); }
.pagehead .cloud-edge { --c: var(--cream); }
.page-store .pagehead .cloud-edge { --c: var(--white); }
.page-shop #san-pham > .section__head, .page-store .store__info > .eyebrow, .page-store .store__info > .title { display: none; }
.page-shop .section--products { margin-top: 0; padding-top: 34px; }
.page-store .store { padding-top: 40px; align-items: start; }
.page-store .store__map { aspect-ratio: 1 / 1.02; }
@media (max-width: 600px) { .pagehead { padding: 118px 16px 76px; } .is-sub main { padding-top: 0; } }
/* trang chủ: Tích điểm nằm ngay dưới Sự kiện thì bớt khoảng trắng */
.deal + .points { padding-top: 16px; }
/* ô kết quả tra điểm: ẩn cho tới khi tra (display:flex đè thuộc tính hidden) */
.points__result[hidden] { display: none; }
/* thuộc tính hidden luôn thắng display của nút / khung */
[hidden] { display: none !important; }

/* ===== đầu trang riêng gọn: đường dẫn + nhãn chung 1 hàng, tiêu đề 1 dòng ===== */
.pagehead { padding: 116px 24px 70px; }
.pagehead__top { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.pagehead__top .crumbs, .pagehead__top .eyebrow { margin: 0; }
.pagehead__top .eyebrow { display: inline-block; }
.pagehead__title { max-width: none; font-size: clamp(30px, 4.4vw, 56px); }
@media (max-width: 600px) { .pagehead { padding: 100px 16px 64px; } }

/* ===== Tích điểm ===== */
/* trang chủ: 1 khối ngang (giới thiệu | ô nhập); tra xong mới hiện quà bên dưới */
.page-home .points { display: block; }
.page-home .points__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 40px; align-items: center; }
.page-home .points__text { margin-bottom: 0; }
.page-home .points__gifts { margin-top: 26px; }
.page-home .points__gifts h3 { margin-top: 0; }
.page-home .gifts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.points__side { display: grid; gap: 0; min-width: 0; position: relative; z-index: 1; }
/* trang Tích điểm: tiêu đề đã ở đầu trang */
.page-points .points__intro > .eyebrow, .page-points .points__intro > .title { display: none; }
.page-points .points__text { margin-top: 0; }
.page-points .points { padding-top: 40px; }
@media (max-width: 1080px) { .page-home .gifts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .page-home .points__card { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .page-home .gifts { grid-template-columns: minmax(0, 1fr); } }

.gift__body b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gifts__all { grid-column: 1 / -1; justify-self: start; font-weight: 800; color: var(--coral-d); padding: 6px 2px; }
.gifts__all:hover .btn__arrow { transform: translateX(4px); }
.gifts__all .btn__arrow { display: inline-block; transition: transform .3s var(--ease); }
.page-points .pagehead .cloud-edge { --c: var(--white); }

/* ===== trang Tích điểm: danh mục quà (khác khối tra điểm ở trang chủ) ===== */
.catalog { padding-top: 34px; }
.catalog__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 30px; }
.catalog__bar > * { min-width: 0; }
.catalog__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-cat { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 99px; background: #fff; font-weight: 800; font-size: 15px; box-shadow: inset 0 0 0 2px #F1E9E2; transition: background .2s, color .2s, transform .3s var(--spring); }
.chip-cat:hover { transform: translateY(-2px); }
.chip-cat em { font-style: normal; font-size: 12px; background: var(--peach); color: var(--coral-d); border-radius: 99px; padding: 1px 8px; }
.chip-cat.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.chip-cat.is-on em { background: rgba(255,255,255,.18); color: #fff; }
.catalog__check { font-weight: 800; color: var(--coral-d); white-space: nowrap; }
.catalog__check:hover .btn__arrow { transform: translateX(4px); }
.catalog__check .btn__arrow { display: inline-block; transition: transform .3s var(--ease); }
.catalog__group + .catalog__group { margin-top: 44px; }
.catalog__group h3 { font-family: var(--head); font-size: 26px; margin-bottom: 16px; }
.catalog__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gcard { background: #fff; border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  animation: gIn .7s var(--ease) both; animation-delay: calc(var(--k, 0) * 45ms); transition: transform .45s var(--spring), box-shadow .3s; }
.gcard:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 24px 40px -20px rgba(46, 36, 64, .35); }
@keyframes gIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.gcard__img { position: relative; aspect-ratio: 1 / .82; display: grid; place-items: center; }
.gcard__img img { position: absolute; inset: 12% 10% 6%; width: 80%; height: 82%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(46,36,64,.2)) drop-shadow(0 0 1px rgba(46,36,64,.35)); transition: transform .5s var(--spring); }
.gcard:hover .gcard__img img { transform: scale(1.06); }
.gcard__emoji { font-size: 64px; }
.gcard--ticket .gcard__img::after { content: ""; position: absolute; inset: 14px; border: 2px dashed rgba(46, 36, 64, .22); border-radius: 18px; pointer-events: none; }
.gcard__pts { position: absolute; left: 12px; top: 12px; z-index: 1; background: var(--coral); color: #fff; font-family: var(--head); font-size: 22px; line-height: 1; padding: 8px 12px 6px; border-radius: 16px; box-shadow: 0 10px 18px -10px rgba(240, 97, 77, .8); }
.gcard__pts small { font-family: var(--body); font-size: 12px; font-weight: 800; margin-left: 4px; }
.gcard__body { padding: 14px 16px 18px; display: grid; gap: 4px; align-content: start; }
.gcard__body h4 { font-family: var(--head); font-size: 18px; line-height: 1.2; }
.gcard__body p { font-size: 13.5px; color: var(--ink-2); font-weight: 600; line-height: 1.4; }
.gcard__spend { font-size: 12.5px; font-weight: 800; color: var(--mint-d); margin-top: 4px; }
@media (max-width: 1080px) { .catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .catalog__bar { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }   /* cột + wrap thì hàng nhóm giãn theo chữ → tràn ngang */
  .catalog__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; }
  .catalog__chips::-webkit-scrollbar { display: none; }
  .chip-cat { flex: none; }
  .catalog__grid { gap: 12px; }
  .gcard { border-radius: 20px; }
  .gcard__pts { font-size: 17px; padding: 6px 9px 5px; border-radius: 12px; left: 8px; top: 8px; }
  .gcard__body { padding: 10px 12px 14px; }
  .gcard__body h4 { font-size: 15.5px; }
  .gcard__body p { font-size: 12.5px; }
  .gcard__emoji { font-size: 46px; }
  .catalog__group h3 { font-size: 22px; }
}

/* ===== voucher = tấm vé ngang: cuống màu in số tiền | thân vé; 2 khuyết tròn + đường răng cưa ở chỗ xé ===== */
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; }
.ticket__stub b.is-long { font-size: 19px; letter-spacing: .3px; overflow-wrap: normal; }
.tickets + .catalog__grid { margin-top: 18px; }
.ticket { --x: 108px; filter: drop-shadow(0 10px 14px rgba(46, 36, 64, .13)); animation: gIn .6s var(--ease) both; animation-delay: calc(var(--k, 0) * 45ms);
  transition: transform .4s var(--spring); }
/* khuyết tròn thật (mask) để bóng đổ ôm theo đường cắt */
.ticket__in { display: grid; grid-template-columns: var(--x) minmax(0, 1fr); min-height: 112px; border-radius: 18px; overflow: hidden;
  -webkit-mask: radial-gradient(circle 9px at var(--x) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at var(--x) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 9px at var(--x) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at var(--x) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat; }
.ticket:hover { transform: translateY(-4px) rotate(-.8deg); }
.ticket__stub { background: linear-gradient(150deg, #FF8E7A, #FF6F8E); color: #fff; display: grid; place-content: center; text-align: center; padding: 10px 6px; }
.ticket__stub b { font-family: var(--head); font-size: 30px; line-height: 1; letter-spacing: -.5px; overflow-wrap: anywhere; }
.ticket__stub span { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; opacity: .9; margin-top: 4px; }
.ticket__body { background: #fff; padding: 14px 16px 14px 20px; display: grid; gap: 3px; align-content: center;
  border-left: 2px dashed #F1D9D2; }
.ticket__body h4 { font-family: var(--head); font-size: 18px; line-height: 1.2; }
.ticket__body p { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.ticket__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; }
.ticket__pts { font-size: 13px; font-weight: 800; color: var(--coral-d); background: var(--peach); padding: 2px 10px; border-radius: 99px; }
.ticket .gcard__spend { margin: 0; }
/* trang chủ: quà không ảnh hiện số tiền thay hộp quà */
.gift__amt { font-family: var(--head); font-size: 20px; color: var(--coral-d); line-height: 1; text-align: center; padding: 0 4px; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .tickets { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ticket { --x: 92px; }
  .ticket__in { min-height: 96px; }
  .ticket__stub b { font-size: 25px; }
  .ticket__body { padding: 12px 14px 12px 16px; }
  .ticket__body h4 { font-size: 16px; }
}
@media (max-width: 600px) { .ticket__stub b.is-long { font-size: 16px; } }
@media (max-width: 900px) { .tickets { grid-template-columns: minmax(0, 1fr); } }

/* ===== hiệu năng: chỉ chuyển động bằng transform/opacity (card đồ hoạ tự làm, không vẽ lại) ===== */
.float { will-change: transform; }
.card:hover .card__media::before { transform: rotate(18deg) scale(1.05); }
.cat:hover .cat__icon { transform: rotate(-8deg) scale(1.06); }
/* lớp phủ giỏ / sản phẩm / tìm kiếm: chỉ làm mờ nền khi đang mở; lúc đóng ẩn hẳn khỏi khâu vẽ */
.overlay, .modal, .search { backdrop-filter: none; visibility: hidden; transition: opacity .35s, visibility 0s linear .35s; }
.cart-open .overlay, .modal.open, .search.open { visibility: visible; transition: opacity .35s; }
.cart-open .overlay { backdrop-filter: blur(3px); }
.modal.open, .search.open { backdrop-filter: blur(4px); }

/* ===== Cẩm nang: thẻ bài có ảnh bìa, trang danh sách, trang 1 bài ===== */
.post__icon--img { overflow: hidden; }
.post__icon--img img { width: 100%; height: 100%; object-fit: cover; }
.post h3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post__body { min-width: 0; }
.page-blog #cam-nang > .section__head { display: none; }
.page-blog .pagehead .cloud-edge, .page-article .pagehead .cloud-edge { --c: var(--white); }

.pagehead--article { padding-bottom: 84px; }
.pagehead--article .pagehead__title { font-size: clamp(30px, 4.4vw, 52px); max-width: 22ch; line-height: 1.12; }
.article__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.article__meta span + span::before { content: "•"; margin-right: 18px; color: var(--coral); }
.article { max-width: 760px; margin: 0 auto; padding: 8px 24px 24px; }
.article__cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); margin-bottom: 34px; }
.article__body { font-size: 18px; line-height: 1.75; color: #3B3150; overflow-wrap: break-word; }
.article__body > * + * { margin-top: 1.05em; }
.article__body h2 { font-family: var(--head); font-size: 28px; line-height: 1.2; color: var(--ink); margin-top: 1.5em; text-wrap: balance; }
.article__body h3 { font-family: var(--head); font-size: 22px; line-height: 1.25; color: var(--ink); margin-top: 1.3em; }
.article__body ul, .article__body ol { padding-left: 1.4em; }
.article__body li + li { margin-top: .45em; }
.article__body li::marker { color: var(--coral-d); font-weight: 800; }
.article__body a { color: var(--coral-d); text-decoration: underline; text-underline-offset: 3px; }
.article__body strong { color: var(--ink); }
.article__body blockquote { background: var(--peach); border-left: 4px solid var(--coral); border-radius: 0 18px 18px 0; padding: 14px 20px; font-weight: 600; }
.article__body figure { margin-block: 1.6em; }
.article__body figure img { border-radius: 18px; margin: 0 auto; }
.article__body figcaption { font-size: 14px; line-height: 1.5; color: var(--ink-2); text-align: center; margin-top: 10px; }
.article__src { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 44px; padding: 18px 20px; border-radius: 22px; background: var(--cream); box-shadow: 0 0 0 1.5px #F1E9E2; }
.article__src-ico { font-size: 30px; }
.article__src p { flex: 1 1 240px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.article__src b { display: block; font-size: 16px; color: var(--ink); }
.article__src .btn { padding: 11px 18px; }
.article__more { border-top: 1.5px solid #F4ECE5; }
.article__more .section__head { align-items: center; }
.article__more .title { font-size: clamp(26px, 3vw, 36px); }
@media (max-width: 600px) {
  .pagehead--article { padding-bottom: 66px; }
  .article { padding: 4px 16px 16px; }
  .article__body { font-size: 17px; line-height: 1.7; }
  .article__body h2 { font-size: 24px; }
  .article__cover { border-radius: 18px; margin-bottom: 26px; }
  .article__meta span + span::before { margin-right: 10px; }
  .article__meta { gap: 4px 10px; }
}
