.g2-countries-lists {
    display: flex;
    flex-wrap: wrap;
    padding: 0px 15px;
  }
  
  .g2-countries-title {
    flex-grow: 6;
    padding-top: 24px;
    align-content: center;
  }
  
  .link-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    /* Prevents clicking */
    text-decoration: line-through;
  }
  
  .country-search-box {
    flex-grow: 1;
  }
  
  .g2-countries-filter-title::before {
    background: url('../../assets/images/icons/countries/filters-black.png') no-repeat;
    width: 18px;
    height: 18px;
    display: inline-block;
    content: '';
    margin-left: 10px;
    position: relative;
    top: 4px;
  }
  
  .g2-countries-mobile-filters-btn {
    display: none !important;
  }
  
  .g2-countries-filter-btn {
    border: 1px solid var(--wp--preset--color--primary-600);
    color: var(--wp--preset--color--primary-600);
    font-weight: 800;
    border-radius: 8px;
    padding: 12px 35px;
    display: none;
    order: 2;
  }
  
  .g2-countries-filter-delete-btn a {
    padding: 7px 25px !important;
    font-size: 16px;
  }
  
  .g2-countries-filter-btn::before {
    background: url('../icon/countries/filters-yellow.png') no-repeat;
    fill: #0061E5;
    width: 18px;
    height: 18px;
    display: inline-block;
    content: '';
    margin-left: 10px;
    position: relative;
    top: 4px;
  }
  
  .g2-countries-filter-show-result-btn {
    display: none !important;
  }
  
  .g2-countries-filter-container {
    padding: 0 15px;
  }
  
  .g2-countries-filter-items-box {
    display: flex;
    gap: 15px;
  }
  
  .g2-countries-filter-item,
  .g2-countries-filter-input {
    background-color: var(--wp--preset--color--base);
    border: 1px solid var(--wp--preset--color--secondary-100);
    border-radius: 8px;
    padding: 8px;
    font-size: 14px;
    flex: 1;
    cursor: pointer;
  }
  
  .g2-countries-filter-item:hover {
    background-color: var(--wp--preset--color--primary-300);
    border: 1px solid var(--wp--preset--color--primary-400);
    color: var(--wp--preset--color--primary-1000);
    transition: 0.5s ease all;
  }
  
  .g2-countries-filter-item-dropdown {
    position: relative;
    flex: 1;
  }
  
  .g2-countries-filter-input {
    align-self: flex-start;
  }
  
  .g2-countries-filter-item-arrow {
    background: url('../../assets/images/icons/countries/arrow-down.svg') no-repeat;
    width: 24px;
    height: 24px;
    position: absolute;
    z-index: 8;
    left: 8px;
    top: 8px;
    cursor: pointer;
  }
  
  .g2-countries-filter-item-list {
    display: none;
    background-color: var(--wp--preset--color--base);
    position: absolute;
    z-index: 9;
    border: 1px solid var(--wp--preset--color--primary-300);
    border-radius: 8px 8px 40px 40px;
    max-height: 305px;
    overflow-y: scroll;
    margin-top: 9px;
    width: 100%;
    padding: 10px 0px;
  }
  
  .g2-countries-filter-item-list li {
    margin-bottom: 10px;
    list-style: none;
    border-bottom: 1px solid var(--wp--preset--color--secondary-100);
    padding-bottom: 13px;
    padding-right: 10px;
    cursor: pointer;
  }
  
  .g2-countries-filter-item-list li:last-child {
    border: none;
  }
  
  .g2-countries-filter-item {
    text-align: center;
    align-self: flex-start;
  }
  
  .active-drp-filter>.g2-countries-filter-input,
  .active-filter {
    background-color: var(--wp--preset--color--primary-100);
    color: var(--wp--preset--color--secondary-600);
    border: 1px solid var(--wp--preset--color--primary-200);
  }
  
  .active-drp-filter>.g2-countries-filter-item-arrow {
    background: url('../../assets/images/icons/countries/close-black.svg') no-repeat;
    width: 20px;
    height: 20px;
    position: absolute;
    z-index: 99;
    left: 8px;
    top: 9px;
    cursor: pointer;
  }
  
  .country-search-box {
    position: relative;
  }
  
  .country-search-box #country-search {
    height: 49px;
    width: 100%;
    border: 1px solid var(--wp--preset--color--secondary-200);
    border-radius: 8px;
    padding: 0 10px;
  }
  
  #country-search::placeholder {
    font-size: 13px;
    color: var(--wp--preset--color--secondary-200);
  }
  
  .country-search-box .country-search-icon {
    position: absolute;
    left: 10px;
    top: 13px;
  }
  
  .country-lan-header {
    font-size: 20px;
    font-weight: 700;
    color: #303038;
  }
  
  .countrylan-des {
    font-size: 16px;
    color: #5E5E64;
  }
  
  .allCountries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    position: relative;
    padding-top: 25px;
  }
  
  
  .country-landing-box {
    border: 1px solid var(--wp--preset--color--secondary-200);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.1s ease;
    background: white;
    position: relative;
    z-index: 1;
    height: auto;
    /* Allow natural height */
    max-width: 450px;
  }
  
  .g2-countries-loading {
    background: url(../../assets/images/gifs/spinner.gif) no-repeat center;
    width: 200px;
    height: 200px;
    display: block;
    margin: 0 auto;
  }
  
  .country-landing-box.featured {
    z-index: 999;
    border-radius: 12px 12px 0px 0px;
    border: unset;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    height: auto;
    /* Allow it to expand naturally */
    grid-row: auto;
    /* Remove any row spanning */
  }
  
  .country-quick-access {
    display: none;
    position: absolute;
    width: 100%;
    background: white;
    left: 0;
    top: 100%;
    /* Position below the box */
    margin-top: 5px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 11;
    padding: 15px;
    border: unset;
  }
  
  .country-landing-box.featured .country-landing-box-link::before {
    background: url('../../assets/images/icons/countries/arrow-top-yellow.svg') no-repeat;
  }
  
  .allCountries.has-featured .country-landing-box:not(.featured) {
    opacity: 0.6;
    filter: blur(1px);
    transition: all 0.1s ease;
  }
  
  .country-landing-box .country-landing-box-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    width: 100%;
    min-height: 64px;
    position: relative;
  }
  
  .country-landing-box .country-landing-box-link .country-landing-box-p {
    color: var(--wp--preset--color--secondary-1000);
    font-size: 16px;
    margin: 0;
  }
  
  .country-landing-box .country-landing-box-link::before {
    position: absolute;
    content: "";
    width: 24px;
    height: 24px;
    left: 5px;
    top: 34%;
    /* transform: rotate(-90deg); */
    background-repeat: no-repeat;
    background-position: center;
    background: url("../../assets/images/icons/countries/arrow-left-gray.svg");
    opacity: 1;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease-out;
  }
  .country-landing-box:hover .country-landing-box-link::before {
    opacity: 1;
    left: 6px;
  }
  
  .country-quick-access {
    display: none;
    padding: 0;
    margin-top: 0px;
    border-top: 1px solid var(--wp--preset--color--secondary-100);
  }
  
  .country-quick-access li {
    list-style: none;
    margin: 10px;
  }
  
  .country-quick-access li::before {
    background: url("../../assets/images/icons/countries/arrow-left-black-small.svg");
    content: "";
    width: 24px;
    height: 24px;
    display: inline-flex;
    position: relative;
    top: -3px;
  }
  
  .country-quick-access li a {
    color: var(--wp--preset--color--secondary-600);
  }
  
  .page-flags {
    background-image: url("../../assets/images/icons/flags/page-flags.svg");
    background-repeat: no-repeat;
    background-size: auto 28px;
    display: inline-block;
    width: 28px;
    min-width: 28px;
    height: 28px;
    margin-right: 5px;
    background-position: calc(var(--flag-index) * -28px) 0;
  }
  
  @media (max-width: 767px) {
    .allCountries {
      padding: 0px;
    }
  
    .g2-countries-title {
      order: 1;
      font-size: 20px !important;
    }
  
    .country-search-box {
      order: 3;
    }
  
    .g2-countries-description {
      order: 2;
      line-height: 2rem;
    }
  
    .g2-countries-filter-btn {
      display: block;
      padding: 10px 15px !important;
    }
    .g2-countries-filter-box {
      position: fixed;
      z-index: 9999;
      height: 100%;
      top: 0px;
      right: 0;
      width: 100%;
      display: none;
    }
  
    .g2-countries-filter-title {
      font-size: 18px;
      border-bottom: 1px solid var(--wp--preset--color--secondary-200);
      padding-bottom: 20px;
    }
  
    .g2-countries-close-btn {
      background: url('../../assets/images/icons/countries/close-black.svg') no-repeat;
      width: 24px;
      height: 24px;
      display: inline-flex;
      position: absolute;
      left: 20px;
    }
  
    .g2-countries-lists>.wp-block-buttons {
      order: 2;
      padding-top: 20px;
      margin: 0;
    }
  
    .g2-countries-filter-delete-btn {
      position: absolute;
      bottom: 10px;
      width: 46%;
      left: 10px;
    }
    .g2-countries-filter-show-result-btn {
      display: block !important;
      position: absolute;
      bottom: 10px;
      left: 10px;
      width: 46%;
    }
    .g2-countries-filter-show-result-btn a{
      padding:10px 35px !important;
    }
    .g2-countries-mobile-filters-btn {
      display: inline-block !important;
    }
  
    .g2-countries-mobile-filters-btn a {
      padding: 8px 17px;
    }
  
    .g2-countries-mobile-filters-btn a::before {
      background: url(../../assets/images/icons/countries/filters-yellow.png) no-repeat;
      width: 18px;
      height: 18px;
      display: inline-block;
      content: '';
      margin-left: 10px;
      position: relative;
      top: 4px;
    }
  
    .g2-countries-filter-items-box {
      display: grid;
      gap: 15px;
      margin: 0;
    }
  
    .g2-countries-filter-item,
    .g2-countries-filter-input {
      font-size: 16px;
      font-weight: 800;
      text-align: right;
      padding: 16px;
    }
  
    .g2-countries-filter-item-list {
      width: 100%;
    }
  
    .g2-countries-filter-item-arrow {
      top: 18px;
      left: 10px;
    }
  
    .active-drp-filter>.g2-countries-filter-item-arrow {
      top: 18px;
      left: 10px;
    }
  }