/* 선물하기(2026-11-11): 가격 카드 아래 한 줄 · 펼친 칸 · 선물 봉투 · 받는 분 화면. gift.js가 그린다 */
.gf { margin-top: 12px; }
.gf-bow { width: 22px; height: 22px; flex: none; color: #c8372d; }
.gf-line { width: 100%; display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1.5px dashed #c8372d; border-radius: 12px; background: #fff6ef; color: #8a2a22; font: 700 14px/1.3 var(--sans); letter-spacing: -.2px; text-align: left; cursor: pointer; }
.gf-line i { margin-left: auto; font-style: normal; color: #c8372d; transition: transform .15s; }
.gf-line[aria-expanded="true"] i { transform: rotate(90deg); }
.gf, .gf-after, .gf-box, .gf-sheet { font-family: var(--sans); }
#readBtn.gf-long { font-size: 15px; letter-spacing: -.3px; padding-left: 12px; padding-right: 12px; }
.gf-panel { margin-top: 10px; padding: 16px; border: 2px solid #2a211d; border-radius: 14px; background: #fffcf4; text-align: left; }
.gf-k { font-weight: 900; font-size: 17px; margin: 0 0 10px; }
.gf-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.gf-chip { padding: 8px 14px; border: 1.5px solid #2a211d; border-radius: 999px; background: #fffcf4; color: #2a211d; font: 700 14px var(--sans); cursor: pointer; }
.gf-chip.on { background: #2a211d; color: #fff; }
.gf-qty { display: flex; align-items: center; gap: 14px; margin-top: 12px; font-size: 17px; }
.gf-qty button { width: 38px; height: 38px; border: 1.5px solid #2a211d; border-radius: 50%; background: #fffcf4; color: #2a211d; font-size: 18px; line-height: 1; cursor: pointer; }
.gf-note { font-size: 13px; line-height: 1.55; color: #6b6058; margin: 8px 0 0; }
.gf-c { text-align: center; }
.gf-lab { display: block; font-weight: 800; font-size: 14px; margin: 14px 0 6px; }
.gf-panel input[type="text"], .gf-panel input[type="email"], .gf-panel textarea { width: 100%; box-sizing: border-box; border: 1.5px solid #2a211d; border-radius: 12px; background: #fff; padding: 11px 12px; font: 16px/1.4 inherit; font-family: inherit; color: #2a211d; resize: none; }
.gf-sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 2px dashed #cbbfae; font-size: 15px; }
.gf-sum b { font-size: 19px; font-weight: 900; color: #c8372d; }
.gf-cancel { display: block; margin: 12px auto 0; border: 0; background: none; color: #6b6058; font: 13px inherit; font-family: inherit; text-decoration: underline; cursor: pointer; }
.gf-got { display: flex; align-items: center; gap: 8px; padding: 12px 14px; margin: 0 0 10px; border: 1.5px solid #c8372d; border-radius: 12px; background: #fff6ef; color: #8a2a22; font-size: 14.5px; line-height: 1.45; text-align: left; }
.gf-panel .cta { width: 100%; margin-top: 14px; }

/* 선물 봉투 */
.gf-env { position: relative; width: min(300px, 78%); aspect-ratio: 3 / 2; margin: 14px auto 8px; background: #c8372d; border-radius: 12px; box-shadow: 0 8px 0 #8f251d; }
.gf-env::before { content: ""; position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(to bottom right, transparent 49.5%, #a92e25 50%) left / 50% 100% no-repeat, linear-gradient(to bottom left, transparent 49.5%, #a92e25 50%) right / 50% 100% no-repeat; }
.gf-face { display: block; border-radius: 50%; background: #fffcf4 url(/media/yeomra-face.webp) center / cover no-repeat; border: 3px solid #fffcf4; }
.gf-env .gf-face { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 29%; aspect-ratio: 1; }
.gf-big { font-weight: 900; font-size: 22px; line-height: 1.35; text-align: center; margin: 14px 0 0; color: #2a211d; }
.gf-tag { display: inline-block; background: #2a211d; color: #fff; font-weight: 700; font-size: 12.5px; padding: 5px 10px; border-radius: 999px; }
.gf-letter { margin: 16px 0 0; padding: 16px; border: 2px solid #2a211d; border-radius: 14px; background: #fffcf4; font-size: 19px; line-height: 1.5; color: #3a2f29; word-break: keep-all; }
.gf-letter small { display: block; text-align: right; font-size: 15px; color: #8a2a22; margin-top: 6px; }
.gf-box { max-width: 520px; margin: 0 auto 22px; padding: 18px 16px 16px; border: 2px solid #2a211d; border-radius: 16px; background: #f7f1e3; }
.gf-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #fffcf4; border: 1.5px solid #2a211d; font-size: 14.5px; }
.gf-row span { flex: 1; text-align: left; }
.gf-row button { border: 1.5px solid #2a211d; border-radius: 10px; padding: 9px 12px; font: 800 14px inherit; font-family: inherit; cursor: pointer; background: #fffcf4; color: #2a211d; }
.gf-row .gf-send { background: #c8372d; border-color: #c8372d; color: #fff; }

/* 결제한 풀이 끝의 선물 칸 */
.gf-after { max-width: 520px; margin: 26px auto 0; padding: 16px; border: 2px solid #2a211d; border-radius: 16px; background: #f7f1e3; }
.gf-ahead { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; text-align: left; }
.gf-ahead .gf-face { width: 48px; height: 48px; flex: none; }
.gf-ahead p { margin: 0; font-size: 15px; line-height: 1.5; }

/* 선물 화면(/gift/…): 사이트 위에 덮는 한 장 */
html.gf-open, html.gf-open body { overflow: hidden; }
.gf-page { position: fixed; inset: 0; z-index: 9999; overflow-y: auto; background: #e9e3d6; padding: 28px 16px 40px; }
.gf-sheet { max-width: 420px; margin: 0 auto; padding: 22px 20px 24px; border-radius: 22px; background: #f7f1e3; border: 2px solid #2a211d; color: #2a211d; }
.gf-sheet .gf-box { border: 0; padding: 0; margin: 0; background: none; }
.gf-cta { display: block; width: 100%; box-sizing: border-box; margin-top: 18px; text-align: center; text-decoration: none; }
