/**
 * Country sayfası ekleri – orijinal country.css’e dokunmaz.
 * Sadece sepet ikonu boyutu + üst köşe sepet + satış işareti.
 */

.container {
  position: relative;
}

.country-basket-float {
  position: absolute;
  right: 15px;
  top: 28px;
  z-index: 20;
  text-decoration: none;
  line-height: 0;
}

.country-icon-15,
.country-basket-float .icon-basket-wrap,
.country-basket-float .icon-basket-wrap .icon-bag,
.country-basket-float .icon-bag.icon-header-svg,
.ulke-satis-mark .country-icon-15,
.ulke-satis-mark .icon-bag.icon-header-svg {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  background-size: 15px 15px !important;
  background-position: center center !important;
  margin-top: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}

.country-basket-float .icon-basket-wrap {
  position: relative !important;
  line-height: 0 !important;
}

.ulke-satis-mark {
  display: inline;
  margin-left: 3px;
  vertical-align: middle;
  line-height: 0;
}

.ulke-satis-acik {
  font-weight: 600;
}

.ulke-satis-legend {
  margin: 8px 0 0;
  padding: 0;
  font-size: 11px;
  color: #888;
}

.search-li .ulke-satis-mark {
  float: right;
  margin-left: 6px;
}

@media (max-width: 767.98px) {
  .country-basket-float {
    right: 10px;
    top: 20px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Ülke listesi: yan yana sütun taşmasını önle */
  .contry-list {
    overflow-x: hidden;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }

  /* 2 sütun: her ul (5 ülke) yan yana – column-count kullanılmaz, hizalama bozulmaz */
  .contry-list-content {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
  }

  .contry-list-content ul {
    float: none !important;
    display: block !important;
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    box-sizing: border-box !important;
    margin: 0 0 8px !important;
    padding: 0 6px !important;
    -webkit-column-count: unset !important;
    column-count: unset !important;
  }

  .contry-list-content ul li {
    display: block;
    margin: 0 0 8px !important;
    padding: 0 !important;
    list-style: none;
  }

  .contry-list-content ul li a {
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.35;
  }

  .container {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 12px;
    padding-right: 12px;
  }

  .country-content .input input,
  .country-search-input {
    max-width: 100%;
    box-sizing: border-box;
  }
}
