/* Cash-on-delivery button + order modal (our own code, not from any app). */
.fs-cod{min-height:6rem;width:100%;border:0;border-radius:.6rem;background:#000;color:white;display:flex;align-items:center;justify-content:center;gap:2.4rem;padding:1rem 2rem;font-size:1.4rem;font-weight:700;line-height:1.05;cursor:pointer;box-shadow:0 .2rem .5rem #0003}
.fs-cod svg{width:2.6rem;height:2.6rem;flex:none}
.fs-modal[hidden]{display:none}
.fs-modal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:2rem}
.fs-modal__overlay{position:absolute;inset:0;background:#0008}
.fs-modal__dialog{position:relative;background:#fff;width:min(100%,52rem);max-height:calc(100vh - 4rem);overflow:auto;border-radius:.6rem;padding:3rem;box-shadow:0 2rem 7rem #0005}
.fs-modal__close{position:absolute;right:1.5rem;top:1.3rem;border:0;background:none;font-size:2.8rem;line-height:1;cursor:pointer}
.fs-modal h2{font-size:2.3rem;font-weight:400;margin:0 3rem 2rem 0}
.fs-order-summary{background:#f7f7f7;padding:1.2rem 1.5rem;margin-bottom:2rem;font-size:1.4rem}
.fs-order-summary p{display:flex;justify-content:space-between;gap:2rem;margin:.5rem 0}
.fs-field-x{margin-bottom:1.4rem}
.fs-field-x label{display:block;font-size:1.3rem;margin-bottom:.5rem}
.fs-field-x input{width:100%;height:4.5rem;border:.1rem solid rgba(var(--color-foreground),.45);padding:.8rem 1.2rem;font:inherit}
.fs-error{display:block;color:#b00020;font-size:1.2rem;min-height:1.6rem;margin-top:.3rem}
.fs-submit{width:100%;min-height:4.8rem;background:#111;color:#fff;border:0;font:inherit;font-weight:700;cursor:pointer}
.fs-success{font-size:1.7rem;line-height:1.5;text-align:center;padding:3rem 1rem}
.fs-sticky-cod{display:none}
@media screen and (max-width:749px){.fs-cod{min-height:4.6rem;font-size:1.3rem;gap:1.7rem}}
@media screen and (max-width:749px){.fs-cod svg{width:2.2rem;height:2.2rem}}
@media screen and (max-width:749px){.fs-modal{padding:1rem}}
@media screen and (max-width:749px){.fs-modal__dialog{padding:2.5rem 1.8rem;max-height:calc(100vh - 2rem)}}
@media screen and (max-width:749px){.fs-sticky-cod{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;border-radius:0;min-height:4.6rem}}
.fs-item-form .fs-cod{margin-top:1rem}
/* match the original app button: 16px bold, ~48px tall, small gap under the cart button */
.fs-item-form__buttons .fs-cod{margin-top:1rem;min-height:4.8rem;font-size:1.6rem;gap:2rem;font-family:Arial,Helvetica,sans-serif;border-radius:.4rem}

@media screen and (min-width:750px){.fs-item-form__buttons .fs-cod{min-height:6.7rem}}
