/* The Baby Bubble Christmas Catalog, from the store's keychain gift page (sections/bb-kc-catalog.liquid on staging), scoped under .kc. */
body { margin: 0; background: #f6efe0; }
.kc { --paper: #fbf6ec; --paper2: #f3e9d4; --ink: #2a2522; --soft: #5b524b; --red: #b3261e; --red-d: #8f1d17;
    --green: #1f5132; --gold: #b8913a; --rule: #d8c9a8;
    font-family: 'Lora', Georgia, serif; color: var(--ink); background: var(--paper); font-size: 18px; line-height: 1.55; }
  .kc *, .kc *::before, .kc *::after { box-sizing: border-box; }
  .kc img { display: block; max-width: 100%; height: auto; }
  .kc h1, .kc h2, .kc h3 { font-family: 'DM Serif Display', Georgia, serif !important; color: var(--ink) !important;
    font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; margin: 0; }
  .kc p { margin: 0; }
  .kc-hand { font-family: 'Caveat', 'Segoe Print', cursive; font-weight: 700; color: var(--red); }
  .kc-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

  /* Catalog masthead */
  .kc-mast { background: var(--paper); border-bottom: 1px solid var(--rule); }
  .kc-mast__stripe { height: 10px; background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--paper) 14px 22px, var(--green) 22px 36px, var(--paper) 36px 44px); }
  .kc-mast__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 10px; padding-bottom: 10px;
    font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
  .kc-mast__row b { color: var(--red); font-weight: 600; }

  /* Hero spread */
  .kc-spread { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding-top: 40px; padding-bottom: 56px; }
  .kc-photo { position: relative; background: #fff; padding: 14px; box-shadow: 0 1px 0 var(--rule), 0 14px 30px -18px rgba(60, 40, 20, .45); transform: rotate(-.6deg); }
  .kc-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
  .kc-circle { position: absolute; inset: -4% -5% -2% -4%; width: 109%; height: 106%; pointer-events: none; overflow: visible; }
  .kc-circle path { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: kc-draw 1.6s .5s ease-out forwards; }
  @keyframes kc-draw { to { stroke-dashoffset: 0; } }
  @media (prefers-reduced-motion: reduce) { .kc-circle path { animation: none; stroke-dashoffset: 0; } }
  .kc-note { position: absolute; right: -6px; bottom: -34px; font-size: 34px; line-height: 1; transform: rotate(-6deg); }
  .kc-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 52px; }
  .kc-thumbs button { appearance: none; border: 2px solid transparent; padding: 0; background: #fff; cursor: pointer; }
  .kc-thumbs button[aria-pressed="true"] { border-color: var(--red); }
  .kc-thumbs img { aspect-ratio: 1; object-fit: cover; }

  .kc-item { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); margin-bottom: 10px; }
  .kc-item b { color: var(--green); }
  .kc h1.kc-title { font-size: clamp(38px, 4.6vw, 54px); line-height: 1.04; margin-bottom: 10px; }
  .kc-sub { font-size: 30px; line-height: 1.1; margin-bottom: 18px; }
  .kc-lead { font-size: 19px; color: var(--soft); margin-bottom: 22px; }
  .kc-price { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 14px 0; margin-bottom: 22px; }
  .kc-price__big { font-family: 'DM Serif Display', Georgia, serif; font-size: 52px; line-height: .9; color: var(--red); }
  .kc-price__big sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; }
  .kc-price__unit { font-size: 17px; line-height: 1.3; }
  .kc-price__unit s { color: var(--soft); }

  /* Order blank */
  .kc-blank { border: 2px solid var(--ink); background: #fffdf7; }
  .kc-blank__head { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: var(--paper);
    padding: 8px 14px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
  .kc-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; width: 100%; text-align: left;
    padding: 14px; border: 0; border-top: 1px dashed var(--rule); background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
  .kc-row:first-of-type { border-top: 0; }
  .kc-box { width: 28px; height: 28px; border: 2px solid var(--ink); background: #fff; position: relative; }
  .kc-row[aria-checked="true"] .kc-box::after { content: ''; position: absolute; left: 7px; top: 1px; width: 9px; height: 17px;
    border: solid var(--red); border-width: 0 4px 4px 0; transform: rotate(42deg); }
  .kc-row[aria-checked="true"] { background: #fff6e8; }
  .kc-row__name { font-weight: 600; font-size: 19px; line-height: 1.25; }
  .kc-row__name small { display: block; font-weight: 400; font-size: 16px; color: var(--soft); }
  .kc-row__price { font-family: 'DM Serif Display', Georgia, serif; font-size: 26px; }
  .kc-tagline { display: inline-block; margin-left: 6px; font-family: 'Caveat', cursive; font-size: 22px; color: var(--red); transform: rotate(-3deg); }

  .kc-pick { padding: 14px; border-top: 1px dashed var(--rule); }
  .kc-pick[hidden] { display: none; }
  .kc-pick__label { font-size: 16px; margin-bottom: 10px; }
  .kc-swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .kc-sw { appearance: none; position: relative; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .18); background: var(--sw); cursor: pointer; }
  .kc-sw[data-n]::after { content: attr(data-n); position: absolute; inset: -7px; border: 3px solid var(--red); border-radius: 50%;
    display: flex; align-items: flex-start; justify-content: flex-end; font: 700 20px/1 'Caveat', cursive; color: var(--red); padding: 0 1px; }
  .kc-sw:disabled { opacity: .3; cursor: default; }
  .kc-pick__status { margin-top: 10px; font-size: 16px; color: var(--soft); min-height: 24px; }
  .kc-pick__clear { appearance: none; border: 0; background: none; color: var(--red); font: inherit; font-size: 16px; text-decoration: underline; cursor: pointer; padding: 0; margin-left: 6px; }

  .kc-add { display: block; width: 100%; margin: 18px 0 8px; padding: 20px 18px; border: 0; background: var(--red); color: #fff;
    font: 600 20px/1.2 'Lora', Georgia, serif; letter-spacing: .02em; cursor: pointer; box-shadow: 0 4px 0 var(--red-d); }
  .kc-add:hover:not([disabled]) { background: var(--red-d); }
  .kc-add[disabled] { opacity: .5; cursor: default; }
  .kc-msg { min-height: 24px; font-size: 16px; color: var(--red); }
  .kc-fine { font-size: 15px; color: var(--soft); }
  .kc-fine a { color: inherit; }

  /* Sections below the fold */
  .kc-band { padding: 64px 0; border-top: 1px solid var(--rule); }
  .kc-band--alt { background: var(--paper2); }
  .kc-band h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.08; margin-bottom: 10px; }
  .kc-band__lead { font-size: 19px; color: var(--soft); max-width: 680px; margin-bottom: 30px; }

  .kc-tags { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
  .kc-tag { position: relative; background: #e9d6ae; padding: 30px 14px 14px; clip-path: polygon(18% 0, 82% 0, 100% 16%, 100% 100%, 0 100%, 0 16%);
    box-shadow: inset 0 0 0 1px rgba(90, 60, 20, .15); }
  .kc-tag::before { content: ''; position: absolute; top: 10px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--paper2); box-shadow: inset 0 0 0 2px rgba(90, 60, 20, .35); }
  .kc-tag__sw { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 6px; }
  .kc-tag__sw i { width: 18px; height: 18px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(0, 0, 0, .2); }
  .kc-tag label { display: block; font-size: 14px; color: var(--soft); }
  .kc-tag input { width: 100%; border: 0; border-bottom: 2px dotted #8a6d3b; background: transparent; padding: 4px 0;
    font: 700 26px/1.1 'Caveat', cursive; color: var(--ink); outline: none; }
  .kc-tag input:focus { border-bottom-color: var(--red); }
  .kc-tags__foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 24px; font-size: 16px; color: var(--soft); }
  .kc-btn2 { appearance: none; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 600 17px/1 'Lora', serif; padding: 14px 18px; cursor: pointer; }
  .kc-btn2:hover { background: var(--ink); color: var(--paper); }

  .kc-fits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
  .kc-fits__img { background: #fff; padding: 12px; transform: rotate(.8deg); box-shadow: 0 14px 30px -18px rgba(60, 40, 20, .45); }
  .kc-list { list-style: none; margin: 0; padding: 0; }
  .kc-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--rule); font-size: 19px; }
  .kc-list li::before { content: '\2713'; color: var(--green); font-weight: 700; }

  .kc-occ { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .kc-occ div { background: #fffdf7; border: 1px solid var(--rule); padding: 20px; }
  .kc-occ h3 { font-size: 24px; margin-bottom: 6px; }
  .kc-occ p { font-size: 17px; color: var(--soft); }

  .kc-specs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; }
  .kc-spec { width: 100%; border-collapse: collapse; font-size: 18px; }
  .kc-spec th, .kc-spec td { text-align: left; padding: 12px 0; border-bottom: 1px dotted #a99a7c; vertical-align: top; }
  .kc-spec th { width: 42%; font-weight: 600; }
  .kc .kc-spec tr, .kc .kc-spec th, .kc .kc-spec td { background: transparent !important; }
  .kc-gallery2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .kc-gallery2 img { aspect-ratio: 1; object-fit: cover; background: #fff; padding: 8px; }

  .kc-faq details { border-bottom: 1px solid var(--rule); }
  .kc-faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-size: 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
  .kc-faq summary::-webkit-details-marker { display: none; }
  .kc-faq summary::after { content: '+'; font-family: 'DM Serif Display', serif; font-size: 28px; line-height: 1; color: var(--red); }
  .kc-faq details[open] summary::after { content: '\2013'; }
  .kc-faq details > div { padding: 0 0 18px; font-size: 18px; color: var(--soft); max-width: 760px; }

  .kc-close { text-align: center; padding-top: 70px; padding-bottom: 90px; }
  .kc-close .kc-add { max-width: 460px; margin: 22px auto 10px; }

  /* Clearer bundles: piece count, colour dots, free charm line, parcel summary */
  .kc-row__n { font-weight: 700; color: var(--red); }
  .kc-dots { display: flex; flex-wrap: wrap; gap: 4px; margin: 7px 0 4px; }
  .kc-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(0, 0, 0, .2); }
  .kc-dots i.is-blank { background: #fff; border: 2px dashed #a99a7c; }
  .kc-row__gift { display: inline-block; margin-top: 6px; padding: 3px 9px; background: var(--green); color: #fff; font-size: 15px; font-weight: 600; border-radius: 3px; }
  .kc-parcel { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 2px solid var(--ink); background: #f3f8f1; font-size: 17px; line-height: 1.35; }
  .kc-parcel img { width: 52px; height: 52px; object-fit: cover; border-radius: 4px; flex: none; }
  .kc-parcel__k { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }

  /* Free gift band */
  .kc-gift { background: var(--green); color: #fff; padding: 48px 0; }
  .kc-gift__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
  .kc-gift__img { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .kc-gift__img img { aspect-ratio: 1; object-fit: cover; background: #fff; padding: 6px; }
  .kc-gift__free { position: absolute; top: -14px; left: -10px; background: var(--red); color: #fff; font: 700 15px/1 'Lora', serif; letter-spacing: .14em; padding: 9px 12px; transform: rotate(-6deg); }
  .kc .kc-gift h2, .kc .kc-gift .kc-band__lead, .kc .kc-gift .kc-item, .kc .kc-gift .kc-fine { color: #fff !important; }
  .kc-gift .kc-item b { color: #ffd98a; }
  .kc-gift h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; margin-bottom: 10px; }
  .kc .kc-gift__table th, .kc .kc-gift__table td { border-bottom-color: rgba(255, 255, 255, .35); color: #fff; }

  /* Video wall */
  .kc-wall__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .kc-wall__item { margin: 0; background: #fff; padding: 8px; box-shadow: 0 12px 26px -18px rgba(60, 40, 20, .5); }
  .kc-wall__item:nth-child(odd) { transform: rotate(-.8deg); }
  .kc-wall__item:nth-child(even) { transform: rotate(.8deg); }
  .kc-wall__item video { display: block; width: 100%; aspect-ratio: 9 / 14; object-fit: cover; background: var(--paper2); }

  /* Sticky order bar, phones only, once the order blank has scrolled away */
  .kc-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; align-items: center; gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 3px double var(--red); }
  .kc-sticky.is-on { display: flex; }
  .kc-sticky p { flex: 1; font-size: 16px; line-height: 1.2; }
  .kc-sticky b { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--red); font-weight: 400; }
  .kc-sticky .kc-add { width: auto; margin: 0; padding: 14px 18px; font-size: 17px; }

  @media (max-width: 899px) {
    .kc { font-size: 17px; }
    .kc-spread, .kc-fits, .kc-specs { grid-template-columns: 1fr; gap: 30px; }
    .kc-spread { padding-top: 26px; }
    .kc-tags { grid-template-columns: repeat(2, 1fr); }
    .kc-occ { grid-template-columns: 1fr; }
    .kc-gift__in { grid-template-columns: 1fr; gap: 26px; }
    .kc-wall__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .kc-note { font-size: 28px; right: 4px; bottom: -30px; }
    .kc-mast__row span:last-child { display: none; }
  }
  @media (min-width: 900px) { .kc-sticky { display: none !important; } }
  @media print {
    body * { visibility: hidden !important; }
    #kc-tags, #kc-tags * { visibility: visible !important; }
    #kc-tags { position: absolute; left: 0; top: 0; width: 100%; }
    .kc-tags__foot { display: none !important; }
  }

/* This site's own pieces: the masthead links home, the footer, and the policy pages. */
.kc-home { color: inherit; text-decoration: none; }
.kc-foot { background: var(--paper2); border-top: 3px double var(--red); padding: 32px 0 96px; font-size: 15px; color: var(--soft); }
.kc-foot__brand { font-family: 'DM Serif Display', Georgia, serif; font-size: 24px; color: var(--ink); margin-bottom: 8px !important; }
.kc-foot a { color: var(--ink); }
.kc-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; }
.kc-page { max-width: 760px; margin: 0 auto; padding: 44px 20px 72px; color: var(--soft); font-size: 17px; line-height: 1.7; }
.kc-page h1 { font-size: 40px; line-height: 1.1; margin: 0 0 8px; }
.kc-page h2 { font-family: 'Lora', Georgia, serif !important; font-weight: 600 !important; font-size: 13px; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--red) !important; margin: 32px 0 8px; scroll-margin-top: 16px; }
.kc-page p { margin: 0 0 12px; }
.kc-page a { color: var(--ink); }
.kc-page ul { padding-left: 20px; }
.kc-updated { font-size: 13px; color: var(--soft); }
.kc-back { display: inline-block; margin-top: 32px; font-family: 'Caveat', cursive; font-size: 24px; color: var(--red) !important; text-decoration: none; }
