/* Nails by ecj — styles
   Palette comes from style-colours.png. Change the tokens below to re-theme the site. */
:root {
  --pink: #f0cdd2;
  --green: #b9d7bc;
  --yellow: #fcf7cb;
  --blue: #c8dbf1;
  --beige: #f7f1e6;
  --bg: #f7f8fc;
  --card: #ffffff;
  --ink: #1b2433;
  --muted: #5b6577;
  --line: #1b2433;
  --radius: 22px;
  --card-radius: 18px;
  --shadow: 4px 4px 0 var(--ink);
  --font-head: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* Announcement bar */
.announce {
  background: var(--yellow);
  border-bottom: 2px solid var(--ink);
  text-align: center;
  font-weight: 700;
  font-size: .92rem;
  padding: 8px 16px;
}
/* Sticker hyphen drawn in the same font/size/weight as the top bar so both dashes are the same length */
.sticker .hy { font-family: var(--font-body); font-size: .92rem; font-weight: 700; }
.announce span + span::before { content: "·"; margin: 0 .6em; }

/* Header */
.site-header { background: var(--blue); border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
/* One word, three colours. The ink outline keeps the pastels readable on the blue header. */
.logo span { -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; }
.logo .w1 { color: #fff; }
.logo .w2 { color: var(--pink); }
.logo .w3 { color: var(--yellow); }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.wordmark { position: relative; display: inline-block; }
.flower { width: 64px; height: 64px; flex: none; filter: none; }
.flower-l { transform: rotate(-8deg); }
.flower-r { transform: scaleX(-1) rotate(-8deg); }
@media (max-width: 860px) { .flower { width: 42px; height: 42px; } }
@media (max-width: 440px) { .flower-r { display: none; } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav button.nav-link {
  white-space: nowrap; font: inherit; font-weight: 700; text-decoration: none; background: none; border: 0; color: inherit; cursor: pointer;
  padding: 8px 14px; border-radius: 999px;
}
.nav a:hover, .nav button.nav-link:hover, .nav a[aria-current="page"] { background: var(--card); }
.has-menu { position: relative; }
.menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 190px; padding: 8px; margin-top: 4px;
  background: var(--card); border: 2px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow);
}
.menu a { display: block; border-radius: 12px; }
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.open .menu { display: block; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); }
.icon-link:hover { background: var(--pink); }
.icon-link svg { width: 22px; height: 22px; }
.cart-link { background: var(--yellow); position: relative; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--pink); border: 2px solid var(--ink); font-size: .72rem; font-weight: 800; line-height: 16px; text-align: center; }
.cart-count[hidden] { display: none; }
.cart-link.bump { animation: bump .35s; }
@keyframes bump { 40% { transform: scale(1.22) rotate(-6deg); } }
.cart-link:hover { background: var(--pink); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); cursor: pointer; font-size: 1.2rem; }

@media (max-width: 1120px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--blue); border-bottom: 2px solid var(--ink); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a, .nav button.nav-link { text-align: left; padding: 12px 14px; }
  .has-menu .menu { display: block; position: static; border: 0; box-shadow: none; background: transparent; padding: 0 0 0 14px; margin: 0; }
  .logo { font-size: 1.45rem; }
}

/* Buttons */
.btn {
  display: inline-block; font: inherit; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  text-decoration: none; cursor: pointer; background: var(--pink); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px; padding: 12px 26px; box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.green { background: var(--green); }
.btn.blue { background: var(--blue); }
.btn.yellow { background: var(--yellow); }
.btn.small { font-size: .95rem; padding: 8px 18px; }
.btn.block { display: block; width: 100%; text-align: center; }

/* Hero */
.hero { background: var(--pink); border-bottom: 2px solid var(--ink); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding: 56px 0; }
.hero p.lead { font-size: 1.25rem; max-width: 30ch; }
.hero .eyebrow { display: inline-block; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 14px; font-weight: 800; font-size: .85rem; margin-bottom: 18px; }
.hero-photo { position: relative; justify-self: center; width: min(100%, 430px); }
.hero-photo { aspect-ratio: 4 / 5; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; background: var(--blue); clip-path: url(#wavy); position: relative; }
.hero-photo .shape-shadow, .hero-photo .shape-outline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hero-photo .shape-outline { z-index: 1; }
.hero-photo .sticker {
  position: absolute; z-index: 2; right: -54px; bottom: 24%; width: 122px; height: 122px; font-size: 1rem; border-radius: 50%;
  background: var(--yellow); border: 2px solid var(--ink); display: grid; place-items: center; text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.15; transform: rotate(10deg);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; padding: 36px 0 44px; gap: 28px; }
  .hero-photo { width: min(84%, 380px); }
  .hero-photo .sticker { right: -12px; width: 104px; height: 104px; font-size: .88rem; }
}

/* Badges */
.badges { background: var(--yellow); border-bottom: 2px solid var(--ink); }
.badges-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 26px 0; }
.badge { display: flex; align-items: center; gap: 14px; }
.badge svg { flex: none; width: 46px; height: 46px; padding: 9px; background: var(--card); border: 2px solid var(--ink); border-radius: 50%; }
.badge strong { display: block; font-family: var(--font-head); font-size: 1.15rem; line-height: 1.1; }
.badge span { font-size: .93rem; color: var(--muted); }
@media (max-width: 760px) { .badges-inner { grid-template-columns: 1fr; gap: 14px; } }

/* Sections */
.section { padding: 60px 0; }
.section.tint-blue { background: var(--blue); border-block: 2px solid var(--ink); }
.section.tint-green { background: var(--green); border-block: 2px solid var(--ink); }
.section.tint-pink { background: var(--pink); border-block: 2px solid var(--ink); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.center { text-align: center; }

/* Product grid + cards */
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (max-width: 560px) {
  .card .card-body { padding: 8px 8px 4px; }
  .card .card-body h3 { font-size: .86rem; }
  .card .card-body .price { font-size: .8rem; }
  .card .card-foot { padding: 4px 8px 8px; }
  .card .card-foot .btn { font-size: .66rem; padding: 6px 2px; white-space: nowrap; box-shadow: 2px 2px 0 var(--ink); }
  .tag { font-size: .62rem; padding: 1px 6px; top: 6px; left: 6px; }
}
.card {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--card-radius, 18px); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.card-main { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
.card-img { aspect-ratio: 1; display: grid; place-items: center; border-bottom: 2px solid var(--ink); position: relative; }
.card-img.colour { background: var(--beige); }
.card-img.colour img { width: 68%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 0 rgba(27,36,51,.18); }
.card-img.design { background: var(--yellow); }
.card-img.design img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 10px 12px 6px; display: flex; flex-direction: column; gap: 1px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1rem; line-height: 1.2; }
.card-body .price { color: var(--muted); font-weight: 700; font-size: .88rem; }
.card-foot { padding: 4px 12px 12px; }
.card-foot .btn { font-size: .85rem; padding: 7px 10px; }
.card-foot .btn:disabled { cursor: default; background: var(--green); transform: none; box-shadow: 3px 3px 0 var(--ink); }
.tag { position: absolute; top: 10px; left: 10px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; font-size: .75rem; font-weight: 800; padding: 2px 10px; }
.tint-0 { --tint: var(--blue); } .tint-1 { --tint: var(--pink); } .tint-2 { --tint: var(--green); } .tint-3 { --tint: var(--yellow); }

/* Page header (inner pages) */
.page-head { background: var(--blue); border-bottom: 2px solid var(--ink); padding: 40px 0 34px; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .25em; }
.page-head p { margin: 0; max-width: 56ch; font-size: 1.1rem; }
.crumbs { font-size: .9rem; font-weight: 700; margin-bottom: 10px; }
.crumbs a { text-decoration: none; opacity: .75; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; background: var(--card); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 16px; }
.chip:hover { background: var(--yellow); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.empty { text-align: center; padding: 50px 20px; background: var(--card); border: 2px dashed var(--ink); border-radius: var(--radius); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--ink); font-family: var(--font-head); font-weight: 700; margin-bottom: 12px; background: var(--pink);
}
.steps li:nth-child(2)::before { background: var(--green); }
.steps li:nth-child(3)::before { background: var(--yellow); }
.steps li:nth-child(4)::before { background: var(--blue); }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; font-size: .97rem; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Pack contents */
.pack { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.pack ul { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 10px; }
.pack li { background: var(--card); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 18px; font-weight: 700; }
.pack-photo img { border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 420px; margin-inline: auto; }
@media (max-width: 760px) { .pack { grid-template-columns: 1fr; gap: 26px; } }

/* Wavy divider (echoes the price list) */
.wave { height: 18px; background: radial-gradient(circle at 12px 0, transparent 11px, var(--green) 12px 14px, transparent 15px) 0 0 / 24px 18px repeat-x; }

/* Product page */
.product { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; padding: 44px 0 60px; align-items: start; }
.product-gallery { display: grid; gap: 16px; align-content: start; }
.product-media.wide { aspect-ratio: 1000 / 960; }
.product-media { border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; background: var(--tint, var(--blue)); }
.product-media.colour { background: var(--beige); }
.product-media.colour img { width: 62%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 0 rgba(27,36,51,.18); }
.product-media.design img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 12px; }
.thumb { position: relative; width: 104px; height: 78px; padding: 0; border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--beige); cursor: pointer; display: grid; place-items: center; box-shadow: 2px 2px 0 var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-colour img { width: 56%; height: auto; aspect-ratio: 1; border-radius: 50%; margin-top: -8px; }
.thumb span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.88); font-size: .72rem; font-weight: 800; text-align: center; padding: 1px 0; border-top: 1.5px solid var(--ink); }
.thumb[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.thumb:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.product-media.photo img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; box-shadow: none; }
.product-media.addon img { width: 58%; aspect-ratio: 1; object-fit: cover; border-radius: 28px; border: 3px solid var(--ink); }
.product-info .code { margin: -.2em 0 .5em; color: var(--muted); font-weight: 800; letter-spacing: .02em; }
.product-info .price { font-family: var(--font-head); font-size: 1.8rem; font-weight: 600; margin: 0 0 .2em; }
.product-info .sub { color: var(--muted); font-weight: 700; margin-bottom: 1.2em; }
.facts { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 8px; }
.facts li { display: flex; gap: 10px; align-items: baseline; }
.facts li::before { content: "✿"; color: #7aa87f; }
.note { background: var(--yellow); border: 2px solid var(--ink); border-radius: 16px; padding: 14px 18px; font-size: .96rem; margin: 20px 0; }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; } }

/* Prose pages */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
details { background: var(--card); border: 2px solid var(--ink); border-radius: 18px; margin-bottom: 12px; box-shadow: 3px 3px 0 var(--ink); }
summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; padding: 14px 20px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 6px; margin: 0 0 12px; }

/* Order form */
.order-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; padding: 40px 0 70px; align-items: start; }
@media (max-width: 900px) { .order-layout { grid-template-columns: 1fr; } }
.form-card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.4rem; margin-top: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; }
legend { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; padding: 0; margin-bottom: 12px; }
.field { margin-bottom: 14px; }
.row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; }
.row.three { grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 560px) { .row, .row.three { grid-template-columns: 1fr; gap: 0; } }
label { display: block; font-weight: 800; font-size: .93rem; margin-bottom: 4px; }
label small { font-weight: 600; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 2px solid var(--ink); border-radius: 14px; padding: 10px 14px;
}
input[type="file"] { padding: 12px; background: var(--yellow); border-style: dashed; cursor: pointer; }
textarea { min-height: 96px; resize: vertical; }
.set-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1.5px dashed rgba(27,36,51,.25); }
.set-main .field { margin-bottom: 10px; }
.set-main .row { gap: 10px; }
.set-row .remove { margin-top: 25px; font: inherit; font-weight: 800; background: var(--card); border: 2px solid var(--ink); border-radius: 14px; padding: 10px 14px; cursor: pointer; height: 46px; }
.set-row .remove:hover { background: var(--pink); }
.link-btn { font: inherit; font-weight: 800; background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 4px 0; }
.summary-card { background: var(--green); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.summary-card h2 { font-size: 1.3rem; margin-top: 0; }
.summary-line { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1.5px dashed rgba(27,36,51,.35); }
.summary-line.total { border: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; padding-top: 12px; }
.summary-card ul { padding-left: 1.2em; margin: 14px 0 0; font-size: .93rem; }
.alert { border: 2px solid var(--ink); border-radius: 16px; padding: 14px 18px; margin-bottom: 18px; background: var(--yellow); }
.alert.ok { background: var(--green); }
.hp { position: absolute; left: -9999px; }

/* Prep kit banner (shop pages) */
.kit-banner { display: flex; align-items: center; gap: 16px; background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 26px; box-shadow: 3px 3px 0 var(--ink); }
.kit-banner img { width: 64px; height: 64px; border-radius: 14px; border: 2px solid var(--ink); flex: none; }
.kit-banner p { margin: 0; flex: 1; }
.kit-banner a { font-weight: 800; }
.kit-banner .btn { flex: none; white-space: nowrap; }
@media (max-width: 600px) { .kit-banner { flex-wrap: wrap; } .kit-banner p { flex-basis: calc(100% - 90px); } .kit-banner .btn { width: 100%; text-align: center; } }

/* Shape & length options */
.opt-block { margin: 22px 0 6px; }
.opt-group { border: 0; padding: 0; margin: 0 0 16px; }
.opt-group legend { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; padding: 0; margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; margin: 0; }
.opt input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; background: var(--card); border: 2px solid var(--ink); border-radius: 999px; font-weight: 800; font-size: .95rem; cursor: pointer; }
.opt:hover span { background: var(--yellow); }
.opt input:checked + span { background: var(--ink); color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.colour-select { width: 100%; max-width: 360px; font-weight: 700; }
.cselect { position: relative; max-width: 380px; }
.cselect-native { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.cselect-btn { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; font: inherit; font-weight: 800; color: var(--ink); background: var(--card); border: 2px solid var(--ink); border-radius: 14px; padding: 8px 14px; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.cselect-btn:hover { background: var(--yellow); }
.cselect-btn[aria-expanded="true"] { background: var(--yellow); box-shadow: 0 0 0 var(--ink); transform: translate(2px, 2px); }
.cselect-btn .ph { flex: 1; color: var(--muted); font-weight: 700; }
.cselect-btn .nm { flex: 1; }
.cselect-btn .chev { margin-left: auto; font-size: .9rem; }
.cselect .sw { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 1px 3px rgba(27,36,51,.28); background: var(--beige); }
.cselect .sw img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cselect-list { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; max-height: 300px; overflow-y: auto; background: var(--card); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); }
.cselect-list li { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 12px; cursor: pointer; font-weight: 700; outline: none; }
.cselect-list li .nm { flex: 1; }
.cselect-list li .no { color: var(--muted); font-size: .85rem; font-weight: 800; }
.cselect-list li:hover, .cselect-list li:focus { background: var(--yellow); }
.cselect-list li[aria-selected="true"] { background: var(--pink); }
.cselect-list li[aria-selected="true"] .nm::after { content: " ✓"; }
.cselect-list::-webkit-scrollbar { width: 10px; } .cselect-list::-webkit-scrollbar-thumb { background: var(--green); border-radius: 8px; border: 2px solid var(--card); }
.colour-field .cselect { max-width: none; }
.opt-hint { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.opt-error { margin: 0 0 12px; padding: 10px 14px; background: var(--pink); border: 2px solid var(--ink); border-radius: 14px; font-weight: 700; }
.opt-dialog { border: 2px solid var(--ink); border-radius: var(--radius); padding: 0; width: min(92vw, 460px); background: var(--bg); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.opt-dialog::backdrop { background: rgba(27,36,51,.45); }
.dlg-body { padding: 24px; position: relative; }
.dlg-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: var(--card); font: inherit; font-weight: 800; cursor: pointer; }
.dlg-x:hover { background: var(--pink); }
.opt-head { display: flex; gap: 14px; align-items: center; margin: 0 40px 18px 0; }
.opt-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); flex: none; }
.opt-head img.design { border-radius: 14px; }
.opt-head h2 { font-size: 1.3rem; margin: 0; }
.opt-head p { margin: 2px 0 0; color: var(--muted); font-weight: 700; font-size: .93rem; }
.cart-opts { display: block; width: auto; max-width: 100%; white-space: normal; line-height: 1.35; border-radius: 14px; padding: 3px 12px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 1px 10px; font-size: .82rem; font-weight: 800; margin-top: 2px; }
.summary-opts { display: block; font-size: .8rem; font-weight: 700; opacity: .75; }

/* Colour picker on the product page */
.colour-picker { margin: 18px 0 8px; }
.colour-picker legend span { font-weight: 800; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 8px; }
.swatch { padding: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; overflow: hidden; position: relative; transition: transform .1s, box-shadow .1s; box-shadow: 0 2px 4px rgba(27,36,51,.18); }
.swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { transform: scale(1.18); box-shadow: 0 0 0 3px #fff, 0 5px 10px rgba(27,36,51,.4); z-index: 1; }
.swatch:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Cart page */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; padding: 40px 0 70px; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cart-item { display: grid; grid-template-columns: 104px 1fr auto; gap: 18px; align-items: center; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.cart-thumb { width: 104px; aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: var(--tint, var(--blue)); }
.cart-thumb.colour { background: var(--beige); }
.cart-thumb.colour img { width: 70%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.cart-thumb.design img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-name { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; text-decoration: none; }
.cart-name:hover { text-decoration: underline; }
.cart-sub { color: var(--muted); font-size: .93rem; font-weight: 600; }
.qty { display: inline-flex; align-items: center; margin-top: 8px; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; width: max-content; background: var(--bg); }
.qty button { font: inherit; font-weight: 800; font-size: 1.1rem; width: 38px; height: 36px; border: 0; background: var(--card); cursor: pointer; }
.qty button:hover:not(:disabled) { background: var(--yellow); }
.qty button:disabled { opacity: .35; cursor: default; }
.qty span { min-width: 38px; text-align: center; font-weight: 800; }
.cart-side { text-align: right; display: grid; gap: 6px; justify-items: end; }
.cart-side strong { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; }
.cart-continue { margin: 18px 0 0; font-weight: 800; }
.summary-note { font-size: .88rem; margin: 12px 0 0; }
@media (max-width: 520px) {
  .cart-item { grid-template-columns: 78px 1fr; }
  .cart-thumb { width: 78px; }
  .cart-side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; justify-items: start; text-align: left; }
}

/* Instagram strip + footer */
.ig-strip { text-align: center; }
.ig-strip .btn { margin-top: 6px; }
.site-footer { background: var(--ink); color: #fff; padding: 46px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer .logo { color: #fff; }
.site-footer .logo span { -webkit-text-stroke: 0; }
.site-footer h3 { font-size: 1rem; color: var(--yellow); margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { text-decoration: none; opacity: .9; }
.site-footer a:hover { text-decoration: underline; opacity: 1; }
/* Footer "Follow" button: full-strength yellow, visible shadow on the dark background */
.site-footer .btn { opacity: 1; display: inline-block; margin-top: 16px; font-size: 1rem; padding: 10px 22px; color: var(--ink); background: var(--yellow); border: 2px solid var(--yellow); box-shadow: 3px 3px 0 var(--pink); text-decoration: none; }
.site-footer .btn:hover { opacity: 1; text-decoration: none; background: #fffbd9; box-shadow: 5px 5px 0 var(--pink); transform: translate(-1px, -1px); }
.site-footer p.small { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); font-size: .85rem; opacity: .75; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Inside the quick-add pop-up the colour list opens in the flow (so the box can't clip it) */
.opt-dialog .cselect-list { position: static; margin-top: 8px; max-height: 210px; box-shadow: 2px 2px 0 var(--ink); }
.opt-dialog { max-height: 92vh; overflow-y: auto; }

/* How it works sections (shared) */
.how-title { padding-bottom: 0; }
.how-title h2 { margin-bottom: .2em; }
.how-title p { margin: 0; color: var(--muted); }
.pack-list { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 10px; }
.pack-list li { background: var(--card); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 18px; font-weight: 700; }

/* Bundles */
.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .bundle-grid { grid-template-columns: 1fr; } }
.bundle-card { background: var(--tint, var(--pink)); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bundle-card p { margin: 6px 0 14px; }
.bundle-sets { font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; }
.bundle-off { font-family: var(--font-head); font-size: 2.6rem; line-height: 1.1; background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 4px 18px; transform: rotate(-2deg); }
.bundle-note { margin-top: 28px; color: var(--muted); }
.summary-line.saving span:last-child { font-weight: 800; }
.bundle-hint { margin: 10px 0 0; font-size: .88rem; font-weight: 700; }

/* Design colour tools: "same as the picture" tick box and "apply one colour to all" */
.colour-tools { display: grid; gap: 12px; margin: 4px 0 18px; }
.same-pic, .apply-all { background: var(--yellow); border: 2px solid var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: 2px 2px 0 var(--ink); }
.same-pic { display: flex; align-items: center; gap: 10px; font-weight: 800; cursor: pointer; margin: 0; }
.same-pic input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; cursor: pointer; }
.apply-all { display: grid; gap: 6px; background: var(--green); }
.apply-lbl { font-weight: 800; font-size: .93rem; }
.colours-same .opt-group:has(select.colour-select), .colours-same .field:has(select.colour-select) { opacity: .4; pointer-events: none; }
.colours-same .colour-tools .same-pic { opacity: 1; pointer-events: auto; }
.colours-same .colour-tools .apply-all { opacity: .4; pointer-events: none; }
.colour-field > .colour-tools { margin-top: 0; }

.product-media.mixed img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; object-fit: cover; }
.card-img.colour.mixed img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; object-fit: cover; }

/* Alternate: one big heading per hand */
.hand-heading { font-family: var(--font-head); font-size: 1.7rem; margin: 22px 0 10px; padding-bottom: 6px; border-bottom: 3px solid var(--ink); }
.colour-field > .hand-heading:first-child { margin-top: 6px; }

/* Prep kit contents */
.kit-contents { background: var(--yellow); border: 2px solid var(--ink); border-radius: 18px; padding: 16px 20px 8px; margin: 14px 0 18px; box-shadow: 3px 3px 0 var(--ink); }
.kit-contents h3 { margin: 0 0 8px; font-size: 1.15rem; }
.kit-contents ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.kit-contents li { display: flex; gap: 10px; font-weight: 700; padding: 3px 0; }
.kit-contents li::before { content: "✿"; color: #7aa87f; }
