/*
Theme Name: Prokody
Theme URI: https://prokody.pl/
Author: Prokody
Description: Szybki motyw WordPress do kodow rabatowych, promocji i stron sklepów.
Version: 1.0.0
Text Domain: prokody
*/

/* =========================
   Base / Reset
========================= */
:root{
  --bg-page: #f4f5f5;
  --text: #000;
  --text-invert: #fff;
  --border: #000;
  --muted: #e9ecef;
  --dark: #212529;
  --danger: #dc3545;

  --radius-pill: 50rem;
  --radius-md: 10px;

  --gap: .3rem;
  --pill-h: 2rem;
  --pill-h-mobile: 2.5rem;

  --shadow-hover: 0 0.5rem 1rem rgba(0,0,0,.15);
	
  --pk-nav-bg: #fff;
  --pk-nav-fg: #222;
  --pk-nav-muted: #6b7280;
  --pk-nav-accent: #dc3546;
  --pk-nav-border: #dee2e6;
}

ol, ul { list-style: inside decimal; }

body{
  min-height: 100vh;
  margin-top: 0;
  -webkit-font-smoothing: auto;
  font-family: "Nunito", sans-serif;
  background-color: var(--bg-page);
}

a{
  background-color: transparent;
  color: #0d6efd;
  text-decoration: none;
}
a:active, a:hover { 
	outline: 0;
}

.header-bottom li.nav-item a:hover {
	color: #dc3545 !important
}

img{
  border: 0;
  height: auto;
  max-width: 100%;
}

hr{ box-sizing: content-box; height: 0; }
input{ line-height: normal; }

input[type="checkbox"], input[type="radio"]{ box-sizing: border-box; padding: 0; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button{ height: auto; }
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration{ -webkit-appearance: none; }

svg:not(:root){ overflow: hidden; }


@media (max-width:1280px){ html{ font-size:95%; } }
@media (max-width:1024px){ html{ font-size:90%; } }
@media (max-width:960px) { html{ font-size:85%; } }
@media (max-width:768px) { html{ font-size:80%; } }
@media (max-width:480px) { html{ font-size:75%; } }


.min-h-100{ min-height: 100%; }
.top-5{ top:5%; }
.start-5{ left:5%; }
.bottom-5{ bottom:5%; }
.start-2{ left:2%; }
.bottom-2{ bottom:2%; }
.white-space-nowrap{ white-space: nowrap; }

.box-shadow{ box-shadow: 0 .3125rem .5rem 0 #d10000; }

.clear:before,.clear:after,
.comment-content:before,.comment-content:after,
.entry-content:before,.entry-content:after,
.site-content:before,.site-content:after,
.site-footer:before,.site-footer:after,
.site-header:before,.site-header:after{
  content:"";
  display: table;
  table-layout: fixed;
}
.clear:after,
.comment-content:after,
.entry-content:after,
.site-content:after,
.site-footer:after,
.site-header:after{ clear: both; }


.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x)*.5);
  padding-left: calc(var(--bs-gutter-x)*.5);
  margin-right: auto;
  margin-left: auto;
}
@media (min-width:767px){
  .container,.container--flex{ width:85%!important; }
}

.nav-pills{ gap: 5px; }

.nav-pills .nav-link,
.custom-select,
.custom-select-filter{
  background: transparent;
  display: flex;
  align-items: center;
  height: var(--pill-h);
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
}

.nav-pills .nav-link{
  justify-content: center;
  padding: 0 .75rem;
}

.nav-pills .nav-link:hover{
  background: var(--dark);
  color: var(--text-invert);
}
.nav-pills .nav-link.active{
  background: var(--dark);
  color: var(--text-invert);
}

@media (max-width:600px){
  .nav-pills{
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
  }
  .nav-pills.carousel-scrollbar{ padding-bottom: 10px; }
  .nav-pills .nav-link{ height: var(--pill-h-mobile); }
}

.dropdown-menu{ z-index: 1023; }
.dropdown-toggle::after{ transition: transform .3s linear; }
.dropdown-toggle.show::after{ transform: rotate(180deg); }

.dropdown-menu-desktop .dropdown-menu.show{
  display: flex;
  flex-wrap: wrap;
	max-width: 500px;
}

.dropdown-menu.dropdown-store-categories.show {
    display: flex;
    flex-wrap: wrap;
	max-width: 500px;
}

.dropdown-menu-desktop.dropdown-menu-categories .dropdown-menu{ width: 600px; }
@media (max-width:600px){
  .dropdown-menu-desktop.dropdown-menu-categories .dropdown-menu{ width: 100%; }
}

ul.mega-menu{
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 10px 0;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  text-align: left;
  background-color: #f8f9fa;
  border-radius: var(--radius-md);
  background-clip: padding-box;
}


.search_result_image{
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.main-search{
  position: relative;
  border: 1px solid var(--muted);
  background: var(--muted);
}
.main-search:focus-within{
  background: #fff!important;
  border-color: var(--dark);
}

.main-search input,
.main-search-mobile input{
  border: 0;
  background: transparent;
  outline: 0;
}

.main-search input{
  min-height: 38px;
  font-size: .85rem;
}
.main-search input::placeholder{
	color: black;
}

.main-search-mobile{
  width: 100%;
  min-height: 40px;
}

@media (max-width:600px){
  .main-search{ position: static; }
}

.search-form-icon {
    display: flex;
    align-items: center
}

#search_results{
  width: inherit;
  margin-top: 50px!important;
  border-radius: var(--radius-md);
  left: 0;
  right: 0;
  z-index: 1022;
}
#mobile-menu-search + #search_results{ padding-top: 3.3rem!important; }

#search_results_mobile{
  width: inherit;
  margin-top: 50px!important;
  left: 0;
  right: 0;
  z-index: 1022;
  padding: 10px 20px 20px;
  gap: 10px;
  height: 100%;
  background: var(--bg-page);
}
#search_results_mobile .list-group-item{
  border: none;
  background: #fff;
  border-radius: var(--radius-md);
}

@media (max-width:600px){
  #search_results{ border: 0!important; }
  #search_results>div{ border-radius: 0!important; }
}

.row {
    --bs-gutter-x: 10px;
}

.grid_row{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: calc(-1 * var(--gap))!important;
}
.grid_row::-webkit-scrollbar{ display: none; }

.carousel-scrollbar::-webkit-scrollbar{
  width: 0;
  height: 2px;
  display: block;
}
.carousel-scrollbar::-webkit-scrollbar-thumb{
  border-radius: 0;
  background: var(--text);
  -webkit-box-shadow: none;
}
.carousel-scrollbar::-webkit-scrollbar-track{
  -webkit-box-shadow: none;
  border-radius: 0;
  background: rgba(0,0,0,.08);
  margin-block: 10px;
  writing-mode: vertical-rl;
}

@media (max-width:600px){
  .carousel-categories,
  .carousel-scrollbar,
  .carousel-stores{
    overflow-x: auto;
    flex-wrap: nowrap!important;
  }
  .carousel-stores.carousel-scrollbar{ padding-bottom: 10px; }
}

/* Hover shadow unify */
.category-grid-item:hover,
.store-grid-item:hover,
.store-grid-item-all a:hover,
div#coupon-grid:hover{
  box-shadow: var(--shadow-hover)!important;
  transition: .2s all;
}

.store-list-item {
	
}

.article_grid, .coupon_grid{
  flex-basis: calc(100%/4 - (var(--gap)*2));
  max-width: calc(100%/4 - (var(--gap)*2));
  border-radius: 0;
  border: 0;
  background: transparent;
  padding-bottom: .6rem;
}
.article_grid{ cursor: pointer; }

@media (max-width:768px){
  .article_grid, .coupon_grid{
    flex-basis: calc(100%/3 - (var(--gap)*2));
    max-width: calc(100%/3 - (var(--gap)*2));
  }
}
@media (max-width:600px){
  .article_grid, .coupon_grid{
    flex-basis: calc(100%/1 - (var(--gap)*2));
    max-width: calc(100%/1 - (var(--gap)*2));
  }
}

/* Category items */
.category-grid-item{
  max-width: calc(100%/5 - (var(--gap)*2));
  margin: var(--gap);
}
@media (max-width:768px){
  .category-grid-item{ max-width: calc(100%/4 - (var(--gap)*2)); }
}
@media (max-width:600px){
  .category-grid-item{ max-width: calc(100%/1 - (var(--gap)*2)); }
  #hp-popular-categories .category-grid-item{ max-width: calc(100%/2 - (var(--gap)*2)); }
}
.category-grid-item svg{ width:24px; height:24px; }

/* Store items */
.store-grid-item{
  max-width: calc(100%/9 - (var(--gap)*2));
  margin: var(--gap);
  width: 100%;
  padding: 0;
}
@media (max-width:992px){ .store-grid-item{ max-width: calc(100%/6 - (var(--gap)*2)); } }
@media (max-width:600px){ .store-grid-item{ max-width: calc(100%/3 - (var(--gap)*2)); } }

@media (max-width:992px){
  .carousel-scrollbar .store-grid-item{ max-width: calc(100%/4.5 - (var(--gap)*2)); }
}
@media (max-width:768px){
  .carousel-scrollbar .store-grid-item{ max-width: calc(100%/6.5 - (var(--gap)*2)); }
}
@media (max-width:600px){
  .carousel-scrollbar .store-grid-item{ max-width: calc(100%/3.2 - (var(--gap)*2)); }
}

.store-grid-item-all{
  max-width: calc(100%/5 - (var(--gap)*2));
  margin: var(--gap);
  width: 100%;
  padding: 0;
}
@media (max-width:992px){ .store-grid-item-all{ max-width: calc(100%/2 - (var(--gap)*2)); } }
@media (max-width:768px){ .store-grid-item-all{ max-width: calc(100%/4 - (var(--gap)*2)); } }
@media (max-width:600px){ .store-grid-item-all{ max-width: calc(100%/2 - (var(--gap)*2)); } }

/* =========================
   Buttons / Pagination
========================= */
.deal-button, .code-button{
  display: flex;
  height: 40px;
  justify-content: center;
  align-items: center;
  padding: 5px;
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
}
@media (max-width:600px){
  .code-button,.deal-button,.btn-code{ font-size: 1rem; }
}

.page-numbers{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--dark);
  color: var(--dark);
  font-weight: 700;
  font-size: 1rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.page-numbers:hover{ background: var(--dark); color: var(--text-invert); }
.page-numbers.current{
  background: var(--dark);
  color: var(--text-invert);
  border-color: var(--dark);
}
@media (max-width:600px){
  .page-numbers{ width: 2.5rem; height: 2.5rem; }
}

/* =========================
   Coupon pieces
========================= */
.coupon-store-image{
  padding: 5px;
  height: 60px;
  width: auto;
}
@media (max-width:600px){
  .coupon-store-image{ width: auto!important; }
}

.coupon-content p{ font-size: 12px; margin: 0; }

.coupon-description p{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.coupon-description{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 4.5em;
  transition: max-height .3s ease;
}
.coupon-description.expanded{
  display: block;
  max-height: none;
}

.toggle-btn{
  background: transparent;
  border: 0;
  color: #00f;
  cursor: pointer;
  padding: 0;
  display: none;
}

.coupon-box .display-priority,
.coupon-box .wishlist-icon,
.coupon-list .display-priority,
.coupon-list .valid_till,
.coupon-list .wishlist-icon{
  line-height: 0;
  height: 25px;
  padding-left: 8px;
  padding-right: 8px;
  gap: 3px;
}

.coupon-box .display-priority,
.coupon-list .display-priority{
  font-size: 13px;
  color: var(--danger);
}

.coupon-box .wishlist-icon,
.coupon-list .wishlist-icon{
  font-size: 13px;
  width: 30px;
}

.coupon-box .valid-till{ font-size: 11px; }
.valid-till.expiring-soon{ color: var(--danger); }

.coupon-badge span{ font-size: 11px; font-weight: normal; }
.coupon-badge i{ line-height: 0; }

@media (max-width:600px){
  .coupon-box .display-priority,
  .coupon-box .wishlist-icon,
  .coupon-list .wishlist-icon{ font-size: 10px; }

  .coupon-list .display-priority{ font-size: 12px; }
}

/* =========================
   Custom Select
========================= */
.custom-select,
.custom-select-filter{
  padding-left: 15px;
  cursor: pointer;
}
.custom-select-filter{
  padding-right: 15px;
  gap: 5px;
}

@media (max-width:600px){
  .custom-select, .custom-select-filter{ height: var(--pill-h-mobile); }
}

.custom-select::after{
  display: inline-block;
  margin-left: auto;
  vertical-align: .255em;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-left: .3em solid transparent;
  transition: transform .3s linear;
  margin-right: 10px;
}

.custom-select.open::after{ transform: rotate(180deg); }

.custom-select-label{
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.custom-select.open .custom-select-options,
.custom-select-filter.open .custom-select-options{ display: block; }

.custom-select-options{
  list-style: none;
  margin: 5px 0 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: none;
  z-index: 10;
}
.custom-select-options.custom-select-category{ width: 600px; }
.custom-select.store-category-select ul.custom-select-options{ width: 50%; }

@media (max-width:600px){
  .custom-select-options{ width: 100%; min-width: auto; }
  .custom-select-options.custom-select-category{ width: 100%; }
  .custom-select.store-category-select ul.custom-select-options{ width: 100%; }
}

.custom-select-options li{
  padding: 10px 10px 10px 15px;
  cursor: pointer;
  transition: background .3s;
  color: var(--text);
}
.custom-select-options li:hover{ background: var(--muted); }
.custom-select-options .selected{ font-weight: 700; }

.custom-select.open,
.custom-select-filter.open{
  background: var(--dark)!important;
  color: var(--text-invert)!important;
}

/* =========================
   Swiper
========================= */
@media (max-width:600px){
  .swiper-container{ padding-left: 30px; padding-right: 30px; }
  .swiper-slide .coupon-grid{ min-height: 300px; }
}

.swiper-slide{ opacity: .5; height: auto!important; }
.swiper-slide.swiper-slide-visible{ opacity: 1; }
.swiper-slide:not(.swiper-slide-visible){ pointer-events: none; }

.swiper-wrapper{ align-items: stretch!important; }

.swiper-button-next,
.swiper-button-prev{
  background-color: var(--dark);
  border-radius: 100%;
  color: var(--text-invert)!important;
  width: 40px!important;
  height: 40px!important;
  box-shadow: 0 4px 8px rgba(0,0,0,.1);
}
.swiper-button-next:after,
.swiper-button-prev:after{ font-size: 20px!important; }

/* =========================
   Breadcrumbs / typography
========================= */
p#breadcrumbs{
  font-size: 14px;
  margin: 0;
}
@media (max-width:600px){
  p#breadcrumbs{ font-size: 12px; }
}
p#breadcrumbs a{ color: var(--text); }

nav.rank-math-breadcrumb a{
  color: var(--bs-emphasis-color)!important;
}
@media (max-width:600px){
  nav.rank-math-breadcrumb p{ font-size: 10px; }
}

.brand_count, .brand_name{ font-size: 12px; }
@media (max-width:600px){
  .brand_count, .brand_name{ font-size: 10px; }
}
.brand_name{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================
   Offcanvas / misc
========================= */
.offcanvas{
  z-index: 10000;
  max-width: 80%;
}
.offcanvas-header{ height: 50px; }

#scroll-to-top{
  position: fixed;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: opacity .3s ease, visibility .3s ease;
}
body.scrolled button#scroll-to-top{
  opacity: 1;
  visibility: visible;
}

/* =========================
   Keep plugin overrides (as-is-ish)
========================= */
button.cky-btn{ border-radius: var(--radius-pill); }

#cookiescript_accept{
  background-color: var(--danger)!important;
  color: #fff!important;
  border-color: #dc3546!important;
}
#cookiescript_injected_fsd #cookiescript_save{
  background-color: var(--danger)!important;
  border: 1px solid var(--danger)!important;
}
#cookiescript_injected_fsd .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{
  background: var(--danger)!important;
}
#cookiescript_injected_fsd .mdc-switch:enabled .mdc-switch__track::after{
  background: #dc3546!important;
  opacity: .3!important;
}
#cookiescript_manage:hover #cookiescript_manageicon .cookiescript_gear{
  fill: #dc3546!important;
}
.cookiescript_fsd_cookies::-webkit-scrollbar-thumb,
.cookiescript_fsd_tabs_content::-webkit-scrollbar-thumb{
  background-color: #dc3546!important;
}
.cookiescript_fsd_header{ display: none!important; }

div#cookiescript_copyright,
div#mobile-menu-dropdown .show svg.bi.bi-grid-fill,
div#mobile-menu-dropdown svg.bi.bi-x-lg,
div#onesignal-slidedown-container .slidedown-body-icon{
  display: none;
}

/* mobile menu dropdown */
#mobileMenuModal .dropdown-menu{
  position: static;
  border: none;
}
#mobileMenuModal .dropdown-menu.show{
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
#mobileMenuModal .nav-link{ font-size: 16px; }

.m-header-icon-button{
  border: none;
  background: none;
  font-size: 1.5rem;
}

.navbar-toggler:focus{
  outline: 0;
  box-shadow: none;
}

.header-top-mobile,
.header-top{
  transition: border-color .3s ease;
}
.header-top-mobile.scrolled,
.header-top.scrolled{
  border-top-color: #dee2e6!important;
  border-bottom-color: #dee2e6!important;
}

/* offers bar */
@media (max-width:600px){
  div#offers-bar{
    overflow-x: auto;
    flex-wrap: nowrap!important;
    padding-bottom: 10px;
  }
  div#offers-bar a{
    max-width: calc(100%/1.5 - (var(--gap)*2));
    flex-basis: calc(100%/1.5 - (var(--gap)*2));
  }
}
div#offers-bar a:hover{
  border-color: #dee2e6!important;
  background: #eaecef!important;
  transition: .2s all;
}

/* misc */
.text-bg-black{ color:#fff!important; background:#000!important; }
.btn-group .btn{ flex: none; }


.copy-code-input:focus-visible{ outline: 0; }
.copy-coupon{ overflow: hidden; }

.category-image{
  height: 200px;
  width: 100%;
  background-size: cover!important;
  background-position: center!important;
}
@media (max-width:600px){
  .category-image{ height: 150px; }
}

#coupon-store-logo img{
  width: 70px;
  padding: 5px;
}
@media (max-width:768px){
  .swiper-slide #coupon-store-logo img{ width: 60px; }
}

section#hp-recommended-offers .coupon-box:hover{ cursor: pointer; }
.coupon-brand-link:hover{ text-decoration: underline; }

@media (min-width:768px){
  .rounded-md-pill{ border-radius: var(--bs-border-radius-pill) !important; }
}

.logo {
    height: 2.5rem
}

@media screen and (max-width:600px) {
    .logo {
        height: 40px;
    }
}

.nav-link-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 20px;
    border: solid 1px #000;
    color: #000;
    font-weight: 700;
    font-size: 14px
}

@media only screen and (max-width:600px) {
    .nav-link-letter {
		width: 2.5rem;
		height: 2.5rem;
    }
}

.nav-link-letter.active, .nav-link-letter:hover {
    background: #212529;
    color: #fff
}
@media only screen and (max-width:600px) {
.btn {
	font-size: 14px;
}
}
.dropdown-menu {
	font-size: 14px;
}

.nav-link {
	font-size: 16px;
}




.pk-bottom-nav{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1039;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;

  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--pk-nav-bg);
  border-top: 1px solid var(--pk-nav-border);
/*   box-shadow: 0 -8px 20px rgba(0,0,0,.06); */

  transform: translateY(0);
  transition: transform .18s ease;
}

.pk-bottom-nav.is-hidden{
  transform: translateY(110%);
}

.pk-nav-item{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  color: black;
  padding: 6px 4px;
  border-radius: 12px;

  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.pk-nav-item:active{
  background: rgba(0,0,0,.04);
}

.pk-icon{
  line-height: 0;
}

.pk-label{
  margin-top: 4px;
  font-size: 11px;
  line-height: 1;
}

.pk-nav-item.is-active{
  color: var(--pk-nav-accent);
}

.pk-nav-item--search{
  color: var(--pk-nav-fg);
}

.pk-nav-item--search .pk-icon{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;

  border-radius: 999px;
  background: rgba(255, 90, 0, .12);
}

.pk-nav-item--search.is-active .pk-icon{
  background: rgba(255, 90, 0, .18);
}

.pk-badge{
  position: absolute;
  top: 2px;
  right: 16px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 11px;
  border-radius: 999px;
  background: var(--pk-nav-accent);
  color: #fff;
}


@media (min-width: 900px){
  .pk-bottom-nav{ display: none; }
}

/* =========================
   Bootstrap color mode: dark
========================= */
[data-bs-theme="dark"]{
  color-scheme: dark;

  --bg-page: #0f1115;
  --text: #f4f6f8;
  --text-invert: #0f1115;
  --border: #3a414c;
  --muted: #1b2028;
  --dark: #f4f6f8;

  --pk-nav-bg: #11151c;
  --pk-nav-fg: #f4f6f8;
  --pk-nav-muted: #aab2c0;
  --pk-nav-border: #252b35;

  --bs-body-color: #e9edf2;
  --bs-body-color-rgb: 233, 237, 242;
  --bs-body-bg: #0f1115;
  --bs-body-bg-rgb: 15, 17, 21;
  --bs-emphasis-color: #ffffff;
  --bs-emphasis-color-rgb: 255, 255, 255;
  --bs-secondary-color: rgba(233, 237, 242, .75);
  --bs-secondary-bg: #1b2028;
  --bs-tertiary-bg: #151922;
  --bs-border-color: #2b323d;
  --bs-border-color-translucent: rgba(255, 255, 255, .12);
  --bs-link-color: #8bb9ff;
  --bs-link-hover-color: #b3d0ff;
}

[data-bs-theme="dark"] body{
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}

[data-bs-theme="dark"] .bg-white,
[data-bs-theme="dark"] .bg-light,
[data-bs-theme="dark"] .bg-light-subtle{
  background-color: #151922 !important;
}

[data-bs-theme="dark"] .bg-body,
[data-bs-theme="dark"] .bg-body-secondary,
[data-bs-theme="dark"] .modal-content,
[data-bs-theme="dark"] .offcanvas,
[data-bs-theme="dark"] .dropdown-menu,
[data-bs-theme="dark"] .list-group-item,
[data-bs-theme="dark"] .card{
  background-color: var(--bs-tertiary-bg) !important;
  color: var(--bs-body-color);
}

[data-bs-theme="dark"] .text-dark,
[data-bs-theme="dark"] .text-body,
[data-bs-theme="dark"] .text-body-emphasis,
[data-bs-theme="dark"] .nav-link,
[data-bs-theme="dark"] .btn-link{
  color: var(--bs-emphasis-color) !important;
}

[data-bs-theme="dark"] .text-muted,
[data-bs-theme="dark"] .text-secondary,
[data-bs-theme="dark"] .text-body-secondary{
  color: var(--bs-secondary-color) !important;
}

[data-bs-theme="dark"] .border-white,
[data-bs-theme="dark"] .border-dark,
[data-bs-theme="dark"] .border{
  border-color: var(--bs-border-color) !important;
}

[data-bs-theme="dark"] .header-top,
[data-bs-theme="dark"] .header-bottom,
[data-bs-theme="dark"] .header-top-mobile,
[data-bs-theme="dark"] .extension-nav{
  background-color: #11151c !important;
  border-color: var(--bs-border-color) !important;
}

[data-bs-theme="dark"] .main-search{
  background: #1b2028;
  border-color: var(--bs-border-color);
  color: var(--bs-body-color);
}

[data-bs-theme="dark"] .main-search:focus-within{
  background: #202633 !important;
  border-color: #596273;
}

[data-bs-theme="dark"] .main-search input,
[data-bs-theme="dark"] .main-search-mobile input,
[data-bs-theme="dark"] input,
[data-bs-theme="dark"] textarea,
[data-bs-theme="dark"] select,
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select{
  color: var(--bs-body-color);
  background-color: transparent;
  border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .main-search input::placeholder,
[data-bs-theme="dark"] input::placeholder,
[data-bs-theme="dark"] textarea::placeholder{
  color: rgba(233, 237, 242, .55);
}

[data-bs-theme="dark"] #search_results,
[data-bs-theme="dark"] #search_results_mobile,
[data-bs-theme="dark"] #search_results_mobile .list-group-item,
[data-bs-theme="dark"] .custom-select-options{
  background: #151922;
  border-color: var(--bs-border-color);
  color: var(--bs-body-color);
}

[data-bs-theme="dark"] .custom-select-options li:hover,
[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:focus{
  background-color: #202633;
  color: var(--bs-emphasis-color);
}

[data-bs-theme="dark"] .dropdown-item,
[data-bs-theme="dark"] .list-group-item-action,
[data-bs-theme="dark"] .category-grid-item,
[data-bs-theme="dark"] .store-grid-item,
[data-bs-theme="dark"] .coupon-brand-link{
  color: var(--bs-emphasis-color) !important;
}

[data-bs-theme="dark"] div#coupon-grid,
[data-bs-theme="dark"] .coupon-box > div,
[data-bs-theme="dark"] .prokody-taxonomy-card,
[data-bs-theme="dark"] .store-grid-item,
[data-bs-theme="dark"] .category-grid-item,
[data-bs-theme="dark"] article.bg-white,
[data-bs-theme="dark"] .post.bg-white{
  background-color: #151922 !important;
  border-color: var(--bs-border-color) !important;
  color: var(--bs-body-color);
}

[data-bs-theme="dark"] #coupon-store-logo,
[data-bs-theme="dark"] .coupon-store-image{
  background-color: #ffffff;
}

[data-bs-theme="dark"] .coupon-description,
[data-bs-theme="dark"] .valid-till,
[data-bs-theme="dark"] .coupon-tags,
[data-bs-theme="dark"] .display-priority{
  color: var(--bs-secondary-color);
}

[data-bs-theme="dark"] .btn-outline-dark{
  --bs-btn-color: #f4f6f8;
  --bs-btn-border-color: #596273;
  --bs-btn-hover-color: #0f1115;
  --bs-btn-hover-bg: #f4f6f8;
  --bs-btn-hover-border-color: #f4f6f8;
  --bs-btn-active-color: #0f1115;
  --bs-btn-active-bg: #f4f6f8;
  --bs-btn-active-border-color: #f4f6f8;
}

[data-bs-theme="dark"] .nav-link-letter{
  border-color: var(--bs-border-color);
  color: var(--bs-emphasis-color);
}

[data-bs-theme="dark"] .nav-link-letter.active,
[data-bs-theme="dark"] .nav-link-letter:hover,
[data-bs-theme="dark"] .nav-pills .nav-link.active,
[data-bs-theme="dark"] .nav-pills .nav-link:hover{
  background: #f4f6f8;
  color: #0f1115 !important;
}

[data-bs-theme="dark"] .pk-bottom-nav{
  background: var(--pk-nav-bg);
  border-color: var(--pk-nav-border);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .35);
}

[data-bs-theme="dark"] .pk-nav-item{
  color: var(--pk-nav-fg);
}

[data-bs-theme="dark"] .pk-nav-item:active{
  background: rgba(255, 255, 255, .08);
}

[data-bs-theme="dark"] .pk-nav-item--search .pk-icon{
  background: rgba(220, 53, 69, .22);
}

[data-bs-theme="dark"] .logo{
  filter: none;
}

.prokody-theme-switcher .dropdown-menu{
  min-width: 10rem;
}

.prokody-theme-switcher .dropdown-item.active{
  background-color: var(--bs-tertiary-bg);
  color: var(--bs-emphasis-color);
  font-weight: 700;
}

.prokody-theme-switcher .btn{
  min-height: 2.35rem;
}

.prokody-theme-switcher-mobile{
  width: 40px;
  height: 40px;
  padding: 0 !important;
}

.header-top-mobile .prokody-theme-switcher .dropdown-menu{
  min-width: 9.5rem;
}

[data-bs-theme="dark"] .prokody-theme-switcher .dropdown-item.active{
  background-color: #202633;
}
