/* Gift wrap. Uses the theme's design tokens (CSS variables) and base components. */
.gift { margin-top: 14px; background: var(--white); border-radius: var(--r); border: 1.5px dashed #DCCDB4; transition: background .2s, border-color .2s; }
.gift.is-on { background: #FFF3EE; border: 1.5px solid var(--coral); }
.gift__row { display: grid; grid-template-columns: 46px 1fr auto auto; gap: 12px; align-items: center; padding: 14px 16px 14px 14px; cursor: pointer; }
.gift__ico { width: 46px; height: 46px; border-radius: 15px; background: var(--coral-soft); color: var(--coral-deep); display: grid; place-items: center; transition: transform .25s cubic-bezier(.2, .8, .2, 1), background .2s, color .2s; }
.gift__ico svg { width: 24px; height: 24px; }
.gift.is-on .gift__ico { background: var(--coral); color: var(--ink); transform: rotate(-8deg) scale(1.05); }
.gift__text { line-height: 1.3; }
.gift__text b { display: block; font: 600 1.04rem/1.2 var(--font-head); }
.gift__text small { color: var(--muted); font-size: .8rem; }
.gift__price { font-weight: 800; font-size: .88rem; white-space: nowrap; }
.gift__msg { position: relative; padding: 0 16px 16px 14px; animation: pop .25s cubic-bezier(.2, .8, .2, 1); }
.gift__msg textarea { display: block; resize: none; padding: 12px 14px 26px; font-size: .92rem; line-height: 1.4; }
.gift__count { position: absolute; right: 28px; bottom: 24px; font-size: .72rem; color: var(--muted); }
@media (max-width: 600px) {
  .gift__row { grid-template-columns: 40px 1fr auto; } .gift__ico { width: 40px; height: 40px; } .gift__price { grid-column: 2; grid-row: 2; }
  .gift__row .switch { grid-column: 3; grid-row: 1 / span 2; }
}
