/* ✿ xoxoemira ✿ — tweak the colors here to change the whole vibe */
:root {
  /* palette: berry #420D19 · milkshake #F6BAD6 · strawberry sorbet #F1D3DF
     rotten cherry #2F020C · strawberry smoothie #741E31 */
  --berry: #420D19;
  --milkshake: #F6BAD6;
  --sorbet: #F1D3DF;
  --rotten: #2F020C;
  --smoothie: #741E31;

  --cream: #FBEFF4;            /* page background (soft sorbet) */
  --blush: var(--sorbet);
  --pink: var(--milkshake);
  --hot: var(--smoothie);      /* main accent */
  --cherry: var(--smoothie);
  --cocoa: var(--rotten);      /* text + outlines */
  --muted: #8C4F61;
  --butter: var(--milkshake);  /* number badges */
  --card: #ffffff;
  --line: #EDC6D6;
  --shadow: 0 6px 0 var(--cocoa);
  --radius: 22px;
  --display: "Fraunces", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--cocoa);
  background: var(--cream);
  background-image: radial-gradient(var(--line) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
em { font-style: italic; color: var(--hot); }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -0.02em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 12px 20px; border-radius: 999px; border: 2px solid var(--cocoa);
  font-weight: 700; text-decoration: none; background: var(--card); color: var(--cocoa);
  box-shadow: 0 4px 0 var(--cocoa); transition: transform .12s, box-shadow .12s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--cocoa); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cocoa); }
.btn-primary { background: var(--hot); color: #fff; }
.btn-ghost { background: var(--card); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(251, 239, 244, .88); backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--line);
}
.logo { font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-decoration: none; }
.nav-links { display: flex; gap: clamp(10px, 3vw, 24px); align-items: center; }
.nav-links a { text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--hot); }
.wish-btn {
  border: 2px solid var(--cocoa); background: var(--blush); border-radius: 999px;
  padding: 6px 14px; font-weight: 700; color: var(--cocoa);
}
.wish-btn.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.25) rotate(-6deg); } }

/* ---------- hero ---------- */
.hero {
  position: relative; text-align: center;
  padding: clamp(48px, 10vw, 110px) 16px clamp(48px, 8vw, 80px);
  max-width: 900px; margin: 0 auto;
}
.avatar {
  width: 140px; height: 140px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(160deg, var(--pink), var(--butter)) center / cover;
  border: 4px solid #fff; box-shadow: 0 0 0 2px var(--cocoa), 0 8px 0 2px var(--cocoa);
  animation: rise .7s cubic-bezier(.2,.9,.3,1.3) both; transition: transform .3s;
}
.avatar:hover { transform: rotate(-6deg) scale(1.05); }
.hero-name { font-weight: 600; font-size: 1.5rem; margin: 0 0 12px; color: var(--cocoa); }
.hero-name span { color: var(--hot); }
.hero-socials { display: flex; justify-content: center; gap: 10px; margin-bottom: 28px; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cocoa); color: #fff; transition: transform .2s, background .2s;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--hot); transform: translateY(-3px) rotate(-8deg); }

/* ---------- featured links ---------- */
.featured { max-width: 860px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) 16px 0; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feat {
  position: relative; display: block; overflow: hidden; text-decoration: none; color: #fff;
  border: 2px solid var(--cocoa); border-radius: var(--radius); box-shadow: var(--shadow);
  background: var(--blush) center / cover; transition: transform .25s cubic-bezier(.2,.9,.3,1.4), box-shadow .25s;
  animation: pop .5s cubic-bezier(.2,.9,.3,1.4) both; animation-delay: var(--delay, 0s);
}
.feat:hover { transform: translateY(-5px) rotate(var(--tilt, -1deg)); box-shadow: 0 11px 0 var(--cocoa); }
.feat-img { position: absolute; inset: 0; background: center / cover; transition: transform .5s; }
.feat:hover .feat-img { transform: scale(1.07); }
.feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(47, 2, 12, .78)); }
.feat-title {
  position: absolute; left: 18px; right: 60px; bottom: 16px; z-index: 2;
  font-weight: 600; font-size: 1.1rem; line-height: 1.25; text-transform: lowercase;
}
.feat-title::after { content: "→"; display: inline-block; margin-left: 6px; transition: transform .2s; }
.feat:hover .feat-title::after { transform: translateX(5px); }
.feat-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--cocoa); font-size: .72rem; font-weight: 700;
  border: 2px solid var(--cocoa);
}
.feat.wide { grid-column: 1 / -1; aspect-ratio: 3 / 1; }
.feat.tall { aspect-ratio: 4 / 5; }
.feat.mini { aspect-ratio: auto; min-height: 84px; background: var(--card); color: var(--cocoa); display: flex; align-items: center; gap: 14px; padding: 12px; }
.feat.mini::after { display: none; }
.feat.mini .feat-img { position: static; width: 58px; height: 58px; flex: none; border-radius: 14px; border: 2px solid var(--cocoa); display: grid; place-items: center; font-size: 1.6rem; background-color: var(--blush); }
.feat.mini .feat-title { position: static; font-size: 1rem; }
.feat.mini .feat-badge { position: static; margin-left: auto; order: 3; }
@media (max-width: 760px) { .feat.mini .feat-badge { display: none; } }
@media (max-width: 560px) {
  .feat.wide { aspect-ratio: 2 / 1; }
  .feat.mini { grid-column: 1 / -1; }
  .feat-title { font-size: .95rem; left: 14px; bottom: 12px; }
}

.shop-all { margin: 4px 0 18px; }
.cover.has-img { background-color: var(--blush); }

.eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 6px 14px;
  background: var(--butter); border: 2px solid var(--cocoa); border-radius: 999px;
  font-weight: 700; transform: rotate(-3deg);
}
.hero-title { font-size: clamp(3rem, 12vw, 7.5rem); line-height: .92; }
.hero-title .line { display: block; animation: rise .8s cubic-bezier(.2,.9,.3,1.3) both; }
.hero-title .line:nth-child(2) { animation-delay: .12s; }
.hero-title em { font-weight: 800; }
@keyframes rise { from { opacity: 0; transform: translateY(40px) rotate(3deg); } }
.hero-sub { font-size: 1.15rem; color: var(--muted); margin: 18px 0 32px; }

.finder {
  max-width: 480px; margin: 0 auto 18px; padding: 22px;
  background: var(--card); border: 2px solid var(--cocoa); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.finder-label { display: block; font-weight: 700; margin-bottom: 12px; }
.finder-row { display: flex; gap: 10px; align-items: center; }
.finder { position: relative; z-index: 6; }
.finder-icon { font-size: 1.4rem; }
.finder input { font-family: var(--body) !important; font-size: 1.15rem !important; font-weight: 500 !important; padding: 8px 4px !important; }
.finder input::-webkit-search-cancel-button { cursor: pointer; }
.results {
  position: absolute; left: -2px; right: -2px; top: calc(100% - 14px); z-index: 10;
  background: var(--card); border: 2px solid var(--cocoa); border-top: none; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow); padding: 18px 10px 10px; text-align: left; max-height: 380px; overflow: auto;
}
.r-item {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border: none; background: none;
  border-radius: 14px; text-align: left; text-decoration: none; color: var(--cocoa);
  animation: slideIn .3s both; animation-delay: var(--delay, 0s); transition: background .15s, transform .15s;
}
.r-item:hover, .r-item:focus-visible { background: var(--blush); transform: translateX(4px); outline: none; }
.r-thumb {
  width: 46px; height: 46px; flex: none; border-radius: 12px; border: 2px solid var(--cocoa);
  background: var(--blush) center / cover; display: grid; place-items: center; font-size: 1.3rem;
}
.r-text { display: flex; flex-direction: column; min-width: 0; }
.r-text b { font-weight: 700; line-height: 1.2; }
.r-text small { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-empty { margin: 6px 8px; color: var(--muted); }
.finder input {
  flex: 1; min-width: 0; font-family: var(--display); font-size: 2.2rem; font-weight: 800;
  border: none; border-bottom: 3px dashed var(--pink); background: transparent; color: var(--cocoa);
  padding: 2px 4px; outline: none; width: 100%;
}
.finder input:focus { border-bottom-color: var(--hot); }
.finder.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.finder-msg { min-height: 1.2em; margin: 10px 0 0; color: var(--cherry); font-weight: 500; }

.sticker {
  position: absolute; font-size: clamp(2rem, 6vw, 3.6rem);
  filter: drop-shadow(0 4px 0 rgba(47,2,12,.15));
  animation: float 6s ease-in-out infinite; user-select: none;
}
.s1 { top: 12%; left: 4%; }
.s2 { top: 18%; right: 6%; animation-delay: -1.5s; }
.s3 { bottom: 22%; left: 10%; animation-delay: -3s; }
.s4 { bottom: 16%; right: 10%; animation-delay: -4.5s; }
@keyframes float { 50% { transform: translateY(-16px) rotate(10deg); } }

/* ---------- marquee ---------- */
.marquee {
  background: var(--berry); color: var(--milkshake); border-block: 2px solid var(--cocoa);
  overflow: hidden; transform: rotate(-1.5deg); margin: 0 -10px;
}
.marquee-track {
  display: flex; gap: 32px; width: max-content; padding: 12px 0;
  font-family: var(--display); font-style: italic; font-size: 1.3rem; white-space: nowrap;
  animation: scroll 30s linear infinite;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- shop ---------- */
.shop, .about { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) 16px; }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2, .about h2 { font-size: clamp(2.4rem, 7vw, 4rem); }
.section-head p { color: var(--muted); margin: 8px 0 0; }

.controls { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 2px solid var(--cocoa); background: var(--card); color: var(--cocoa);
  padding: 8px 14px; border-radius: 999px; font-weight: 500; transition: transform .15s, background .2s;
}
.chip:hover { transform: rotate(-3deg) scale(1.05); }
.chip[aria-selected="true"] { background: var(--cocoa); color: #fff; }
.search {
  display: flex; align-items: center; gap: 8px; flex: 1 1 260px; max-width: 360px;
  background: var(--card); border: 2px solid var(--cocoa); border-radius: 999px; padding: 8px 16px;
}
.search input { border: none; outline: none; background: transparent; font: inherit; width: 100%; color: var(--cocoa); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2.5vw, 28px); }
@media (max-width: 760px) {
  .grid .card { box-shadow: 0 4px 0 var(--cocoa); border-radius: 16px; }
  .grid .card-body { padding: 8px 10px 10px; }
  .grid .card h3 { font-size: .85rem; margin-bottom: 4px; }
  .grid .cat-tag, .grid .peek { display: none; }
  .grid .count { font-size: .7rem; }
}
.filter-note { text-align: center; color: var(--muted); margin: -8px 0 22px; }
.clear-btn { border: 2px solid var(--cocoa); background: var(--card); border-radius: 999px; padding: 2px 10px; margin-left: 6px; font-weight: 700; color: var(--cocoa); }
.clear-btn:hover { background: var(--blush); }
.card {
  position: relative; text-align: left; padding: 0; color: var(--cocoa);
  background: var(--card); border: 2px solid var(--cocoa); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .25s cubic-bezier(.2,.9,.3,1.4), box-shadow .25s;
  animation: pop .5s cubic-bezier(.2,.9,.3,1.4) both; animation-delay: var(--delay, 0s);
}
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(20px); } }
.card:hover, .card:focus-visible { transform: rotate(0) translateY(-6px) scale(1.02); box-shadow: 0 12px 0 var(--cocoa); outline: none; }
.card:hover .cover-emoji { transform: scale(1.15) rotate(-8deg); }
.card-body { padding: 14px 16px 18px; }
.card h3 { font-size: 1.25rem; line-height: 1.15; margin-bottom: 10px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.peek { display: flex; }
.peek span {
  width: 32px; height: 32px; display: grid; place-items: center; font-size: 1rem;
  background: var(--blush); border: 2px solid var(--card); border-radius: 50%; margin-left: -8px;
}
.peek span:first-child { margin-left: 0; }
.count { font-size: .85rem; font-weight: 700; color: var(--muted); }

.cover {
  position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center;
  background: var(--blush); background-size: cover; background-position: center;
  border-bottom: 2px solid var(--cocoa); overflow: hidden;
}
.cover.big { aspect-ratio: 4 / 5; border-bottom: none; }
.modal-media { align-self: start; position: sticky; top: 0; }
.cover-emoji { font-size: 5rem; transition: transform .3s cubic-bezier(.2,.9,.3,1.4); }
.cover.big .cover-emoji { font-size: 7rem; }
.cover.has-img .cover-emoji { display: none; }
.num-badge {
  display: inline-block; font-family: var(--display); font-weight: 800; font-size: 1.1rem;
  background: var(--butter); border: 2px solid var(--cocoa); border-radius: 12px; padding: 2px 10px;
}
.card .num-badge { position: absolute; top: 12px; left: 12px; transform: rotate(-6deg); z-index: 2; }
.new-tag {
  position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--hot); color: #fff;
  font-weight: 700; font-size: .75rem; padding: 4px 10px; border-radius: 999px; border: 2px solid var(--cocoa);
  animation: wiggle 2s ease-in-out infinite;
}
@keyframes wiggle { 0%, 100% { transform: rotate(6deg); } 50% { transform: rotate(-6deg); } }
.cat-tag { font-size: .8rem; font-weight: 700; text-transform: lowercase; color: var(--muted); }

/* gradient covers per category */
.c-makeup, .c-grwm, .c-beauty { background-color: #F6BAD6; background-image: radial-gradient(circle at 30% 20%, #fff 0 10%, transparent 40%), linear-gradient(160deg, #F6BAD6, #F1D3DF); }
.c-fashion { background-color: #F1D3DF; background-image: radial-gradient(circle at 70% 25%, #fff 0 10%, transparent 40%), linear-gradient(160deg, #F1D3DF, #E59BB9); }
.c-home { background-color: #F1D3DF; background-image: radial-gradient(circle at 30% 70%, #fff 0 10%, transparent 40%), linear-gradient(160deg, #FBEFF4, #F6BAD6); }
.c-body, .c-wellness, .c-tech { background-color: #E59BB9; background-image: radial-gradient(circle at 70% 70%, #fff 0 10%, transparent 40%), linear-gradient(160deg, #F6BAD6, #C9768F); }

/* ---------- hotspots ---------- */
.hotspot {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 3px solid #fff; background: var(--hot); color: #fff; font-weight: 800; font-size: .85rem;
  box-shadow: 0 0 0 0 rgba(116, 30, 49, .55); animation: ping 1.8s infinite; z-index: 3;
  transition: transform .2s;
}
.hotspot:hover, .hotspot.active { transform: scale(1.3); background: var(--cocoa); animation: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 16px rgba(116, 30, 49, 0); } 100% { box-shadow: 0 0 0 0 rgba(116, 30, 49, 0); } }
.hotspot-hint {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 3;
  background: rgba(255,255,255,.9); border: 2px solid var(--cocoa); border-radius: 999px;
  padding: 4px 12px; font-size: .8rem; font-weight: 700; white-space: nowrap;
}

/* ---------- overlay / modal ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50; background: rgba(47, 2, 12, .55); backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 16px; animation: fade .2s;
}
.overlay[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.modal {
  position: relative; width: min(1040px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--cream); border: 2px solid var(--cocoa); border-radius: 28px; box-shadow: 0 10px 0 var(--cocoa);
  padding: clamp(18px, 3vw, 32px); animation: modalIn .35s cubic-bezier(.2,.9,.3,1.3);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(40px) scale(.95) rotate(-1deg); } }
.modal-head { display: flex; gap: clamp(14px, 3vw, 26px); align-items: center; margin-bottom: 22px; padding-right: 40px; }
.cover.small {
  width: clamp(96px, 16vw, 150px); flex: none; aspect-ratio: 4 / 5; border: 2px solid var(--cocoa);
  border-radius: 18px; box-shadow: 0 5px 0 var(--cocoa); transform: rotate(-3deg);
}
.cover.small .cover-emoji { font-size: 3rem; }
.modal-info { min-width: 0; }
.drop-count { color: var(--muted); margin: 6px 0 12px; font-weight: 500; }
.modal-actions .btn { padding: 8px 16px; font-size: .9rem; }

/* product grid (popup + wishlist) */
.pgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: clamp(10px, 2vw, 18px); }
.pcard {
  position: relative; display: flex; flex-direction: column; background: var(--card);
  border: 2px solid var(--cocoa); border-radius: 18px; box-shadow: 0 4px 0 var(--cocoa); overflow: hidden;
  animation: pop .45s cubic-bezier(.2,.9,.3,1.4) both; animation-delay: var(--delay, 0s);
  transition: transform .25s cubic-bezier(.2,.9,.3,1.4), box-shadow .25s;
}
.pcard:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 9px 0 var(--cocoa); }
.pcard.flash { animation: flash 1.2s ease; }
@keyframes flash { 0%, 100% { background: var(--card); } 30% { background: var(--milkshake); transform: scale(1.04); } }
.pc-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: var(--cocoa); }
.pc-img { aspect-ratio: 1; display: grid; place-items: center; background: #fff; border-bottom: 2px solid var(--line); padding: 14px; overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s cubic-bezier(.2,.9,.3,1.3); }
.pcard:hover .pc-img img { transform: scale(1.08) rotate(-2deg); }
.pc-emoji { font-size: 3rem; }
.pc-name { padding: 12px 12px 4px; text-align: center; font-size: .88rem; line-height: 1.35; flex: 1; }
.pc-bar { color: var(--pink); }
.pc-price { text-align: center; font-weight: 700; font-size: .85rem; }
.pc-shop {
  margin: 8px 12px 12px; padding: 8px 10px; border-radius: 999px; text-align: center; font-weight: 700; font-size: .82rem;
  background: var(--cocoa); color: #fff; transition: background .2s;
}
.pcard:hover .pc-shop { background: var(--hot); }
.pcard .heart { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; font-size: 1rem; z-index: 2; }
.pcard .code-btn { margin: -4px 12px 12px; }
.pcard .from-link { margin: -4px 12px 12px; text-align: center; }
.shop-all { display: flex; width: fit-content; margin: 24px auto 0; }
.shop-all.quiet { background: none; border: none; box-shadow: none; color: var(--muted); text-decoration: underline; padding: 4px; font-weight: 500; }
.shop-all.quiet:hover { color: var(--hot); transform: none; }
.drawer .pgrid { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
@media (max-width: 560px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .pc-name { font-size: .78rem; padding: 10px 8px 2px; }
  .pc-shop { margin: 6px 8px 10px; font-size: .75rem; }
  .modal h3 { font-size: 1.4rem; }
}
.drop-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.modal h3 { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.05; padding-right: 32px; }
.drop-note { color: var(--muted); font-style: italic; margin: 10px 0 0; }
.drop-note:empty { display: none; }
.close {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--cocoa); background: var(--card); font-weight: 700; color: var(--cocoa);
}
.close:hover { background: var(--blush); transform: rotate(90deg); transition: transform .2s; }

.products { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.product {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  background: var(--card); border: 2px solid var(--cocoa); border-radius: 18px; padding: 10px 12px;
  transition: transform .2s, background .2s; animation: slideIn .4s both; animation-delay: var(--delay, 0s);
}
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } }
.product.active { background: var(--blush); transform: scale(1.02) rotate(-.5deg); }
.p-thumb {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem;
  background: var(--blush); background-size: cover; background-position: center; border: 2px solid var(--cocoa);
  position: relative;
}
.p-thumb .p-num {
  position: absolute; top: -8px; left: -8px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--hot); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center;
  border: 2px solid #fff;
}
.p-info { min-width: 0; }
.p-brand { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.p-name { font-weight: 700; line-height: 1.2; }
.p-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.p-price { font-weight: 500; font-size: .9rem; }
.code-btn {
  border: 2px dashed var(--hot); background: var(--cream); color: var(--cherry); border-radius: 8px;
  font-size: .75rem; font-weight: 700; padding: 2px 8px;
}
.code-btn:hover { background: var(--hot); color: #fff; border-style: solid; }
.p-actions { display: flex; gap: 6px; align-items: center; }
.heart {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--cocoa); background: var(--card);
  font-size: 1.1rem; color: var(--hot); transition: transform .2s;
}
.heart:hover { transform: scale(1.1); }
.heart.on { background: var(--hot); color: #fff; animation: bump .4s; }
.shop-btn {
  padding: 9px 14px; border-radius: 999px; border: 2px solid var(--cocoa); background: var(--cocoa); color: #fff;
  font-weight: 700; text-decoration: none; font-size: .9rem; white-space: nowrap;
}
.shop-btn:hover { background: var(--hot); }

.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.modal-actions .btn { flex: 1; font-size: .9rem; padding: 10px 14px; }
.pager { display: flex; justify-content: space-between; margin-top: 16px; }
.pager-btn { background: none; border: none; color: var(--muted); font-weight: 700; padding: 4px; }
.pager-btn:hover:not(:disabled) { color: var(--hot); }
.pager-btn:disabled { opacity: .3; cursor: default; }

/* ---------- drawer ---------- */
#wishOverlay { place-items: stretch end; padding: 0; }
.drawer {
  position: relative; width: min(440px, 100vw); height: 100%; overflow: auto; padding: 28px 20px;
  background: var(--cream); border-left: 2px solid var(--cocoa); animation: drawerIn .3s cubic-bezier(.2,.9,.3,1.1);
}
@keyframes drawerIn { from { transform: translateX(100%); } }
.drawer h3 { font-size: 2rem; }
.drawer-sub { color: var(--muted); margin: 6px 0 0; }
.from-link { background: none; border: none; padding: 0; color: var(--hot); font-size: .8rem; font-weight: 700; text-decoration: underline; }

/* ---------- about ---------- */
.about { max-width: 720px; text-align: center; }
.about .socials { justify-content: center; }
.polaroid {
  background: #fff; padding: 14px 14px 18px; border: 2px solid var(--cocoa); box-shadow: var(--shadow);
  transform: rotate(-4deg); transition: transform .3s; justify-self: center; width: 100%; max-width: 340px;
}
.polaroid:hover { transform: rotate(2deg) scale(1.03); }
.polaroid-img {
  aspect-ratio: 4 / 5; display: grid; place-items: center; font-size: 4rem;
  background: linear-gradient(160deg, var(--pink), var(--butter)); background-size: cover; background-position: center;
}
.polaroid-img.has-img span { display: none; }
.polaroid-cap { font-family: var(--display); font-style: italic; text-align: center; font-size: 1.3rem; margin: 12px 0 0; }
.about-text p { font-size: 1.1rem; line-height: 1.6; margin: 14px 0 0; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- footer ---------- */
.footer { text-align: center; padding: 48px 16px; background: var(--berry); color: var(--blush); }
.footer-logo { font-family: var(--display); font-weight: 800; font-size: 2rem; margin: 0; }
.footer em { color: var(--pink); }
.disclosure { max-width: 560px; margin: 12px auto; font-size: .9rem; opacity: .85; }
.tiny { font-size: .8rem; opacity: .6; margin: 0; }

.empty { text-align: center; color: var(--muted); font-size: 1.1rem; margin: 24px 0; }

/* ---------- toast + confetti ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 140%);
  background: var(--cocoa); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700;
  transition: transform .3s cubic-bezier(.2,.9,.3,1.3), opacity .2s; pointer-events: none; max-width: calc(100vw - 32px);
  opacity: 0;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.confetti { position: fixed; z-index: 99; pointer-events: none; font-size: 1.2rem; animation: burst 1s ease-out forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .modal { grid-template-columns: 1fr; }
  .modal-media { border-right: none; border-bottom: 2px solid var(--cocoa); }
  .modal-media { background: var(--blush); padding: 16px; position: static; }
  .cover.big { min-height: 0; height: auto; aspect-ratio: 4 / 5; width: min(100%, 280px); margin: 0 auto; border: 2px solid var(--cocoa); border-radius: 18px; }
  .modal-body { padding: 20px 16px; }
  .about { grid-template-columns: 1fr; text-align: center; }
  .socials { justify-content: center; }
  .search { max-width: none; }
  .sticker { opacity: .5; }
  .product { grid-template-columns: auto 1fr; }
  .p-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

[hidden] { display: none !important; }

/* ---------- beauty / closet tabs ---------- */
.tabs {
  display: flex; width: fit-content; margin: 0 auto 26px; padding: 6px; gap: 6px;
  background: var(--card); border: 2px solid var(--cocoa); border-radius: 999px; box-shadow: 0 4px 0 var(--cocoa);
}
.tab {
  border: none; background: none; color: var(--cocoa); font-weight: 700; font-size: 1.05rem;
  padding: 10px clamp(18px, 4vw, 30px); border-radius: 999px; transition: background .25s, color .25s, transform .2s;
}
.tab span { font-size: .75rem; opacity: .6; margin-left: 2px; }
.tab:hover { transform: rotate(-2deg) scale(1.04); }
.tab[aria-selected="true"] { background: var(--cocoa); color: #fff; }
.tab[aria-selected="true"] span { opacity: .8; }
#tabWord { display: inline-block; animation: rise .45s cubic-bezier(.2,.9,.3,1.3); }

/* closet looks: photo-only cards */
.card.look { padding: 0; }
.card.look .cover { border-bottom: none; }
.look-tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.92); border: 2px solid var(--cocoa); font-weight: 700; font-size: .8rem;
  transition: transform .2s, background .2s;
}
.card.look:hover .look-tag { background: var(--milkshake); transform: rotate(-4deg) scale(1.05); }
@media (max-width: 760px) {
  .look-tag { left: 6px; bottom: 6px; padding: 3px 8px; font-size: .68rem; }
}
.show-more { display: flex; margin: 34px auto 0; }

/* faves now sits right under the shop section */
.shop + .featured { padding-top: 8px; }
.feat.square { aspect-ratio: 1; }
.feat.square .feat-title, .feat.tall .feat-title { font-size: clamp(.9rem, 2.4vw, 1.15rem); }

/* ---------- top announcement banner ---------- */
.marquee { transform: none; margin: 0; border-top: none; position: relative; z-index: 21; }
.marquee-track { padding: 7px 0; font-size: .95rem; gap: 24px; }

/* ---------- compact search pill (top of page) ---------- */
.hero { padding-top: clamp(22px, 4vw, 36px); }
.finder {
  display: flex; align-items: center; gap: 8px; width: min(420px, 100%); margin: 0 auto clamp(28px, 5vw, 44px);
  padding: 5px 5px 5px 16px; border-radius: 999px; box-shadow: 0 4px 0 var(--cocoa);
}
.finder:focus-within { box-shadow: 0 4px 0 var(--cocoa), 0 0 0 4px var(--milkshake); }
.finder-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.finder-icon { font-size: 1rem; }
.finder input {
  flex: 1; min-width: 0; border: none !important; padding: 6px 2px !important;
  font-size: .98rem !important; font-weight: 500 !important;
}
.finder-go {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--cocoa); color: #fff;
  font-size: 1.1rem; font-weight: 700; transition: background .2s, transform .2s;
}
.finder-go:hover { background: var(--hot); transform: translateX(2px); }
.results {
  top: calc(100% + 10px); left: 0; right: 0; border-top: 2px solid var(--cocoa);
  border-radius: var(--radius); padding: 8px;
}
.hero { padding-bottom: 8px; }
.hero-sub { margin-bottom: 0; }

/* ---------- squiggle divider (hero → shop) ---------- */
.divider {
  display: flex; align-items: center; gap: 14px; width: min(560px, calc(100% - 32px));
  margin: clamp(36px, 6vw, 56px) auto 0;
}
.squiggle { flex: 1; height: 14px; overflow: visible; }
.squiggle path { fill: none; stroke: var(--smoothie); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.divider-heart {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%;
  background: var(--milkshake); border: 2px solid var(--cocoa); box-shadow: 0 3px 0 var(--cocoa);
  color: var(--smoothie); font-size: 1.2rem; font-weight: 700; animation: heartbeat 2.4s ease-in-out infinite;
}
@keyframes heartbeat { 0%, 60%, 100% { transform: scale(1) rotate(-6deg); } 15% { transform: scale(1.18) rotate(4deg); } 30% { transform: scale(1.05) rotate(-2deg); } }
.divider + .shop { padding-top: clamp(28px, 5vw, 48px); }

/* ---------- designed "lash faves" card (no photo) ---------- */
.feat.graphic {
  background: radial-gradient(circle at 20% 30%, #fff 0 8%, transparent 40%), linear-gradient(120deg, var(--milkshake), var(--sorbet) 55%, var(--milkshake));
  color: var(--cocoa); aspect-ratio: 3 / 1;
}
.feat.graphic::after { display: none; }
.feat.graphic .feat-title {
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(1.4rem, 5vw, 2.2rem);
  color: var(--smoothie); text-transform: lowercase; left: 22px; bottom: 50%; transform: translateY(50%); right: auto;
}
.lash-eyes { position: absolute; right: clamp(14px, 4vw, 34px); top: 50%; transform: translateY(-50%); display: flex; gap: clamp(8px, 2vw, 18px); }
.lash-eyes svg { width: clamp(54px, 12vw, 96px); overflow: visible; }
.lash-eyes path { fill: none; stroke: var(--cocoa); stroke-width: 4; stroke-linecap: round; }
.lash-eyes .lash { stroke-width: 3.5; transform-origin: 60px 30px; animation: flutter 3.2s ease-in-out infinite; }
.feat.graphic:hover .lash { animation-duration: .6s; }
@keyframes flutter { 0%, 88%, 100% { transform: scaleY(1); } 93% { transform: scaleY(.35); } }
.feat.graphic .sparkle { position: absolute; color: var(--smoothie); font-size: 1.1rem; animation: twinkle 2.4s ease-in-out infinite; }
.s-a { top: 16%; left: 46%; } .s-b { bottom: 18%; left: 58%; animation-delay: -.8s; } .s-c { top: 22%; right: 8%; animation-delay: -1.6s; }
@keyframes twinkle { 50% { opacity: .2; transform: scale(.7) rotate(20deg); } }
@media (max-width: 560px) { .feat.graphic { aspect-ratio: 2.2 / 1; } }

/* ---------- lash faves card in the beauty grid ---------- */
.card.linkcard { text-decoration: none; display: block; }
.cover.lash-cover {
  background: radial-gradient(circle at 25% 18%, #fff 0 9%, transparent 38%), linear-gradient(165deg, var(--milkshake), var(--sorbet) 60%, var(--milkshake));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10%;
}
.lash-cover .lash-eyes { position: static; transform: none; gap: 8%; width: 80%; justify-content: center; }
.lash-cover .lash-eyes svg { width: 42%; }
.lash-cover .lash-word {
  font-family: var(--display); font-style: italic; font-weight: 800; color: var(--smoothie);
  font-size: clamp(1.3rem, 6vw, 2.6rem); line-height: .9; text-align: center; transition: transform .3s cubic-bezier(.2,.9,.3,1.4);
}
.card.linkcard:hover .lash-word { transform: scale(1.08) rotate(-4deg); }
.card.linkcard:hover .lash { animation-duration: .6s; }
.lash-cover .sparkle { position: absolute; color: var(--smoothie); font-size: 1.1rem; animation: twinkle 2.4s ease-in-out infinite; }
.lash-cover .s-a { top: 12%; left: 16%; } .lash-cover .s-b { bottom: 14%; left: 22%; } .lash-cover .s-c { top: 18%; right: 14%; left: auto; }
@media (max-width: 760px) { .lash-cover .lash-eyes path { stroke-width: 5; } }
