.purchase-sheet-overlay{position:fixed;inset:0;z-index:180;display:flex;align-items:flex-end;justify-content:center;background:rgba(17,24,39,.46);backdrop-filter:blur(1px)}
.purchase-sheet-overlay[hidden]{display:none}
.purchase-sheet{position:relative;width:min(480px,100%);max-height:92dvh;overflow:auto;border-radius:18px 18px 0 0;background:#fff;box-shadow:0 -14px 45px rgba(0,0,0,.18)}
.purchase-sheet-handle{position:sticky;z-index:3;top:0;width:36px;height:4px;margin:8px auto 0;border-radius:4px;background:#dfe2e7}
.purchase-sheet-close{position:absolute;z-index:4;top:10px;right:12px;width:34px;height:34px;color:#8b919a;font-size:25px;line-height:30px}
.purchase-sheet-product{display:grid;grid-template-columns:72px 1fr;gap:12px;padding:20px 46px 14px 12px;border-bottom:1px solid #eceef1}
.purchase-sheet-product>img{width:72px;height:72px;object-fit:contain;border:1px solid #eceef1;border-radius:8px;background:#fff}
.purchase-sheet-product>div{display:flex;align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:7px 8px;min-width:0}
.purchase-sheet-product strong{width:100%;color:#fe2c55;font-size:23px;line-height:1.1}
.purchase-sheet-product p{width:100%;margin:2px 0 0;color:#747982;font-size:12px}
.purchase-free-shipping{padding:6px 9px;border-radius:6px;background:#e8fff4;color:#07985f;font-size:11px;font-weight:800}
.purchase-sheet-body{padding:13px 11px 4px}
.purchase-sheet-body h2{margin:0 0 10px;font-size:13px}
.purchase-option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-bottom:16px;border-bottom:1px solid #eceef1}
.purchase-option{min-width:0;min-height:148px;padding:7px 6px 9px;border:1px solid #e2e5e9;border-radius:9px;background:#fff;text-align:center}
.purchase-option.selected{border:2px solid #fe2c55;background:#fff7f9;box-shadow:0 0 0 1px rgba(254,44,85,.05)}
.purchase-option img{display:block;width:100%;height:88px;object-fit:contain;margin-bottom:6px;border-radius:5px;background:#fafafa}
.purchase-option b{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:26px;color:#111827;font-size:10px;line-height:1.25}
.purchase-option span{display:block;margin-top:4px;color:#707782;font-size:10px}
.purchase-quantity-row{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid #eceef1}
.purchase-quantity-row>div:first-child{display:flex;flex-direction:column;gap:4px;font-size:13px}.purchase-quantity-row small{color:#777d86;font-size:10px}
.purchase-stepper{display:flex;align-items:center;height:38px;border:1px solid #dfe2e6;border-radius:8px;overflow:hidden}.purchase-stepper button{width:38px;height:100%;background:#f5f6f7;font-size:21px}.purchase-stepper button:disabled{color:#bbb}.purchase-stepper strong{min-width:38px;text-align:center;font-size:13px}
.purchase-summary{display:grid;grid-template-columns:1fr auto;gap:5px 12px;padding:14px 0}.purchase-summary>b{font-size:12px}.purchase-summary span{grid-row:2;color:#6f7580;font-size:11px}.purchase-summary>strong{grid-column:2;grid-row:1/3;align-self:center;color:#fe2c55;font-size:15px}
.purchase-sheet-footer{position:sticky;bottom:0;padding:11px;background:#fff;border-top:1px solid #eceef1;box-shadow:0 -7px 18px rgba(0,0,0,.05)}
.purchase-sheet-footer button{width:100%;height:49px;border-radius:25px;background:#fe2c55;color:#fff;font-size:14px;font-weight:800}
.purchase-sheet-footer p{display:flex;align-items:center;justify-content:center;gap:5px;margin:9px 0 0;text-align:center;color:#52606f;font-size:10px}.purchase-secure-icon{display:grid;place-items:center;width:14px;height:14px;border-radius:50%;background:#08ad7b;color:#fff}.purchase-secure-icon svg{width:9px;height:9px;fill:#fff}
@media(max-width:360px){.purchase-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-option{min-height:142px}}

/* Ícone de compra protegida: escudo contornado, sem deformação. */
.purchase-secure-icon{display:grid;place-items:center;flex:0 0 15px;width:15px;height:15px}
.purchase-secure-icon svg{display:block;width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:2.15;stroke-linecap:round;stroke-linejoin:round}
.purchase-sheet-product>img.sprite-crop,.purchase-option img.sprite-crop{object-fit:cover}
.purchase-option img.sprite-crop{height:auto;aspect-ratio:1/1}
