/* PandaPOS — mobile/tablet corrections 06 Oct 2026
 * Loaded after main.css by t-pandapos.php.
 * Scope: PandaPOS only. No desktop changes above 991px.
 */

@media screen and (max-width: 991px) {
  .c-pandapos-page,
  .c-pandapos-page section,
  .c-pandapos-page .o-container {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Pricing: always one panel under the other on tablet/mobile. */
  .c-pandapos-page .c-pandapos-pricing,
  .c-pandapos-page .c-pandapos-stats {
    width: 100%;
    max-width: 100%;
  }

  .c-pandapos-page .c-pandapos-pricing__row {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    min-height: 0 !important;
  }

  .c-pandapos-page .c-pandapos-pricing__panel {
    flex: 0 0 auto;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: clamp(54px, 8vw, 90px) clamp(24px, 6vw, 64px);
    box-sizing: border-box;
  }

  .c-pandapos-page .c-pandapos-pricing__content,
  .c-pandapos-page .c-pandapos-pricing__content.-price-content,
  .c-pandapos-page .c-pandapos-pricing__content.-included-content,
  .c-pandapos-page .c-pandapos-pricing__content.-rate-copy,
  .c-pandapos-page .c-pandapos-pricing__content.-rate-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .c-pandapos-page .c-pandapos-pricing__title,
  .c-pandapos-page .c-pandapos-pricing__rate-label {
    max-width: 100%;
    font-size: clamp(2.7rem, 7.5vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -.035em;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }

  .c-pandapos-page .c-pandapos-pricing__title {
    margin: 0 auto clamp(40px, 7vw, 70px);
  }

  .c-pandapos-page .c-pandapos-pricing__value {
    max-width: 100%;
    font-size: clamp(2.6rem, 8.4vw, 4.7rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    white-space: normal;
  }

  .c-pandapos-page .c-pandapos-pricing__rate {
    font-size: clamp(4rem, 11vw, 6rem);
    line-height: 1;
  }

  .c-pandapos-page .c-pandapos-pricing__included {
    width: 100%;
    font-size: clamp(1rem, 2.5vw, 1.22rem);
    line-height: 1.42;
    gap: 18px;
  }

  .c-pandapos-page .c-pandapos-pricing__included li {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  .c-pandapos-page .c-pandapos-pricing__check { font-size: 1.35rem; }
  .c-pandapos-page .c-pandapos-pricing__text {
    max-width: 100%;
    font-size: clamp(1.12rem, 2.6vw, 1.35rem);
    overflow-wrap: normal;
  }
}

@media screen and (max-width: 699px) {
  /* Hero: PandaPos was wider than the viewport. */
  .c-pandapos-page .c-pandapos-hero {
    min-height: auto !important;
    padding: 105px 0 68px !important;
    overflow: hidden;
  }

  .c-pandapos-page .c-pandapos-hero__inner,
  .c-pandapos-page .c-pandapos-hero__copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .c-pandapos-page .c-pandapos-hero__eyebrow {
    max-width: 100%;
    margin-bottom: 20px;
    font-size: clamp(2.9rem, 13vw, 3.65rem);
    line-height: .95;
  }

  .c-pandapos-page .c-pandapos-hero__title {
    width: 100%;
    max-width: calc(100vw - 40px);
    margin: 0 auto 42px;
    font-size: clamp(3.15rem, 15vw, 3.75rem) !important;
    line-height: .9;
    letter-spacing: -.055em;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }

  .c-pandapos-page .c-pandapos-hero__intro {
    width: 100%;
    max-width: calc(100vw - 44px);
    font-size: clamp(2.3rem, 10.8vw, 2.8rem);
    line-height: 1.02;
    letter-spacing: -.035em;
  }

  .c-pandapos-page .c-pandapos-hero__visual {
    width: 100%;
    max-width: 100%;
    min-height: 150px;
    margin-top: 48px;
  }

  .c-pandapos-page .c-pandapos-hero__image {
    width: min(290px, 78vw);
    max-width: 100%;
  }

  /* Intro: "Notre solution de commerce…" */
  .c-pandapos-page .c-pandapos-intro {
    padding: 70px 0 82px;
  }

  .c-pandapos-page .c-pandapos-intro__title {
    max-width: calc(100vw - 40px);
    margin: 0 auto 34px;
    font-size: clamp(2.25rem, 10vw, 2.75rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em;
    text-wrap: balance;
  }

  .c-pandapos-page .c-pandapos-intro__underline {
    white-space: normal;
  }

  /* Overview: reduce the large empty gap above "Obtenez une vue…". */
  .c-pandapos-page .c-pandapos-overview {
    padding-top: 42px !important;
    padding-bottom: 100px;
  }

  .c-pandapos-page .c-pandapos-overview__head {
    margin-bottom: 62px;
  }

  .c-pandapos-page .c-pandapos-overview__title {
    max-width: calc(100vw - 40px);
    font-size: clamp(2.35rem, 10.5vw, 2.9rem) !important;
    line-height: 1.02 !important;
    text-wrap: balance;
  }

  .c-pandapos-page .c-pandapos-overview__curve {
    margin-top: 28px;
  }

  /* "Voyez si PandaPos…" black CTA — keep inside viewport. */
  .c-pandapos-page .c-pandapos-black-cta__title {
    max-width: calc(100vw - 44px);
    font-size: clamp(2.45rem, 10.8vw, 3rem) !important;
    line-height: 1.04 !important;
    white-space: normal !important;
    text-wrap: balance;
  }

  /* Pricing / percentages: one full-width card at a time. */
  .c-pandapos-page .c-pandapos-pricing__panel {
    padding: 52px 24px !important;
  }

  .c-pandapos-page .c-pandapos-pricing__title,
  .c-pandapos-page .c-pandapos-pricing__rate-label {
    font-size: clamp(2.35rem, 10vw, 3.05rem) !important;
    line-height: 1.04 !important;
  }

  .c-pandapos-page .c-pandapos-pricing__title {
    margin-bottom: 42px !important;
  }

  .c-pandapos-page .c-pandapos-pricing__value {
    font-size: clamp(2.25rem, 9.5vw, 3rem) !important;
  }

  .c-pandapos-page .c-pandapos-pricing__rate {
    font-size: clamp(3.45rem, 15vw, 5rem) !important;
  }

  .c-pandapos-page .c-pandapos-pricing__included {
    font-size: 1rem;
    gap: 17px;
  }

  /* "Vous êtes entre de bonnes mains…" */
  .c-pandapos-page .c-pandapos-benefits {
    padding-top: 88px;
    padding-bottom: 92px;
  }

  .c-pandapos-page .c-pandapos-benefits__head {
    width: 100%;
    max-width: 100%;
    margin-bottom: 60px;
  }

  .c-pandapos-page .c-pandapos-benefits__head h2 {
    max-width: calc(100vw - 44px);
    margin: 0 auto 38px;
    font-size: clamp(2.35rem, 10.2vw, 2.9rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -.035em;
    text-wrap: balance;
  }

  /* Prevent component transforms/absolute children from widening the document. */
  .c-pandapos-page .c-pandapos-discovery,
  .c-pandapos-page .c-pandapos-story,
  .c-pandapos-page .c-pandapos-overview,
  .c-pandapos-page .c-pandapos-black-cta,
  .c-pandapos-page .c-pandapos-stats,
  .c-pandapos-page .c-pandapos-benefits,
  .c-pandapos-page .c-pandapos-final-wrap {
    width: 100%;
    max-width: 100%;
  }
}
