  /* =========================================================
     P3 — TARIFICATION HORS FORFAIT
     Djezzy Solutions — Minimal / Premium
     ========================================================= */

  .p3-pricing {
    background: linear-gradient(
      to bottom,
       #ffffff 0%,
      #f5f5f5 42%,
      #eaeaea 100%
    );

    padding: 46px 0 54px;
  }


  /* =========================================================
     HEADER
     ========================================================= */

  .p3-pricing .p2-section-hd {
    margin-bottom: 30px;
    text-align: center;
  }

  .p3-pricing .p2-section-hd__title {
    position: relative;

    display: inline-block;

    margin: 0 0 16px;
    padding-bottom: 15px;

    font-family:
      'Gotham',
      'Montserrat',
      'Cairo',
      sans-serif;

    font-size: clamp(26px, 4.5vw, 40px);
    font-weight: 800;

    line-height: 1.1;
    letter-spacing: -0.5px;

    text-transform: uppercase;

    color: #444;
  }

  .p3-pricing .p2-section-hd__title::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 52px;
    height: 3px;

    background: #E2001A;

    transform: translateX(-50%);
  }

  .p3-pricing .p2-section-hd__sub {
    max-width: 680px;

    margin: 0 auto;

    font-size: 11.5px;
    line-height: 1.7;

    color: #777;
  }


  /* =========================================================
     PRICING PANEL
     ========================================================= */

  .p3-pricing__panel {
    width: min(900px, 100%);

    margin: 0 auto;

    background: #ffffff;

    border-radius: 12px;

    box-shadow:
      0 3px 14px rgba(0, 0, 0, .08);

    overflow: hidden;
  }


  /* =========================================================
     TABLE
     ========================================================= */

  .p3-pricing__panel table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }
  .p3-pricing__panel table p {
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
  }


  /* =========================================================
     TABLE HEADER
     ========================================================= */

  .p3-pricing__panel table tr:first-child th,
  .p3-pricing__panel table tr:first-child td {
    padding: 15px 22px;

    background: #1a1a1a !important;

    color: #ffffff;

    font-family:
      'Gotham',
      'Montserrat',
      'Cairo',
      sans-serif;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .6px;

    text-transform: uppercase;

    text-align: left;

    border: 0;
  }

  .p3-pricing__panel table tr:first-child th:last-child,
  .p3-pricing__panel table tr:first-child td:last-child {
    text-align: right;
  }


  /* =========================================================
     BODY
     ========================================================= */

  .p3-pricing__panel table tbody tr:not(:first-child) {
    background: #ffffff;

    transition:
      background .2s ease;
  }

  .p3-pricing__panel table tbody tr:not(:first-child):nth-child(even) {
    background: #fafafa;
  }

  .p3-pricing__panel table tbody tr:not(:first-child):hover {
    background: #f8f8f8;
  }


  .p3-pricing__panel table tbody th,
  .p3-pricing__panel table tbody td {
    padding: 17px 22px;

    border: 0;

    border-bottom: 1px solid #e9e9e9;

    vertical-align: middle;
  }

  .p3-pricing__panel table tbody tr:last-child th,
  .p3-pricing__panel table tbody tr:last-child td {
    border-bottom: 0;
  }


  /* =========================================================
     SERVICE (COLUMN 1)
     ========================================================= */

  .p3-pricing__panel table tr:not(:first-child) td:first-child,
  .p3-pricing__panel table tr:not(:first-child) th:first-child {
    width: 31%;

    font-family:
      'Gotham',
      'Montserrat',
      'Cairo',
      sans-serif;

    font-size: 10.5px;
    font-weight: 800;

    line-height: 1.35;

    text-align: left;

    text-transform: uppercase;

    color: #222;
  }


  /* =========================================================
     TYPE / DESTINATION (COLUMN 2)
     ========================================================= */

  .p3-pricing__panel table tr:not(:first-child) td:nth-child(2),
  .p3-pricing__panel table tr:not(:first-child) th:nth-child(2) {
    width: 34%;

    font-size: 10.5px;

    line-height: 1.5;

    color: #666;

    text-align: left;
  }


  /* =========================================================
     TARIFF (COLUMN 3)
     ========================================================= */

  .p3-pricing__panel table tr:not(:first-child) td:last-child,
  .p3-pricing__panel table tr:not(:first-child) th:last-child {
    width: 35%;

    text-align: right;

    font-family:
      'Gotham',
      'Montserrat',
      'Cairo',
      sans-serif;

    font-size: 12px;

    font-weight: 800;

    line-height: 1.35;

    color: #E2001A;

    white-space: nowrap;
  }


  /* =========================================================
     CATALOGUE LINK
     ========================================================= */

  .p3-pricing__catalogue-link {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    color: #E2001A;

    text-decoration: none;

    font-weight: 800;

    border-bottom: 1px solid transparent;

    transition:
      gap .2s ease,
      border-color .2s ease;
  }

  .p3-pricing__catalogue-link:hover {
    gap: 8px;

    border-color: #E2001A;
  }

  .p3-pricing__catalogue-link::after {
    content: "›";

    font-size: 14px;
    line-height: 1;
  }


  /* =========================================================
     SMALL NOTE
     ========================================================= */

  .p3-pricing__note {
    max-width: 900px;

    margin: 13px auto 0;

    font-size: 9.5px;

    line-height: 1.6;

    text-align: center;

    color: #888;
  }


  /* =========================================================
     MOBILE
     ========================================================= */

  @media (max-width: 700px) {

    .p3-pricing {
      padding: 42px 0 48px;
    }

    .p3-pricing .p2-section-hd {
      margin-bottom: 24px;
    }

    .p3-pricing .p2-section-hd__title {
      font-size: 29px;
    }

    .p3-pricing .p2-section-hd__sub {
      max-width: 90%;

      font-size: 11px;
    }

    .p3-pricing__panel {
      border-radius: 10px;

      overflow-x: auto;
      width: 95%;
    }

    .p3-pricing__panel table {
      min-width: 620px;
    }

    .p3-pricing__panel table thead th,
    .p3-pricing__panel table tbody th,
    .p3-pricing__panel table tbody td {
      padding: 14px 16px;
    }

    .p3-pricing__note {
      padding: 0 10px;
    }
  }
