/* Faithful port of the Linktree custom theme.
   Linktree's COLORUP style doesn't use the raw theme colors directly — it
   renders a rose gradient derived from base #a86648 (top endpoint #da7a8f,
   pixel-sampled from the live page; RGB-linear interpolation matches every
   sampled row). FILL_ROUNDED buttons #c59077 with near-black text and a
   springy hover/press "bubble" feel, black active-tab pill, white Courgette
   heading + script bio, white social icons. */
@font-face {
  font-family: Courgette;
  src: url("/assets/fonts/courgette.woff2") format("woff2");
  font-display: swap;
}
* { box-sizing: border-box; margin: 0; }
body {
  min-height: 100vh;
  background: linear-gradient(180deg, #da7a8f 0%, #a86648 100%) fixed #a86648;
  color: #fff;
  font: 16px/1.45 -apple-system, "Segoe UI", Roboto, sans-serif;
}
.page { max-width: 680px; margin: 0 auto; padding: 48px 16px 32px; }
.hero { text-align: center; }
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.hero h1 { font-family: Courgette, cursive; font-weight: 600; font-size: 1.6rem; margin-top: 12px; }
.bio { margin: 8px auto 0; max-width: 32rem; font-size: 1.05rem; font-family: Courgette, cursive; }
.socials { margin-top: 12px; display: flex; gap: 18px; justify-content: center; }
.socials a { color: #fff; display: inline-flex; }
.socials svg { width: 22px; height: 22px; fill: currentColor; }
.tabs { display: flex; gap: 8px; justify-content: center; margin: 24px 0 16px; }
.tabs a {
  color: #fff; text-decoration: none; padding: 8px 22px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .55);
}
.tabs a.active { background: #181818; border-color: #181818; color: #fff; }
.links { display: flex; flex-direction: column; gap: 14px; }
.links-header { font-size: 1rem; text-align: center; margin-top: 12px; font-weight: 600; }
/* Buttons as dewy glass droplets — a nod to K-beauty "glass skin":
   frosted warm-glass fill (backdrop-blur lets the rose gradient bleed through),
   a top rim of light, a soft float shadow, and a specular shine (::before)
   like light catching a water bead. They compress on press like a real bubble. */
.btn {
  position: relative; display: flex; align-items: center; min-height: 62px;
  color: #241109; text-decoration: none; overflow: hidden;
  padding: 10px 20px; border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 246, 240, .78) 0%, rgba(216, 168, 143, .62) 46%, rgba(180, 126, 101, .74) 100%);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  box-shadow:
    0 8px 20px rgba(120, 60, 40, .30),
    inset 0 1.5px 0 rgba(255, 255, 255, .70),
    inset 0 -6px 14px rgba(95, 52, 36, .28);
  transition: transform .18s cubic-bezier(.3, 1.5, .5, 1), box-shadow .18s ease;
}
/* the bubble's specular highlight — a soft gloss across the top third */
.btn::before {
  content: ""; position: absolute; top: 3px; left: 5%; right: 5%; height: 42%;
  border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .60), rgba(255, 255, 255, 0));
}
.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 12px 26px rgba(120, 60, 40, .36),
    inset 0 1.5px 0 rgba(255, 255, 255, .85),
    inset 0 -6px 14px rgba(95, 52, 36, .28);
}
.btn:active {
  transform: translateY(1px) scale(.975);
  box-shadow:
    0 4px 12px rgba(120, 60, 40, .28),
    inset 0 2px 6px rgba(95, 52, 36, .35);
}
/* Linktree renders the button label in the profile's script typeface,
   centered across the full button even when a thumbnail sits on the left. */
.btn-text {
  position: relative; flex: 1; text-align: center; font-family: Courgette, cursive;
  font-size: 1.04rem; line-height: 1.25; text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-img {
  position: absolute; left: 9px; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  background: #f0e4dc;
  box-shadow: 0 1px 3px rgba(80, 40, 25, .35), inset 0 1px 2px rgba(255, 255, 255, .5);
}
/* keep the centered label from colliding with the absolute thumbnail */
.btn-thumb { padding-left: 66px; }
.btn-thumb .btn-text { padding-left: 8px; }
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover, .btn:active { transform: none; }
}
.shop { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 560px) { .shop { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; color: #0e1b22; border-radius: 10px; overflow: hidden;
  text-decoration: none; display: flex; flex-direction: column;
}
.card img, .card-noimg { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f0e4dc; }
.card-title {
  padding: 10px 10px 2px; font-size: .82rem; display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-price { padding: 4px 10px 12px; font-weight: 700; font-size: .9rem; }
.card-price s { font-weight: 400; opacity: .6; margin-right: 4px; }
.card-price em { font-style: normal; font-weight: 400; opacity: .6; margin-left: 6px; font-size: .78rem; }
footer {
  margin-top: 28px; text-align: center; font-size: .85rem; opacity: .85;
  font-family: Courgette, cursive;
}
/* Product router page (/p/{slug}) — one product, every place to buy it.
   Reuses the .btn droplet so an offer button reads as the same object as a
   Links-tab button; only the second line (vendor detail) is new. */
.pick { text-align: center; }
.pick-img {
  width: 190px; height: 190px; object-fit: cover; border-radius: 14px;
  background: #f0e4dc; box-shadow: 0 8px 22px rgba(120, 60, 40, .32);
}
.pick-title {
  font-family: Courgette, cursive; font-weight: 600; font-size: 1.22rem;
  line-height: 1.3; margin: 16px auto 0; max-width: 30rem;
}
.pick-blurb { margin: 10px auto 0; max-width: 32rem; font-size: .96rem; opacity: .92; }
.pick-where {
  margin: 22px 0 12px; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; opacity: .8;
}
.pick .links { text-align: left; }
.btn-note {
  display: block; font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  font-style: normal; font-size: .76rem; opacity: .72; margin-top: 2px;
  text-shadow: none;
}
.pick-back { margin-top: 22px; font-size: .9rem; }
.pick-back a { color: #fff; opacity: .85; }
