.pp-checkout [hidden], .pp-checkout__layout.ppd-enhanced [data-ppd-delivery-step][hidden] { display:none!important }
.ppd-method-panel .ppd-choices { padding:0; list-style:none; }
.ppd-choices li { min-width:0; }
.ppd-choices .pp-choice { min-height:72px; height:100%; margin:0; }
.ppd-choices .pp-choice__price { line-height:1.5; }
.ppd-message { margin-block-start:12px; padding:12px 14px; border-radius:12px; background:#edf3fc; color:#1b395d; font-size:.9rem; overflow-wrap:anywhere; }
.ppd-message p { margin:3px 0 0; }
.ppd-message address { font-style:normal; margin-block-start:2px; }
.ppd-links { display:flex; flex-wrap:wrap; align-items:center; gap:0 18px; }
.ppd-links a { color:#17417c; text-decoration:underline; text-underline-offset:3px; display:inline-flex; min-height:44px; align-items:center; }
.pp-checkout__layout.ppd-enhanced[data-ppd-current="1"] #payment { display:none!important; }
.ppd-pickup .woocommerce-shipping-fields, .ppd-pickup:not(.ppd-keep-billing) .woocommerce-billing-fields .ppd-address-row { display:none!important; }
.ppd-delivery-address-note { margin:0 0 12px; font-size:.9rem; color:#536580; }
.ppd-address-required { color:var(--pp-red,#d00a29); font-weight:700; }
#ppd-city-quote:empty { display:none; }
#ppd-city-quote .ppd-town-rate { margin-block:0 14px; }
.ppd-confirmation, .woocommerce-order-details > .ppd-fulfilment-card--pickup { margin-block:14px; }
.ppd-enhanced .select2-container .select2-selection--single { min-height:44px; padding:7px 10px; }
.ppd-enhanced .select2-container .select2-selection--single .select2-selection__arrow { min-height:42px; }
.ppd-enhanced .select2-selection__rendered { color:inherit; }
.ppd-step-error { color:#a20e2c; font-weight:600; margin-block:12px 0; }
.ppd-review-lines { display:grid; gap:6px; overflow-wrap:anywhere; }
.ppd-edit { color:#17417c; background:none; border:0; padding:0; min-height:44px; text-decoration:underline; text-underline-offset:3px; }
.ppd-actions { display:flex; align-items:center; gap:12px; margin-block-start:14px; }
.ppd-mobile-total { display:none; }
.ppd-enhanced .ppd-notes-panel:has(.woocommerce-additional-fields:empty):has(.woocommerce-shipping-fields:empty) { display:none; }
@media(max-width:700px) {
  .ppd-choices { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ppd-choices .pp-choice { padding:9px; gap:7px; min-height:77px; }
  .ppd-actions { position:fixed; inset:auto 0 0; z-index:20; background:var(--pp-box,#fff); border-block-start:1px solid var(--pp-line,#ddd); box-shadow:0 -5px 22px #19365012; padding:10px 14px max(10px,env(safe-area-inset-bottom)); }
  .ppd-mobile-total { display:block; white-space:nowrap; font-weight:700; }
  .ppd-enhanced[data-ppd-current="1"] { margin-block-end:75px; }
  .ppd-actions .pp-btn { flex:1; min-width:0; }
  .ppd-enhanced .select2-container .select2-selection--single, .select2-search__field { font-size:16px; }
}
@media(max-width:360px) {
  .ppd-choices { grid-template-columns:1fr; }
}

.ppd-message bdi { white-space:nowrap; }

.ppd-fulfilment-options { display:grid; gap:10px; margin-block:14px; }
#ppd-message-fragment > .ppd-fulfilment-card,
[data-ppd-review-message] > .ppd-fulfilment-card { margin-block-start:12px; }
.ppd-fulfilment-card {
  --ppd-accent:#234f82;
  --ppd-tint:#dfeafb;
  --ppd-border:#d5e2f2;
  background:#edf3fc;
  border:1px solid var(--ppd-border);
  border-radius:14px;
  padding:12px 14px;
  color:#173451;
  font-size:.875rem;
  line-height:1.55;
  text-align:start;
  overflow-wrap:anywhere;
}
.ppd-fulfilment-card--pickup {
  --ppd-accent:#176044;
  --ppd-tint:#dcefe3;
  --ppd-border:#d1e6da;
  background:#f1f8f4;
}
.ppd-fulfilment-card .ppd-fulfilment-title {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  margin:0 0 8px;
  color:inherit;
  font-size:1rem;
  font-weight:750;
  line-height:1.35;
}
.ppd-fulfilment-icon {
  display:grid;
  place-items:center;
  inline-size:32px;
  block-size:32px;
  border-radius:9px;
  background:var(--ppd-tint);
  color:var(--ppd-accent);
}
.ppd-fulfilment-card .ppd-delivery-tiers { list-style:none; padding:0; margin:0; }
.ppd-delivery-tiers > li + li { margin-block-start:8px; padding-block-start:8px; border-block-start:1px solid var(--ppd-border); }
.ppd-fulfilment-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px; }
.ppd-fulfilment-badge {
  padding:3px 8px;
  background:var(--ppd-tint);
  border-radius:7px;
  color:var(--ppd-accent);
  font-size:.875rem;
  font-weight:750;
  line-height:1.35;
  white-space:nowrap;
}
.ppd-fulfilment-card p { margin:4px 0 0; }
.ppd-fulfilment-card address { margin:2px 0 0; font-style:normal; }
.ppd-fulfilment-card bdi { white-space:nowrap; }
.ppd-fulfilment-time { display:flex; gap:6px; align-items:flex-start; }
.ppd-fulfilment-time svg { flex:none; margin-block-start:.22em; color:var(--ppd-accent); }

/* The cart has a subtotal, but no final total until delivery is chosen. */
.pp-totals .ppd-cart-shipping-note {
  margin-block-start: var(--pp-sp-3, 12px);
  padding-block-start: var(--pp-sp-4, 16px);
  border-block-start: 1px solid var(--pp-line, #dbe3ee);
  gap: .75rem;
  align-items: start;
  font-size: var(--pp-fs-sm, .9rem);
}
.ppd-cart-shipping-note .pp-totals__value {
  min-inline-size: 0;
  color: var(--pp-muted, #536580);
  font-size: inherit;
  font-weight: 600;
  line-height: 1.45;
  text-align: end;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Quantity feedback stays with the affected item, including on mobile. */
.ppd-qty-notice {
  display:block;
  grid-column:1 / -1;
  margin:0 0 8px;
  padding:8px 12px;
  border-radius:8px;
  background:#fcecf0;
  color:#8d1630;
  font-size:.875rem;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.ppd-qty-notice:empty {
  position:absolute;
  inline-size:1px;
  block-size:1px;
  overflow:hidden;
  clip-path:inset(50%);
  padding:0;
  margin:0;
}
.ppd-cart-quantity-busy { opacity:.75; }
.ppd-review-qty {
  display:inline-flex;
  align-items:center;
  justify-self:end;
  gap:3px;
  direction:ltr;
  white-space:nowrap;
}
.ppd-review-qty button { display:none; }
.ppd-quantity-enhanced .ppd-review-qty:has(button) .ppd-qty-times { display:none; }
.ppd-quantity-enhanced .ppd-review-qty button {
  display:inline-grid;
  place-items:center;
  min-inline-size:44px;
  min-block-size:44px;
  padding:0;
  border:1px solid var(--pp-line,#dbe3ee);
  border-radius:8px;
  background:#fff;
  color:var(--pp-navy,#173451);
  font-family:inherit;
  font-size:1.125rem;
  font-weight:600;
  line-height:1;
  cursor:pointer;
}
.ppd-review-qty button:disabled { opacity:.45; cursor:default; }
.ppd-review-qty button:focus-visible { outline:2px solid #17417c; outline-offset:2px; }
.ppd-review-qty-value { min-inline-size:1.5em; text-align:center; font-variant-numeric:tabular-nums; }
.ppd-quantity-enhanced .pp-summary__name { overflow-wrap:anywhere; }
[data-ppd-qty-busy] [data-ppd-next], [data-ppd-qty-busy] #place_order { opacity:.65; cursor:wait; }
@media(max-width:560px) {
  .ppd-quantity-enhanced .pp-summary__row:has(.ppd-review-qty button) {
    grid-template-columns:56px minmax(0, 1fr);
    row-gap:4px;
  }
  .ppd-quantity-enhanced .ppd-review-qty:has(button) { grid-column:2; justify-self:start; }
}
