/* A+ customer surfaces, presentation only
 * Apply aya-aplus-storefront to <html> and load after each page's existing CSS
 * Fuller circular fallback; supporting browsers use the preview's p=2.4 curve
 * Deliberately not global: circles, pills, full-screen dialogs, print layout,
 * logo geometry, tool buttons and native selection affordances stay unchanged
 */
@media screen {
  .aya-aplus-storefront {
    --aya-aplus-card: 24px;
    --aya-aplus-control: 16px;
    --aya-aplus-inset: 14px;
    --aya-aplus-small: 10px;
  }
  .aya-aplus-storefront :is(.product-card,.home-category,.branch-choice,.customer-order-card) {
    border-radius: var(--aya-aplus-card);
  }
  .aya-aplus-storefront :is(.shop-notice,.inline-delivery-row,.saved-basket-tools,.review-compact .review-details,.customer-older-order>summary,.customer-order-service,.confirmation-note,.draft-text) {
    border-radius: var(--aya-aplus-inset);
  }
  .aya-aplus-storefront :is(.product-card-actions button,.add-product,.button:not(.icon-button):not(.back-control),.order-context>button,.location-use,.saved-basket-actions button,.customer-order-nav button,.customer-order-footer .customer-return-shop) {
    border-radius: var(--aya-aplus-control);
  }
  .aya-aplus-storefront :is(.search-field,.category-select select,.category-chip,.inline-delivery-row select,.form-input,.item-notes,.choice-row,.quantity-control,.checkout-compact .form-input,.checkout-compact .checkout-map-link summary,.checkout-compact .checkout-calendar>summary,.service-switch label,.order-receipt-options) {
    border-radius: var(--aya-aplus-small);
  }
  .aya-aplus-storefront .review-compact .review-totals .grand {
    border-radius: var(--aya-aplus-inset);
  }
  /* Standalone account and privacy pages share this shell */
  .aya-aplus-storefront .account-shell {
    border-radius: 32px;
  }
  .aya-aplus-storefront .account-shell :is(button:not(#google-button button),#return) {
    border-radius: var(--aya-aplus-control);
  }
  .aya-aplus-storefront .account-shell :is(input:not([type="checkbox"]):not([type="radio"]),textarea) {
    border-radius: var(--aya-aplus-small);
  }
  .aya-aplus-storefront .account-shell :is(fieldset,#orders article,#status) {
    border-radius: var(--aya-aplus-inset);
  }
  /* Receipt and payment result pages: scope by their distinctive child */
  .aya-aplus-storefront[data-aya-aplus-page="payment"] main {
    border-radius: 28px;
  }
  .aya-aplus-storefront :is(.fulfillment,.service-card,.test-note,.receipt-alert p:not([hidden])) {
    border-radius: var(--aya-aplus-inset);
  }
  .aya-aplus-storefront .actions :is(button,a.button) {
    border-radius: var(--aya-aplus-control);
  }
  @supports (corner-shape: superellipse(1.263034406)) {
    .aya-aplus-storefront :is(
      .product-card,.home-category,.branch-choice,.customer-order-card,
      .shop-notice,.inline-delivery-row,.saved-basket-tools,
      .review-compact .review-details,.customer-older-order>summary,
      .customer-order-service,.confirmation-note,.draft-text,
      .product-card-actions button,.add-product,
      .button:not(.icon-button):not(.back-control),.order-context>button,
      .location-use,.saved-basket-actions button,.customer-order-nav button,
      .customer-order-footer .customer-return-shop,.search-field,
      .category-select select,.category-chip,.inline-delivery-row select,
      .form-input,.item-notes,.choice-row,.quantity-control,
      .checkout-compact .checkout-map-link summary,
      .checkout-compact .checkout-calendar>summary,.service-switch label,
      .order-receipt-options,.review-compact .review-totals .grand,
      .account-shell,.account-shell button:not(#google-button button),.account-shell #return,
      .account-shell input:not([type="checkbox"]):not([type="radio"]),.account-shell textarea,.account-shell fieldset,
      .account-shell #orders article,.account-shell #status,
      main[data-state],.fulfillment,.service-card,.test-note,
      .receipt-alert p:not([hidden]),.actions button,.actions a.button
    ) { corner-shape: superellipse(1.263034406); }
  }
}
