/* /picks/stocking-stuffers: a knitted Christmas jumper. Forest green knit,
   cranberry and cream, a big stocking with the picks peeking out. */
.pk-stock {
	--pk-bg: #f4efe4; --pk-ink: #13261c; --pk-muted: #4f5f55; --pk-card: #fffdf8; --pk-line: rgba(19, 38, 28, .14);
	--pk-accent: #c62828; --pk-accent-ink: #fff; --pk-pop: #c62828;
	--fl-display: 'Bagel Fat One', 'Bebas Neue', sans-serif; --fl-body: 'Outfit', 'Inter', sans-serif; --fl-radius: 18px;
}
.pk-stock .pk-hero { color: #f4efe4; padding-top: 28px;
	background:
		linear-gradient(180deg, rgba(10, 30, 20, .2), rgba(10, 30, 20, .45)),
		repeating-linear-gradient(135deg, transparent 0 9px, rgba(255, 255, 255, .045) 9px 11px),
		repeating-linear-gradient(45deg, transparent 0 9px, rgba(0, 0, 0, .09) 9px 11px),
		#1f5f3f; }
.pk-stock .pk-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; z-index: -1;
	background: repeating-linear-gradient(90deg, #c62828 0 22px, #f4efe4 22px 44px); opacity: .95; }
.pk-stock .pk-kicker { color: #f6c8c8; }
.pk-stock .pk-h1 { color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .18); }
.pk-stock .pk-lead { color: #dfe9e2; margin: .9rem 0 1.1rem; max-width: 40ch; }
.pk-stock .pk-kicker { margin-bottom: .7rem; }

/* calculator card */
.ss-calc { background: #fffdf8; color: var(--pk-ink); border-radius: 22px; padding: 20px 20px 18px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6);
	max-width: 540px; display: grid; gap: 9px; border: 3px solid #f4efe4; outline: 2px dashed rgba(198, 40, 40, .45); outline-offset: -10px; }
.ss-n { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; }
.ss-n output { font-family: var(--fl-display); font-size: 1.9rem; color: var(--pk-accent); line-height: 1; }
#pk-n { width: 100%; accent-color: var(--pk-accent); height: 28px; }
.ss-picks { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ss-picks legend { font-weight: 800; font-size: .85rem; margin-bottom: 6px; padding: 0; }
.ss-picks { gap: 6px; }
.ss-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; cursor: pointer;
	border: 2px solid var(--pk-line); background: #fff; font-size: .78rem; font-weight: 600; transition: border-color .2s, background .2s; }
.ss-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ss-chip img { width: 26px; height: 26px; object-fit: contain; border-radius: 50%; background: #fff; }
.ss-chip:has(input:checked) { border-color: var(--pk-accent); background: #fdeaea; }
.ss-chip:has(input:focus-visible) { outline: 3px solid var(--pk-accent); outline-offset: 2px; }
.ss-result { display: flex; gap: 28px; align-items: baseline; padding-top: 6px; border-top: 1px dashed var(--pk-line); }
.ss-result > div { display: flex; flex-direction: column; }
.ss-big { font-family: var(--fl-display); font-size: 2.2rem; line-height: 1; color: var(--pk-ink); font-variant-numeric: tabular-nums; }
.ss-mid { font-family: var(--fl-display); font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.ss-small { font-size: .78rem; color: var(--pk-muted); font-weight: 600; }
.ss-trays { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--pk-muted); }
.ss-addall { width: 100%; }

/* stocking */
.ss-visual { position: relative; display: grid; justify-items: center; padding-top: 120px; }
.ss-stocking { width: min(100%, 380px); height: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); transform: rotate(-6deg);
	animation: ss-sway 6s ease-in-out infinite; transform-origin: 40% 5%; position: relative; z-index: 1; }
@keyframes ss-sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(-3deg); } }
.ss-peek { position: absolute; top: 0; left: 50%; width: 300px; height: 176px; transform: translateX(-60%); z-index: 0; }
.ss-peek img { position: absolute; bottom: 0; width: 118px; height: 118px; object-fit: contain; background: #fff; border-radius: 16px; padding: 8px;
	box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .45); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.ss-peek img:nth-child(1) { left: 2%; transform: rotate(-14deg); }
.ss-peek img:nth-child(2) { left: 30%; bottom: 14px; transform: rotate(3deg); }
.ss-peek img:nth-child(3) { left: 58%; transform: rotate(13deg); }
.ss-peek img:nth-child(4) { left: 44%; bottom: 40px; transform: rotate(-6deg) scale(.85); }

.pk-stock .pk-sec-n { color: var(--pk-accent); }
.pk-stock .pk-close { background: #1f5f3f; }

@media (max-width: 820px) {
	.ss-visual { padding-top: 80px; }
	.ss-stocking { width: 230px; }
	.ss-peek { width: 200px; height: 110px; }
	.ss-peek img { width: 80px; height: 80px; }
}
