@media (max-width: 767px) {
  html,
  body,
  main {
    max-width: 100%;
  }

  main {
    overflow-x: clip;
  }

  #actions {
    padding-bottom: 0 !important;
  }

  #actions .container:nth-of-type(2) {
    padding-bottom: 0 !important;
  }

  .action-showcase-section {
    overflow: hidden !important;
    padding-bottom: 0 !important;
  }

  .action-showcase-tabs {
    margin-bottom: 1.35rem !important;
  }

  .action-showcase-visual,
  .action-screen-shell {
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
    contain: none !important;
  }

  .action-showcase-visual {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 0 !important;
  }

  .action-showcase-panel,
  .action-showcase-panel.active,
  .action-showcase-panel.leaving {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
  }

  .action-showcase-panel:not(.active) {
    display: none !important;
  }

  .action-showcase-panel.active {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .action-video-shell,
  .action-tab-video {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
  }

  .action-video-shell mux-player,
  .action-tab-video mux-player {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: contain !important;
    --media-object-fit: contain;
    --video-object-fit: contain;
  }

  #customisable-widget {
    margin-top: 0 !important;
    padding-top: 1.75rem !important;
  }

  .widget-feature-grid {
    display: block !important;
    border-top: 1px solid rgba(255, 255, 255, .12) !important;
  }

  .widget-feature-column {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    border-left: 0 !important;
  }

  .widget-feature-column + .widget-feature-column {
    border-left: 0 !important;
  }

  .widget-feature-cell,
  .widget-feature-column .widget-feature-cell {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 2rem 1.35rem !important;
    border-left: 0 !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
  }

  .widget-feature-cell h3,
  .widget-feature-column .widget-feature-cell h3 {
    font-size: 1.22rem !important;
    line-height: 1.25 !important;
  }

  .widget-feature-cell p,
  .widget-feature-column .widget-feature-cell p {
    font-size: .98rem !important;
    line-height: 1.55 !important;
  }

  .widget-pin-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .55rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .widget-pin-chip {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
    padding: 9px 10px !important;
    font-size: .82rem !important;
    white-space: nowrap !important;
  }

  .widget-order-track {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .55rem !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 1.55rem 0 0 !important;
    overflow: hidden !important;
    transform: none !important;
  }

  .order-action,
  .order-action:nth-child(1),
  .order-action:nth-child(2),
  .order-action:nth-child(3) {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 48px !important;
    padding: 0 .35rem !important;
    transform: none !important;
    animation: none !important;
    font-size: .82rem !important;
    line-height: 1.05 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .theme-feature .theme-cycle,
  .theme-feature .theme-preview,
  .theme-feature .theme-bar,
  .widget-count-demo,
  .widget-dropdown-demo {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .theme-feature .theme-bar {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(0, 1fr) !important;
  }

  .theme-feature .theme-bar span {
    min-width: 0 !important;
    padding-inline: .55rem !important;
    font-size: .78rem !important;
  }

  .custom-actions-layout,
  .ai-builder-layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .custom-action-stage,
  .ai-builder-stage {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin-top: .75rem !important;
    overflow: hidden !important;
  }

  .custom-action-panel,
  .custom-action-panel.active,
  .ai-builder-panel,
  .ai-builder-panel.active {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
  }

  .custom-action-panel:not(.active),
  .ai-builder-panel:not(.active) {
    display: none !important;
  }

  .custom-action-panel.active,
  .ai-builder-panel.active {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .custom-action-video,
  .ai-builder-video,
  .ai-builder-video-shell {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .custom-action-video,
  .ai-builder-video-shell {
    aspect-ratio: 4 / 3 !important;
  }

  .custom-action-image,
  .custom-action-video mux-player,
  .ai-builder-video mux-player,
  .ai-builder-video-shell mux-player,
  .ai-builder-stage mux-player,
  .custom-action-stage mux-player {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: contain !important;
    border-radius: 14px !important;
    --media-object-fit: contain;
    --video-object-fit: contain;
  }
}

@media (max-width: 767px) {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  img,
  video,
  iframe,
  mux-player {
    max-width: 100%;
  }

  #actions,
  #actions.section-sm,
  #actions .container:nth-of-type(2),
  .action-showcase-section,
  .action-showcase-visual,
  .action-screen-shell {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .action-screen-shell {
    min-height: 0 !important;
  }

  .action-showcase-panel:not(.active),
  .action-showcase-panel.leaving:not(.active) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
  }

  .action-showcase-panel.active {
    height: auto !important;
    min-height: 0 !important;
  }

  .action-video-shell,
  .action-tab-video,
  mux-player.action-tab-video,
  .action-video-shell > mux-player {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: contain !important;
    object-position: center center !important;
    overflow: hidden !important;
    --media-object-fit: contain !important;
    --video-object-fit: contain !important;
  }

  #customisable-widget,
  #customisable-widget.section-sm {
    margin-top: 0 !important;
    padding-top: .75rem !important;
  }

  .widget-order-track {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-items: stretch !important;
    overflow: hidden !important;
  }

  .order-action,
  .order-action:nth-child(1),
  .order-action:nth-child(2),
  .order-action:nth-child(3) {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #customize .custom-action-stage,
  #ai-actions .ai-builder-stage,
  #ai-actions .custom-action-stage,
  #ai-actions .custom-action-panel,
  #ai-actions .ai-builder-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  #customize .custom-action-panel:not(.active),
  #ai-actions .custom-action-panel:not(.active),
  #ai-actions .ai-builder-panel:not(.active) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
  }

  #customize .custom-action-panel.active,
  #ai-actions .custom-action-panel.active,
  #ai-actions .ai-builder-panel.active {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  #ai-actions .action-video-shell,
  #ai-actions .ai-builder-video,
  #ai-actions .ai-builder-video-shell,
  #ai-actions .custom-action-video,
  #customize .custom-action-video {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    margin-inline: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 14px !important;
  }

  #ai-actions .action-video-shell > mux-player,
  #ai-actions mux-player.ai-builder-video,
  #ai-actions .ai-builder-video-shell mux-player,
  #ai-actions .custom-action-video mux-player,
  #customize .custom-action-video mux-player,
  #customize .custom-action-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: contain !important;
    object-position: center center !important;
    --media-object-fit: contain !important;
    --video-object-fit: contain !important;
  }
}
