/* Shared cart presentation; saved appearance variables remain authoritative. */
.order-form-page .of-services-layout.has-order-summary { grid-template-columns: minmax(0, 1fr) !important; }
.order-form-page .of-services-layout > .of-cart-bar { order: -1; position: static; width: 100%; min-width: 0; display: flex; align-items: flex-start; gap: 16px; padding: 14px 18px; border: 1px solid var(--of-navigation-border-color, #d4ddfb); border-radius: 18px; background: var(--of-content-panel-background-color, #fff); box-shadow: 0 5px 18px rgba(35, 44, 90, .05); }
.order-form-page .of-cart-review { flex: 1; min-width: 0; }
.order-form-page .of-cart-review > summary { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; list-style: none; }
.order-form-page .of-cart-review > summary::-webkit-details-marker { display: none; }
.order-form-page .of-cart-review > summary:focus-visible { outline: 3px solid var(--of-field-focus-color, #4d5bff); outline-offset: 4px; border-radius: 10px; }
.order-form-page .of-cart-bar-icon { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 12px; background: var(--of-success-background-color, #e9faf2); color: var(--of-success-color, #0b9568); font-weight: 700; }
.order-form-page .of-cart-bar-copy { display: grid; gap: 4px; color: var(--of-body-text-color, #151a31); }
.order-form-page .of-cart-bar-copy > span { font-size: 13px; color: var(--of-muted-text-color, #56658f); }
.order-form-page .of-cart-review-label { margin-left: auto; white-space: nowrap; font-size: 13px; font-weight: 650; color: var(--of-service-tab-accent-color, #4d5bff); }
.order-form-page .of-cart-chevron { display: inline-block; margin-left: 7px; }
.order-form-page .of-cart-review[open] .of-cart-chevron { transform: rotate(180deg); }
.order-form-page .of-cart-review-content { margin-top: 16px; }
.order-form-page .of-cart-review-content > .of-checkout-summary { border: 0; padding: 0; box-shadow: none; background: transparent; }
.order-form-page .of-cart-review-content .of-summary-card-head { display: none; }
.order-form-page .of-cart-review-content .of-summary-list { max-height: none; overflow: visible; }
.order-form-page .of-cart-review-content .of-summary-item { padding: 12px 0; border: 0; border-bottom: 1px solid var(--of-navigation-border-color, #d4ddfb); background: transparent; border-radius: 0; }
.order-form-page .of-cart-review-content .of-summary-item-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.order-form-page .of-cart-review-content .of-summary-item-head { display: grid; gap: 4px; }
.order-form-page .of-cart-review-content .of-cart-item-quantity { font-size: 12px; color: var(--of-muted-text-color, #56658f); font-weight: 500; }
.order-form-page .of-cart-review-content .of-summary-item-side { display: flex; align-items: center; gap: 14px; }
.order-form-page .of-cart-review-content .of-summary-remove { width: auto; height: 36px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--of-muted-text-color, #56658f); font-size: 12px; font-weight: 600; }
.order-form-page .of-cart-review-content .of-summary-remove:hover { background: var(--of-soft-panel-background-color, #f4f5ff); color: var(--of-body-text-color, #151a31); }
@media(max-width: 600px) {
  .order-form-page .of-services-layout > .of-cart-bar { flex-wrap: wrap; gap: 12px; padding: 12px; }
  .order-form-page .of-cart-review { flex-basis: 100%; }
  .order-form-page .of-cart-review-content .of-summary-item-top { align-items: flex-start; gap: 10px; }
  .order-form-page .of-cart-review-content .of-summary-item-side { flex-direction: column; align-items: flex-end; gap: 4px; }
}
/* Override the legacy icon-only remove treatment in the default theme. */
.order-form-page .of-cart-bar .of-cart-review .of-cart-review-content .of-summary-remove { width: auto; min-width: 64px; height: 36px; padding: 0 10px; font-size: 12px; background: transparent; border: 0; }
.order-form-page .of-cart-bar .of-cart-review .of-cart-review-content .of-summary-remove::before { display: none; content: none; }
.order-form-page .of-cart-review-content .of-summary-item-copy { min-width: 0; }
.order-form-page .of-cart-item-includes { margin: 6px 0 0; font-size: 12px; line-height: 1.5; font-weight: 400; color: var(--of-muted-text-color, #56658f); overflow-wrap: anywhere; }
.order-form-page .of-cart-item-includes > span { font-weight: 650; }

/* Give final prices and removal a stable column on narrow screens. */
.order-form-page .of-cart-review-content .of-summary-item-copy { flex: 1 1 0; }
.order-form-page .of-cart-review-content .of-summary-item-side { flex: 0 0 auto; min-width: 72px; }
.order-form-page .of-cart-bar .of-cart-review .of-cart-review-content .of-summary-remove { min-width: 72px; white-space: nowrap; overflow-wrap: normal; word-break: normal; }

/* List cards need enough room for option copy and the right-hand quantity control. */
.order-form-page:is(.of-order-form-layout, .of-miami-luxe):not(.of-custom-appearance-colors) .of-product-grid-list .of-product-variant-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 8px;
}
.order-form-page:is(.of-order-form-layout, .of-miami-luxe):not(.of-custom-appearance-colors) .of-product-grid-list .of-product-variant-options > :is(.of-product-variant-option, .of-product-variant-inline) {
  min-width: 0;
  width: 100%;
  min-height: 94px;
}
.order-form-page:is(.of-order-form-layout, .of-miami-luxe):not(.of-custom-appearance-colors) .of-product-grid-list .of-product-variant-inline .of-product-variant-option {
  padding-right: 108px;
}
