/* Visual-only checkout polish. Layout, content and interactions stay original. */
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-container {
  box-shadow:0 4px 18px rgba(15,23,42,.07)!important;
}
.rp-cart-modal:not(.is-non-restaurant-flow) .form-section,
.rp-cart-modal:not(.is-non-restaurant-flow) .section-header,
.rp-cart-modal:not(.is-non-restaurant-flow) .section-body,
.rp-cart-modal:not(.is-non-restaurant-flow) .form-section[data-section="orderType"] .section-body,
.rp-cart-modal:not(.is-non-restaurant-flow) .form-section.is-guided-target .section-header,
.rp-cart-modal:not(.is-non-restaurant-flow) .form-section.is-guided-target .section-body,
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-items-section,
.rp-cart-modal:not(.is-non-restaurant-flow) .items-header,
.rp-cart-modal:not(.is-non-restaurant-flow) .items-list,
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-summary,
.rp-cart-modal:not(.is-non-restaurant-flow) .edit-link {
  background:#fff;box-shadow:none;backdrop-filter:none;
}
.rp-cart-modal:not(.is-non-restaurant-flow) .form-section.is-guided-target {
  box-shadow:none;
}
.rp-cart-modal:not(.is-non-restaurant-flow) .section-header:hover,
.rp-cart-modal:not(.is-non-restaurant-flow) .edit-link:hover {
  background:#f9fafb;
}
/* Background menu controls must not cover an open checkout. */
body.rp-cart-modal-open .rp-mobile-order-bar {
  display:none!important;
}

/* Chat sets inline !important visibility; clipping also prevents pointer hits. */
body.rp-cart-modal-open #rp-chat-widget-main {clip-path:inset(50%)!important}

/* One cart frame; spend the inner width on readable item details. */
.rp-cart-modal:not(.is-non-restaurant-flow) .items-header {
  margin:0;padding:12px 12px 10px;border:0;border-bottom:1px solid #e5e7eb;border-radius:0;
}
.rp-cart-modal:not(.is-non-restaurant-flow) .items-list {
  margin:0;padding:4px 12px 2px;border:0;border-radius:0;
}
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-item {border-radius:0}
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-item + .cart-item {border-top:1px solid #e5e7eb}
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-item-addons--priced .cart-item-addon-row--structured {column-gap:8px}
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-item-addons--recipe [data-pizza-section="recipe"] {
  border:0;border-radius:0;background:transparent;padding:8px 0;margin:5px 0 2px;
}
.rp-cart-modal:not(.is-non-restaurant-flow) .rp-online-tip {
  margin:0;padding:14px 12px;border:0;border-top:1px solid #e5e7eb;border-radius:0;
}
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-summary {
  margin:0;padding:14px 12px;border:0;border-top:1px solid #e5e7eb;border-radius:0;
}
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-summary-actions {margin:0;padding:12px;border-radius:0}
@media(max-width:480px) {
  .rp-cart-modal:not(.is-non-restaurant-flow) .items-header {padding-left:10px;padding-right:10px}
  .rp-cart-modal:not(.is-non-restaurant-flow) .items-list {padding-left:10px;padding-right:10px}
  .rp-cart-modal:not(.is-non-restaurant-flow) .rp-online-tip,
  .rp-cart-modal:not(.is-non-restaurant-flow) .cart-summary,
  .rp-cart-modal:not(.is-non-restaurant-flow) .cart-summary-actions {padding-left:10px;padding-right:10px}
}

/* Recipe lines use the same compact typography as the existing offer lines. */
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-item-addons--recipe .cart-item-addon-section {
  gap:1px;padding-top:4px;
}
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-item-addons--recipe .cart-item-addon-section-title {
  font-size:11px;font-weight:800;line-height:1.1;letter-spacing:.06em;
}
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-item-addons--recipe .cart-item-addon-row--structured {
  padding:1px 0;line-height:1.2;
}
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-item-addons--recipe .cart-item-addon-name,
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-item-addons--recipe [data-pizza-section="recipe"] .cart-item-addon-name {
  font-size:11px;line-height:1.28;
}
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-item-addons--recipe .cart-item-addon-price {
  font-size:11px;line-height:1.28;
}
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-item-addons--recipe [data-pizza-section="recipe"] {
  padding:4px 0 0;margin:0;
}
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-item-addons--recipe .cart-item-price-basis {
  margin:3px 0 4px;font-size:11px;line-height:1.28;
}
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-item-addons--recipe [data-pizza-section="extra_cheese"] .cart-item-addon-name::before,
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-item-addons--recipe [data-pizza-section="add_toppings"] .cart-item-addon-name::before,
.rp-cart-modal:not(.is-non-restaurant-flow) .cart-item-addons--recipe [data-pizza-section="remove"] .cart-item-addon-name::before {
  content:"-- ";font-weight:500;white-space:pre;
}
