/* TradesFolks 18.4.106 — Premium Supplier Markets
   Polishes the existing country-market cards without changing country order/data. */

.tf-homepage .country-network-premium{
  position:relative!important;
  overflow:hidden!important;
  padding-top:14px!important;
  padding-bottom:16px!important;
  background:
    radial-gradient(circle at 86% 8%,rgba(7,91,199,.065),transparent 26%),
    linear-gradient(180deg,#f7f9fc 0%,#f2f6fb 100%)!important;
}

.tf-homepage .country-network-premium>.shell{
  width:calc(100% - 24px)!important;
  max-width:none!important;
  margin-inline:auto!important;
  padding:0!important;
}

/* section heading */
.tf-homepage .country-network-premium .country-network-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin:0 0 10px!important;
}
.tf-homepage .country-network-premium .country-network-head .eyebrow{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  margin:0 0 3px!important;
  color:#075bc7!important;
  font-size:6.8px!important;
  font-weight:900!important;
  letter-spacing:.105em!important;
}
.tf-homepage .country-network-premium .country-network-head .eyebrow:before{
  content:""!important;
  width:18px!important;
  height:2px!important;
  border-radius:999px!important;
  background:#075bc7!important;
}
.tf-homepage .country-network-premium .country-network-head h2{
  margin:0!important;
  color:#0b2343!important;
  font-size:24px!important;
  font-weight:900!important;
  line-height:1.03!important;
  letter-spacing:-.04em!important;
}
.tf-homepage .country-network-premium .country-network-head p{
  margin:3px 0 0!important;
  color:#6f8096!important;
  font-size:7.4px!important;
  line-height:1.3!important;
}
.tf-homepage .country-network-premium .country-network-head>a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  flex:0 0 auto!important;
  min-height:30px!important;
  padding:0 11px!important;
  border:1px solid #cbdced!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#075bc7!important;
  box-shadow:0 5px 14px rgba(9,35,69,.045)!important;
  font-size:6.5px!important;
  font-weight:900!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}

/* rail / cards */
.tf-homepage .country-network-premium .country-market-rail{
  gap:10px!important;
}
.tf-homepage .country-network-premium .country-market-card{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid #dbe5ef!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 7px 20px rgba(9,35,69,.05)!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
.tf-homepage .country-network-premium .country-market-card:hover{
  transform:translateY(-3px)!important;
  border-color:#b9cee5!important;
  box-shadow:0 14px 28px rgba(9,35,69,.10)!important;
}

/* media */
.tf-homepage .country-network-premium .country-market-visual{
  position:relative!important;
  overflow:hidden!important;
  border-radius:14px 14px 0 0!important;
  background:#eef3f8!important;
}
.tf-homepage .country-network-premium .country-market-visual:after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background:
    linear-gradient(180deg,rgba(5,24,53,.02) 0%,rgba(5,24,53,0) 56%,rgba(5,24,53,.12) 100%)!important;
  z-index:2!important;
}
.tf-homepage .country-network-premium .country-market-artwork{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  background:#eef3f8!important;
  transition:transform .24s ease!important;
}
.tf-homepage .country-network-premium .country-market-card:hover .country-market-artwork{
  transform:scale(1.025)!important;
}

/* flag badge */
.tf-homepage .country-network-premium .country-market-visual .country-flag{
  top:12px!important;
  left:12px!important;
  width:42px!important;
  height:28px!important;
  min-width:42px!important;
  max-width:42px!important;
  min-height:28px!important;
  max-height:28px!important;
  border:1px solid rgba(255,255,255,.9)!important;
  border-radius:7px!important;
  background:#fff!important;
  box-shadow:0 6px 16px rgba(4,18,47,.16)!important;
  z-index:4!important;
}

/* TF badge in brand colors */
.tf-homepage .country-network-premium .country-market-mark{
  top:12px!important;
  right:12px!important;
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.78)!important;
  border-radius:10px!important;
  background:linear-gradient(145deg,#f9bd2b,#ffd65a)!important;
  color:#0b2343!important;
  box-shadow:0 7px 16px rgba(4,18,47,.14)!important;
  font-size:7px!important;
  font-weight:900!important;
  z-index:4!important;
}

/* body */
.tf-homepage .country-network-premium .country-market-body{
  padding:10px 12px 11px!important;
  background:#fff!important;
}
.tf-homepage .country-network-premium .country-market-body>span,
.tf-homepage .country-network-premium .country-market-body>small{
  display:block!important;
  margin:0 0 3px!important;
  color:#8190a3!important;
  font-size:5.8px!important;
  font-weight:650!important;
  line-height:1.2!important;
}
.tf-homepage .country-network-premium .country-market-body h3,
.tf-homepage .country-network-premium .country-market-body strong{
  display:block!important;
  margin:0!important;
  color:#0b2343!important;
  font-size:9.8px!important;
  font-weight:900!important;
  line-height:1.15!important;
  letter-spacing:-.015em!important;
}

/* footer / supplier count */
.tf-homepage .country-network-premium .country-market-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  min-height:34px!important;
  padding:7px 12px!important;
  border-top:1px solid #edf1f5!important;
  background:#fbfcfe!important;
  color:#64758a!important;
  font-size:5.9px!important;
  font-weight:700!important;
}
.tf-homepage .country-network-premium .country-market-footer:after{
  content:"→"!important;
  display:grid!important;
  place-items:center!important;
  width:18px!important;
  height:18px!important;
  border-radius:999px!important;
  background:#edf5ff!important;
  color:#075bc7!important;
  font-size:8px!important;
  font-weight:900!important;
}

/* tablet */
@media(min-width:700px) and (max-width:1023px){
  .tf-homepage .country-network-premium{
    padding-top:12px!important;
    padding-bottom:14px!important;
  }
  .tf-homepage .country-network-premium .country-network-head h2{
    font-size:20px!important;
  }
}

/* mobile */
@media(max-width:699px){
  .tf-homepage .country-network-premium{
    padding:10px 0 13px!important;
  }
  .tf-homepage .country-network-premium>.shell{
    width:100%!important;
    padding:0 8px!important;
    box-sizing:border-box!important;
  }
  .tf-homepage .country-network-premium .country-network-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:end!important;
    gap:5px 7px!important;
    margin-bottom:8px!important;
  }
  .tf-homepage .country-network-premium .country-network-head h2{
    font-size:17px!important;
  }
  .tf-homepage .country-network-premium .country-network-head p{
    font-size:6.1px!important;
  }
  .tf-homepage .country-network-premium .country-network-head>a{
    min-height:27px!important;
    padding:0 8px!important;
    font-size:5.6px!important;
  }
  .tf-homepage .country-network-premium .country-market-rail{
    gap:8px!important;
  }
  .tf-homepage .country-network-premium .country-market-card{
    border-radius:13px!important;
  }
  .tf-homepage .country-network-premium .country-market-visual{
    border-radius:12px 12px 0 0!important;
  }
  .tf-homepage .country-network-premium .country-market-visual .country-flag{
    top:9px!important;
    left:9px!important;
    width:36px!important;
    height:24px!important;
    min-width:36px!important;
    max-width:36px!important;
    min-height:24px!important;
    max-height:24px!important;
  }
  .tf-homepage .country-network-premium .country-market-mark{
    top:9px!important;
    right:9px!important;
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    min-height:30px!important;
    border-radius:9px!important;
    font-size:6px!important;
  }
  .tf-homepage .country-network-premium .country-market-body{
    padding:8px 9px 9px!important;
  }
  .tf-homepage .country-network-premium .country-market-body h3,
  .tf-homepage .country-network-premium .country-market-body strong{
    font-size:8.6px!important;
  }
  .tf-homepage .country-network-premium .country-market-footer{
    min-height:31px!important;
    padding:6px 9px!important;
    font-size:5.4px!important;
  }
}
