/* 12.12 SALE 팝업 — 2026-11-30 Denita 님 10:34 「popupnya diganti ini aja 12.12 SALE / Shop now · designnya kayak image yang aku kirim」
   (DM D09S6JRFFFE ts 1796009691.931489 · 대표님 90883 「denita한테 듣고 결정해」 · H1130-115).
   꼴 = Denita 님이 보낸 그림(사진 한 장을 카드 전체에 깔고 위아래에 굵은 흰 글씨 · 가운데 작은 세리프 한 줄)을 본뜸.
   카드는 사진 비율(4:5)을 지키고 창이 낮으면 통째로 줄어든다(11/30 제목 가림 고침과 같은 낮은 창 여덟 크기로 잼).
   글씨가 밝은 사진 위에서도 읽히게 위아래만 옅게 어둡힌다. 색은 흰색·검정만 쓴다(웹사이트 디자인 기준 1번 · 할인 브랜드처럼 보이지 않게).
   되돌리기 = functions.php NOFLIK_SALE 'on' 을 false(옛 쿠폰 팝업이 다시 뜬다). */
.nf-sale { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; background: rgba(17, 17, 17, .55); }
.nf-sale[hidden] { display: none; }
.nf-sale__card { position: relative; width: min(440px, calc((100dvh - 32px) * .8), 100%); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: #d9d6d0; box-shadow: 0 12px 40px rgba(0, 0, 0, .28); }
.nf-sale__card picture, .nf-sale__card img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.nf-sale__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .32) 100%); pointer-events: none; }
.nf-sale__go { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 9% 6% 8%; color: #fff; text-align: center; text-decoration: none; }
.nf-sale__big { margin: 0; font-family: "Futura", "Century Gothic", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; font-size: clamp(56px, 19cqw, 96px); line-height: .95; letter-spacing: .01em; text-shadow: 0 2px 18px rgba(0, 0, 0, .18); }
.nf-sale__card { container-type: inline-size; }
.nf-sale__mid { font-family: "Cosmetic", Georgia, serif; font-size: clamp(16px, 4.6cqw, 22px); line-height: 1.2; text-decoration: underline; text-underline-offset: 4px; text-shadow: 0 1px 10px rgba(0, 0, 0, .25); }
.nf-sale__x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; background: rgba(17, 17, 17, .55); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.nf-sale__go:focus-visible, .nf-sale__x:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
