/* 给爸妈买 · 赠送页样式（gift.html 专用；通用变量复用 /css/style.css） */
.gift-tabs { display: flex; gap: 12px; margin: 16px 0 24px; flex-wrap: wrap; }
.gift-tab { flex: 1 1 160px; min-height: 64px; border: 2px solid var(--border); border-radius: var(--radius); background: #fff; font-size: 1.2rem; font-weight: 700; color: var(--text); cursor: pointer; }
.gift-tab.active { border-color: var(--gold); background: #fff7e0; color: var(--gold-dark); }
.gift-tab small { display: block; font-size: 0.9rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.gift-panel { display: none; }
.gift-panel.active { display: block; }
.gift-step { font-size: 1.25rem; font-weight: 700; margin: 24px 0 8px; }
.gift-step .n { display: inline-block; width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 50%; background: var(--gold); color: #222; margin-right: 8px; font-size: 1.1rem; }
.gift-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.gift-product { border: 2px solid var(--border); border-radius: var(--radius); padding: 14px; cursor: pointer; background: #fff; }
.gift-product.selected { border-color: var(--gold); background: #fff7e0; }
.gift-product .p-name { font-weight: 700; font-size: 1.1rem; }
.gift-product .p-price { color: var(--red); font-weight: 700; font-size: 1.25rem; margin-top: 6px; }
.gift-product .p-meta { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.gift-product .p-bee { display: inline-block; margin-top: 6px; background: #fff3cd; color: #7a5f00; border-radius: 20px; padding: 2px 10px; font-size: 0.9rem; font-weight: 700; }
.gift-product.disabled { opacity: 0.55; cursor: not-allowed; }
.gift-recipients { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.gift-recipient { border: 2px solid var(--border); border-radius: var(--radius); padding: 14px 18px; cursor: pointer; background: #fff; min-width: 180px; }
.gift-recipient.selected { border-color: var(--gold); background: #fff7e0; }
.gift-recipient .r-name { font-weight: 700; font-size: 1.15rem; }
.gift-recipient .r-meta { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.gift-recipient .r-allergy { display: inline-block; margin-top: 6px; background: var(--red-bg); color: var(--red); border-radius: 20px; padding: 2px 10px; font-size: 0.9rem; font-weight: 700; }
.gift-summary { border: 2px solid var(--gold); border-radius: var(--radius); padding: 16px; margin-top: 24px; background: #fffdf5; }
.gift-summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 1.1rem; }
.gift-summary .row.total { border-top: 1px dashed var(--border); margin-top: 8px; padding-top: 12px; font-size: 1.3rem; font-weight: 700; }
.gift-summary .row.total .v { color: var(--red); }
.gift-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.gift-plan { border: 2px solid var(--border); border-radius: var(--radius); padding: 18px; cursor: pointer; background: #fff; text-align: center; }
.gift-plan.selected { border-color: var(--gold); background: #fff7e0; }
.gift-plan .pl-name { font-weight: 700; font-size: 1.3rem; }
.gift-plan .pl-price { color: var(--red); font-weight: 700; font-size: 1.6rem; margin-top: 8px; }
.gift-plan .pl-meta { color: var(--muted); margin-top: 6px; }
.gift-history-item { border-bottom: 1px dashed var(--border); padding: 12px 0; }
.gift-history-item:last-child { border-bottom: none; }
.gift-addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gift-addr-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .gift-tab { min-height: 56px; font-size: 1.1rem; }
  .gift-products { grid-template-columns: repeat(2, 1fr); }
  .gift-addr-grid { grid-template-columns: 1fr; }
  .gift-summary .row { font-size: 1.05rem; }
  #gift-submit-btn, #membership-submit-btn { width: 100%; min-height: 56px; font-size: 1.2rem; }
}
