/**
* 2007-2024 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2024 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

/************
 * Checkout *
 ************/

.bold-payment-option__label {
  display: flex !important;
  flex-wrap: wrap;
  margin: 0;

  span {
    margin-right: 8px;
  }

  .bold-payment-option__logo {
    height: 18px;
    position: relative;
    top: 0.5px;
    vertical-align: baseline;
    margin-right: 77px;
  }

  .bold-payment-option__franchises {
    position: relative;
    height: 22px;
  }

  @media screen and (max-width: 396px) {
    .bold-payment-option__franchises {
      bottom: 0 !important;
      left: -4px;
      top: 5px;
    }
  }
}

.bold-payment-option__additional-information-wrapper {
  margin: 0 !important;
}

.bold-payment-option__additional-information {
  gap: 22px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 30px 0;
  background-color: #ffffff;
  font-family: var(--bold-font);
  max-width: 500px;
  margin: 0 auto;

  > * {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 22px;
  }

  header {
    .additional-information__sandbox-tag {
      gap: 8px;
      display: flex;
      align-items: center;
      font-weight: 500;
      padding: 8px 16px;
      border-radius: 100px;
      color: var(--bold-warning-150);
      background: var(--bold-warning-10);
      border: 1px solid var(--bold-warning-150);
    }

    .additional-information__title {
      margin: 0;
      display: flex;
      flex-direction: column;
      color: #121e6c;
      font-size: 20px;
      font-weight: 800;
      line-height: 28px;
      text-align: center;
      letter-spacing: 0em;
    }
  }

  main {
    .additional-information__checkout-benefits {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin: 0 auto;
    }

    .additional-information__checkout-benefit {
      display: flex;
      flex-direction: row;
      gap: 16px;
    }

    .additional-information__checkout-benefit-info {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 6px;
    }

    .additional-information__checkout-benefit
      p:not(
        .additional-information__checkout-benefit-title,
        .additional-information__checkout-benefit-description
      ) {
      display: none;
    }

    .additional-information__checkout-benefit-icon {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 56px;
      width: 56px;
      padding: 8px;
      border-radius: 12px;
      background-color: #f7f8fb;
      grid-column: 1 / 2;
      grid-row: 1 / 3;
    }

    .additional-information__checkout-benefit-icon img {
      margin: 0 !important;
    }

    .additional-information__checkout-benefit-title {
      font-size: 12px;
      font-weight: 700;
      line-height: 16px;
      letter-spacing: 0em;
      text-align: left;
      color: #121e6c;
      grid-column: 2 / 3;
      grid-row: 1 / 2;
      margin: 0;
    }

    .additional-information__checkout-benefit-description {
      font-size: 12px;
      font-weight: 400;
      line-height: 16px;
      letter-spacing: 0em;
      text-align: left;
      color: #606060;
      grid-column: 2 / 3;
      grid-row: 2 / 3;
      margin: 0;
    }
  }

  footer {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 12px 0;
    background-color: var(--bold-background-0);
    border-radius: 8px;

    p {
      margin: 0 !important;
    }

    .additional-information__footer-title {
      font-size: 12px;
      font-weight: 600;
      line-height: 16px;
      letter-spacing: 0em;
      text-align: center;
      color: #121e6c;
      margin: 0;
    }

    .additional-information__footer-icons {
      margin: 0 !important;
      height: 18px;
    }
  }

  @media screen and (max-width: 360px) {
    max-width: 170px;

    header {
      .additional-information__sandbox-tag {
        font-size: 12px;
      }

      .additional-information__title {
        font-size: 16px;
        font-weight: 700;
      }
    }

    main {
      .additional-information__checkout-benefit {
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .additional-information__checkout-benefit-info {
        align-items: center;
      }

      .additional-information__checkout-benefit-description,
      .additional-information__checkout-benefit-title {
        text-align: center;
      }
    }

    footer {
      padding: 8px 0;
      gap: 5px;
    }
  }
}
