@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
  --main-color: #8ecc00;
}

body {
  background-color: #f9f9fb;
  color: #8a8f93;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
}

a {
  text-decoration: none;
}

#header__wrap {
  transition: transform 0.3s ease-in-out, background-color 0.2s ease-in-out;
  background-color: transparent;
  transform: translateY(0);
  z-index: 100;
  position: relative;
}

#header__wrap.sticky-menu {
  width: 100%;
  z-index: 50;
  position: fixed;
  top: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* cień, opcjonalnie */
}

#header__top {
  background-color: #1d1d1d;
  transition: all .3s ease-in-out;
  overflow: hidden;
}

.header-top--hidden {
  transition: all .3s ease-in-out;
  opacity: 0;
  max-height: 0;
  padding: 0;
  margin: 0;
}

#header__main, #header__nav {
  border-bottom: 1px solid #eee;
  background-color: #fff;
}

#header__top {
  font-size: .78rem;
}

#header__main input[type="text"], #companySearch {
  border-radius: 10px;
  background-color: #f8f8f8;
  border-color: transparent;
  box-shadow: none!important;
  padding: .575rem 1rem;
  font-size: .95rem;
  position: relative;
}

#header__main input[type="text"]:focus, #companySearch:focus {
  background-color: #fff;
  border: 1px solid #eee;
}

#header__main input[type="text"]::placeholder, #companySearch::placeholder {
  color: #8c9195;
  font-size: .85rem;
}

#companySearch {
  background-color: #fff;
}

#header__main .search_form {
  position: relative;
}

#header__main .search_form .btn {
  outline: 0!important;
  border: 0!important;
  position: absolute!important;
  top: 6px;
  right: 8px;
}

#header__nav .nav-link {
  font-size: .87rem;
  color: #8a8f93;
  transition: .2s ease-in-out;
}

#header__nav .nav-link.active {
  color: #434445;
  font-weight: 500;
}

#header__nav .nav-link:hover {
  transition: .2s ease-in-out;
  color: #616467;
}

#header__nav .navbar-expand-lg .navbar-nav .nav-link {
  padding-left: .7rem;
  padding-right: .7rem;
  margin-left: .5rem;
  margin-right: .5rem;
}

.btn-text {
  font-size: smaller;
}

.btn-main {
  color: #1d1d1d!important;
  background-color: var(--main-color)!important;
  border-color: var(--main-color)!important;
}

.btn {
  border-radius: 4px;
}

#ranking .card {
  padding: 1.3rem 1rem;
  border: 0;
  background-color: #fff;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 0 8px rgb(13 24 50 / 8%);
  position: relative;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#ranking .card-footer {
  border: 0;
  background-color: unset;
}

#ranking .card .main-title a {
  font-size: 1.6rem;
  text-decoration: none;
  color: #1d1d1d;
}

#ranking .count-badge {
  line-height: 49px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  height: 45px;
  width: 45px;
  border-radius: 6px;
  background-color: rgba(198, 198, 198, .2);
  color: #626262;
}

#ranking .price-info {
  font-size: 12px;
  line-height: 18px;
  color: #737373;
  margin-right: 4px;
}

#ranking .card-price strong {
  font-size: 35px;
  vertical-align: bottom;
  font-weight: 700;
  display: inline-block;
  line-height: 30px;
  color: #1d1d1d;
}

.card-price .currency {
  display: inline-block;
  vertical-align: bottom;
  margin-left: 5px;
  position: relative;
}

.card-price .currency span {
  display: block;
  padding-left: 3px;
  text-align: left;
  font-size: 12px;
  line-height: 12px;
}

.card-price .currency .piece {
  margin-top: 7px;
  padding-left: 0;
}

.card-price .currency::after {
  position: absolute;
  content: '';
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  margin-top: -1px;
  background: rgba(0, 0, 0, 0.9);
  transform: rotate(-12deg);
}

.logo-frame {
  height: 105px;
  width: 100%;
  max-height: 130px;
  padding: 20px 35px 20px 35px;
  border: 1px solid #eee;
  box-shadow: 0 4px 2px rgb(119 115 103 / 4%);
  border-radius: 6px;
  background-color: #fff;
  display: flex;
  justify-content: center;
}

.logo-frame img {
  object-fit: contain;
}

#ranking .ranking-item-info {
  color: #5c5c5c;
}

#ranking .title-label {
  cursor: help;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  color: #101010;
  margin-bottom: 5px;
  border-bottom: 2px dotted rgba(44, 62, 80, .2);
  display: inline-block;
}

#ranking .form-check-input {
  height: 1.2em;
  width: 1.2em;
  margin-top: 0.08em;
  box-shadow: none!important;
  border-color: #dee2e6!important;
}

#ranking .form-check-input:checked {
  background-color: var(--main-color);
}

.card-page {
  border: 0;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 8px rgb(13 24 50 / 8%);
}

.dropdown-menu-sort {
  font-size: .9rem;
  background-color: #fff;
  border-radius: 5px;
  padding: 7px;
  border-color: #f0f0f0;
  box-shadow: 0 30px 30px rgba(0, 0, 0, 0.05);
}

footer a {
  color: #fff;
  text-decoration: none;
}

.sidebar-posts a {
  text-decoration: none;
  color: inherit;
}

.sidebar-last-posts img {
  height: 65px;
  width: 65px;
  object-fit: cover;
  border-radius: 4px;
}

.compare-button {
  z-index: 20;
  position: fixed;
  display: block;
  left: 50%;
  bottom: 15px;
  width: 380px;
  height: 50px;
  font-size: 18px;
  line-height: 50px;
  color: #fff;
  background: #1f2937;
  font-weight: 700;
  text-align: center;
  border-radius: 25px;
  opacity: 0.95;
  transform: translate(-50%, 0);
  transition: bottom 0.2s ease-out 0.1s;
  -webkit-transition: bottom 0.2s ease-out 0.1s;
  -moz-transition: bottom 0.2s ease-out 0.1s;
  -o-transition: bottom 0.2s ease-out 0.1s;
  animation: fromBottom .5s alternate both;
  -webkit-animation: fromBottom .5s alternate both;
  -moz-animation: fromBottom .5s alternate both;
  -o-animation: fromBottom .5s alternate both
}

@keyframes fromBottom {
  0% {
      opacity: 0;
      transform: translate3d(-50%, 300px, 0);
      -webkit-transform: translate3d(-50%, 300px, 0);
      -moz-transform: translate3d(-50%, 300px, 0);
      -o-transform: translate3d(-50%, 300px, 0)
  }

  100% {
      transform: translate3d(-50%, 0, 0);
      -webkit-transform: translate3d(-50%, 0, 0);
      -moz-transform: translate3d(-50%, 0, 0);
      -o-transform: translate3d(-50%, 0, 0)
  }
}

.compare-button.hide {
  transition: bottom 0.2s ease-out 0.1s;
  animation: toBottom 1s alternate both
}

@keyframes toBottom {
  0% {
      transform: translate3d(-50%, 0, 0)
  }

  100% {
      opacity: 0;
      transform: translate3d(-50%, 300px, 0)
  }
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: .4px;
  color: #0f1e26;
}

#main_seo h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  font-size: 1.3rem;
}

p {
  color: #707070;
  font-size: 1.05rem;
  line-height: 1.9rem;
  margin: 30px 0;
}

ul {
  color: #707070;
  font-size: 1.05rem;
}

footer ul {
  padding-left: 0;
  list-style-type: none;
}