/* SilkRoad Leaf tea-gift commerce layer. */
.gift-tier-grid, .gift-preview-grid { align-items: stretch; }
.gift-tier, .gift-preview-grid .panel { min-height: 100%; display: flex; flex-direction: column; }
.gift-tier { position: relative; padding: 34px; transition: transform .3s var(--ease-out-expo), box-shadow .3s var(--ease-out-expo), border-color .3s; }
.gift-tier:hover, .gift-tier:focus-within { transform: translateY(-4px); border-color: rgba(145,94,34,.3); box-shadow: 0 24px 64px rgba(40,31,20,.11); }
.gift-tier-featured { border-color: rgba(145,94,34,.4); background: linear-gradient(180deg,rgba(250,246,236,.96),rgba(255,255,255,.84)); box-shadow: 0 24px 72px rgba(40,31,20,.11); }
.gift-tier-label { margin: 0 0 14px; color: var(--amber); font-size: 10px; font-weight: 700; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.gift-tier h3, .gift-preview-grid h3 { margin-bottom: 8px; }
.gift-price { margin: 0 0 18px; color: var(--tea-green-deep); font-family: "Fraunces",Georgia,"Times New Roman",serif; font-size: 54px; line-height: 1; }
.gift-price span { margin-right: 3px; color: var(--amber); font-family: "DM Sans",system-ui,sans-serif; font-size: 20px; font-weight: 600; vertical-align: 20px; }
.gift-list { margin: 24px 0 0; padding: 22px 0 0 20px; border-top: 1px solid rgba(91,77,56,.13); }
.gift-list li { margin-bottom: 10px; padding-left: 4px; }
.gift-shipping { margin: auto 0 0; padding-top: 24px; color: var(--tea-green); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gift-tier .button-row { margin-top: 18px; }
.gift-tier .button, .gift-actions .button { width: 100%; }
.gift-actions { display: grid; gap: 13px; margin-top: 18px; }
.gift-form-link { color: var(--tea-green); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-align: center; text-underline-offset: 4px; }
.whatsapp-button { border-color: #176c45; background: #176c45; color: #fff; }
.whatsapp-button:hover { border-color: #0f5435; background: #0f5435; color: #fff; }
.gift-terms { max-width: 900px; margin: 28px auto 0; color: var(--text-muted); font-size: 12px; line-height: 1.75; text-align: center; }
.gift-preview-grid .gift-tier-featured { transform: translateY(-4px); }
.form-row > :only-child { grid-column: 1 / -1; }
.second-gift-fields { display: grid; gap: 18px; margin: 8px 0; padding: 24px; border: 1px solid rgba(91,77,56,.18); }
.second-gift-fields[hidden] { display: none; }
.second-gift-fields legend { padding: 0 10px; color: var(--tea-green-deep); font-weight: 700; }
.policy-consent { display: flex; align-items: flex-start; gap: 12px; color: var(--text-muted); font-size: 13px; line-height: 1.65; }
.policy-consent input { width: auto; margin-top: 5px; }
.checkout-page, .policy-page { background: var(--cream); }
.checkout-page .site-header, .policy-page .site-header { position: relative; background: var(--tea-green-deep); }
.checkout-shell { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(420px,1.28fr); gap: 64px; width: min(1180px,calc(100% - 48px)); margin: 0 auto; padding: 80px 0; }
.checkout-intro { padding-top: 28px; }
.checkout-intro h1, .success-shell h1, .policy-shell h1 { color: var(--tea-green-deep); }
.checkout-intro > p { color: var(--text-muted); line-height: 1.8; }
.checkout-summary { display: flex; justify-content: space-between; gap: 18px; margin: 32px 0; padding: 22px 0; border-block: 1px solid rgba(91,77,56,.16); }
.checkout-summary span { color: var(--text-muted); text-align: right; }
.checkout-note { font-size: 12px; }
.checkout-panel { min-height: 580px; padding: 24px; border: 1px solid rgba(91,77,56,.13); background: #fff; box-shadow: 0 24px 72px rgba(40,31,20,.09); }
.checkout-error { padding: 20px; color: #7b231c; background: #fff1ef; border: 1px solid #e7b8b1; }
.success-shell { width: min(780px,calc(100% - 48px)); min-height: 70vh; margin: 0 auto; padding: 100px 0; }
.success-shell .panel { padding: 44px; }
.commerce-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; padding: 32px 24px; color: rgba(255,255,255,.7); background: var(--tea-green-deep); font-size: 12px; }
.commerce-footer a { color: inherit; }
.policy-shell { width: min(780px,calc(100% - 48px)); margin: 0 auto; padding: 90px 0; }
.policy-shell section { margin-top: 42px; padding-top: 32px; border-top: 1px solid rgba(91,77,56,.14); }
.policy-shell h2 { color: var(--tea-green-deep); font-size: 28px; }
.policy-shell p { color: var(--text-muted); line-height: 1.85; }
.policy-updated { font-size: 12px; }
.whatsapp-float { position: fixed; z-index: 80; right: 24px; bottom: 24px; display: grid; gap: 1px; min-width: 210px; padding: 13px 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: #176c45; color: #fff; box-shadow: 0 16px 42px rgba(20,74,48,.28); text-decoration: none; }
.whatsapp-float span { font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .76; }
.whatsapp-float strong { font-size: 13px; font-weight: 700; }
.whatsapp-float:hover { transform: translateY(-2px); background: #0f5435; }
@media (max-width: 820px) {
  .checkout-shell { grid-template-columns: 1fr; gap: 30px; width: min(100% - 32px,680px); padding: 54px 0; }
  .checkout-panel { padding: 8px; }
  .checkout-summary { flex-direction: column; }
  .checkout-summary span { text-align: left; }
  .whatsapp-float { right: 14px; bottom: 14px; min-width: 0; padding: 12px 16px; }
  .whatsapp-float span { display: none; }
}
