.gift-catalog{grid-column:1/-1;min-width:0;border-top:1px solid var(--sand);padding-top:44px}.gift-catalog>h3{font-size:34px;margin-bottom:28px}.gift-tools{display:flex;gap:24px;align-items:end}.gift-tools label{display:grid;gap:8px;font-size:12px;flex:1}.gift-tools label:last-child{max-width:240px}.gift-tools input,.gift-tools select,.pix-payment textarea{width:100%;min-width:0;border:1px solid var(--sand);border-radius:0;background:var(--light);color:var(--ink);font:16px/1.5 var(--sans);padding:12px}.gift-tools input::placeholder{color:var(--muted)}.gift-tools :focus-visible,.pix-payment textarea:focus-visible{outline:2px solid var(--primary);outline-offset:3px}#gift-count{font-size:12px;color:var(--muted);margin:20px 0}#gift-empty{padding:20px 0}.gift-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 24px}.gift-card{min-width:0;display:flex;flex-direction:column}.gift-card-image{width:100%;aspect-ratio:1;object-fit:cover;object-position:center;background:var(--light)}.gift-card-body{display:flex;flex-direction:column;align-items:start;flex:1;padding-top:18px}.gift-card h2{font-size:24px;line-height:1.3;letter-spacing:0;margin-bottom:12px}.gift-card-price{font-size:15px;margin-top:auto;padding-bottom:16px}.gift-card .button{border:0;width:100%;font-size:12px}.pix-dialog{width:520px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);padding:24px;color:var(--ink)}.dialog-shell{display:flex;flex-direction:column;gap:20px;min-width:0}.dialog-close{align-self:end;min-height:44px;background:none;border:0;padding:6px;font-size:12px;display:flex;gap:18px;align-items:center}.dialog-close span{font-size:26px}.dialog-product{display:flex;align-items:center;gap:20px}.dialog-product img{width:92px;height:92px;object-fit:contain;background:var(--light)}.dialog-product h2{font-size:26px;letter-spacing:0}.dialog-price{font-size:16px;margin-top:10px;color:var(--primary)}.pix-payment{display:flex;flex-direction:column;gap:12px}.pix-payment[hidden],[hidden]{display:none!important}.pix-payment .pix-qr{width:200px;height:200px;align-self:center;background:white}.pix-payment label{font-size:12px}.pix-payment textarea{resize:vertical;font-size:12px;min-height:80px;overflow-wrap:anywhere}.pix-payment .button{border:0}#gift-pix-status{font-size:12px;line-height:1.6;min-height:20px}@media(max-width:900px){.gift-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.gift-catalog{padding-top:32px}.gift-catalog>h3{font-size:29px}.gift-tools{align-items:stretch;flex-direction:column;gap:16px}.gift-tools label:last-child{max-width:none}.gift-grid{gap:28px 16px}.gift-card h2{font-size:21px}.gift-card-price{font-size:13px}.gift-card .button{padding:12px 8px;font-size:11px}.pix-dialog{padding:18px}.dialog-product{gap:14px}.dialog-product h2{font-size:23px}.dialog-product img{width:72px;height:72px}}@media(max-width:360px){.gift-grid{grid-template-columns:1fr}}

/* Gift dialog: image and title above a compact payment row. */
.pix-dialog{width:660px;padding:24px 30px 30px;border-radius:8px;background:var(--bg)}
.dialog-shell{gap:24px}
.dialog-close{gap:12px;padding:0 10px;border:1px solid var(--line);border-radius:6px}
.dialog-product{gap:22px;align-items:center}
.dialog-product img{width:104px;height:104px;flex-shrink:0;object-fit:cover;border-radius:6px}
.dialog-product>div{min-width:0}
.dialog-eyebrow{font:600 10px/1.4 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--primary);margin-bottom:8px}
.dialog-product h2{font-size:30px;line-height:1.18;text-wrap:pretty;overflow-wrap:anywhere}
.dialog-price{font-size:17px;font-weight:600;margin-top:12px}
.pix-payment{display:grid;grid-template-columns:204px minmax(0,1fr);gap:26px;align-items:center;padding-top:24px;border-top:1px solid var(--line)}
.pix-payment .pix-qr{width:204px;height:204px;align-self:start;border-radius:6px}
.pix-action{min-width:0}
.pix-action h3{font-size:23px;line-height:1.25;margin-bottom:10px}
.pix-action>p{font-size:12px;line-height:1.7;color:var(--muted)}
.pix-action .button{width:100%;margin-top:20px;border-radius:6px}
.pix-action #gift-pix-status{font-size:11px;min-height:36px;margin-top:10px}
@media(max-width:600px){
 .pix-dialog{padding:16px 20px 22px}
 .dialog-shell{gap:18px}
 .dialog-product{gap:15px}
 .dialog-product img{width:78px;height:78px}
 .dialog-product h2{font-size:24px}
 .dialog-price{font-size:15px;margin-top:8px}
 .dialog-eyebrow{font-size:9px;margin-bottom:6px}
 .pix-payment{grid-template-columns:1fr;gap:18px;padding-top:20px}
 .pix-payment .pix-qr{width:190px;height:190px;justify-self:center}
 .pix-action{text-align:center}
 .pix-action h3{font-size:22px}
 .pix-action .button{margin-top:16px}
 .pix-action #gift-pix-status{min-height:18px}
}

.gift-card-description{font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:18px;text-wrap:pretty}
