/* Site fixes 15.11.2026 (shop file 109). Loaded last on every page. */

/* small text links get a tap area of at least 24px without moving anything */
.row-more, .p-more, .sq-meta, .textlink, .p-etsy { display: inline-block; padding-block: 4px; }
.b-foot a { display: inline-block; padding-block: 3px; }
.b-foot li + li { margin-top: 2px; }

/* ---------------------------------------------------------------- home look B: two doors */
.fx-two { margin-top: 32px; max-width: 1264px; }
.fx-two-head { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.fx-two-head .b-dot { width: 150px; margin: -12px 0 -8px -14px; flex: none; }
.fx-two-head h1 { font: 600 clamp(34px, 4.2vw, 56px)/1.04 var(--head); letter-spacing: -.025em; margin: 0; }
.fx-two-head .b-k { margin-bottom: 10px; }
.fx-doors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gut); }
.fx-door { background: var(--banner-bg); border-radius: var(--r-l); padding: 40px; display: flex; flex-direction: column; }
.fx-door h2 { font: 600 clamp(28px, 3vw, 40px)/1.08 var(--head); letter-spacing: -.02em; margin: 0 0 10px; }
.fx-door > p:not(.b-k) { color: var(--ink-2); font-size: 17px; line-height: 1.5; min-height: 3em; }
.fx-door-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.fx-door-pics img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-m); box-shadow: var(--banner-pic-sh); }
.fx-door .b-btns { margin-top: 24px; }
.fx-door .b-btn-line { color: var(--ink); }
.fx-door .b-btn-line:hover { background: rgb(28 28 30 / .06); }
.fx-door-dark { background: #17352a; color: #fff; }
.fx-door-dark .b-k { color: var(--gold); }
.fx-door-dark > p:not(.b-k) { color: #d5ddd8; }
.fx-door-dark .b-pic { color: #fff; }
.fx-door-dark .b-btn { background: #fff; border-color: #fff; color: var(--ink); }
.fx-door-dark .b-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.fx-door-dark .b-btn-line { background: transparent; border-color: #fff; color: #fff; }
.fx-door-dark .b-btn-line:hover { background: rgb(255 255 255 / .12); color: #fff; }
.fx-door-dark a:hover { color: #fff; }
.fx-door-dark :focus-visible { outline-color: #fff; }

/* ---------------------------------------------------------------- home look A: the Christmas band under the banner */
.fx-xmas { margin-top: 32px; }

/* ---------------------------------------------------------------- home look C: squishy strip under today's banner */
.fx-strip { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; margin-top: 24px; padding: 32px 40px; max-width: 1200px; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-sm); background: var(--white); }
.fx-strip h2 { font: 600 clamp(26px, 2.8vw, 34px)/1.1 var(--head); letter-spacing: -.02em; margin: 0 0 8px; }
.fx-strip-tx > p:not(.b-k) { color: var(--ink-2); }
.fx-strip-tx .b-k { margin-bottom: 10px; }
.fx-strip .b-btns { margin-top: 16px; }
.fx-strip-pics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fx-strip-pics img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-m); box-shadow: var(--sh-sm); display: block; }

@media (max-width: 1100px) {
  .fx-strip { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .fx-two { margin-top: 12px; }
  .fx-two-head .b-dot { width: 96px; margin: -6px 0 -4px -10px; }
  .fx-doors { grid-template-columns: 1fr; gap: 16px; }
  .fx-door { padding: 24px; }
  .fx-door > p:not(.b-k) { min-height: 0; font-size: 16px; }
  .fx-door-pics { gap: 12px; margin-top: 16px; }
  .fx-door .b-btns, .fx-strip .b-btns { margin-top: 16px; }
  .fx-door .b-btn { flex: 1 1 auto; }
  .fx-strip { margin: 16px 16px 0; padding: 24px; gap: 20px; }
  .fx-strip-pics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-xmas { margin-top: 24px; }
}
.fx-two-head h1, .fx-door h2, .fx-strip h2 { text-transform: none; }

/* ---------------------------------------------------------------- look A banner with a big Dot (15.11)
   Dot is a cut out picture with his own soft shadow. */
.fx-a { position: relative; }
.fx-dot { position: absolute; left: calc(5 / 11 * 100% - 150px); bottom: 6px; width: 270px; z-index: 1; pointer-events: none; }
.fx-dot img { display: block; width: 100%; height: auto; transform-origin: 50% 100%; animation: fx-dot-in .7s cubic-bezier(.34, 1.4, .64, 1) .15s both; }
@keyframes fx-dot-in { from { transform: translateY(40px) scale(.86); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fx-dot img { animation: none; } }
.fx-a-dot .b-banner-pics { padding-left: 150px; }
.fx-a-dot .b-banner-copy { padding-right: 96px; padding-bottom: 96px; }
@media (max-width: 1100px) {
  .fx-dot { position: static; width: 240px; margin: -8px auto 0; }
  .fx-a-dot .b-banner-pics { padding-left: 56px; }
  .fx-a-dot .b-banner-copy { padding-right: 56px; padding-bottom: 16px; }
}
@media (max-width: 760px) {
  .fx-dot { width: 190px; margin: -4px auto 4px; }
  .fx-a-dot .b-banner-pics { padding-left: 24px; }
  .fx-a-dot .b-banner-copy { padding-right: 24px; padding-bottom: 8px; }
}

/* ---------------------------------------------------------------- set pages (15.11): two real PDF pages side by side */
.set-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); max-width: 640px; }
.set-pages figure { margin: 0; }
.set-pages img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-sm); background: #fff; }
.set-pages figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.set-pages + .note { margin-top: 16px; }

/* 15.11 dollars: a card sold on Etsy only shows words where the others show a price */
.p-price-etsy { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
/* ---------------------------------------------------------------- Advent last call notice (17.11, shown 24.11 to 30.11 by js/advent-notice.js) */
.adv-notice[hidden] { display: none; }
.adv-notice { background: #F6E3DF; border-bottom: 1px solid rgba(0,0,0,.06); text-align: center; padding: 12px 16px; }
.adv-notice a { font: 600 16px/1.4 "DM Sans", sans-serif; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* 18.11 /paper-squishy-ideas: the 50 ideas count on across the 4 lists; free butter pages picture */
.how-list.from-16 { counter-reset: step 15; }
.how-list.from-31 { counter-reset: step 30; }
.how-list.from-41 { counter-reset: step 40; }
.butter-pages { margin: 18px 0; }
.butter-pages img { width: 100%; height: auto; border: 1px solid #e6e1d8; border-radius: 8px; }

/* 25.11 file 215: the picture of the whole set, the kids line on the home page */
.sheet { margin: 0; }
.guide-text p + .sheet, .sheet + p { margin-top: 20px; }
.sheet img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-sm); background: #fff; }
.b-feat .fx-kids-adv { margin-top: 12px; }
.fx-kids-adv .textlink, .kids-adv-link .textlink { display: inline; }
