/* 送礼物 R26 (kanban#9993433): the composer sheet shared by the product page and the
   cart page -- markup's twin moved verbatim out of mall-product.html (R21,
   kanban#9993392). Frozen glass tokens: rgba(255,255,255,.72) + blur(20px)
   saturate(1.5), top radius 28px, cinnabar CTA #B5432E->#8F3222, champagne hairlines,
   Songti for the seal chars. The .stepper rules are scoped to the sheet: on the mall
   home the bare .stepper class belongs to the cart quantity control. */
.serif { font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif; }
.gift-mask { position: fixed; inset: 0; background: rgba(34,29,22,.45); z-index: 360; display: flex; align-items: flex-end; }
.gift-sheet { width: 100%; max-height: 82vh; overflow-y: auto; border-radius: 28px 28px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.72); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid rgba(255,255,255,.6); border-bottom: none; color: #221D16; }
.gift-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.gift-head .t { font-size: 16px; font-weight: 600; }
.gift-close { font-size: 22px; color: #8A7E6E; padding: 0 4px; line-height: 1; cursor: pointer; }
.gift-prod { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid rgba(34,29,22,.08); }
.gift-prod img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: #f0ede7; flex-shrink: 0; }
.gift-prod .n { font-size: 14px; line-height: 1.4; }
.gift-prod .p { font-size: 15px; font-weight: 600; color: #B5432E; margin-top: 3px; }
.gift-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 4px; }
.gift-row .k { font-size: 14px; color: #221D16; }
.gift-row .k .s, .gift-hide .k .s { display: block; font-size: 12px; color: #8A7E6E; margin-top: 2px; }
.gift-sheet .stepper { display: flex; align-items: center; gap: 14px; }
.gift-sheet .stepper button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(34,29,22,.18); background: rgba(255,255,255,.6); font-size: 17px; color: #221D16; line-height: 1; }
.gift-sheet .stepper span { min-width: 20px; text-align: center; font-size: 15px; font-weight: 600; }
.gift-presets { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 4px; }
.preset { display: flex; align-items: center; gap: 6px; padding: 6px 12px 6px 7px; border-radius: 999px; font-size: 13px; border: 1px solid rgba(34,29,22,.15); background: rgba(255,255,255,.55); color: #221D16; cursor: pointer; }
.preset .mark { width: 20px; height: 20px; border-radius: 50%; color: #F0D9A8; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.preset.on { border-color: #B5432E; background: rgba(181,67,46,.07); }
.gift-text { width: 100%; min-height: 70px; margin-top: 10px; padding: 10px 12px; border-radius: 14px; font-size: 14px; color: #221D16;
    background: rgba(255,255,255,.55); border: 1px solid rgba(34,29,22,.15); font-family: inherit; resize: none; }
.gift-input { width: 100%; margin-top: 8px; padding: 10px 12px; border-radius: 16px; font-size: 14px; color: #221D16;
    background: rgba(255,255,255,.55); border: 1px solid rgba(34,29,22,.15); }
.gift-hide { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 2px; }
.gift-note { font-size: 12px; color: #8A7E6E; line-height: 1.7; margin-top: 12px; }
.gift-cta { width: 100%; margin-top: 14px; padding: 14px; border: none; border-radius: 999px; background: linear-gradient(135deg, #B5432E, #8F3222);
    color: #fff; font-size: 16px; font-weight: 600; font-family: inherit; cursor: pointer; }
.gift-cta:disabled { opacity: .55; }
