.colors-page { padding-block: clamp(32px, 6vw, 78px) 32px; }
.colors-intro { margin-bottom: 28px; }
.colors-intro p { max-width: 66ch; }
.shared-picks { margin-bottom: 28px; padding: clamp(16px, 3vw, 26px); border-radius: 0; background: #e5f1ff; }
.shared-picks h2 { font-size: clamp(29px, 4vw, 40px); }
.shared-picks .pick-card { align-items: center; }
.shared-picks .pick-card:last-child { border-bottom: 0; }
.colors-filters { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.colors-filters label, #color-signin label { display: grid; gap: 5px; font-size: 14px; font-weight: 500; min-width: 0; }
.colors-filters input, .colors-filters select, #color-signin input { width: 100%; min-height: 46px; border: 1px solid #7c9ad0; border-radius: 0; padding: 8px 11px; background: #fff; color: var(--ink); font: inherit; }
.colors-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; color: var(--muted); }
.shade-grid {
  --shade-columns: 4;
  display: grid;
  grid-template-columns: repeat(var(--shade-columns), minmax(0, 1fr));
  gap: 16px;
}
.shade-card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 0; background: #fff; }
.shade-view { display: block; width: 100%; border: none; padding: 0; border-radius: 0; text-align: left; background: transparent; }
.shade-view img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 0; }
.shade-view span, .shade-view small { display: block; overflow-wrap: anywhere; }
.shade-view span { padding: 12px 13px 0; line-height: 1.3; font-weight: 500; }
.shade-view small { padding: 2px 13px 12px; color: var(--muted); }
.shade-heart {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  top: 6px;
  right: 6px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
}
.shade-heart svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.shade-heart[aria-pressed=true] { border-color: var(--blue); background: var(--ice); }
.shade-heart[aria-pressed=true] svg { fill: currentColor; }
.shade-pages { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 22px; }
.shade-pages .button { min-height: 44px; padding: 8px 13px; }
.nove-credit:not([hidden]) { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 35px; font-size: 12px; color: var(--muted); text-align: center; }
.nove-credit img {
  display: block;
  width: 107px;
  height: auto;
  filter: contrast(1.05);
  mix-blend-mode: multiply;
}
.picks-bar { position: sticky; bottom: 0; z-index: 25; background: #fff; border-top: 1px solid var(--line); padding: 8px 0 max(8px,env(safe-area-inset-bottom)); }
.picks-bar .section-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.picks-bar p { font-size: 13px; }
.picks-bar .button { gap: 9px; min-height: 44px; padding: 8px 13px; white-space: nowrap; }
.color-dialog { width: min(600px, calc(100% - 24px)); max-height: calc(100dvh - 30px); border: 1px solid var(--line); border-radius: 0; padding: 0; color: var(--ink); }
.color-dialog::backdrop { background: #14233f80; }
.dialog-inner { padding: clamp(18px, 4vw, 32px); }
.dialog-close { margin: 0 0 12px auto; display: flex; min-height: 44px; padding: 7px 14px; }
.color-dialog h2 { font-size: clamp(32px, 6vw, 52px); margin-bottom: 10px; }
.color-dialog h3 { font-size: 28px; margin-bottom: 7px; }
.color-dialog p { color: var(--muted); }
#detail-image { width: min(100%, 270px); height: auto; margin: 0 auto 15px; }
#detail-save { margin-top: 12px; }
#picks-list { margin-block: 14px; }
.picks-sharing { margin-block: 8px 18px; }
.picks-share-actions { display: flex; flex-wrap: wrap; column-gap: 20px; }
.picks-sharing > p { font-size: 14px; }
#picks-share-status:empty { display: none; }
.picks-link-field:not([hidden]) { display: grid; gap: 4px; margin-top: 8px; font-size: 14px; }
.picks-link-field input { width: 100%; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 0; }
.pick-card { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pick-card img { aspect-ratio: 1; width: 100%; object-fit: contain; }
.pick-title { overflow-wrap: anywhere; font-weight: 500; }
.pick-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.pick-actions button { min-height: 44px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 0; background: #fff; }
.pick-actions button[aria-pressed=true] { background: #c9def9; }
#picks-list.comparing { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.comparing .pick-card { display: block; }
#color-signin { display: grid; gap: 12px; padding: 16px; border-radius: 0; background: #e5f1ff; }
#color-signin button { justify-self: start; }

/* The homepage follows the site's cobalt, ice blue and editorial type. */
.billie-color-preview {
  padding-inline: 0;
  margin-block: clamp(36px, 6vw, 92px);
}
.billie-color-preview-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  align-items: center;
  isolation: isolate;
  background: var(--ice);
  padding: clamp(26px, 4vw, 64px);
  gap: clamp(18px, 4vw, 62px);
  text-decoration: none;
}
.billie-color-copy h2,
.colors-intro h1 {
  color: var(--blue);
  font-size: clamp(49px, 8vw, 96px);
}
.billie-color-copy h2 em,
.colors-intro h1 em {
  color: #14233f;
  font-size: 1.08em;
  white-space: nowrap;
}
.billie-color-letters span {
  -webkit-text-stroke: clamp(.5px, .008em, .85px) #14233f66;
  paint-order: stroke fill;
}
.billie-color-letters span:nth-child(1) { color: #7fc8f3; }
.billie-color-letters span:nth-child(2) { color: #0000cd; }
.billie-color-letters span:nth-child(3) { color: #9fd9d1; }
.billie-color-letters span:nth-child(4) { color: #7b866e; }
.billie-color-letters span:nth-child(5) { color: #e5a0f9; }
.billie-color-letters span:nth-child(6) { color: #fadef1; }
.billie-color-copy p,
.colors-intro p {
  max-width: 48ch;
  margin-block: 16px 22px;
  color: #384a64;
}
.billie-color-art {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: min(100%, 390px);
  justify-self: center;
}
.billie-color-art img {
  display: block;
  width: calc(100% / 3);
  height: auto;
  scale: 1.125;
  mix-blend-mode: multiply;
}
@media (min-width: 1021px) {
  .billie-color-art { width: min(100%, 468px); }
  .billie-color-art img { width: 25%; scale: 1.25; }
}
.billie-color-preview-inner:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .billie-color-art img { transition: transform 220ms ease-out; }
  .billie-color-preview-inner:hover .billie-color-art img { transform: translateY(-3px); }
}
.billie-colors-page #main {
  --line: #c4d0e0;
  --muted: #465872;
  color: #14233f;
}
.billie-colors-page .colors-page,
.billie-colors-page .picks-bar > .section-wrap {
  width: calc(100% - 112px);
  max-width: 1280px;
  padding-inline: 0;
  margin-inline: auto;
}
.billie-colors-page .colors-intro p { margin-bottom: 0; }
.colors-page .shade-grid > .button { justify-self: start; }
.colors-meta button,
.color-dialog .text-link,
.nove-credit .text-link {
  color: var(--blue);
  background: transparent;
  border: 0;
  padding: 7px 0;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: #7896c8;
  text-underline-offset: .28em;
}
.colors-meta button:hover,
.color-dialog .text-link:hover,
.nove-credit .text-link:hover { text-decoration-color: var(--blue); }
.colors-filters :is(input,select):focus-visible,
.color-dialog input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.shade-pages .button:disabled { opacity: .45; }
.shade-view img { background: #fff; }
.shade-view:hover span { color: var(--blue); }
.shade-card:focus-within { z-index: 1; }
.shade-heart:hover { border-color: var(--blue); }
.picks-bar .button,
.color-dialog .button,
.shade-pages .button { background: var(--blue); color: #fff; }
.picks-bar .button:hover,
.color-dialog .button:hover,
.shade-pages .button:not(:disabled):hover { background: #073787; }
.picks-bar { box-shadow: 0 -6px 28px #14233f12; }
.color-dialog .button,
#color-signin .button { gap: 12px; padding: 10px 17px; }
.color-dialog h2 { overflow-wrap: anywhere; }
.pick-actions button:hover { border-color: var(--blue); }
#sign-in-status:empty { display: none; }
.mobile-menu a[aria-current="page"] { color: var(--blue); }

@media (max-width: 1150px) {
  .billie-colors-page .colors-page,
  .billie-colors-page .picks-bar > .section-wrap { width: calc(100% - 72px); }
}
@media (max-width: 1050px) {
  .site-header .desktop-nav { gap: clamp(14px, 2.75vw, 28px); margin-left: 0; }
}
@media (max-width: 1020px) {
  .shade-grid { --shade-columns: 3; }
}
@media (max-width: 850px) {
  .billie-colors-page .colors-page,
  .billie-colors-page .picks-bar > .section-wrap { width: calc(100% - 48px); }
}
@media (max-width: 700px) {
  .billie-color-preview-inner { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .billie-color-art { width: min(100%, 310px); }
  .billie-color-copy .button { gap: 14px; max-width: 100%; padding: 12px 14px; }
  .colors-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .colors-filters label:first-child { grid-column: 1/-1; }
  .shade-grid { --shade-columns: 2; gap: 9px; }
  .shade-view span { padding-top: 10px; }
  .shade-heart { top: 4px; right: 4px; }
}
@media (max-width: 400px) {
  .billie-color-preview-inner { padding: 22px; }
  .billie-color-copy h2, .colors-intro h1 { font-size: clamp(41px, 13vw, 50px); }
  .shade-view span { font-size: 13px; }
  .shade-view small { font-size: 12px; }
}


@media (max-width: 560px) {
  .billie-colors-page .colors-page,
  .billie-colors-page .picks-bar > .section-wrap { width: calc(100% - 40px); }
}
@media (max-width: 360px) {
  .billie-color-copy .button { gap: 9px; padding-inline: 12px; font-size: 15px; }
  .billie-color-copy .button .arrow { width: 20px; flex: 0 0 20px; }
  .billie-colors-page .colors-page,
  .billie-colors-page .picks-bar > .section-wrap { width: calc(100% - 32px); }
}
