/* NailDupe 2026-12-05. Cherry lacquer on porcelain; Young Serif display, Figtree body.
   The photo drop zone is shaped like an almond nail: the one bold move. Everything else stays quiet. */
:root {
  --ground: #faf6f7; --surface: #ffffff; --ink: #221a24; --muted: #6c5f6e; --line: #ecdfe4;
  --accent: #b4234f; --accent-ink: #ffffff; --blush: #f7dce4; --blush-2: #fdf0f3; --chrome: #8f97a3;
  --good: #2f7d4f; --shadow: 0 1px 2px rgba(34, 26, 36, .05), 0 8px 24px rgba(34, 26, 36, .07);
  --display: "Young Serif", Georgia, "Times New Roman", serif; --body: "Figtree", "Segoe UI", system-ui, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #151017; --surface: #1f1822; --ink: #f4ecf0; --muted: #b0a1b2; --line: #362a39;
    --accent: #f07ea0; --accent-ink: #2a0f19; --blush: #3a2230; --blush-2: #24191f; --chrome: #a9b0ba;
    --good: #7fd19f; --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #151017; --surface: #1f1822; --ink: #f4ecf0; --muted: #b0a1b2; --line: #362a39;
  --accent: #f07ea0; --accent-ink: #2a0f19; --blush: #3a2230; --blush-2: #24191f; --chrome: #a9b0ba;
  --good: #7fd19f; --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3); color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 17px/1.6 var(--body); }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip, .vh { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip:focus { left: 12px; top: 12px; width: auto; height: auto; background: var(--surface); padding: 8px 12px; z-index: 99; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(32px, 5vw, 54px); margin: 6px 0 14px; letter-spacing: -.01em; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(23px, 2.6vw, 30px); margin: 40px 0 14px; }
h3 { font-size: 19px; margin: 22px 0 6px; font-family: var(--body); font-weight: 700; }
.small { font-size: 14px; } .muted { color: var(--muted); }
.prose { max-width: 70ch; } .prose li { margin: 6px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0; }
.lede { font-size: 19px; color: var(--muted); max-width: 58ch; }
.answer { font-size: 18px; background: var(--blush-2); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 0 10px 10px 0; }
.answer:empty { display: none; }
.callout { background: var(--blush-2); border: 1px solid var(--line); padding: 12px 16px; border-radius: 12px; }

/* header */
.top { background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 16px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 25px; }
.brand .mark { width: 22px; height: 28px; color: var(--accent); }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 11px; border-radius: 999px; font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--blush); }
.menu { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font: 600 15px var(--body); color: var(--ink); }
@media (max-width: 860px) {
  .menu { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 62px; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 14px; }
  .nav.open { display: flex; }
}

/* hero */
.hero { padding: 34px 0 10px; background: radial-gradient(1200px 420px at 85% 0%, var(--blush) 0%, transparent 60%); }
.herogrid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: start; }
.herogrid.tool { margin-top: 8px; }
@media (max-width: 920px) { .herogrid { grid-template-columns: 1fr; gap: 22px; } }

/* search */
.search { display: flex; gap: 8px; margin: 20px 0 14px; max-width: 640px; }
.search input { flex: 1; min-width: 0; font: 17px var(--body); padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); }
.search input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--blush); }
.search button, .btn { font: 600 16px var(--body); padding: 12px 22px; border-radius: 999px; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; text-decoration: none; display: inline-block; }
.search button:hover, .btn:hover { filter: brightness(1.08); color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* the nail-shaped drop zone */
.lookbox { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); }
.drop { margin: 0; }
.dropin { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; cursor: pointer;
  min-height: 300px; padding: 30px 20px; border: 2px dashed color-mix(in srgb, var(--accent) 55%, var(--line));
  border-radius: 48% 48% 26px 26px / 38% 38% 26px 26px; background: linear-gradient(180deg, var(--blush-2), var(--surface)); color: var(--ink); transition: background .2s, border-color .2s; }
.dropin svg { width: 54px; height: 54px; color: var(--accent); }
.dropin b { font-size: 20px; }
.dropin span { color: var(--muted); font-size: 15px; }
.drop.over .dropin, .dropin:hover { border-color: var(--accent); background: linear-gradient(180deg, var(--blush), var(--surface)); }
.drop.busy .dropin { opacity: .55; pointer-events: none; }
#lookhelp { margin: 12px 4px 0; }
#lookout:empty { display: none; }
#lookout { margin-top: 14px; }
.lookload { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--blush-2); border-radius: 14px; }
.lookload img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--blush); border-top-color: var(--accent); animation: spin 0.9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 3s; } * { transition: none !important; } }
.lookerr { padding: 12px 14px; border-radius: 12px; background: var(--blush-2); border: 1px solid var(--line); }

/* look result (full width under the hero) */
.lookres { margin-top: 26px; }
.looksum { display: grid; grid-template-columns: 120px 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.looksum img { width: 120px; height: 120px; object-fit: cover; border-radius: 60px 60px 14px 14px; }
.looksum h2 { margin: 0 0 6px; font-size: 24px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; padding: 0; list-style: none; }
.facts li { background: var(--blush-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; font-size: 14px; }
.facts b { font-weight: 600; }
.tip { font-size: 15px; color: var(--muted); margin: 6px 0 0; }
@media (max-width: 560px) { .looksum { grid-template-columns: 1fr; } .looksum img { width: 96px; height: 96px; } }
.shoplist { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.si { display: grid; grid-template-columns: auto 84px 1fr auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.si.off { opacity: .55; }
.si input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--accent); }
.si img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; background: var(--blush-2); }
.si .what { font-weight: 700; }
.si .why { font-size: 14px; color: var(--muted); }
.si .pt { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.si .price { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.si .price a { font-size: 14px; font-weight: 600; display: block; }
.alts { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.alts button { padding: 0; border: 2px solid transparent; border-radius: 9px; background: none; cursor: pointer; line-height: 0; }
.alts button[aria-pressed="true"] { border-color: var(--accent); }
.alts img { width: 40px; height: 40px; object-fit: cover; border-radius: 7px; }
@media (max-width: 620px) { .si { grid-template-columns: auto 64px 1fr; } .si img { width: 64px; height: 64px; } .si .price { grid-column: 2 / 4; text-align: left; } }
.basket { position: sticky; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px;
  background: var(--ink); color: var(--ground); border-radius: 16px; padding: 12px 18px; box-shadow: var(--shadow); z-index: 5; }
.basket b { font-size: 22px; font-variant-numeric: tabular-nums; }
.basket .small { color: color-mix(in srgb, var(--ground) 75%, transparent); }
.need { font-size: 15px; margin: 12px 0 0; }

/* product grid */
.status { color: var(--muted); font-size: 15px; margin: -4px 0 14px; }
.status:empty { display: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--blush-2); }
.card .b { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card .t { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .p { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.card .p s { color: var(--muted); font-weight: 400; font-size: 14px; margin-left: 6px; }
.card .m { font-size: 13px; color: var(--muted); }
.lbl { display: block; font-size: 12px; line-height: 1.35; background: var(--blush-2); border: 1px solid var(--line); border-radius: 8px; padding: 3px 7px; color: var(--ink); }
.card .go { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--accent); }
.empty { grid-column: 1 / -1; padding: 22px; background: var(--surface); border: 1px dashed var(--line); border-radius: 14px; }
.results { margin-top: 18px; }

/* swatches */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px 5px 5px; font-size: 14px; font-weight: 500; }
.sw .dot { width: 26px; height: 32px; border-radius: 13px 13px 7px 7px; border: 1px solid rgba(0, 0, 0, .12); flex: none; }
.sw:hover { border-color: var(--accent); }
.sw.big { flex-direction: column; border-radius: 16px; padding: 12px 10px 10px; width: 112px; gap: 8px; text-align: center; }
.sw.big .dot { width: 42px; height: 56px; border-radius: 21px 21px 9px 9px; }

/* tiles, panels */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; justify-content: flex-end; min-height: 108px; padding: 16px; border-radius: 16px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.tile b { font-family: var(--display); font-weight: 400; font-size: 21px; position: relative; }
.tile::before { content: ""; position: absolute; right: -14px; top: -10px; width: 64px; height: 86px; border-radius: 32px 32px 14px 14px; background: var(--blush); transform: rotate(18deg); }
.tile:hover { border-color: var(--accent); }
.tile:hover::before { background: var(--accent); opacity: .25; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 6px 22px 20px; }
.plain { padding-left: 18px; } .plain li { margin: 6px 0; }
.links { columns: 2; } @media (max-width: 500px) { .links { columns: 1; } }
.steps { padding-left: 20px; } .steps li { margin: 6px 0; font-weight: 500; }
.crumbs { font-size: 14px; color: var(--muted); margin: 18px 0 4px; }
.crumbs a { color: var(--muted); }
.page { padding-bottom: 30px; }
.glist { list-style: none; padding: 0; } .glist li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.tbl { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; display: block; overflow-x: auto; }
.tbl th, .tbl td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--blush-2); }

/* footer */
.foot { margin-top: 56px; padding: 34px 0 26px; border-top: 1px solid var(--line); background: var(--surface); }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
.foot a { display: block; color: var(--ink); text-decoration: none; margin: 5px 0; font-size: 15px; }
.foot a:hover { color: var(--accent); }
.foot p a { display: inline; color: var(--accent); }
.fbrand { font-family: var(--display); font-weight: 400; font-size: 22px; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr; } }
