/* Layout only. All colours come from the existing Pinpops theme. */
#pp-checkout{max-width:1240px;padding-top:2rem;padding-bottom:4rem;margin-top:4rem!important}
.pp-columns{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:1.5rem;align-items:start}
.pp-item{display:grid;grid-template-columns:64px minmax(0,1fr) 140px 84px;gap:1rem;align-items:center;padding:.75rem 1rem;margin-bottom:.65rem}
.pp-item img{width:64px;height:64px;object-fit:cover;border-radius:50%}
.pp-item h3{font-size:.95rem;margin:0 0 .25rem}
.pp-item p{font-size:.8rem;margin:.2rem 0}
.pp-quantity{display:flex;align-items:center}
.pp-quantity input{width:60px;text-align:center;padding:.45rem .15rem;-moz-appearance:textfield}
.pp-quantity input::-webkit-inner-spin-button{appearance:none}
.pp-quantity button{padding:.45rem .65rem}
.pp-line-total{text-align:right;font-size:.9rem}
.pp-summary{position:sticky;top:6rem}
.pp-fields{display:grid;grid-template-columns:1fr 1fr;gap:.7rem 1rem}
.pp-totals{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.8rem .5rem;font-size:.9rem}
.pp-totals dd{text-align:right;margin:0}.pp-totals dt{font-weight:400}
.pp-totals .pp-grand{font-weight:700;padding-top:.75rem;border-top:1px solid var(--bs-border-color,currentColor)}
#pp-checkout [hidden]{display:none!important}
#pp-checkout #pp-start[aria-disabled="true"]{opacity:.4;pointer-events:none;cursor:not-allowed;box-shadow:none}
#pp-checkout:has(#pp-lines) .pp-actions{margin-top:1rem}
@media(max-width:1000px){.pp-columns{grid-template-columns:1fr}.pp-summary{position:static}}
@media(max-width:600px){.pp-item{grid-template-columns:48px minmax(0,1fr) 80px;gap:.6rem;padding:.8rem}.pp-item img{width:48px;height:48px}.pp-quantity{grid-column:2;grid-row:2}.pp-line-total{grid-column:3;grid-row:1 / span 2}.pp-fields{grid-template-columns:1fr}}
/* Checkout steps use the existing theme colours and button classes. */
.pp-progress{list-style:none;display:flex;justify-content:space-between;padding:0;margin:0 0 2.5rem;gap:1rem}
.pp-progress li{display:flex;flex:1;flex-direction:column;align-items:center;text-align:center;gap:.5rem;position:relative;font-size:.9rem}
.pp-progress li:not(:last-child):after{content:"";position:absolute;top:21px;left:65%;width:75%;border-top:1px solid var(--bs-border-color,currentColor);opacity:.3}
.pp-step-number{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--bs-border-color,currentColor);border-radius:50%}
.pp-current{font-weight:700}.pp-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:2rem}
.pp-actions .btn{margin-left:auto}.pp-edit{float:right;font-size:.85rem;font-weight:400;margin-left:1rem}
.pp-choice{display:flex;flex-direction:row;align-items:center;gap:1rem;padding:1.2rem;margin-bottom:1rem;cursor:pointer}
.pp-choice span{flex:1}.pp-choice input,.pp-check input{width:20px;height:20px;accent-color:var(--bs-primary)}
.pp-check{display:flex;align-items:center;gap:.7rem;margin:1rem 0 1.5rem}.pp-summary-items{border-bottom:1px solid var(--bs-border-color,currentColor);margin-bottom:1.5rem}
.pp-table-wrap{overflow:auto}#pp-checkout address{font-style:normal;overflow-wrap:anywhere;margin:0}#pp-checkout .form-control,#pp-checkout .form-select{max-width:100%}
@media(max-width:600px){.pp-progress{gap:.2rem}.pp-progress li{font-size:.67rem}.pp-step-number{width:30px;height:30px}.pp-progress li:not(:last-child):after{top:15px}.pp-choice{gap:.6rem;padding:1rem}.pp-actions .btn{white-space:normal}#pp-checkout{margin-top:2rem!important}}

#pp-checkout .pp-title{font-size:clamp(1.8rem,3vw,2.7rem);font-weight:600} .pp-actions>.btn-link{margin-left:0;padding-left:0}

#pp-checkout .pp-edit{padding:.5em .75em;text-decoration:none;font-size:.8rem} .pp-unit{align-self:start} .pp-unit summary{cursor:pointer;margin-bottom:.5rem} .pp-coupon summary{cursor:pointer} #pp-destination-prices{overflow-x:auto}

.pp-columns>*{min-width:0} #pp-destination-prices table{font-size:.9rem} @media(max-width:600px){#pp-destination-prices th,#pp-destination-prices td{padding:.5rem .35rem;white-space:normal;overflow-wrap:anywhere}}
/* Compact cards. Theme supplies all colours. */
#pp-checkout .pp-edit{float:none;display:inline-flex;align-self:flex-end;width:auto;flex:0 0 auto;margin:0 0 .5rem 1rem;line-height:1.2}
#pp-checkout h2 .pp-edit{float:right}
.pp-address-card{position:relative;padding-right:5rem!important}
#pp-checkout .pp-address-card>.pp-edit{position:absolute;right:1rem;top:1rem;margin:0}
.pp-summary-item{display:flex;align-items:center;gap:.65rem;margin-bottom:.85rem}
.pp-summary-item img{width:42px;height:42px;object-fit:cover;border-radius:50%;flex-shrink:0}
.pp-summary-item strong{display:block;font-size:.8rem;font-weight:500;line-height:1.35}
.pp-summary-item small{display:block;font-size:.75rem;margin-top:.2rem}
.pp-summary-action{margin-top:1.2rem}.pp-summary-action>.btn,.pp-summary-action .btn{width:100%}
#pp-checkout .pp-summary-action .pp-actions{margin:0}
.pp-delivery-estimate{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:1rem;padding:1rem;margin-bottom:.65rem}
.pp-delivery-estimate>strong{white-space:nowrap}.pp-delivery-estimate i{margin-top:.25rem}
#pp-checkout .pp-choice,#pp-checkout .pp-delivery-estimate{box-shadow:none}
#pp-message{position:fixed;bottom:1rem;left:50%;transform:translateX(-50%);z-index:1080;max-width:calc(100vw - 2rem);width:max-content;margin:0;box-shadow:0 .25rem 1rem rgba(0,0,0,.12)}
.pp-item-progress{grid-column:1 / -1;border-top:1px solid var(--bs-border-color,#e7eaf3);padding-top:.55rem;font-size:.8rem}
.pp-item-progress .progress{height:4px;margin-top:.5rem}.pp-item-progress p{margin:0}
.pp-item-progress .btn{font-size:.8rem;text-align:left}
.pp-summary .alert{padding:.8rem;font-size:.8rem}.pp-summary .alert small{display:block;margin-top:.4rem}
/* Receipt and card spacing, without theme shadows between adjacent cards. */
#pp-checkout{max-width:1160px;padding-left:1.5rem;padding-right:1.5rem}
#pp-checkout .card{box-shadow:none!important}
#pp-checkout .pp-choice{border-width:1px;background-color:#fff!important}
.pp-receipt-head{display:flex;align-items:center;gap:1.25rem;padding:1rem 0 2rem}
.pp-receipt-head h2{margin-bottom:.5rem}.pp-receipt-head p{margin-bottom:.4rem}
.pp-receipt-mark{font-size:3rem;line-height:1}
.pp-receipt-item{display:flex;align-items:center;gap:.8rem;padding:1rem 0;border-bottom:1px solid var(--bs-border-color,#e7eaf3)}
.pp-receipt-item:last-child{border-bottom:0}.pp-receipt-item img{width:48px;height:48px;border-radius:50%;object-fit:cover;flex-shrink:0}
.pp-receipt-item>div{flex:1;min-width:0}.pp-receipt-item strong{font-size:.85rem}.pp-receipt-item small{display:block;font-size:.8rem;margin-top:.2rem}
.pp-receipt address{font-size:.85rem}.pp-receipt .pp-fields{align-items:stretch}
.pp-locker-search{display:flex;gap:.75rem;margin-bottom:1rem;max-width:30rem}
.pp-locker-search input{min-width:0}.pp-locker-search button{flex-shrink:0}
.pp-locker-list{max-height:22rem;overflow-y:auto;padding:1px .4rem 1px 1px}
#pp-checkout .pp-locker-option{font-size:.85rem;padding:1rem;margin-bottom:.5rem;cursor:pointer}
@media(max-width:600px){#pp-checkout{padding-left:1rem;padding-right:1rem}.pp-receipt-head{gap:.75rem}.pp-receipt-mark{font-size:2.4rem}}
