/* =========================================================
   FULFILIX RESTAURANT MANAGEMENT — MOBILE EXPERIENCE
   Load AFTER restaurant.css and inline page styles.
   Desktop styles above 1024px remain untouched.
   ========================================================= */

@media (max-width: 1024px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background: #08080c;
  }

  body .container,
  body .product-hero-container,
  body .alt-feature-inner,
  body .automation-inner,
  body .inquiry-inner {
    width: min(100% - 36px, 760px) !important;
    max-width: 760px !important;
    margin-inline: auto !important;
  }

  /* ---------- Hero ---------- */
  body .product-hero {
    padding: 150px 0 72px !important;
    min-height: auto !important;
    overflow: hidden !important;
  }

  body .product-hero-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 42px !important;
    align-items: center !important;
  }

  body .product-hero-content {
    max-width: 680px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  body .product-hero-content .section-tag {
    margin-inline: auto !important;
  }

  body .product-hero-content h1 {
    max-width: 680px !important;
    margin: 18px auto 0 !important;
    font-size: clamp(42px, 7vw, 62px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.045em !important;
    text-wrap: balance !important;
  }

  body .product-hero-content > p {
    max-width: 640px !important;
    margin: 20px auto 0 !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
  }

  body .product-hero-cta.restaurant-hero-actions {
    justify-content: center !important;
    margin-top: 28px !important;
  }

  body .restaurant-management-hero-img {
    width: min(100%, 700px) !important;
    margin: 0 auto !important;
    min-height: 0 !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    transform: none !important;
  }

  body .restaurant-management-hero-img img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: inherit !important;
  }

  /* ---------- Features strip ---------- */
  body .features-strip {
    padding: 18px 0 !important;
  }

  body .features-strip-inner {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body .strip-item {
    min-width: 0 !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px 10px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
  }

  body .strip-item svg {
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
  }

  /* ---------- Restaurant feature cards ---------- */
  body .frx-features {
    padding: 82px 20px 62px !important;
  }

  body .frx-features .frx-header {
    margin-bottom: 42px !important;
  }

  body .frx-features .frx-title {
    font-size: clamp(38px, 6vw, 52px) !important;
    line-height: 1.1 !important;
  }

  body .frx-features .frx-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body .frx-features .frx-card {
    min-height: 220px !important;
    padding: 20px 15px !important;
    align-content: start !important;
  }

  body .frx-features .frx-icon {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 14px !important;
  }

  body .frx-features .restaurant-icons {
    display: block !important;
    width: 30px !important;
    height: 30px !important;
    object-fit: contain !important;
  }

  body .frx-features .frx-card-title {
    font-size: 14px !important;
    line-height: 1.28 !important;
  }

  body .frx-features .frx-card-desc {
    font-size: 11.5px !important;
    line-height: 1.5 !important;
  }

  body .frx-features .frx-banner {
    padding: 26px 28px !important;
    gap: 20px !important;
  }

  body .frx-features .frx-banner-icon {
    width: 110px !important;
    height: 110px !important;
  }

  body .frx-features .frx-banner-icon img {
    display: block !important;
    width: 100% !important;
    max-width: 110px !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  /* ---------- Alternating feature sections ---------- */
  body .alt-feature {
    padding: 82px 0 !important;
  }

  body .alt-feature-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  body .alt-feature-content {
    max-width: 680px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  body .alt-feature-content .section-tag {
    margin-inline: auto !important;
  }

  body .alt-feature-content h2 {
    font-size: clamp(34px, 5.8vw, 48px) !important;
    line-height: 1.08 !important;
    text-wrap: balance !important;
  }

  body .alt-feature-content > p {
    font-size: 15px !important;
    line-height: 1.75 !important;
  }

  body .alt-feature-list {
    width: min(100%, 580px) !important;
    margin: 24px auto !important;
    text-align: left !important;
  }

  body .alt-feature-content > .btn {
    margin-inline: auto !important;
  }

  body .alt-feature-visual {
    width: min(100%, 680px) !important;
    margin: 0 auto !important;
    min-height: 0 !important;
  }

  body .alt-feature-visual img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    border-radius: 22px !important;
  }

  /* ---------- How it works ---------- */
  body .how-it-works {
    padding: 82px 0 !important;
  }

  body .how-it-works .section-header {
    max-width: 680px !important;
    margin-inline: auto !important;
  }

  body .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body .step-card {
    min-height: 220px !important;
    padding: 24px 20px !important;
    border-radius: 18px !important;
  }

  /* ---------- Results / automation ---------- */
  body .automation-section {
    padding: 84px 0 !important;
  }

  body .automation-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  body .automation-text {
    max-width: 680px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  body .automation-text .section-tag {
    margin-inline: auto !important;
  }

  body .automation-text h2 {
    font-size: clamp(34px, 6vw, 48px) !important;
    line-height: 1.08 !important;
  }

  body .automation-text > p {
    max-width: 620px !important;
    margin-inline: auto !important;
  }

  body .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    max-width: 620px !important;
    margin-inline: auto !important;
  }

  body .automation-text > .btn {
    margin-inline: auto !important;
  }

  body .automation-visual {
    width: min(100%, 680px) !important;
    margin: 0 auto !important;
  }

  body .media-thumbnail,
  body .media-thumbnail img {
    width: 100% !important;
    height: auto !important;
  }

  body .media-thumbnail img {
    display: block !important;
    object-fit: cover !important;
    border-radius: 22px !important;
  }

  /* ---------- Pricing ---------- */
  body #pricing.rpx-pricing {
    padding: 88px 20px 78px !important;
  }

  body #pricing .rpx-head {
    margin-bottom: 30px !important;
  }

  body #pricing .rpx-cards {
    grid-template-columns: 1fr !important;
    max-width: 560px !important;
  }

  body #pricing .rpx-price-card {
    min-height: auto !important;
  }

  body #pricing .rpx-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 560px !important;
  }

  body #pricing .rpx-benefit:nth-child(3) {
    border-left: 0 !important;
  }

  body #pricing .rpx-benefit:nth-child(n+3) {
    border-top: 1px solid rgba(255,255,255,.08) !important;
  }

  /* ---------- CTA ---------- */
  body .cta-section {
    padding: 82px 0 !important;
  }

  body .cta-card {
    width: min(100%, 720px) !important;
    margin-inline: auto !important;
    padding: 44px 32px !important;
    border-radius: 24px !important;
  }

  body .cta-card h2 {
    font-size: clamp(34px, 6vw, 48px) !important;
    line-height: 1.08 !important;
  }

  /* ---------- Inquiry ---------- */
  body .inquiry-section {
    padding: 84px 0 !important;
  }

  body .inquiry-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  body .inquiry-copy {
    max-width: 680px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  body .inquiry-copy .section-tag {
    margin-inline: auto !important;
  }

  body .inquiry-copy h2 {
    font-size: clamp(34px, 6vw, 48px) !important;
    line-height: 1.08 !important;
  }

  body .side-list,
  body .inquiry-contacts {
    width: min(100%, 600px) !important;
    margin-inline: auto !important;
    text-align: left !important;
  }

  body .form-panel {
    width: min(100%, 680px) !important;
    margin-inline: auto !important;
  }

  body .fx-row {
    grid-template-columns: 1fr 1fr !important;
  }
}


@media (max-width: 767px) {

  html {
    scroll-behavior: smooth;
  }

  body {
    overflow-x: hidden !important;
  }

  body .container,
  body .product-hero-container,
  body .alt-feature-inner,
  body .automation-inner,
  body .inquiry-inner {
    width: calc(100% - 28px) !important;
    max-width: 560px !important;
  }

  /* ---------- Navbar: compact like homepage mobile ---------- */
  body .navbar {
    padding: 10px 12px 0 !important;
  }

  body .navbar .nav-shell,
  body .navbar.scrolled .nav-shell {
    min-height: 58px !important;
    height: 58px !important;
    padding: 0 10px 0 14px !important;
    border-radius: 17px !important;
    gap: 8px !important;
    background: rgba(249,248,252,.985) !important;
    border: 1px solid rgba(255,255,255,.96) !important;
    box-shadow:
      0 12px 32px -22px rgba(44,10,95,.78),
      inset 0 1px 0 rgba(255,255,255,1) !important;
  }

  body .navbar .nav-logo,
  body .navbar.scrolled .nav-logo {
    min-width: 0 !important;
    padding: 0 !important;
  }

  body .navbar .nav-logo img,
  body .navbar.scrolled .nav-logo img {
    width: 126px !important;
    max-width: 126px !important;
    height: 36px !important;
    object-fit: contain !important;
  }

  body .navbar .nav-links,
  body .navbar .nav-trial {
    display: none !important;
  }

  /* ---------- Hero ---------- */
  body .product-hero {
    padding: 104px 0 46px !important;
  }

  body .product-hero-container {
    gap: 26px !important;
  }

  body .product-hero-content .product-hero-tag,
  body .product-hero-content .section-tag {
    min-height: 30px !important;
    padding: 0 11px !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  body .product-hero-content h1 {
    margin-top: 14px !important;
    font-size: clamp(36px, 10.3vw, 48px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.052em !important;
  }

  body .product-hero-content > p {
    margin-top: 16px !important;
    font-size: 14px !important;
    line-height: 1.68 !important;
  }

  body .product-hero-cta.restaurant-hero-actions {
    width: 100% !important;
    max-width: 450px !important;
    margin: 22px auto 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
  }

  body .product-hero-cta.restaurant-hero-actions .btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 0 11px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
  }

  body .restaurant-signin-btn svg {
    width: 15px !important;
    height: 15px !important;
  }

  body .restaurant-management-hero-img {
    width: 100% !important;
    border-radius: 18px !important;
    box-shadow: 0 24px 54px -36px rgba(122, 70, 230, .72) !important;
  }

  body .restaurant-management-hero-img img {
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
  }

  /* ---------- Feature strip ---------- */
  body .features-strip {
    padding: 12px 0 18px !important;
  }

  body .features-strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body .strip-item {
    min-height: 48px !important;
    padding: 9px 8px !important;
    font-size: 9px !important;
    border-radius: 11px !important;
  }

  body .strip-item:last-child {
    grid-column: 1 / -1 !important;
  }

  /* ---------- 21 feature cards ---------- */
  body .frx-features {
    padding: 66px 14px 50px !important;
  }

  body .frx-features .frx-header {
    margin-bottom: 30px !important;
  }

  body .frx-features .frx-eyebrow {
    margin-bottom: 14px !important;
    padding: 6px 11px !important;
    font-size: 9px !important;
  }

  body .frx-features .frx-title {
    font-size: clamp(30px, 8.8vw, 40px) !important;
    line-height: 1.08 !important;
    text-wrap: balance !important;
  }

  body .frx-features .frx-title br {
    display: none !important;
  }

  body .frx-features .frx-subtitle {
    margin-top: 14px !important;
    max-width: 470px !important;
    font-size: 13.5px !important;
    line-height: 1.65 !important;
  }

  body .frx-features .frx-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    margin-bottom: 18px !important;
  }

  body .frx-features .frx-card {
    min-width: 0 !important;
    min-height: 190px !important;
    padding: 16px 10px !important;
    border-radius: 15px !important;
    transform: none !important;
  }

  body .frx-features .frx-card:hover {
    transform: none !important;
  }

  body .frx-features .frx-icon {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 11px !important;
    padding: 6px !important;
  }

  body .frx-features .restaurant-icons {
    width: 28px !important;
    height: 28px !important;
  }

  body .frx-features .frx-icon-badge {
    top: -4px !important;
    right: -4px !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 8px !important;
  }

  body .frx-features .frx-card-title {
    margin-bottom: 6px !important;
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body .frx-features .frx-card-desc {
    font-size: 10px !important;
    line-height: 1.48 !important;
  }

  body .frx-features .frx-banner {
    margin-top: 22px !important;
    padding: 22px 16px !important;
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 12px !important;
    border-radius: 18px !important;
  }

  body .frx-features .frx-banner-icon {
    width: 78px !important;
    height: 78px !important;
    grid-row: 1 / 3 !important;
  }

  body .frx-features .frx-banner-icon img {
    max-width: 78px !important;
  }

  body .frx-features .frx-banner-text {
    min-width: 0 !important;
  }

  body .frx-features .frx-banner-title {
    margin-bottom: 5px !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
  }

  body .frx-features .frx-banner-desc {
    font-size: 10.5px !important;
    line-height: 1.45 !important;
  }

  body .frx-features .frx-banner-actions {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  body .frx-features .frx-btn {
    width: 100% !important;
    min-height: 46px !important;
    justify-content: center !important;
    padding: 0 16px !important;
    font-size: 12px !important;
  }

  /* ---------- Alternating features ---------- */
  body .alt-feature {
    padding: 64px 0 !important;
  }

  body .alt-feature + .alt-feature {
    padding-top: 52px !important;
  }

  body .alt-feature-inner {
    gap: 24px !important;
  }

  body .alt-feature-content .section-tag {
    font-size: 9px !important;
  }

  body .alt-feature-content h2 {
    margin-top: 12px !important;
    font-size: clamp(30px, 8.6vw, 39px) !important;
    line-height: 1.08 !important;
  }

  body .alt-feature-content > p {
    margin-top: 14px !important;
    font-size: 13.5px !important;
    line-height: 1.66 !important;
  }

  body .alt-feature-list {
    margin: 20px auto !important;
    display: grid !important;
    gap: 8px !important;
  }

  body .alt-feature-list li {
    padding: 10px 11px !important;
    border: 1px solid rgba(154, 104, 246, .12) !important;
    border-radius: 11px !important;
    background: rgba(255,255,255,.018) !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  body .alt-feature-list li svg {
    width: 15px !important;
    height: 15px !important;
  }

  body .alt-feature-content > .btn {
    width: 100% !important;
    max-width: 440px !important;
  }

  body .alt-feature-visual {
    width: 100% !important;
  }

  body .alt-feature-visual img {
    border-radius: 17px !important;
  }

  /* ---------- How it works ---------- */
  body .how-it-works {
    padding: 66px 0 !important;
  }

  body .how-it-works .section-header h2 {
    font-size: clamp(30px, 8.5vw, 40px) !important;
    line-height: 1.08 !important;
  }

  body .how-it-works .section-header p {
    font-size: 13px !important;
  }

  body .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  body .step-card {
    min-height: 185px !important;
    padding: 18px 13px !important;
    border-radius: 15px !important;
  }

  body .step-num {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 14px !important;
  }

  body .step-card h4 {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  body .step-card p {
    font-size: 10.5px !important;
    line-height: 1.5 !important;
  }

  /* ---------- Results ---------- */
  body .automation-section {
    padding: 66px 0 !important;
  }

  body .automation-inner {
    gap: 26px !important;
  }

  body .automation-text h2 {
    font-size: clamp(30px, 8.6vw, 40px) !important;
  }

  body .automation-text > p {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
  }

  body .stats-row {
    margin-top: 22px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  body .stat-box {
    min-height: 105px !important;
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }

  body .stat-box-num {
    font-size: 28px !important;
  }

  body .stat-box-label {
    font-size: 9px !important;
  }

  body .automation-text > .btn {
    width: 100% !important;
    max-width: 440px !important;
  }

  /* ---------- Pricing ---------- */
  body #pricing.rpx-pricing {
    padding: 68px 14px 62px !important;
  }

  body #pricing .rpx-head {
    margin-bottom: 24px !important;
  }

  body #pricing .rpx-kicker {
    padding: 7px 12px !important;
    font-size: 9px !important;
  }

  body #pricing .rpx-head h2 {
    margin: 15px 0 10px !important;
    font-size: clamp(30px, 8.8vw, 40px) !important;
    line-height: 1.08 !important;
  }

  body #pricing .rpx-head p {
    font-size: 13px !important;
    line-height: 1.65 !important;
  }

  body #pricing .rpx-toggle-wrap {
    margin-bottom: 26px !important;
    gap: 8px !important;
  }

  body #pricing .rpx-toggle {
    width: 100% !important;
    max-width: 340px !important;
  }

  body #pricing .rpx-toggle button {
    min-height: 40px !important;
    padding: 0 12px !important;
    font-size: 11px !important;
  }

  body #pricing .rpx-save {
    font-size: 9px !important;
  }

  body #pricing .rpx-cards {
    max-width: 500px !important;
    gap: 12px !important;
  }

  body #pricing .rpx-price-card {
    min-height: 0 !important;
    padding: 20px 17px 17px !important;
    border-radius: 19px !important;
    transform: none !important;
  }

  body #pricing .rpx-price-card:hover {
    transform: none !important;
  }

  body #pricing .rpx-popular {
    top: 13px !important;
    right: 13px !important;
    padding: 5px 8px !important;
    font-size: 8px !important;
  }

  body #pricing .rpx-icon {
    width: 46px !important;
    height: 46px !important;
    margin-bottom: 14px !important;
    border-radius: 13px !important;
  }

  body #pricing .rpx-icon svg {
    width: 21px !important;
    height: 21px !important;
  }

  body #pricing .rpx-plan-head {
    min-height: 0 !important;
    margin-bottom: 15px !important;
    padding-bottom: 14px !important;
  }

  body #pricing .rpx-plan-head h3 {
    font-size: 15px !important;
  }

  body #pricing .rpx-plan-head p {
    font-size: 10.5px !important;
  }

  body #pricing .rpx-price-row {
    min-height: 44px !important;
    margin-bottom: 8px !important;
  }

  body #pricing .rpx-price-main {
    font-size: 29px !important;
  }

  body #pricing .rpx-price-cycle {
    font-size: 9px !important;
  }

  body #pricing .rpx-onboard {
    margin-bottom: 14px !important;
    padding: 9px 10px !important;
    font-size: 9px !important;
  }

  body #pricing .rpx-onboard strong {
    font-size: 9.5px !important;
  }

  body #pricing .rpx-features {
    gap: 7px !important;
    margin-bottom: 16px !important;
  }

  body #pricing .rpx-features li {
    font-size: 10px !important;
  }

  body #pricing .rpx-card-btn {
    min-height: 44px !important;
    font-size: 11px !important;
  }

  body #pricing .rpx-benefits {
    grid-template-columns: 1fr !important;
    max-width: 500px !important;
    margin-top: 14px !important;
    padding: 8px 12px !important;
    border-radius: 15px !important;
  }

  body #pricing .rpx-benefit {
    min-height: 58px !important;
    padding: 8px 5px !important;
  }

  body #pricing .rpx-benefit + .rpx-benefit {
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
  }

  /* ---------- CTA ---------- */
  body .cta-section {
    padding: 64px 0 !important;
  }

  body .cta-card {
    padding: 30px 17px !important;
    border-radius: 19px !important;
  }

  body .cta-card .section-tag {
    margin-bottom: 14px !important;
  }

  body .cta-card h2 {
    font-size: clamp(30px, 8.7vw, 40px) !important;
    line-height: 1.08 !important;
  }

  body .cta-card > p {
    font-size: 13px !important;
    line-height: 1.65 !important;
  }

  body .cta-buttons {
    width: 100% !important;
    max-width: 440px !important;
    margin: 20px auto 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body .cta-buttons .btn {
    width: 100% !important;
  }

  body .cta-note {
    font-size: 9px !important;
  }

  /* ---------- Inquiry ---------- */
  body .inquiry-section {
    padding: 66px 0 !important;
  }

  body .inquiry-inner {
    gap: 26px !important;
  }

  body .inquiry-copy .section-tag {
    font-size: 9px !important;
  }

  body .inquiry-copy h2 {
    margin-top: 12px !important;
    font-size: clamp(30px, 8.7vw, 40px) !important;
    line-height: 1.08 !important;
  }

  body .inquiry-copy > p {
    font-size: 13px !important;
    line-height: 1.65 !important;
  }

  body .side-list {
    margin-top: 18px !important;
    margin-bottom: 20px !important;
  }

  body .side-list li {
    font-size: 10.5px !important;
    line-height: 1.45 !important;
  }

  body .inquiry-contacts {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  body .inquiry-contact {
    padding: 12px !important;
    border-radius: 13px !important;
  }

  body .inquiry-contact strong {
    font-size: 11px !important;
  }

  body .form-panel {
    padding: 20px 15px !important;
    border-radius: 18px !important;
  }

  body .form-panel-head h2 {
    font-size: 21px !important;
    line-height: 1.2 !important;
  }

  body .form-panel-head p {
    font-size: 11px !important;
    line-height: 1.55 !important;
  }

  body .fx-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body .fx-label {
    font-size: 10px !important;
  }

  body .fx-input,
  body .fx-select,
  body .fx-textarea {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 13px !important;
  }

  body .fx-textarea {
    min-height: 120px !important;
  }

  body .fx-check {
    font-size: 9.5px !important;
    line-height: 1.5 !important;
  }

  body .fx-form-actions .btn {
    width: 100% !important;
  }

  /* ---------- Scroll top ---------- */
  body .scroll-top {
    right: 14px !important;
    bottom: 16px !important;
    width: 42px !important;
    height: 42px !important;
    z-index: 90 !important;
  }

  /* ---------- Mobile interaction cleanup ---------- */
  body .reveal-left,
  body .reveal-right,
  body .reveal {
    transform: none;
  }
}


@media (max-width: 420px) {
  body .container,
  body .product-hero-container,
  body .alt-feature-inner,
  body .automation-inner,
  body .inquiry-inner {
    width: calc(100% - 22px) !important;
  }

  body .product-hero {
    padding-top: 98px !important;
  }

  body .product-hero-content h1 {
    font-size: clamp(34px, 10.5vw, 42px) !important;
  }

  body .product-hero-cta.restaurant-hero-actions {
    grid-template-columns: 1fr !important;
  }

  body .features-strip-inner {
    grid-template-columns: 1fr !important;
  }

  body .strip-item:last-child {
    grid-column: auto !important;
  }

  body .frx-features {
    padding-inline: 11px !important;
  }

  body .frx-features .frx-grid {
    gap: 8px !important;
  }

  body .frx-features .frx-card {
    min-height: 184px !important;
    padding: 14px 9px !important;
  }

  body .frx-features .frx-card-title {
    font-size: 11.5px !important;
  }

  body .frx-features .frx-card-desc {
    font-size: 9.5px !important;
  }

  body .frx-features .frx-banner {
    grid-template-columns: 64px minmax(0,1fr) !important;
    padding: 18px 13px !important;
  }

  body .frx-features .frx-banner-icon {
    width: 64px !important;
    height: 64px !important;
  }

  body .frx-features .frx-banner-icon img {
    max-width: 64px !important;
  }

  body .steps-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  body .step-card {
    min-height: 172px !important;
    padding: 16px 11px !important;
  }

  body .stats-row {
    grid-template-columns: 1fr 1fr !important;
  }

  body #pricing .rpx-price-card {
    padding: 18px 15px 15px !important;
  }

  body .form-panel {
    padding: 18px 13px !important;
  }
}


@media (hover: none) and (pointer: coarse) {
  body .frx-features .frx-card:hover,
  body #pricing .rpx-price-card:hover {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .reveal,
  body .reveal-left,
  body .reveal-right,
  body .frx-card,
  body .rpx-price-card {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}


/* ===== ICON SIZE SAFETY PATCH ===== */
.frx-features .frx-icon > img.restaurant-icons {
  display:block !important;
  width:32px !important;
  height:32px !important;
  min-width:32px !important;
  min-height:32px !important;
  max-width:32px !important;
  max-height:32px !important;
  object-fit:contain !important;
  margin:0 !important;
  padding:0 !important;
  position:static !important;
  transform:none !important;
}

@media (max-width:767px) {
  .frx-features .frx-icon > img.restaurant-icons {
    width:28px !important;
    height:28px !important;
    min-width:28px !important;
    min-height:28px !important;
    max-width:28px !important;
    max-height:28px !important;
  }
}

/* =========================================================
   FULFILIX RESTAURANT — MOBILE COMPACTION / ALIGNMENT V3
   Mobile only:
   - fewer heading lines
   - hero + final CTA buttons stay 2-in-one-row
   - feature strip stays 2 columns on small phones
   - paired controls/buttons remain left/right
   - tighter spacing without touching desktop
   ========================================================= */

@media (max-width: 767px) {

  /* ---------- Global heading compaction ---------- */
  body .product-hero-content h1,
  body .frx-features .frx-title,
  body .alt-feature-content h2,
  body .how-it-works .section-header h2,
  body .automation-text h2,
  body #pricing .rpx-head h2,
  body .cta-card h2,
  body .inquiry-copy h2 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    text-wrap: balance !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    letter-spacing: -.045em !important;
  }

  /* Hero: reduce current 4-ish lines to about 3 */
  body .product-hero-content h1 {
    max-width: 390px !important;
    font-size: clamp(29px, 7.55vw, 33px) !important;
    line-height: 1.055 !important;
  }

  body .product-hero-content h1 .gradient-text {
    display: inline !important;
  }

  /* Powerful Features title: reduce wrapping */
  body .frx-features .frx-title {
    max-width: 430px !important;
    font-size: clamp(28px, 7.15vw, 32px) !important;
    line-height: 1.06 !important;
  }

  body .frx-features .frx-title br {
    display: none !important;
  }

  /* Alternating feature headings: target about 2 lines */
  body .alt-feature-content h2 {
    max-width: 430px !important;
    font-size: clamp(27px, 6.9vw, 31px) !important;
    line-height: 1.07 !important;
  }

  /* Short section headings: compact further */
  body .how-it-works .section-header h2,
  body .automation-text h2,
  body #pricing .rpx-head h2,
  body .inquiry-copy h2 {
    max-width: 440px !important;
    font-size: clamp(26px, 6.7vw, 30px) !important;
    line-height: 1.07 !important;
  }

  /* Final CTA: current 3 lines -> approximately 2 */
  body .cta-card h2 {
    max-width: 390px !important;
    font-size: clamp(27px, 7vw, 31px) !important;
    line-height: 1.06 !important;
  }

  /* ---------- Hero buttons: ALWAYS two on one row ---------- */
  body .product-hero-cta.restaurant-hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 22px auto 0 !important;
    align-items: stretch !important;
  }

  body .product-hero-cta.restaurant-hero-actions .btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 46px !important;
    padding: 0 8px !important;
    justify-content: center !important;
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  body .restaurant-signin-btn {
    gap: 5px !important;
  }

  body .restaurant-signin-btn svg {
    width: 14px !important;
    height: 14px !important;
    flex: 0 0 14px !important;
  }

  /* ---------- Feature strip: 2 items left/right per row ---------- */
  body .features-strip-inner {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
  }

  body .strip-item {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 9px 8px !important;
    justify-content: flex-start !important;
    text-align: left !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
  }

  body .strip-item:last-child {
    grid-column: 1 / -1 !important;
    width: calc(50% - 4px) !important;
    justify-self: center !important;
  }

  /* ---------- Final CTA buttons: two on same row ---------- */
  body .cta-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 20px auto 0 !important;
  }

  body .cta-buttons .btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 46px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    justify-content: center !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }

  /* ---------- Keep two-button pricing toggle aligned ---------- */
  body #pricing .rpx-toggle {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 340px !important;
  }

  body #pricing .rpx-toggle button {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* ---------- Pricing benefits: cleaner 2 x 2 mobile layout ---------- */
  body #pricing .rpx-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    max-width: 500px !important;
  }

  body #pricing .rpx-benefit {
    min-width: 0 !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    column-gap: 8px !important;
    min-height: 72px !important;
    padding: 9px 8px !important;
  }

  body #pricing .rpx-benefit:nth-child(odd) {
    border-left: 0 !important;
  }

  body #pricing .rpx-benefit:nth-child(even) {
    border-left: 1px solid rgba(255,255,255,.08) !important;
  }

  body #pricing .rpx-benefit:nth-child(n+3) {
    border-top: 1px solid rgba(255,255,255,.08) !important;
  }

  body #pricing .rpx-benefit-icon {
    width: 32px !important;
    height: 32px !important;
  }

  body #pricing .rpx-benefit-icon svg {
    width: 15px !important;
    height: 15px !important;
  }

  body #pricing .rpx-benefit strong {
    font-size: 9.5px !important;
    line-height: 1.25 !important;
  }

  body #pricing .rpx-benefit > span:last-child > span {
    font-size: 8px !important;
    line-height: 1.3 !important;
  }

  /* ---------- General compact button sizing ---------- */
  body .alt-feature-content > .btn,
  body .automation-text > .btn,
  body .frx-features .frx-btn,
  body #pricing .rpx-card-btn {
    min-height: 46px !important;
  }
}


/* Extra-small phones: keep the SAME two-column button/strip layout */
@media (max-width: 420px) {

  body .product-hero-content h1 {
    max-width: 360px !important;
    font-size: clamp(27px, 7.35vw, 30px) !important;
  }

  body .frx-features .frx-title {
    font-size: clamp(26px, 6.95vw, 29px) !important;
  }

  body .alt-feature-content h2,
  body .cta-card h2 {
    font-size: clamp(25px, 6.65vw, 28px) !important;
  }

  body .how-it-works .section-header h2,
  body .automation-text h2,
  body #pricing .rpx-head h2,
  body .inquiry-copy h2 {
    font-size: clamp(24px, 6.4vw, 27px) !important;
  }

  /* Override old 1-column rules */
  body .product-hero-cta.restaurant-hero-actions,
  body .cta-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  body .product-hero-cta.restaurant-hero-actions .btn,
  body .cta-buttons .btn {
    min-height: 44px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 9.5px !important;
  }

  body .features-strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  body .strip-item:last-child {
    grid-column: 1 / -1 !important;
    width: calc(50% - 3.5px) !important;
    justify-self: center !important;
  }

  body #pricing .rpx-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
