:root{
  --wir-font: Tahoma, Arial, sans-serif;
  --wir-red: #fb0606;
  --wir-text: #111;
  --wir-muted: #666;
  --wir-border: #e6e6e6;
  --wir-bg: #fff;
  --wir-shadow: 0 2px 10px rgba(0,0,0,.06);
  --wir-radius: 12px;
}

/* =========================================================
   BASE
   ========================================================= */

.wir-wrap,
.wir-wrap *{
  box-sizing: border-box;
}

.wir-wrap{
  font-family: var(--wir-font);
  color: var(--wir-text);
  font-size: 16px;
  line-height: 1.35;
}

.wir-box{
  background: var(--wir-bg);
  border: 1px solid var(--wir-border);
  border-radius: var(--wir-radius);
  box-shadow: var(--wir-shadow);
  padding: 16px;
  margin: 14px 0;
}

.wir-title{
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 10px;
}

.wir-line{
  height: 2px;
  background: var(--wir-red);
  opacity: .9;
  border-radius: 2px;
  margin: 10px 0 12px;
}

.wir-note{
  font-size: 14px;
  line-height: 1.35;
  color: var(--wir-muted);
  margin-top: 8px;
}

.wir-meta{
  font-size: 14px;
  line-height: 1.35;
  color: var(--wir-muted);
  margin-top: 6px;
}

.wir-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wir-grid-3{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.wir-field label{
  display: block;
  font-size: 14px;
  line-height: 1.3;
  color: var(--wir-muted);
  margin-bottom: 6px;
}

.wir-field input,
.wir-field select{
  width: 100%;
  padding: 12px;
  border: 1px solid var(--wir-border);
  border-radius: 10px;
  background: #fff;
  font-family: var(--wir-font);
  font-size: 20px;
  line-height: 1.35;
  color: var(--wir-text);
}

.wir-btn{
  display: inline-block;
  border: 0;
  background: var(--wir-red);
  color: #fff !important;
  border-radius: 12px;
  padding: 11px 16px;
  font-family: var(--wir-font);
  font-size: 16px;
  line-height: 1.15;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
}

.wir-btn:hover{
  filter: brightness(.95);
}

/* =========================================================
   SEARCH
   ========================================================= */

.wir-search-wrap{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.wir-search-stack{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wir-search-stack .wir-field input{
  width: 100%;
}

.wir-search-stack .wir-btn,
.wir-btn-block{
  width: 100%;
  max-width: 100%;
  display: block;
  padding: 13px 16px;
  border-radius: 18px;
  font-size: 20px;
  line-height: 1.1;
}

/* =========================================================
   RESULTS
   ========================================================= */

.wir-results-wrap{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wir-results-title{
  margin: 12px 0 10px;
}

.wir-results{
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.wir-card{
  border: 1px solid var(--wir-border) !important;
  border-radius: 14px !important;
  padding: 14px;
  background: #fff !important;
  box-shadow: var(--wir-shadow) !important;
  overflow: hidden;
}

.wir-card::before,
.wir-card::after,
.wir-card a::before,
.wir-card a::after{
  content: none !important;
  display: none !important;
}

.wir-card a{
  display: block;
  color: var(--wir-red) !important;
  text-decoration: none !important;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.15;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0;
}

.wir-card p{
  margin: 0;
}

/* =========================================================
   RATINGS
   ========================================================= */

.wir-stars{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.wir-starbtn{
  position: relative;
  border: 1px solid var(--wir-border);
  background: #fff;
  border-radius: 12px;
  width: 48px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  font-weight: 700;
}

.wir-starbtn:hover{
  border-color: #ccc;
}

.wir-star{
  font-size: 22px;
  line-height: 1;
}

.wir-star.yellow{
  color: #f2c200;
}

.wir-star.red{
  color: var(--wir-red);
}

.wir-star.black{
  color: #111;
}

.wir-starbtn.wir-neutral{
  width: 48px !important;
  height: 40px !important;
  border-radius: 12px !important;
}

.wir-starbtn.is-selected{
  border-color: var(--wir-red);
  box-shadow: 0 0 0 2px rgba(251,6,6,.15);
}

.wir-starbtn::after{
  content: attr(data-pick-val);
  position: absolute;
  right: 6px;
  bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  color: rgba(0,0,0,.45);
  pointer-events: none;
}

.wir-starbtn[data-pick-kind="neu"]::after{
  content: "";
}

.wir-starbtn[data-pick-kind="pos"]::after{
  color: #c9a000;
}

.wir-starbtn[data-pick-kind="neg"]::after{
  color: #333;
}

.wir-starbtn.is-selected::after{
  color: var(--wir-red);
}

.wir-rate-wrap{
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.wir-rate-left{
  flex: 1 1 520px;
  min-width: 260px;
}

.wir-rate-row{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}

.wir-rate-label{
  min-width: 110px;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
  color: var(--wir-text);
  white-space: nowrap;
}

.wir-rate-stars{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.wir-rate-right{
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.wir-submit{
  width: auto;
  min-width: 150px;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--wir-red);
  background: #fff;
  color: var(--wir-red);
  font-family: var(--wir-font);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
  transition: transform .08s ease, filter .12s ease, box-shadow .12s ease;
  cursor: pointer;
}

.wir-submit:hover{
  filter: brightness(.99);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.wir-submit:active{
  transform: translateY(1px);
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}

.wir-submit:disabled{
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}

/* =========================================================
   CONTACT
   ========================================================= */

.wir-contact{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.wir-contact div{
  font-size: 16px;
  line-height: 1.35;
}

.wir-contact b{
  display: inline-block;
  min-width: 120px;
}

.wir-extra-url{
  margin-top: 12px;
}

.wir-oceniamy-box{
  text-align: center;
  margin-top: 20px;
}

/* =========================================================
   FIXES
   ========================================================= */

.wir-wrap hr{
  display: none !important;
}

.wir-wrap,
.wir-wrap *{
  background-image: none !important;
}

/* =========================================================
   HARD HIDE THEME SINGLE META
   Usuwa: linię, datę, autora, "Opublikowano w", "przez", "Tagi".
   ========================================================= */

body.wir-comment-single article > footer,
body.wir-comment-single main article > footer,
body.wir-comment-single .site-main article > footer,
body.wir-comment-single .wir-comment-article > footer,
body.wir-comment-single .entry-footer,
body.wir-comment-single .entry-meta,
body.wir-comment-single .post-meta,
body.wir-comment-single .postmetadata,
body.wir-comment-single .post-footer,
body.wir-comment-single .post-info,
body.wir-comment-single .post-info-wrapper,
body.wir-comment-single .post-meta-wrapper,
body.wir-comment-single .post-meta-data,
body.wir-comment-single .article-meta,
body.wir-comment-single .single-post-meta,
body.wir-comment-single .entry-utility,
body.wir-comment-single .posted-on,
body.wir-comment-single .byline,
body.wir-comment-single .author,
body.wir-comment-single .post-author,
body.wir-comment-single .post-date,
body.wir-comment-single .published,
body.wir-comment-single .updated,
body.wir-comment-single .cat-links,
body.wir-comment-single .category-links,
body.wir-comment-single .categories-links,
body.wir-comment-single .tags-links,
body.wir-comment-single .tag-links,
body.wir-comment-single .edit-link,
body.wir-comment-single .wp-block-post-date,
body.wir-comment-single .wp-block-post-author,
body.wir-comment-single .wp-block-post-author-name,
body.wir-comment-single .wp-block-post-terms{
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

body.wir-comment-single article > hr,
body.wir-comment-single main article > hr,
body.wir-comment-single .site-main article > hr,
body.wir-comment-single article footer::before,
body.wir-comment-single article footer::after,
body.wir-comment-single .entry-footer::before,
body.wir-comment-single .entry-footer::after,
body.wir-comment-single .post-footer::before,
body.wir-comment-single .post-footer::after{
  display: none !important;
  content: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}

body.wir-comment-single article,
body.wir-comment-single main article,
body.wir-comment-single .site-main article,
body.wir-comment-single .wir-comment-article{
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px){
  .wir-grid,
  .wir-grid-3{
    grid-template-columns: 1fr;
  }

  .wir-contact{
    grid-template-columns: 1fr;
  }

  .wir-box{
    padding: 14px;
  }

  .wir-title{
    font-size: 22px;
  }

  .wir-search-stack{
    gap: 12px;
  }

  .wir-search-stack .wir-btn{
    font-size: 19px;
    padding: 13px 16px;
  }

  .wir-field input,
  .wir-field select{
    padding: 12px;
    border-radius: 12px;
    font-size: 16px;
  }

  .wir-card{
    padding: 12px;
    border-radius: 14px;
  }

  .wir-card a{
    font-size: 22px;
    line-height: 1.15;
  }

  .wir-card .wir-meta{
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.3;
  }

  .wir-rate-row{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0;
  }

  .wir-rate-label{
    min-width: 0;
    width: 100%;
    white-space: normal;
    font-size: 19px;
  }

  .wir-rate-stars{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .wir-starbtn{
    width: 52px;
    height: 46px;
    border-radius: 14px;
  }

  .wir-starbtn.wir-neutral{
    width: 52px !important;
    height: 46px !important;
    border-radius: 14px !important;
  }

  .wir-star{
    font-size: 24px;
  }

  .wir-starbtn::after{
    right: 7px;
    bottom: 6px;
    font-size: 12px;
  }

  .wir-rate-right{
    width: 100%;
    margin-top: 12px;
    justify-content: flex-start;
  }

  .wir-submit{
    width: auto;
    min-width: 170px;
    min-height: 42px;
    padding: 11px 16px;
    border-radius: 14px;
    font-size: 15px;
  }
}

@media (max-width: 420px){
  .wir-wrap{
    font-size: 16px;
  }

  .wir-card a{
    font-size: 21px;
  }

  .wir-search-stack .wir-btn{
    font-size: 18px;
  }

  .wir-starbtn{
    width: 50px;
    height: 44px;
  }

  .wir-starbtn.wir-neutral{
    width: 50px !important;
    height: 44px !important;
  }

  .wir-submit{
    min-width: 160px;
    padding: 10px 14px;
    font-size: 15px;
  }
}
