@font-face {
  font-family: TokanWeb;
  src:url(../fonts/Vazirmatn.woff2) format('woff2-variations'),
  url(../fonts/Vazirmatn.woff2) format('woff2');
  font-weight:100 900;
  font-display:swap;
}

a,
input,
select,
textarea,
button {
    outline: none
}

a,
a:active,
input,
input:active,
button,
button:active,
select,
select:active {
    outline: none
}

a {
    text-decoration: none;
    background-color: transparent;
    color: #000;
    transition: all 0.5s;
}
a:hover{
  color: #E4002B;
}

*:active,
*:hover,
*:focus {
    outline: none
}

html {
      overflow-x: hidden;
    scroll-padding-top: 90px;
    scroll-behavior: smooth;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
    margin: 0
}

img {
    vertical-align: middle;
    max-width: 100%;
    height: auto
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden],
template {
    display: none
}

a {
    background-color: transparent
}

a:active,
a:hover {
    outline: none
}

abbr[title] {
    border-bottom: 1px dotted
}

b,
strong {
    font-weight: bold;
    font-variation-settings: "wght" 700
}

dfn {
    font-style: italic
}

mark {
    background: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -0.5em
}

sub {
    bottom: -0.25em
}

img {
    border: 0
}

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

hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

pre {
    overflow: auto
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0
}

button {
    overflow: visible
}

button,
select {
    text-transform: none
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled],
html input[disabled] {
    cursor: default
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input {
    line-height: normal
}

input[type="checkbox"],
input[type="radio"] {
    -webkit-box-sizing: border-box;
    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-appearance: textfield;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto
}

optgroup {
    font-weight: bold
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

td,
th {
    padding: 0
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    transition: all 0.5s;
}

*:before,
*:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

img[data-src] {
    opacity: 0;
    -webkit-transition: opacity .25s ease-in-out;
    transition: opacity .25s ease-in-out;
    will-change: opacity
}

img[data-src][src] {
    opacity: 1
}

body {
    font-family: TokanWeb, Tahoma;
    overflow-x: hidden;
    font-weight: 400;
    font-size: 16px;
    background: #fcfdff;
    color: #1F2933;
    -webkit-font-feature-settings: "ss01";
    font-feature-settings: "ss01";
}


*::-webkit-scrollbar {
  width: 4px;
}
*::-webkit-scrollbar-track {
  background: #e0e6ee;
  border-radius: 5px;
}
*::-webkit-scrollbar-thumb {
  background: #E4002B;
  border-radius: 5px;
}
@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-color: #E4002B #e0e6ee;
    scrollbar-width: thin;
  }
}


h1 {
    font-size: 25px;
    font-weight: 700;
    line-height: 35px;
}

h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
}

h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
}

h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 48px;
}

h5 {
    font-size: 16px;
    font-weight: 700;
    line-height: 32px;
}

h6 {
    font-size: 14px;
    font-weight: 700;
    line-height: 32px;
}
ul {
    list-style-type: none;
}


.kb-toast-container {
  position: fixed;
  top: 90px;
    right: 1rem;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 320px;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}

.kb-toast {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow:
    0 10px 30px rgba(0,0,0,.15),
    0 4px 10px rgba(0,0,0,.08);
  transform: translateX(120%);
  opacity: 0;
  pointer-events: auto;
  will-change: transform, opacity;
}

.kb-toast.show {
  animation: KBToastIn .45s cubic-bezier(.22,1,.36,1) forwards;
}

.kb-toast.hide {
  animation: KBToastOut .35s cubic-bezier(.55,.085,.68,.53) forwards;
}

@keyframes KBToastIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes KBToastOut {
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}


.kb-loading-container{
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}
.kb-lc-dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #666;
  opacity: 0.3;
  animation: pulse 0.75s ease-in-out infinite;
}
.kb-lc-dot:nth-child(1) {
    animation-delay: 0s;
}
.kb-lc-dot:nth-child(2) {
    animation-delay: 0.25s;
}
.kb-lc-dot:nth-child(3) {
    animation-delay: 0.5s;
}
@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}



/* toast */
.kb-toast-content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}

.kb-toast-icon {
  width: 28px;
    height: 28px;
  flex-shrink: 0;
}

.kb-toast-icon img {
  width: 100%;
    height: 100%;
    background: #fff6;
    border-radius: 50%;
    padding: 4px;
}

.kb-toast-message {
  flex: 1;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
}

.kb-toast-close {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 0;
  opacity: .7;
  transition: .2s;
}

.kb-toast-close:hover {
  opacity: 1;
  transform: scale(1.08);
}

.kb-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: left;
  animation-name: kbProgress;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

@keyframes kbProgress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* TYPES */

.kb-toast-success {
  background:
    linear-gradient(135deg, #16a34a, #15803d);
}

.kb-toast-success .kb-toast-progress {
  background: rgba(255,255,255,.5);
}

.kb-toast-error {
  background:
    linear-gradient(135deg, #dc2626, #b91c1c);
}

.kb-toast-error .kb-toast-progress {
  background: rgba(255,255,255,.5);
}

.kb-toast-warning {
  background:
    linear-gradient(135deg, #f59e0b, #d97706);
}

.kb-toast-warning .kb-toast-progress {
  background: rgba(255,255,255,.55);
}

/* Mobile */

@media (max-width: 480px) {

  .kb-toast-container {
    top: 75px;
    right: 1rem;
    left: 1rem;
    width: auto;
    max-width: unset;
  }

  .kb-toast {
    width: 100%;
  }

}



.kb-ilni-img-holder img,
.kb-ib-item img,
.card__picture img,
.card__overload_thumb img,
.kb-content p img,
.kb-g-item img,
.kb-image img,
.kb-g-item img,
.kb-sc-image img,
.kb-single-rp-item .right img,
.kb-search-cars-results img
{
  color: transparent;
  background: #F8FAFC;
  background-size: auto;
  /*filter: blur(7px);
  transition: filter 0.2s;*/
}
img.lazyloaded {
    filter: blur(0px) !important;
}

.container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.mt-50{
  margin-top: 2.5rem;
}
.kb-btn{
  padding: 16px 32px;
  color: white;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: #161718;
}
.kb-btn:hover {
  background: #383b3e;
  color: white;
}
.hide-desktop{
  display: none
}
.hide-mobile{
  display: block;
}
@media only screen and (max-width: 992px) {
  .hide-desktop{
    display: block;
  }
  .hide-mobile{
    display: none;
  }
}


/*== header =============*/
body{
    padding-top: 70px;
}
header{
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 99;
}
.admin-bar header{
  top: 32px;
}
.kb-topheader-holder{
  transition: top 0.4s ease-in-out;
  background: #03050c;
}
.kb-topheader{
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 0 auto;
  max-width: 90rem;
  width: 100%;
  -moz-box-align: center;
  align-items: center;
  z-index: 100;
  padding: 10px 0;
}
.kb-nav_menu {
  grid-area: 1/1/2/2;
}
.kb-th_logo {
  display: flex;
  grid-area: 1/2/2/3;
  -moz-box-align: center;
  align-items: center;
  justify-content: space-around;
}
.kb-th_left {
  display: flex;
  grid-area: 1/3/2/4;
  -moz-box-orient: horizontal;
  -moz-box-direction: reverse;
  flex-direction: row-reverse;
  -moz-box-align: center;
  align-items: center;
}
.kb-thl-price{
  margin-left: 1.5rem;
    background: #161718;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
}
.kb-thl-price a{
  color: white;
  font-size: 14px;
  font-weight: 300;
}
.kb-th_search {
  height: 32px;
  width: 32px;
}
.kb-th_search button{
  padding: 0;
  margin-left: 2px;
}
.kb-th_search .icon-search{
  font-size: 20px;
  color: white;
}
.openBtn{
  background: none;
  border: none;
}
.overlay {
  height: 70px;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: -90px;
  right: 0;
  background-color: #fff;
  display: flex;
}
.search-active{
  top: 0 !important;
}

/* The content */
.overlay-content {
  width: 100%;
  text-align: center;
  margin-right: 15px;
}
.kb-seacharea{
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 500px;
}


/* Close button */
.overlay .closebtn {
  cursor: pointer;
  color: white;
  height: 24px;
  width: 24px;
}

.overlay .closebtn:hover {
  color: #ccc;
}

/* Style the search field */
.overlay input[type=text] {
  font-size: 15px;
  border: none;
  float: right;
  width: calc(100% - 48px);
  background: #f4f4f4;
  height: 40px;
  border-radius: 0 8px 8px 0;
  padding: 0 15px;
}


/* Style the submit button */
.overlay button {
  float: left;
  width: 48px;
  border: none;
  cursor: pointer;
  height: 40px;
  background: #f4f4f4;
  border-radius: 8px 0 0 8px;
}
.searchArea__button svg{
  margin-top: 4px;
}



.kb-nav-main{
  background: #326b50;
}
.sf-menu{
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: 50px;
  padding: 0;
  margin: 0;
}
.menu-item-compare{
  position: relative;
}
.menu-item-compare span{
  position: absolute;
  left: 0px;
  top: -9px;
  background: #E4002B;
  width: 17px;
  height: 17px;
  font-size: 10px;
  line-height: 18px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 2px 2px 5px #686868;
}
.menu-item a{
   font-size: 14px;
   transition: all .4s;
   padding: 0 8px;
   font-weight: 300;
   color: white;
}
.menu-item a:hover{
   color: #E4002B;
}

.menu-item-price{
  padding: 3px 15px;
  border: 2px solid #6d9075;
  border-radius: 7px;
}
.dropbtn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: all .4s;
  display: flex;
  align-items: center;
  font-weight: 300;
  color: white;
}
.dropbtn svg{
  margin-right: 3px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #fff;
  min-width: 220px;
  z-index: 99;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-radius: 0;
}

.dropdown-content a:hover {
  border-radius: 4px;
  background: #161718;
  color: white;
}
.dropdown:hover .dropdown-content {display: block;}
.dropdown:hover .dropbtn {
  color: #E4002B;
}
.dropdown:hover .dropbtn path{
  fill: #E4002B;
}
.kb-nav{
  display: flex;
  justify-content: space-between;
}
.header .menu .drawer {
  display: flex;
}
.header .menu .drawer a {
  text-transform: capitalize;
  transition: all 0.1s linear;
  display: flex;
  align-items: center;
  padding: 0 30px;
  color: #b6bcbf;
  font-size: 15px;
}
.menu-btn,
.close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
}
.close-btn {
  fill: black !important;
  text-align: left;
  width: 100%;
  padding-left: 10px;
}
.close-btn svg{
  border: 1px solid #16171852;
  border-radius: 10px;
  padding: 2px;
}
.menu{
  display: none;
}
.menu-btn, .kb-th_humburger{
  display: none
}
.kb-th_humburger{
  width: 40px;
  height: 40px;
}
.kb-th_humburger button{
  padding: 0;
}

.kb-th_logo img{
  max-width: 105px;
}


@media only screen and (max-width: 1100px) {
  .kb-th_logo img{
    max-width: 95px;
  }
  .kb-thl-price{
    display: none
  }
  body{
      padding-top: 60px;
  }
  .kb-seacharea{
    height: 60px;
  }
  .overlay {
    height: 60px;
  }
  .header .menu ul{
    padding: 16px;
  }
  .header .menu-b-b{
   border-bottom: 1px solid #323942;
   padding-bottom: 12px;
   margin-bottom: 12px;
  }
  .menu-btn, .kb-th_humburger{
    display: block;
  }
  .menu{
    display: block;
  }
 .kb-nav_menu{
   display: none;
 }
 .kb-th_banner{
   display: none;
 }
 .kb-topheader-holder {
  position: fixed;
  top: 0;
  width: 100%;
}

 .header .menu {
   display: flex;
   position: fixed;
   width: 100%;
   height: 100%;
   z-index: 300;
   left: -925px;
   transition: all 0s;
 }
 .header .menu .drawer {
     height: 100%;
     width: 245px;
     background: #03050c;
     flex-direction: column;
     position: fixed;
     right: -250px;
     transition: all 400ms cubic-bezier(1,0,0,1);
     overflow: auto;
   }
   .header .menu .drawer a {
     padding: 10px 0;
     position: relative;
   }
   .menu-btn, .kb-th_humburger{
     display: block;
   }
   .close-btn {
     display: none;
   }
   .header .logo {
     margin-left: 17px;
   }
   .drawer-visible {
     right: 0 !important;
   }
   .blur {
     background: rgba(0, 0, 0, 0.4);
     -webkit-backdrop-filter: blur(1px);
     backdrop-filter: blur(1px);
     right: 0 !important;
   }
   .header .menu .blank {
   height: 100%;
   flex: 1;
 }
 .kb-th_search .icon-search {
   padding: 10px;
 }
 .kb-th_left{
position: relative;
 }
}


/*== footer =============*/

.kb-footer-top-holder{
  display: flex;
  justify-content: center;
  position: relative;
  padding-bottom: 2.5rem;
}
.kb-footer-top{
  display: flex;
  margin: 0 auto;
  top: 0;
  position: absolute;
}
.kb-footer-top h3{
  background: #fcfdff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}
.kb-footer-top svg:first-child{
 right: 0;
 fill: #fcfdff;
}
.kb-footer-top svg:last-child{
 left: 0;
 fill: #fcfdff;
 transform: scaleX(-1);
}
@media (max-width: 768px) {
  .footer__social-item {
    padding-left: 8px !important;
}
  .kb-footer-top h3 {
      font-size: 22px;
  }
}


.footer{
  margin-top: 2.5rem;
      background: #03050c;
}
.footer__social{
  display: flex;
  align-items: center;
padding-bottom: 0.5rem;
}
.footer__social-item{
  padding-left: 16px;
  display: block;
}
.footer__social-item:hover img{
      filter: brightness(0);
}
.footer__social-item:last-child{
  padding-left: 0;
}
.footer__top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fcfdff;
}


.kb-fm-holder {
  position: relative;
  padding: 3.5rem 0;
  display: inline-block;
  width: 100%;
  color: #878c95;
}
.kb-fm-holder a{
  color: #E4002B;
}
.kb-w20 {
  width: 25%;
  float: right;
}
.kb-footer_lists{
  color: white;
}
.kb-footer_lists li{
  padding-bottom: 0.5rem;
}
.kb-footer_lists a{
      color: rgb(198, 208, 220);
}
.kb-footer_lists a:hover{
  color: white;
}
.kb-footer_logo{
      margin-bottom: 1rem;
}
.footer_child.footer_child_4 {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.footer__bottom{
  text-align: center;
  padding: 16px 0;
  background: #161718;
  color: #b6bcbf;
}
.tokanweb a{
  color: #E4002B;
}
.copy-right{
  color: #878c95db3;
  font-size: 14px;
  font-weight: 300;
  display: flex;
  justify-content: space-between;
}
@media only screen and (max-width: 768px) {
  .footer__social {
  justify-content: center;
}
  .footer__bottom {
    display: block;
    text-align: center;
  }

  .kb-w20 {
    width: 50%;
  }
.kb-footer_lists {
  padding: 0;
  text-align: center;
}
.kb-footer-mobile-box {
  width: 100% !important;

}
.kb-footer-mobile-box .kb-footer_child{
  margin-bottom: 2rem;
  text-align: center;
}
.kb-footer-mobile-box .footer_trophy{
  margin-top: 2rem;
}
.kb-footer_logo {
    max-width: 120px;
}

.tokanweb {
  padding-top: 8px;
}
.copy-right{
  color: #878c95db3;
  font-size: 14px;
  font-weight: 300;
  display: block;
  justify-content: center;
}

}

/**/

.kb-banner-mb{
  margin-bottom: 1.5rem;
}
.kb-banner-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}
.kb-banner768 {
    width: calc(50% - 0.5rem);
}
.kb-banner768 img{
    width: 100%;
    height: auto;
}
.kb-content .kb-banner768{
  width: 100% !important;
}
@media only screen and (max-width: 768px) {
  .kb-banner768 {
      width: 100%;
  }
}

/*== index =============*/
.title h3{
  font-size: 24px;
}

.kb-itmi-item {
    margin-bottom: 1rem;
}
.kb-itmi-item a{
  display: block;
  position: relative;
  color: white;
  border-radius: 0.5rem;
  overflow: hidden;
}
.kb-itmi-item .news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 20px 25px;
    z-index: 2;
}
.kb-itmi-item .news-content::before {
    position: absolute;
    content: "";
    background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(#000000)), -webkit-gradient(linear, left top, left bottom, from(transparent), to(#000000));
    background: linear-gradient(transparent, #000000), linear-gradient(transparent, #000000);
    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
    opacity: .5;
}
.kb-itmi-item .news-content span {
    font-size: 14px;
    color: #fff;
    z-index: 2;
    position: relative;
    text-shadow: 1px 1px 3px #000;
}
.kb-itmi-item h3 {
    text-shadow: 1px 1px 3px #000;
    z-index: 2;
    position: relative;
    font-size: 16px;
}
.kb-itmi-item img{
  width: 100%;
}


.kb-index-hero-desktop{
  display: block;
}
.kb-index-hero-mobile{
  display: none;
}
@media only screen and (max-width: 768px) {
  .kb-index-hero-desktop{
    display: none;
  }
  .kb-index-hero-mobile{
    display: block;
  }
}

.kb-index-hero-mobile .kb-islider-item a {
    background: #272727;
    border: none;
}
.kb-index-hero-mobile .kb-isi-details h3 {
    color: white;
}


.kb-home-first-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #F8FAFC;
}
.kb-hfs-content {
  width: 100%;
      padding: 2rem 0;
}


.kb-top-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.col-lg-6 {
  flex: 0 0 auto;
  width: calc(51% - 1rem);
}

.col-lg-3 {
  flex: 0 0 auto;
  width: calc(24% - 0.5rem);
  gap: 1rem;
  display: flex;
  flex-wrap: wrap;
}

.single-main-default-news {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.single-main-default-news .news-content::before {
    position: absolute;
    content: "";
    background: -webkit-gradient(linear,left top,left bottom,from(transparent),to(#03050c)),-webkit-gradient(linear,left top,left bottom,from(transparent),to(#03050c));
    background: linear-gradient(transparent,#03050c),linear-gradient(transparent,#03050c);
    height: 70%;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
    opacity: .8
}

.single-main-default-news .news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 20px 25px;
    z-index: 2
}

.single-main-default-news-inner {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.single-main-default-news-inner .news-content::before {
    position: absolute;
    content: "";
    background: -webkit-gradient(linear,left top,left bottom,from(transparent),to(#03050c)),-webkit-gradient(linear,left top,left bottom,from(transparent),to(#03050c));
    background: linear-gradient(transparent,#03050c),linear-gradient(transparent,#03050c);
    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
    opacity: .8
}

.single-main-default-news-inner .news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 20px 25px;
    z-index: 2
}

.kb-top-grid a {
  color: #fff;
  display: block;
  background: #F8FAFC;
}

.kb-top-grid h3 {
    text-shadow: 1px 1px 3px #000;
    z-index: 2;
    position: relative;
        font-weight: 600;
}

.kb-top-grid .col-lg-6 h3 {
    font-size: 20px
}

.kb-top-grid .col-lg-3 h3 {
    font-size: 15px
}

.kb-top-grid .news-content span {
    font-size: 14px;
    color: #fff;
    z-index: 2;
    position: relative;
    text-shadow: 1px 1px 3px #000
}


/**/
.kb-index-top{
  background: #161718;
      padding: 2.5rem 0;
      margin-bottom: 2.5rem;
      position: relative;
}
.kb-index-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/main/tire-pattern.jpg");
  background-repeat: repeat;
  background-size: 250px;
  opacity: 0.09;
  pointer-events: none;
}
.kb-hf-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.kb-hfl-right {
  width: 60%;
  position: relative;
  padding-left: 1.5rem;
}
.kb-hfl-right img{
  border-radius: 1rem;
}


.kb-hfl-left{
  width: 40%;
  color: white;
  padding-right: 16px;
}
.kb-lfl-cat {
  margin-bottom: 0.5rem;
  color: #E4002B;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
}
.kb-lfl-rotitr{
  display: block;
  padding-top: 16px;
  padding-bottom: 8px;
}
.kb-lfl-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 48px;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.kb-lfl-info {
  display: flex;
  align-items: center;
  font-size: 14px;
}
.kb-lfli-date {
  padding-right: 16px;
  margin-right: 16px;
  border-right: 1px solid #eee;
}


.kb-homeFeaturedOther{
  margin-top: 1.5rem;
  position: relative;
  z-index: 3;
}
.kb-hfo-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.kb-hfo-item{
  width: calc(25% - 0.75rem);
  background: #272727;
  border-radius: 0.5rem;
}
.kb-hfo-item a{
  display: flex;
  align-items: center;
  padding: 0.5rem;
  flex-wrap: wrap;
}
.kb-hfoi-right {
  border-radius: 8px;
  overflow: hidden;
}
.kb-hfoi-left{
  margin-top: 1rem;
}
.kb-hfo-item h2{
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  color: #fff;
}
.kb-hfoil-date {
  font-size: 12px;
  line-height: 24px;
  color: #878c95;
  margin-top: 4px;
  display: block;
}
@media only screen and (max-width: 998px) {
  .kb-hfo-item {
   width: 50%;
 }
}
@media only screen and (max-width: 768px) {
  .kb-hfo-item {
   width: 100%;
 }
 .kb-hfo-item:not(:first-child){
   border-top: 1px solid #161718;
           padding-top: 0.5rem;
           margin-top: 0.5rem;
 }
 .kb-hfl-right {
   width: 100%;
   padding-left: 0;
   padding-bottom: 1.5rem;
 }
 .kb-hfl-left {
   width: 100%;
   padding-right: 0;
   padding-bottom: 1rem;
 }
 .kb-lfl-title {
   font-size: 24px;
   line-height: 36px;
 }
}
/**/








.kb-home-car-body-types {
  background: #F8FAFC;
  padding-bottom: 1rem;
  padding-top: 2rem;
}
.kb-hcbt-holder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 24px;
}
.kb-hcbt-holder a{
  text-align: center;
}
.kb-hcbt-holder a img{
  max-width: 120px;
  margin-bottom: 12px;
}
.kb-hcbt-holder span{
  display: block;
  font-size: 14px;
      color: #334155;
}

.kb-home-brands {
      margin-bottom: 4.5rem;
}
.kb-hb-holder{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 24px;
}
.kb-hb-holder a{
  text-align: center;
}
.kb-hb-holder a img{
  max-width: 65px;
  text-align: center;
  background: #ffffff;
  padding: 0.5rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  border: 1px solid #e5e9ee;
}
.kb-hb-holder a span{
  display: block;
  font-size: 14px;
      color: #334155;
}

.kb-home-testdrive-box {
  background: #161718;
  margin: 2.5rem 1rem 1.5rem 1rem;
  padding: 5.5rem 1rem 4.5rem 1rem;
  position: relative;
  border-radius: 1rem;
}
.kb-home-testdrive-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../img/main/tire-pattern.jpg);
    background-repeat: repeat;
    background-size: 250px;
    opacity: 0.09;
    pointer-events: none;
    border-radius: 1rem;
}



.kb-home-dark-title{
  display: flex;
  justify-content: center;
}
.kb-home-dark-title-inner{
  display: flex;
  margin: 0 auto;
  top: 0;
  position: absolute;
}
.kb-home-dark-title-inner h3{
  background: #fcfdff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
      padding-bottom: 0.5rem;
}
.kb-home-dark-title-inner svg:first-child{
 right: 0;
 fill: #fcfdff;
}
.kb-home-dark-title-inner svg:last-child{
 left: 0;
 fill: #fcfdff;
 transform: scaleX(-1);
}
@media (max-width: 768px) {
  .kb-home-dark-title-inner h3 {
      font-size: 22px;
          padding-bottom: 0.25rem;
  }
}



.kb-htdh-top {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.kb-htdh-bot {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.kb-htdht-item {
    width: calc(50% - 0.5rem);
    position: relative;
}
.kb-htdhb-item {
    width: calc(33.33333% - 0.6666rem);
    position: relative;
}
.kb-home-testdrive-box img{
    border-radius: 0.5rem;
}
.kb-htdh-details {
  position: absolute;
  width: 100%;
  right: 0px;
  bottom: 0px;
  color: white;
  padding: 1rem;
}
.kb-htdht-item::before,
.kb-htdhb-item::before {
  z-index: 0;
  width: 100%;
  display: block;
  height: 50%;
  position: absolute;
  right: 0;
  bottom: 0;
  content: "";
  opacity: 0.5;
  pointer-events: none;
  background: linear-gradient(#ffffff00 0px, #161718 100%);
}
.kb-htdht-item .kb-htdh-details h3 {
 font-size: 18px;
 line-height: 32px;
 max-height: 64px;
 overflow: hidden;
     font-weight: 500;
     border-right: 3px solid #c62828;
   padding-right: 0.5rem;
}
.kb-htdhb-item .kb-htdh-details h3 {
  font-size: 16px;
  line-height: 26px;
  max-height: 52px;
  overflow: hidden;
      font-weight: 500;
      border-right: 3px solid #c62828;
    padding-right: 0.5rem;
}
@media (max-width: 768px) {
  .kb-htdht-item, .kb-htdhb-item {
      width: 100%;
  }
  .kb-htdht-item .kb-htdh-details h3 {
    font-size: 16px;
    line-height: 26px;
    max-height: 52px;
  }
  .kb-home-testdrive-box {
      padding: 5rem 0 1.5rem 0;
  }
}


.kb-home-compare {
  margin-bottom: 1.5rem;
}
.kb-home-compare-item{
  border-radius: 1rem;
  border: 1px solid #e5e9ee;
  background: #FFF;
}
.kb-home-compare-item a{
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}
.kb-hci-car {
  text-align: center;
  display: flex;
  flex-direction: column;
  grid-gap: 0.5rem;
}
.kb-hci-brand{
  font-size: 13px;
  font-weight: 200;
  color: #878c95;
}
.kb-hci-carname{
  font-size: 15px;
  font-weight: 500;
  color: #334155;
}
.kb-hci-vs {
  color: #E4002B;
  background: #F8FAFC;
    border-radius: 0.75rem;
    padding: 0.5rem;
    width: 35px;
    height: 35px;
    line-height: 24px;
    display: flex;
        font-weight: 200;
}


.kb-home-price-box {
    background: #F8FAFC;
    border-radius: 1rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
}
.kb-home-price-box-top {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem;
    flex-wrap: wrap;
}
.kb-hpbt-right{
  width: calc(70% - 2rem);
}
.kb-hpbt-left{
  width: 30%;
}
.kb-home-price-box-top h3{
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}
.kb-home-price-box-top p {
    padding-bottom: 1.5rem;
    padding-top: 1rem;
    font-size: 14px;
    color: #334155;
}
.kb-home-price-box-top-a{
  text-align: center;
}
.kb-home-price-box-top-a a {
  background: #E4002B;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 1rem;
  font-weight: 700;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}
.kb-home-price-carousel {
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
  mask-image: linear-gradient(to right, transparent, #F8FAFC 5%, #F8FAFC 95%, transparent);
}
.kb-home-price-carousel-holder {
  display: flex;
  animation: kb-scroll 20s linear infinite;
}
.kb-hpc-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #e5e9ee;
  background: #ffffff;
  padding: 0.5rem 1rem;
  margin-right: 1rem;
  border-radius: 1rem;
  white-space: nowrap;
  font-size: 14px;
}
.kb-hpci-car {
  font-weight: 700;
  color: #334155;
}
.kb-hpci-price {
  color: #878c95;
}
.kb-hpc-item img {
      margin-left: 1rem;
}
.kb-home-price-carousel:hover .kb-home-price-carousel-holder {
  animation-play-state: paused;
}
@keyframes kb-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}
@media (max-width: 768px) {
  .kb-home-price-carousel-holder {
    animation: kb-scroll 10s linear infinite;
  }
  .kb-hpbt-right{
    width: 100%;
  }
  .kb-hpbt-left{
    width: 100%;
  }
}


.kb-home-slogan{
  padding: 1.5rem 0;
}
.kb-home-slogan span{
  padding-top: 0.5rem;
      padding-bottom: 1rem;
      font-size: 14px;
      display: block;
}
.kb-home-slogan p{
  padding-bottom: 1rem;
  font-size: 14px;
  color: #334155;
}
.kb-home-slogan-link {
    padding: 0;
    display: flex;
    gap: 1rem;
        flex-wrap: wrap;
}
.kb-home-slogan-link li{
  border-radius: 1rem;
  border: 1px solid #e5e9ee;
  background: #FFF;
  padding: 0.5rem 1rem 0.5rem 0.25rem;
}
.kb-home-slogan-link li a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #334155 !important;
  font-size: 14px;
  font-weight: 300;
}
.kb-home-slogan-link li a::after {
  content: '';
  background: url(https://kb.oko.ir/wp-content/themes/tokanweb/assets/img/icon/left-light.svg);
  width: 20px;
  height: 20px;
  margin-right: auto;
}



.kb-home-new-cars {
  margin-bottom: 1rem;
  background: #F8FAFC;
  padding-bottom: 3.5rem;
  padding-top: 2rem;
}
.kb-hnc-holder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.kb-hnc-item {
  color: #000013;
}
.kb-hnc-item-holder {
  display: block;
  border-radius: 0.5rem;
  border: 1px solid #e5e9ee;
  background: #FFF;
  padding: 0.5rem;
}
.kb-ccwt-img {
  position: relative;
}
.kb-ccwt-img img {
  border-radius: 6px;
}
.kb-ccwti-price{
  position: absolute;
    left: 5px;
    bottom: 5px;
    color: white;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 4px;
    background: hsla(0, 0%, 0%, 0.34);
    backdrop-filter: blur(2px);
    line-height: 18px;
}
.kb-ccwt-left {
  width: 100%;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
      align-items: center;
}
.kb-ccwt-left h2 {
  font-size: 17px;
  font-weight: 500;
  max-height: 48px;
  overflow: hidden;
  line-height: 24px;
  color: #334155;
}
.kb-ccwtl-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #384b66;
  font-size: 14px;
}
.kb-ccwtl-brand-holder {
  position: absolute;
  bottom: 5px;
  right: 5px;
  padding: 3px;
  border-radius: 4px;
  opacity: 0.5;
  background: hsl(0deg 0% 0% / 85%);
  backdrop-filter: blur(1rem);
}
.kb-ccwtl-brand{
  opacity: 0.9;
  width: 20px;
  display: block;
  filter: brightness(500);
}
.kb-ccwtl-star {
  display: flex;
  align-items: center;
  gap: 4px;
}
.kb-ccw-bot {
  border-top: 1px solid #e2e6ea;
  margin-top: 16px;
}
.kb-ccwb-holder {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  color: #384b66;
}
.kb-ccwb-item {
    text-align: center;
}
.kb-ccwb-item-tag {
  padding-bottom: 4px;
}
.kb-ccwbi-dir{
  direction: ltr;
  text-align: right;
}
.kb-ccwb-item span{
  font-size: 12px;
  font-weight: 300;
  color: #878c95;
}
.kb-ccwb-price span {
  color: #673de6;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: end;
}
.kb-ccwbi-cur{
  font-size: 11px;
  font-weight: 300;
  padding-right: 4px;
}




.kb-content table {
  margin-bottom: 1.5rem;
  font-size: 14px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0.75rem;
  border: 1px solid #e0e6ee;
  background: #FFF;
  overflow: hidden;
  position: relative;
}
.kb-content thead {
  background: #E4002B;
    color: white;
}
.kb-content table {
  text-align: center;
  position: relative;
  transition: all 0.2s ease;
}
.kb-content table th {
  border-left: 1px solid #e0e6ee;
  padding: 1rem 2px;
  text-align: center;
  font-weight: 500;
}
.kb-content table td {
  border-left: 1px solid #e0e6ee;
  padding: 12px 2px;
  text-align: center;
}
.kb-content table th:last-child,
.kb-content table td:last-child {
  border-left: none;
}
.kb-content table tr {
  border-bottom: 1px solid rgba(227, 227, 227, 0.5);
}
.kb-content table td{
  border-bottom: 1px solid #e0e6ee;
}
.kb-content table tr:last-child td{
  border-bottom: none;
  padding: 0.75rem 2px;
}



.kb-cpp-table-box {
  background: white;
  padding: 0 1rem 0 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(224, 230, 238);
  margin-bottom: 2rem;
}
table.kb-cpp-table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  border-spacing: 0;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
}
.kb-cpp-table thead {
  background: transparent !important;
  color: black;
}
.kb-cpp-table th {
  font-size: 14px;
    font-weight: 700 !important;
    padding: 0.75rem 5px !important;
    border: none !important;
}
.kb-cpp-table th:nth-child(1) { width: 60%; }
.kb-cpp-table th:nth-child(2) { width: 20%; background: #F8FAFC; border-radius: 0.5rem 0.5rem 0 0; }
.kb-cpp-table th:nth-child(3) { width: 20%; background: #F1F5F9; border-radius: 0.5rem 0.5rem 0 0; }
.kb-cpp-table tr { border-bottom: 1px solid #F8FAFC; }
.kb-cpp-table tr:last-child { border-bottom: none; }
.kb-cpp-table td { border: none !important; padding: 10px 2px; }
.kb-cpp-table td:nth-child(2) { background: #F8FAFC; }
.kb-cpp-table td:nth-child(3) { background: #F1F5F9; }
.kb-cpp-table td:first-child {
  min-height: 57px;
}
.kb-cpp-profit { display: block; font-size: 11px; color: #999; margin-top: 4px; }
.kb-cpp-profit .profit-value { direction: ltr; display: inline-block; }
.kb-cpp-table caption {
  caption-side: bottom;
  padding: 12px 16px;
  font-size: 13px;
  color: #878c95;
  font-weight: 300;
  text-align: center;
  background: linear-gradient(to right, transparent, #F8FAFC, transparent);
}
.kb-cpp-table-caption{
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .kb-cpp-table td {
     width: 33.333%;
   }
   .kb-cpp-table th{
     width: 33.333% !important;
   }
}

.kb-content video{
  display: block;
  max-width: 100%;
  height: auto;
}

.kb-content hr {
  position: relative;
    margin: 3rem auto;
    width: 80%;
    border: none;
    border-bottom: 2px dashed #e0e6ee;
}

.kb-index-ln-holder {
  display: flex;
  flex-wrap: wrap;
      margin: -0.5rem;
}

.kb-index-ln-holder article {
  border-radius: 0.75rem;
  background: white;
  margin: 0.5rem;
  width: calc(25% - 1rem);
  border: 1px solid rgb(226 232 240);
}
.kb-index-ln-item{
  display: flex;
  flex-wrap: wrap;
}
.kb-ilni-details{
  padding: 0.75rem;
}
.kb-ilni-more a{
  color: #878c95;
  display: flex;
  justify-content: center;
  align-content: center;
  line-height: 16px;
  gap: 8px;
  margin-top: 32px;
}
.kb-ilni-more a:hover{
  color: #E4002B;
}
.kb-ilni-more a:hover path{
  fill: #E4002B;
}

.kb-ilni-details-v .card__overload--info{
  margin-top: 16px;
  justify-content: space-between;
}
.kb-ilni-details h3{
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
  overflow: hidden;
height: 3rem;
}
.kb-ilni-details .kb-rotir{
  padding-bottom: 5px;
  display: block;
}
.kb-index-ln-item .kb-evt-details-item{
  font-size: 12px;
  margin-top: 5px;
}
.kb-data{
  color: #878c95;
  padding-top: 10px;
  font-size: 12px;
  display: flex;
  align-items: center;
}
.kb-data span{
  padding: 0 6px;
  color: black;
}
.kb-data .icon-time{
  margin-left: 5px;
}
.kb-ilni-img{
  width: 100%;
}
.kb-in-in-i-event .kb-ilni-img{
  padding: 5px;

}
.kb-in-in-i-event .kb-ilni-img-holder{
  border-radius: 15px;
  overflow: hidden;
}


.kb-ilni-img-holder {
  position: relative;
  overflow: hidden;
  z-index: 1;
      margin: 0.5rem 0.5rem 0 0.5rem;
      border-radius: 4px;
}
.kb-ilni-img-holder img{
  border-radius: 0.5rem;
  width: 100%;
}

.kb-ilni-img-hover-play {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.1);
    padding-bottom: 10px
}

.kb-ilni-img-hover-play i {
  display: block;
      width: 3rem;
      height: 1.8rem;
      border-radius: 0.5rem;
      position: relative;
      background-color: #E4002B;
      backdrop-filter: blur(5px);
      transition: all 0.5s;
}

.kb-ilni-img-hover-play .play-btn div {
  width: 0;
      height: 0;
      border-top: 6px solid transparent;
      border-left: 10px solid #ffffff;
      border-bottom: 6px solid transparent;
      text-align: center;
      top: 0;
      left: 0;
      position: relative;
      margin: 0.51rem 1.17rem;
}



.kb-site-title{
  position: relative;
  display: flex;
  align-items: center;
}
.kb-car-content .kb-site-title h2{
  font-size: 20px;
}
.kb-site-title .kb-line{
  background: #E4002B;
  width: 100%;
  height: 2px;
}
.kb-site-title h2{
  margin-left: 10px;
  white-space: nowrap;
  font-size: 18px;
}
.kb-site-title img{
  width: 30px;
  margin-left: 10px;
}


@media only screen and (max-width: 768px) {
  .kb-index-ln-holder {
    margin: 0;
  }
  .kb-index-ln-holder article {
    width: calc(50% - 1rem);
  }
  .kb-ilni-rotitr{
    font-size: 12px;
  }
  .kb-index-ln-item {
    padding: 4px;
    align-items: center;
  }
  .kb-ilni-img {
    width: 155px;
    align-items: center;
  }
  .kb-ilni-details {
    width: calc(100% - 155px);
  }
  .kb-ilni-details h3 {
    font-size: 15px;
  }
}
@media only screen and (max-width: 500px) {
  .kb-index-ln-holder article {
    width: 100%;
    margin: 8px 0;
  }
}
.kb-index-lastnews {
  background: #F8FAFC;
  padding-top: 2rem;
  padding-bottom: 3.5rem;
}

.kb-index-sales-offer{
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}
.kb-index-slider-holder{
  max-width: 1180px;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  margin: 0 auto;
}
.kb-islider-item a{
  border-radius: 0.75rem;
  background: white;
  border: 1px solid #e5e9ee;
      display: block;
}
.kb-isi-box{
  padding: 0.5rem;
}
.kb-isi-img {
  position: relative;
}
.kb-isi-img img {
    border-radius: 0.5rem;
    width: 100%;
}
.kb-isi-details h3 {
    font-size: 15px;
    line-height: 24px;
    font-weight: 500;
    overflow: hidden;
    height: 3rem;
    margin-top: 1rem;
}

.kb-index-post-slider {
  position: relative;
  overflow: hidden;
}
.index-navigation{
  display: block;
      position: absolute;
      left: 0;
      top: 38%;
}
.index-navigation .swiper-button-next{
  left: 0;
  right: unset;
  transform: rotate(180deg);
}
.index-navigation .swiper-button-prev{
  left: 2rem;
  transform: rotate(180deg);
}
.index-navigation .swiper-button-next,
.index-navigation .swiper-button-prev {
    margin: 0 !important;
    width: 1.5rem !important;
    height: 1.2rem !important;
}
.swiper-navigation-icon path {
    fill: #E4002B;
}
.kb-index-post-slider .swiper-pagination{
  position: relative;
  margin-top: 1.5rem;
}
.kb-index-post-slider .swiper-pagination-bullet {
    width: 12px;
    height: 6px;
    border-radius: 3px;
}
.kb-index-post-slider .swiper-pagination-bullet-active{
  background: #E4002B;
  width: 24px;
}

@media only screen and (max-width: 768px) {
  .kb-index-post-slider {
    overflow: unset;
  }
}



.kb-index-editor .title h3{
  color: white;
}
.kb-index-editor .card__overload--title,
.kb-index-editor .card__overload--info,
.kb-index-editor .title,
.kb-index-editor .title-more,
{
  color: white !important;
}
.kb-index-editor .card__overload--info{
  justify-content: space-between;
  border-top: 2px dashed #161718;
  padding-top: 10px;
  margin-top: 5px;
}
.card__overload--time{
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  line-height: 18px;
  color: #878c95;
}


.kb-site-title-more{
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
  justify-content: space-between;
  position: relative;
}
.kb-site-title-more .title-more{
  margin-right: auto;
  color: #878c95;
  display: flex;
  font-size: 15px;
  align-items: center;
}
.kb-site-title-more .title-more:hover{
  color: #E4002B;
}
.kb-site-title-more .title-more:hover > svg path{
  fill: #E4002B;
}
.kb-site-title-more .title-more svg {
  margin-right: 5px;
}
.kb-site-title-more .title-more svg path{
  transition: all 0.5s;
}


/* ==========*/
.kb-index-videos {
  padding-bottom: 3.5rem;
  background: #161718;
  margin-bottom: 2.5rem;
  padding-top: 2.5rem;
  position: relative;
}
.kb-index-videos::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/main/tire-pattern.jpg");
  background-repeat: repeat;
  background-size: 250px;
  opacity: 0.09;
  pointer-events: none;
}

.kb-index-videos .title h3{
 color: white;
}
.kb-index-videos .kb-islider-item a {
    background: #272727;
    border: none;
}
.kb-index-videos .kb-isi-details h3 {
    color: white;
}
.kb-index-videos .kb-index-post-slider .swiper-pagination-bullet {
    background: #b1b1b1;
}



/*== page =============*/
.kb-page-title h1{
  text-align: center;
  margin-bottom: 50px;
  padding-top: 20px;
}
.kb-page-content{
  max-width: 800px;
  margin: 0 auto;
}

/*== price =============*/
.kb-price-top {
  text-align: center;
  padding: 54px 0;
}
.kb-price-top-update {
  display: inline-block;
  text-align: center;
  font-size: 13px;
  color: #878c95;
  font-weight: 300;
  margin-bottom: 1rem;
}
.kb-price-search-input {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 1rem;
}
.kb-price-search-input input {
  border: 2px solid #eaeaea;
  border-radius: 8px;
  padding: 15px 50px 15px 20px;
  font-size: 16px;
  transition: border-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}
.kb-price-search-input::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 0;
  transform: translateY(68%);
  width: 24px;
  height: 24px;
  background-image: url('../img/icon/search.svg');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}
.kb-price-filter {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.kb-price-filter-item {
  border: 1px solid #e5e9ee;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  user-select: none;
  color: #878c95;
}
.kb-price-filter-item.kb-filter-active {
  background: #E4002B;
  border-color: #E4002B;
  color: #fff;
}
.kb-price-filter-item.kb-filter-active img {
  filter: brightness(0) invert(1);
}
@media (max-width: 768px) {
  .kb-price-filter-item {
    width: calc(50% - 0.25rem);
  }
}

/* Hide empty items box by default */
.kb-price-empty-items {
  display: none;
  margin: 2.5rem 0;
}
.kb-price-empty-items span {
  display: block;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.kb-price-empty-items p {
  color: #878c95;
}


.kb-price-section {
  max-width: 840px;
  margin: 0 auto;
}
.kb-pc-inner {
  margin-bottom: 2.5rem;
}

/* Brand + table layout (unchanged) */
.kb-price-brand {
  display: flex;
  align-items: center;
  padding: 1rem;
  gap: 0.5rem;
}
.kb-price-brand img {
  height: 36px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
}
.kb-price-brand h2 {
  font-size: 18px;
}
.kb-price-table:first-child {
  border-top: 1px solid #e0e6ee;
  border-radius: 0.5rem 0.5rem 0 0;
  overflow: hidden;
}
.kb-price-table {
  border-left: 1px solid #e0e6ee;
  background: white;
  border-right: 1px solid #e0e6ee;
  border-bottom: 6px solid rgb(243,245,247);
  padding-left: 1rem;
}
.kb-price-table:last-child {
  border-bottom: 1px solid #e0e6ee;
  border-radius: 0 0 0.5rem 0.5rem;
  overflow: hidden;
}
.kb-pc-inner table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  border-spacing: 0;
}
.kb-pc-inner th {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  padding: 0.75rem 5px;
  width: 33.333333%;
}
.kb-pc-inner th:nth-child(1) { width: 60%; }
.kb-pc-inner th:nth-child(2) { width: 20%; background: #F8FAFC; border-radius: 0.5rem 0.5rem 0 0; }
.kb-pc-inner th:nth-child(3) { width: 20%; background: #F1F5F9; border-radius: 0.5rem 0.5rem 0 0; }
.kb-pc-inner tr { border-bottom: 1px solid #F8FAFC; }
.kb-pc-inner tr:last-child { border-bottom: none; }
.kb-pc-inner td { padding: 10px 2px; }
.kb-pc-inner td:nth-child(2) { background: #F8FAFC; }
.kb-pc-inner td:nth-child(3) { background: #F1F5F9; }
.kb-pc-inner td:first-child {
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kb-pci-diff { display: block; font-size: 11px; color: #999; margin-top: 4px; }
.kb-pci-diff-value { direction: ltr; display: inline-block; }

/* Hidden by filter */
.kb-price-table.kb-hidden { display: none !important; }
.kb-pc-inner tr.kb-car-hidden { display: none !important; }

/* ── Price Filter Popup (inside #kb-price-filter-popup) ── */
#kb-price-filter-popup .kb-price-filter-popup-body {
  overflow-y: auto;
  flex: 1;
  padding: 0.5rem 1.25rem;
}

#kb-price-filter-popup .kb-price-filter-range {
  max-width: 100%;
  margin: 0;
  border: none;
  background: #fff;
  padding: 2rem 0;
  border-radius: 0;
}

#kb-price-filter-popup .kb-range-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
#kb-price-filter-popup .kb-range-label {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
#kb-price-filter-popup .kb-range-reset {
  /* not used in this popup, but keep if needed */
}
#kb-price-filter-popup .kb-range-track-wrap {
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
  margin: 0 6px;
}
#kb-price-filter-popup .kb-range-track {
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  background: #e5e9ee;
  border-radius: 99px;
}
#kb-price-filter-popup .kb-range-fill {
  position: absolute;
  height: 5px;
  background: linear-gradient(90deg, #E4002B 0%, #ff4d6d 100%);
  border-radius: 99px;
  pointer-events: none;
  transition: none;
}
#kb-price-filter-popup .kb-range-track-wrap input[type="range"] {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
  padding: 0;
}
#kb-price-filter-popup .kb-range-track-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 0.5rem;
  background: #fff;
  border: 2.5px solid #E4002B;
  box-shadow: 0 2px 8px rgba(228,0,43,.25);
  cursor: grab;
  pointer-events: all;
  transition: transform 0.15s, box-shadow 0.15s;
}
#kb-price-filter-popup .kb-range-track-wrap input[type="range"]::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.2);
  box-shadow: 0 4px 14px rgba(228,0,43,.35);
}
#kb-price-filter-popup .kb-range-track-wrap input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 0.5rem;
  background: #fff;
  border: 2.5px solid #E4002B;
  box-shadow: 0 2px 8px rgba(228,0,43,.25);
  cursor: grab;
  pointer-events: all;
}
#kb-price-filter-popup .kb-range-values {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.65rem;
  gap: 0.5rem;
}
#kb-price-filter-popup .kb-range-val-box {
  display: flex;
  align-items: center;
  gap: 4px;
}
#kb-price-filter-popup .kb-range-val-label {
  font-size: 10px;
  color: #aaa;
}
#kb-price-filter-popup .kb-range-val-num {
  font-size: 13px;
  font-weight: 700;
  color: #E4002B;
  direction: ltr;
  letter-spacing: -0.3px;
  transition: color 0.2s;
}
#kb-price-filter-popup .kb-range-val-unit {
  font-size: 10px;
  color: #999;
}
#kb-price-filter-popup .kb-range-sep {
  font-size: 11px;
  color: #ccc;
  flex: 1;
  text-align: center;
}


/*== Brand Filter Popup (existing) ==*/
.kb-brand-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  z-index: 9998;
}
.kb-brand-overlay.kb-open { display: block; }

.kb-brand-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  flex-direction: column;
  max-height: 60vh;
}

/* Desktop: centered */
@media (min-width: 769px) {
  .kb-brand-popup {
    width: 360px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 60vh;
  }
  .kb-brand-popup.kb-open { display: flex; }
}

/* Mobile: bottom sheet up to 70vh */
@media (max-width: 768px) {
  .kb-brand-popup {
    width: 100%;
    bottom: -100%;
    left: 0;
    border-radius: 1rem 1rem 0 0;
    transition: bottom 0.3s cubic-bezier(.4,0,.2,1);
    max-height: 70vh;
  }
  .kb-brand-popup.kb-open {
    display: flex;
    bottom: 0;
  }
}

.kb-brand-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.kb-brand-popup-title { font-weight: 700; }
.kb-brand-popup-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #888;
  line-height: 1;
  padding: 0 4px;
}

.kb-brand-popup-list {
  overflow-y: auto;
  padding: 0.5rem 0;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 transparent;
}
.kb-brand-popup-list::-webkit-scrollbar { width: 4px; }
.kb-brand-popup-list::-webkit-scrollbar-track { background: transparent; }
.kb-brand-popup-list::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 99px; }

.kb-brand-popup-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  transition: background 0.12s;
}
.kb-brand-popup-item:hover { background: #f6f8fa; }
.kb-brand-popup-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #E4002B;
}
.kb-brand-popup-item img {
  height: 28px;
  width: 28px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
}
.kb-brand-no-img {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: #eee;
  border-radius: 50%;
  flex-shrink: 0;
}
.kb-brand-popup-item span { font-size: 14px; }

.kb-brand-popup-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid #f0f0f0;
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.kb-brand-apply-btn {
  flex: 1;
  background: #E4002B;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.kb-brand-apply-btn:hover { background: #D4022A; }
.kb-brand-reset-btn {
  background: #f3f4f6;
  color: #555;
  border: none;
  border-radius: 0.5rem;
  padding: 0.65rem 0.9rem;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
}
.kb-brand-reset-btn:hover { background: #e5e7eb; }

@media only screen and (max-width: 768px) {
  .kb-price-container { padding: 0; }
  .kb-price-table { padding-left: 0.5rem; padding-right: 0.5rem; }
  .kb-price-table:last-child { border-radius: 0; }
  .kb-pc-inner th:nth-child(1),
  .kb-pc-inner th:nth-child(2),
  .kb-pc-inner th:nth-child(3) { width: 33.333%; }
  .kb-pc-inner td { font-size: 14px; }
}


/*== 404 =============*/
.kb-page404{
  text-align: center;
  padding-top: 96px;
  padding-bottom: 56px;
}
.kb-page404 img{
  max-width: 500px;
  width: 100%;
  height: auto;
}
.kb-page404 h1{
  font-size: 22px;
  padding-bottom: 10px;
  line-height: 30px;
  margin-top: 40px;
}
.kb-page404 p{
  max-width: 600px;
  margin: 0 auto;
}
.kb-page404-back a{
  margin-top: 24px;
}
.kb-page404-back span{
  padding-right: 10px;
}
.kb-nosearch {
  text-align: center;
}
.kb-nosearch p{
  color: #ff5353;
  border: 1px solid #ffe4e4;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 10px;
  background: #fffbfb;
  font-weight: 700;
  line-height: 26px;
}
.kb-search-lable{
  display: flex;
  color: #161718cf;
  padding-bottom: 5px;
  font-size: 12px;
  align-items: center;
}
.kb-slbale{
  background: #161718cf;
  padding: 2px 7px;
  border-radius: 3px;
  color: white;
  margin-right: 5px;
}
.kb-search-items-all .image{
  position: relative;
  display: block;
}
.kb-search-items-all .kb-evt-details-item {
  font-size: 12px;
}
.kb-search-items-all .kb-evt-details-item .item {
  display: block;
}
.kb-search-items-all .kb-cssg-holder {
  margin: 10px 0;
}
.kb-search-items-all {
  border: 1px solid #cadae1;
  border-radius: 10px;
  padding: 7px;
}
.kb-search-items-all .kb-tsg-info {
  padding: 0;
}
@media only screen and (max-width: 768px) {
  .kb-search-items-all .kb-cssg-holder {
    display: none;
  }
}



/*== video page ===============*/
.kb-video-main{
  display: inline-block;
  width: 100%;
  margin-top: 2.5rem;
}
.kb-sc-video iframe{
  border: none !important;
  border-radius: 0.5rem;
}
.kb-video-content{
  width: 70%;
    float: right;
    padding-left: 48px;
}
.kb-sc-video-box {
  margin: 0 auto;
}
.kb-sc-video{
  background-color: #24334414;
position: relative;
width: 100%;
padding-top: 56.20%;
display: inline-block;
border-radius: 0.5rem;
    overflow: hidden;
}

.kb-sc-videoholder{
  position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
}
.kb-sc-videoholder span{
  padding-top: 56.2% !important;
}
.kb-sc-videoholder .iframe{
  padding-top: calc(56.2%) !important;
}

.kb-scv-download-box{
  display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.kb-scv-download-box a {
  background: #fff;
  border: 1px solid #e0e6ee;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 14px;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: #878c95;
  width: calc(25% - 0.5rem);
}

.kb-sv-meta{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kb-sv-meta-rate{
  width: 100%;
  display: flex;
      justify-content: center;
}
.kb-sv-topmeta{
  margin-bottom: 0.75rem;
  margin-top: 1.25rem;
}
.kb-sv-topmeta .post-time{
  color: #878c95;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.kb-sg-category a{
  color: #E4002B;
  font-size: 14px;
  font-weight: 500;
}
.taxonomy-label{
  display: none;
}
.sv-author img{
  border-radius: 50%;
  margin-left: 4px;
}

.kb-video-title{
  font-size: 22px;
  margin-bottom: 20px;
}
.kb-sc-video-box .kb-content{
  font-size: 14px;
}

.kb-single-rp-holder{
  display: flex;
  flex-wrap: wrap;
  margin: -5px;
}
.kb-single-rp-item {
  width: 50%;
  padding: 5px;
}
.kb-single-rp-item a {
  display: flex;
  gap: 10px;
  align-items: center;
}
.kb-single-rp-item .right{
  width: 120px;
}
.kb-single-rp-item .right img{
  border-radius: 8px;
}
.kb-single-rp-item .left{
  width: calc(100% - 120px);
  font-weight: 500;
}
.kb-single-rp-item .post-time{
  color: #878c95;
  font-weight: 400;
  padding-top: 5px;
  font-size: 12px;
  display: flex;
  align-items: center;
}
.kb-single-rp-item .post-time svg{
  margin-left: 5px;
}

@media only screen and (max-width: 768px) {
  .kb-sc-video iframe{
    border-radius: 0 !important;
  }
  .kb-sc-video{
  border-radius: 0 !important;;
  }
  .kb-scv-download-box a {
    width: calc(50% - 0.25rem);
    font-size: 12px;
  }
.kb-video-content{
  width: 100%;
  padding-left: 0;
}
.kb-sc-video {
  width: unset;
  display: block;
}
.kb-video-title{
  font-size: 18px;
}
.kb-sc-video{
  margin-left: -1rem;
  margin-right: -1rem;
  margin-top: -2.5rem;
  margin-bottom: 1rem;
}
}

/*== video arvhive and page ===============*/
.kb-tax-toptitle{
  font-size: 12px;
  margin-bottom: 10px;
  color: #E4002B;;
}
.kb-lastnews-item .time {
  position: absolute;
  top: 4px;
  right: 4px;
  color: white;
  padding: 5px 8px;
  background-color: rgba(0, 0, 0, 0.2);
  transition: top 0.4s ease-in-out;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  line-height: 12px;
}
.kb-v-cat-holder span{
  width: 100%;
  display: block;
  margin-bottom: 10px;
}
.video-cat-page{
  padding: 0;
}
.video-cat-page li{
  margin-bottom: 20px;
  display: inline-block;
}
.video-page-image{
  max-width: 300px;
  margin-bottom: 40px;
}
.video-cat-page a{
  margin-left: 10px;
  margin-bottom: 10px;
  color: #E4002B;
  background-color: #E4002B1C;
  border-radius: 7px;
  font-size: 14px;
  padding: 4px 12px;
}
.kb-v-cat-holder{
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 40px;
}

/*== shorts and shorts archive ===============*/
.post-type-archive-shorts .kb-archive-top,
.post-type-archive-shorts .footer,
.post-type-archive-shorts .footer__bottom
{
  display: none;
}
.kb-shorts-archive{
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
}
.kb-shorts-archive a{
  width: calc(16.6666% - 0.9px);
  border-radius: 0.5rem;
  background: white;
}
.kb-shorts-archive .kb-sa-data {
    padding: 0.5rem;
}
.kb-shorts-archive .kb-sa-data h3 {
    font-size: 15px;
    line-height: 24px;
    font-weight: 500;
}
.kb-shorts-archive .kb-sa-img {
position: relative;
}
.kb-shorts-archive .kb-sai-data {
  position: absolute;
    bottom: 0;
    left: 0;
    color: white;
    display: flex;
    gap: 10px;
    padding: 0.5rem;
    width: 100%;
    justify-content: left;
    z-index: 1;
}
.kb-shorts-archive .kb-sai-data::before {
  z-index: -1;
  width: 100%;
  display: block;
  height: 3rem;
  position: absolute;
  right: 0;
  bottom: 0;
  content: "";
  opacity: 0.5;
  pointer-events: none;
  background: linear-gradient(#ffffff00 0px, #161718 100%);
}
.kb-shorts-archive .kb-sa-data-like img {
  width: 16px;
  height: 16px;
}
.kb-shorts-archive .kb-sa-data-view img {
  width: 18px;
  height: 18px;
}
.kb-sai-data-value {
  line-height: 13px;
    font-size: 13px;
}
.kb-sa-data-like,
.kb-sa-data-view
 {
  display: flex;
  align-items: center;
  gap: 4px;
}
@media only screen and (max-width:998px) {
  .kb-shorts-archive {
    margin: 0 -1rem;
  }
  .kb-shorts-archive a{
    width: calc(33.3333% - 0.7px);
  }
}




/*== start short video ===============*/
/*== Short Video Player — v2 ==*/

/* ─── Page Layout ─────────────────────────────────────────────────────────── */
.single-shorts { padding-top: 0 !important; }
.single-shorts .header,
.single-shorts .footer,
.single-shorts .footer__bottom { display: none; }

.shorts-flex-container {
    position: fixed; inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    z-index: 9999;
}

.shorts-container {
    position: relative;
    width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ─── Player Wrapper ──────────────────────────────────────────────────────── */
.shorts-player-wrapper {
    position: relative;
    background: #000;
    overflow: hidden;
    width: 100%; height: 100%;
}

/* Desktop: 9:16 centred, nav buttons float outside */
@media (min-width: 769px) {
    .shorts-player-wrapper {
      width: min(calc(100vh * 0.5625), 400px);
          border-radius: 1rem;
          height: 90vh;
    }
}

.shorts-player {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Slide Animations ────────────────────────────────────────────────────── */
@keyframes slideOutUp   { to { transform: translateY(-100%); } }
@keyframes slideOutDown { to { transform: translateY(100%);  } }
@keyframes slideInFromBottom { from { transform: translateY(100%); } to { transform: none; } }
@keyframes slideInFromTop    { from { transform: translateY(-100%);} to { transform: none; } }

.shorts-player.slide-out-up   { animation: slideOutUp        .28s cubic-bezier(.4,0,.2,1) forwards; z-index: 1; }
.shorts-player.slide-out-down { animation: slideOutDown       .28s cubic-bezier(.4,0,.2,1) forwards; z-index: 1; }
.shorts-player.slide-in-up    { animation: slideInFromBottom  .28s cubic-bezier(.4,0,.2,1) forwards; z-index: 2; }
.shorts-player.slide-in-down  { animation: slideInFromTop     .28s cubic-bezier(.4,0,.2,1) forwards; z-index: 2; }

/* ─── Top Bar ─────────────────────────────────────────────────────────────── */
.shorts-top {
    position: absolute; top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 40px;
    background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, transparent 100%);
    pointer-events: none;
}
.shorts-logo, .shorts-close { pointer-events: auto; }
.shorts-logo img { height: 36px; width: auto; display: block; }

.shorts-close {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    background: rgba(0,0,0,.5);
    border-radius: 1rem;
    text-decoration: none;
    transition: background .2s;
}
.shorts-close:hover { background: rgba(0,0,0,.75); }
.shorts-close svg { display: block; }

.shorts-bot-gradient{
  position: absolute;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 100%);
    text-shadow: 0 1px 3px rgba(0,0,0,.8);
    display: block;
    width: 100%;
    height: 5rem;
    bottom: 0;
    z-index: 1;
}
/* ─── Progress Bar ────────────────────────────────────────────────────────── */
.shorts-progress {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 32px;
    z-index: 50;
    cursor: pointer;
    touch-action: none;
}

/* Track background */
.shorts-progress-track {
    position: absolute;
    bottom: 16px; left: 14px; right: 14px;
    height: 3px;
    background: rgba(255,255,255,.28);
    border-radius: 3px;
}

/* Filled bar - JS sets width% */
.shorts-progress-bar {
    position: absolute;
    bottom: 16px;
    left: 14px;
    height: 3px;
    width: 0%;
    background: #E4002B;
    border-radius: 3px;
    pointer-events: none;
    max-width: calc(100% - 28px);
}
.shorts-progress-bar::after {
    content: '';
    position: absolute;
    right: 0;          /* یا left: 100% اگر راست‌چین هستید */
    top: 50%;
    transform: translate(50%, -50%); /* برای وسط چین کردن عمودی و افقی */
    width: 12px;
    height: 12px;
    background-color: #E4002B; /* همان رنگ نوار یا رنگی دیگر */
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    pointer-events: none; /* اگر می‌خواهید روی دایره کلیک نشود */
}

/* Handle - JS sets left position */
.shorts-progress-handle {
    position: absolute;
    bottom: 5px;
    left: 14px;
    width: 16px; height: 16px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 1px 6px rgba(0,0,0,.55);
    transform: translateX(-50%);
}

/* ─── Video Title ─────────────────────────────────────────────────────────── */
.shorts-video-name {
    position: absolute;
    bottom: 34px; /* above progress bar */
    left: 0; right: 0;
    color: #fff;
    line-height: 1.5;
    z-index: 45;
    padding: 40px 16px 10px;
filter: drop-shadow(0 0 1px rgba(0,0,0,.35)) drop-shadow(0 0 8px rgba(0,0,0,.25));
    pointer-events: none;
    text-align: right;
    font-size: .875rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
}

/* ─── Play / Pause ────────────────────────────────────────────────────────── */
.shorts-play-pause {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,.5);
    border: none; color: #fff;
    width: 68px; height: 68px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 48;
    opacity: 1;
    transition: opacity .2s;
}
.shorts-play-pause svg { width: 32px; height: 32px; fill: currentColor; }
.shorts-play-pause .pause-icon { display: none; }
.shorts-play-pause.playing { opacity: 0; pointer-events: none; }
.shorts-play-pause.playing .play-icon  { display: none; }
.shorts-play-pause.playing .pause-icon { display: block; }

/* ─── Mute Button ─────────────────────────────────────────────────────────── */
.shorts-mute {
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 50;
    background: none;
    pointer-events: auto;
}
.shorts-mute svg{
  background: rgba(0,0,0,.5);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    fill: currentColor;
}
.shorts-mute .shorts-mute-text {
  background-color: #E4002B;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: normal;
    position: relative;
    margin-left: 16px;
    white-space: nowrap;
}
.shorts-mute .shorts-mute-text::before {
  content: '';
  position: absolute;
  left: -8px; /* فلش را به بیرون از لبه چپ مستطیل می‌برد */
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  /* مثلث به سمت چپ: border-right رنگی، بقیه شفاف */
  border-width: 6px 8px 6px 0;
  border-color: transparent #E4002B transparent transparent;
}
.shorts-mute.hidden { display: none; }
.shorts-mute .volume-icon { display: none; }
.shorts-mute.muted .volume-icon { display: block; }
.shorts-mute.muted .mute-icon  { display: none; }

@media (min-width: 768px) {
  .shorts-close,
  .shorts-mute svg {
    background: rgba(30,30,30,.85);
  }
}

/* ─── Side Action Buttons (like, share) ───────────────────────────────────── */
.shorts-like,
.shorts-share,
.shorts-view {
    position: absolute;
    right: 14px;
    background: none;
    border: none; color: #fff;
    width: 42px; height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px;
    z-index: 50; padding: 0;
    transition: transform .15s;
}
.shorts-like:active,
.shorts-share:active { transform: scale(.88); }

.shorts-like  { bottom: 148px; }
.shorts-share { bottom: 90px; }
.shorts-view { bottom: 210px; }

.shorts-view svg { width: 26px; height: 26px;
filter: drop-shadow(0 0 1px rgba(0,0,0,.35)) drop-shadow(0 0 8px rgba(0,0,0,.25));
 }
.shorts-like svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.5; transition: fill .2s, stroke .2s;
filter: drop-shadow(0 0 1px rgba(0,0,0,.35)) drop-shadow(0 0 8px rgba(0,0,0,.25));
 }
.shorts-like .like-icon-path { fill: none; stroke: #fff; }
.shorts-like.liked svg path{
  fill: #E4002B;
}
.shorts-like.liked .shorts-like-count {
  color: #E4002B;
}
.shorts-like.liked svg { stroke: #fff; }
.shorts-like.liked .like-icon-path { fill: #fff; }
.shorts-like-count { font-size: 13px; color: #fff; line-height: 1;
  filter: drop-shadow(0 0 1px rgba(0,0,0,.35)) drop-shadow(0 0 8px rgba(0,0,0,.25));

 }
 .shorts-view-count { font-size: 13px; color: #fff; line-height: 1;
   filter: drop-shadow(0 0 1px rgba(0,0,0,.35)) drop-shadow(0 0 8px rgba(0,0,0,.25));

  }

.shorts-share svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 1px rgba(0,0,0,.35)) drop-shadow(0 0 8px rgba(0,0,0,.25));
}

@keyframes burstHeart {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.6); }
    70%  { transform: scale(.85); }
    100% { transform: scale(1); }
}
.shorts-like.burst svg { animation: burstHeart .5s ease; }

/* ─── Share Popup ─────────────────────────────────────────────────────────── */
.shorts-share-popup {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: rgba(15, 15, 15, 0.24);
      backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
    border-radius: 1rem 1rem 0 0;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 200;
}
.shorts-share-popup.active  { transform: translateY(0); }
.shorts-share-popup.closing { transform: translateY(100%); }

.shorts-share-content { display: flex; justify-content: space-around; align-items: center; }
.shorts-share-item {
    display: flex; flex-direction: column; align-items: center;
    color: #fff; text-decoration: none;
    padding: 12px 8px; border-radius: 14px; min-width: 72px;
    background: none; border: none; cursor: pointer;
    transition: background .2s;
}
.shorts-share-item:hover { background: rgba(255,255,255,.1); }
.shorts-share-item svg { width: 32px; height: 32px; fill: currentColor; margin-bottom: 6px; }
.shorts-share-item span { font-size: 12px; color: #bbb; }

/* ─── Desktop Navigation Buttons ─────────────────────────────────────────── */
.shorts-navigation {
    /* Positioned relative to .shorts-container, not .shorts-player-wrapper */
    position: absolute;
    top: 50%;
    /* right of the video card — only visible on desktop */
    left: calc(50% + min(calc(100vh * 0.5625), 400px) / 2 + 16px);
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 60;
}

.shorts-container {
    position: relative;
}

.shorts-prev, .shorts-next {
    background: rgba(30,30,30,.85);
    border: none; color: #fff;
    width: 48px; height: 48px;
    border-radius: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    transition: background .2s, transform .15s;
    box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.shorts-prev:hover, .shorts-next:hover {
    background: #E4002B;
    transform: scale(1.08);
}
.shorts-prev svg, .shorts-next svg { width: 22px; height: 22px; }

@media (max-width: 768px) {
    .shorts-navigation { display: none; }
}

/* ─── Swipe Hint ──────────────────────────────────────────────────────────── */
.shorts-swipe-hint {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none; /* shown via JS */
    flex-direction: column;
    align-items: center; justify-content: center;
    gap: 20px;
    z-index: 100;
    text-align: center;
    padding: 32px;
}
.shorts-swipe-hint svg { opacity: .9; }
.shorts-swipe-hint span { color: #fff; font-size: 16px; font-weight: 500; line-height: 1.6; }
.shorts-swipe-hint button {
    background: #E4002B; color: #fff;
    border: none; padding: 0.75rem 1.5rem;
  border-radius: 1rem; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: background .2s;
}
.shorts-swipe-hint button:hover { background: #b71c2f; }

/* ─── Transitioning ───────────────────────────────────────────────────────── */
.shorts-player-wrapper.transitioning .shorts-play-pause { display: none; }

/* ─── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .shorts-top     { padding: 14px 14px 36px; padding-top: calc(14px + env(safe-area-inset-top)); }
    .shorts-logo img{ display: none;}
        .shorts-view    { bottom: calc(196px  + env(safe-area-inset-bottom)); right: 12px; }
    .shorts-like    { bottom: calc(136px  + env(safe-area-inset-bottom)); right: 12px; }
    .shorts-share   { bottom: calc(80px + env(safe-area-inset-bottom)); right: 12px; }
    .shorts-video-name {  bottom: 28px; padding: 36px 14px 8px; }
}

/* ─── iOS ─────────────────────────────────────────────────────────────────── */
@supports (-webkit-touch-callout: none) {
    .shorts-flex-container { height: -webkit-fill-available; }
    .shorts-top { padding-top: calc(20px + env(safe-area-inset-top)); }
    .shorts-progress { position: fixed; bottom: 0; }
    .shorts-video-name { position: fixed; bottom: 28px; padding-bottom: 6px; }
}
/*== End Short Video Player ==*/

.shorts-player-wrapper video::-webkit-media-controls-picture-in-picture-button {
      display: none !important;
  }

.shorts-player-wrapper video::-moz-media-controls-picture-in-picture-button {
      display: none !important;
  }

  /*== end short video ===============*/

/*== comments ===============*/


.kb-ai-comments-box {
  background-color: rgb(236, 237, 255);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}
.kb-ai-comments-title {
  display: flex;
  align-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.kb-ai-comments-title img{
  width: 50px;
  height: auto;
}
.kb-ai-comments-tl-main {
  color: #6000d9;
  font-size: 16px;
  display: block;
  font-weight: 600;
}
.kb-ai-comments-tl-sub {
  color: #5e6475;
  font-size: 12px;
}
.kb-ai-comments-data p{
  font-size: 14px;
    margin-bottom: 0.5rem;
    line-height: 32px;
}
.kb-ai-comments-data-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.kb-ai-comments-dt-item {
  border-radius: 1rem;
  border: 1px solid #cecece;
  padding: 0.25rem 0.5rem;
  font-size: 14px;
  color: #5e6475;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.kb-ai-comments-caption{
  font-size: 12px;
    margin-top: 1rem;
    color: #aaa;
}




.postComments {
  margin-bottom: 80px;
  margin-top: 20px;
  display: inline-block;
  width: 100%;
}

.comments {
  list-style: none;
  background: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e0e6ee;
}
.comment-respond .kb-site-title h3{
  margin-top: 8px;
  margin-bottom: 16px;
}

.comments .comment {
    position: relative;
    min-height: 96px;
}

.comments .comment~.comment {
    border-top: 1px solid #e0e4e9;
    padding-top: 1.5rem;
      margin-top: 1rem;
}
.comments .comment .children{
    padding-right: 1.5rem;
}
.comments .comment .children .comment {
    border-top: none;
    padding-top: 0;
}
.comments .comment~.comment .comment__likes {
    top: 1.6rem;
}
.comments .comment~.comment .comment__likes .is-disabled {
    display: none;
}


.comments .comment~.comment img {
    top: 24px
}
.comments li{
  list-style: none;
}
.comment-reply-link{
  font-family: TokanWeb;
  border-radius: 4px;
  padding: 1px 10px;
  border: 1px solid #e5e5e5;
  font-weight: 400;
}


.comment__likes-dislike{
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-right: 1rem;
}
.comment__likes-dislike button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 500;
}

.comment__likes-dislike .like::after,
.comment__likes-dislike .dislike::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 0.25rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.comment__likes-dislike .like::after {
    background-image: url("../img/icon/like.svg");
}

.comment__likes-dislike .dislike::after {
    background-image: url("../img/icon/dislike.svg");
}
.comment__likes-dislike .like.is-voted::after {
    background-image: url("../img/icon/like-solid.svg");
}

.comment__likes-dislike .dislike.is-voted::after {
    background-image: url("../img/icon/dislike-solid.svg");
}
.comment__likes-dislike button.is-voted {
    opacity: 1 !important;
}

.comment__likes-dislike button:hover::after {
    transform: scale(1.1);
    opacity: 0.8;
}
.comment__likes-dislike button.is-loading {
    opacity: 0.4;
}

.comment__likes-dislike button.is-loading::after {
    transform: scale(0.9);
}



.comments .children .comment__likes {
  display: none
}
.comments .children .comment-body {
  background: #F8FAFC;
  padding: 1rem 1rem 0.5rem 1rem;
    border-radius: 0.5rem;
}
.parent .comment-body {
  margin-bottom: 8px;
}

.comments .comment:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0
}
.comment-respond .form-submit{
  text-align: left;
}
.comment-respond .form-submit .submit{
  transition: all,0.3s;
  font-size: 14px;
  padding: 1rem 2.5rem;
  color: #fff;
  background-color: #161718;
  border: 0;
  margin-top: 15px !important;
  font-weight: 700;
  border-radius: 8px;
}
.comment-respond textarea{
  min-height: 80px;
    margin-top: 0.5rem;
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #e0e6ee;
    padding-left: 20px !important;
    padding-right: 20px !important;
    color: #161718;
    font-size: 14px;
    font-weight: bold;
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    height: 100px;
    min-width: 100%;
    max-width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    resize: none;
}
.kb-com-holder{
  margin: -0.5rem;
}
.kb-half-fields{
  width: 50%;
  float: right;
  padding: 0.5rem;
}
.kb-input input{
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #e0e6ee;
  padding-left: 20px !important;
  padding-right: 20px !important;
  color: #161718;
  font-size: 14px;
  font-weight: bold;
  height: 48px;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: .3s;
  transition-duration: .3s;
}
.section-comment {
  margin-top: 30px;
}
.section-comment .kb-site-title{
  margin-bottom: 16px;
}
.comments .comment__likes {
    position: absolute;
    left: 0;
    top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #6a7196;
    font-size: 14px;
    line-height: 32px;
    letter-spacing: -0.5px;
}

.comments .comment__likes:before {
    margin-left: 7px;
    font-size: 12px
}

.comments .comment__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    right: 0;
    top: 0;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center
}

.comments .comment__info {
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    font-size: 14px;
    line-height: 32px;
    color: #878c958b7;
}
.comments .comment__info .commenter-name{
  font-weight: 700;
    font-style: normal;
    color: #161718;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.comment__info-date {
  display: block;
    color: #5e6475;
    font-weight: 300;
    font-size: 13px;
    line-height: 1;
}

.comments .comment__info span {
    display: inline-block
}

.comments .comment__info a {
    color: #161718
}

.comments .comment__text {
    color: #161718;
    font-size: 14px;
    line-height: 32px;
    margin-bottom: 16px;
    word-break: break-word
}

.comments .comment__operations {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.comments .comment__operations--reply {
    margin-left: 36px;
    font-size: 14px;
    line-height: 32px;
    letter-spacing: -0.5px;
    color: #a0a4bc
}

.comments .comment__operations--reply:before {
    margin-left: 7px;
    font-size: 8px;
    vertical-align: middle
}

.comments .comment__operations--like {
    font-size: 14px;
    line-height: 32px;
    letter-spacing: -0.5px;
    color: #a0a4bc;
    -webkit-transition: color .3s ease-out;
    transition: color .3s ease-out
}

.comments .comment__operations--like.active {
    color: #f44336 !important
}

.comments .comment__operations--like:before {
    margin-left: 6px;
    font-size: 10px;
    vertical-align: middle
}

.comments .comment~ul {
    list-style: none;
    padding: 0;
    padding-right: 56px
}

.comments .comment~ul .comment {
    margin-top: 26px;
    min-height: 40px;
    padding-right: 56px;
    border-bottom: 0;
    padding-bottom: 0
}

.comments .comment~ul .comment .comment__avatar {
    width: 40px;
    height: 40px
}

.commentForm {
    border-radius: 16px;
    margin-bottom: 48px;
    border: 2px solid #e1eaf9;
    background: #fff;
    padding-left: 16px;
    padding-right: 16px
}

.commentForm textarea::-webkit-scrollbar {
    width: 5px
}

.commentForm textarea::-webkit-scrollbar-track {
    background: transparent
}

.commentForm textarea::-webkit-scrollbar-thumb {
    background: #878c95;
    border-radius: 10px
}

.commentForm textarea::-webkit-scrollbar-thumb:hover {
    background: #555
}

.commentForm textarea {
    border: 0;
    resize: none;
    height: 96px;
    padding: 24px 0;
    color: #b3b6c9;
    font-size: 14px;
    line-height: 32px;
    font-weight: bold;
    font-variation-settings: "wght" 500;
    border-bottom: 1px solid #f0f4fc;
    background: transparent;
    -webkit-transition: all, 0.3s;
    transition: all, 0.3s;
    width: 100%
}

.commentForm textarea::-webkit-input-placeholder {
    color: #b3b6c9
}

.commentForm textarea::-moz-placeholder {
    color: #b3b6c9
}

.commentForm textarea:-ms-input-placeholder {
    color: #b3b6c9
}

.commentForm textarea::-ms-input-placeholder {
    color: #b3b6c9
}

.commentForm textarea::placeholder {
    color: #b3b6c9
}

.commentForm textarea:focus {
    border-color: #124a3f
}

.commentForm__foot,
.commentForm .form-submit {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 16px
}

.commentForm__foot .icon-user,
.commentForm__foot .head__profile,
.commentForm .form-submit .icon-user,
.commentForm .form-submit .head__profile {
    font-size: 14px;
    color: #b3b6c9;
    margin-left: 20px;
    height: 34px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.commentForm__foot--input,
.commentForm .form-submit--input {
    border: 0;
    background: transparent;
    color: #b3b6c9;
    font-size: 12px;
    line-height: 32px;
    font-weight: bold;
    font-variation-settings: "wght" 500;
    margin-left: auto
}

.commentForm__foot--input::-webkit-input-placeholder,
.commentForm .form-submit--input::-webkit-input-placeholder {
    color: #b3b6c9
}

.commentForm__foot--input::-moz-placeholder,
.commentForm .form-submit--input::-moz-placeholder {
    color: #b3b6c9
}

.commentForm__foot--input:-ms-input-placeholder,
.commentForm .form-submit--input:-ms-input-placeholder {
    color: #b3b6c9
}

.commentForm__foot--input::-ms-input-placeholder,
.commentForm .form-submit--input::-ms-input-placeholder {
    color: #b3b6c9
}

.commentForm__foot--input::placeholder,
.commentForm .form-submit--input::placeholder {
    color: #b3b6c9
}

.commentForm__foot--send,
.commentForm .form-submit--send {
    background-color: #124a3f;
    color: #fff;
    height: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    border: 0;
    font-variation-settings: "wght" 500;
    margin-right: auto
}

.commentsCount {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: -0.5px;
    font-weight: bold;
    font-variation-settings: "wght" 600;
    color: #16205b;
    margin-top: 40px
}

.comments__more {
    border-radius: 4px;
    font-size: 14px;
    line-height: 32px;
    font-weight: bold;
    font-variation-settings: "wght" 600;
    color: #0085b2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 40px;
    margin-top: 40px
}

.comments__more:before {
    margin-left: 10px;
    font-size: 4px
}

#respond {
    position: relative;
    margin-top: 25px;
  border-radius: 16px;
  margin-bottom: 24px;
}

#respond>small {
    position: absolute;
    left: 125px;
    bottom: 18px;
    height: 40px;
    line-height: 40px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 8px;
    font-weight: 400;
    font-variation-settings: "wght" 400
}

#respond>small a {
    color: #2d2e31
}

.commentAuthor {
    position: absolute;
    bottom: 19px;
    right: 18px
}

.commentAuthor img {
    width: 40px;
    border-radius: 50%;
    margin-left: 16px;
    float: right
}

.commentAuthor span {
    font-weight: 700;
    font-size: 14px;
    line-height: 32px;
    letter-spacing: -0.5px;
    font-variation-settings: "wght" 700;
    color: #6a7196;
    margin: 4px 0;
    display: inline-block
}




@media only screen and (max-width:767px) {
.postComments {
    margin-bottom: 40px
}
.comments .comment {
    min-height: 56px;
    padding-left: 0
}
.section-comment{
  padding-top: 20px;
}
.comments .comment__likes {
    top: 4px;
    font-weight: normal;
    font-variation-settings: "wght" 400;
    font-size: 12px;
    line-height: 24px
}
.comments .comment__likes:before {
    margin-left: 5px
}
.comments .comment__avatar {
    width: 40px;
    height: 40px
}

.comments .comment__text {
    margin-bottom: 8px
}
.comments .comment~ul {
    padding-right: 20px
}
.comments .comment~ul .comment {
    margin-top: 16px;
    padding-right: 50px
}
.commentForm {
    margin-bottom: 44px
}
.commentForm textarea {
    font-size: 12px;
    line-height: 24px;
    font-weight: normal;
    font-variation-settings: "wght" 400
}
.commentForm__foot .icon-user,
.commentForm__foot .head__profile,
.commentForm .form-submit .icon-user,
.commentForm .form-submit .head__profile {
    margin-left: 12px
}
.commentForm__foot--input,
.commentForm .form-submit--input {
    font-weight: normal;
    font-variation-settings: "wght" 400
}
.commentsCount {
    font-size: 14px;
    line-height: 24px
}
.comments__more {
    margin-top: 36px;
    height: 32px;
    font-weight: normal;
    font-variation-settings: "wght" 400
}
}
/*== single =============*/
.kb-single-main{
  display: inline-block;
  width: 100%;
}
.kb-s-meta{
  display: flex;
  flex-wrap: wrap;
  -moz-box-align: center;
  align-items: center;
  margin: 16px 0;
  gap: 16px;
  line-height: 18px;
  color: #747386;
}
.kb-s-categorys{
  margin-bottom: 8px;
}
.kb-s-categorys a{
  color: #E4002B;
  font-size: 14px;
  font-weight: 500;
}
.kb-s-meta .author .kb-sm-box{
  color: #b6bcbf;
  display: flex;
  align-items: center;
  gap: 16px;
}
.kb-s-meta .author-left{
  font-weight: 700;
  font-size: 16px;
}
.kb-s-meta .post-time{
  font-weight: 400;
  color: #b6bcbf;
  padding-top: 4px;
  font-size: 13px;
}
.kb-s-meta .author img{
  border-radius: 50%;
}
.kb-single-content{
  width: 70%;
  float: right;
  padding-left: 48px;
}
.kb-single-sidebar{
  width: 30%;
  float: right;
}
.kb-car-sidebar{
  height: -webkit-fit-content;
      height: -moz-fit-content;
      height: fit-content;
      position: -webkit-sticky;
      position: sticky;
      top: 100px;
}

.kb-sidebar-related-posts {
    background: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e0e6ee;
}
.kb-sidebar-related-posts .kb-site-title{
  margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}
.kb-side-related {
    padding-right: 0;
    margin-right: 0
}

.kb-side-related .item {
  display: flex;
  -moz-box-align: center;
  align-items: center;
  gap: 12px;
  list-style-type: none;
  margin-top: 0.8rem;
  border-bottom: 1px solid #ededed;
  padding-bottom: 0.8rem;
}
.kb-side-related li:last-child .item{
  border-bottom: none;
}

.kb-side-related .right {
    width: 150px;
    position: relative
}
.kb-side-related .right img{
  border-radius: 6px;
}

.kb-side-related .left {
    width: calc(100% - 150px);
    font-size: 14px;
}

.kb-side-special .kb-hnc-item{
  margin-top: 16px;
}

.kb-sc-width{
  max-width: 750px;
  margin: 0 auto;
}
.kb-single-title{
  margin-bottom: 16px;
  line-height: 40px;
}
.kb-single-meta{
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}
.kb-single-meta-profile {
  display: flex;
  gap: 0.5rem;
  font-size: 13px;
  align-items: center;
}
.kb-single-meta-profile-img img{
  width: 45px;
  border-radius: 0.75rem;
  border: 2px solid #fff;
}
.kb-single-meta-profile-inner a{
  display: block;
}
.kb-single-meta-profile-inner span{
  color: #878c95;
  font-weight: 300;
}

.kb-sc-data .post-time{
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 14px;
  color: #878c95;
}
.kb-single-lead{
  background: #F8FAFC;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.kb-single-lead p{
  margin: 0 !important;
}
.kb-single-top-holder{
  background: #F8FAFC;
  margin-bottom: 32px;
}

.kb-bredcrumbs-holder .container {
    padding: 0;
}
.breadcrumbs {
    height: 50px;
}
.breadcrumbs__nav {
        padding: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    font-size: 13px;
    color: #b6bcbf;
    overflow-y: hidden;
    overflow-x: auto;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
-webkit-transform: translateZ(0);
transform: translateZ(0);
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
-webkit-flex-direction: row;
flex-direction: row;
scrollbar-width: none;
-ms-overflow-style: none;
}
.breadcrumbs__nav::-webkit-scrollbar {
    display: none;
}
.breadcrumbs__nav .item a{
    color: #878c95;
}
.breadcrumbs__nav .item {
    padding: 0 16px;
    -ms-flex-negative: 0;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    line-height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
        position: relative;
}
.breadcrumbs__nav .item:not(:last-child)::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #b6bcbf;
  font-size: 14px;
}

.kb-single-top{
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 0 1rem 2.5rem 1rem;
  max-width: 1180px;
  margin: 0 auto;
}
.kb-sc-data{
  width: 40%;
}
.kb-sc-image {
  width: 60%;
}
.kb-sc-image img{
  background: white !important;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
.kb-single-top-banner{
  margin-bottom: 20px;
}
.kb-single-top .kb-rotir{
  padding: 8px 0;
  display: block;
  color: #243344c9;
  font-weight: 500;
}
.kb-s-banner768{
  margin-bottom: 10px;
}
.kb-banner-item img{
  width: 100%;
}
.kb-car-related-fix{
  margin-bottom: 0 !important;
}
.kb-car-card-title{
  height: 40px !important;
}
.kb-carpage-content{
  margin-top: 2.5rem;
}
.kb-carpage-content .kb-star-rating{
  display: inline-block;
  width: 100%;
}
.kb-c-related-car{
  padding: 32px 0;
}
.kb-c-related-car .kb-site-title{
  padding-bottom: 24px;
}


.kb-content p{
  margin: 0 0 16px;
  line-height: 34px;
  text-align: justify;
  text-align-last: auto;
  word-spacing: 0.05rem;
}
.kb-content p img{
  border-radius: 8px;
}
.kb-content h2{
  font-size: 22px;
  font-weight: 700;
  line-height: 2em;
  padding: 10px 0 10px;
}
.kb-content h3, .kb-content h4{
  font-size: 18px;
  font-weight: 700;
  line-height: 2em;
  padding: 8px 0 8px;
}
.kb-content h5 ,.kb-content h6 {
  font-size: 16px;
  line-height: 25px;
  font-weight: 500;
  margin: 0 0 14px;
}
.kb-content a{
  color: #E4002B;
}
.kb-content ul{
  list-style: disc;
  padding-right: 32px;
  margin: 0 0 16px;
}
.kb-content ul li{
  line-height: 34px;
  text-align: justify;
  text-align-last: auto;
  word-spacing: 0.05rem;
}
.kb-content strong{
  font-weight: 900;
}

.kb-content .wp-caption{
  width: 100% !important;
}
.kb-gallery{
  margin: -4px;
  padding: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
}
.kb-gallery-start2{
  display: flex;
  margin-bottom: 10px;
  padding-top: 10px;
}
.kb-gallery-start2::before{
  content: url('../img/gallery-notice.svg');
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 5px;
}
.kb-gallery-start2 span{
  color: black;
}
.kb-g-item {
  padding: 4px;
}
.kb-g-item.item-2 {
  width: 50%;
}
.kb-g-item.item-3 {
  width: 33.3333%
}
@media (max-width: 768px) {
  .kb-g-item {
    width: 50% !important;
  }
  .kb-crc-item{
    width: 100%;
  }
}
.kb-image{
  margin: 0 0 16px;
}
.kb-g-item img, .kb-image img{
  border-radius: 8px;
}
.kb-sg-tags-holder{
  display: inline-block;
  width: 100%;
}
.kb-sg-tags{
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
}
.kb-sg-tags a{
  padding: 8px 17px;
  font-size: 12px;
  background-color: #F8FAFC;
  color: #000;
  margin: 5px 0 5px 15px;
  border-radius: 10px;
}
.kb-social-share {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.kb-social-share svg {
  display: block;
}
.kb-social-share a:hover svg path{
  fill: #E4002B;
}
.copy-shortlink-button {
  font-size: 12px;
  background-color: transparent;
  color: #000;
  border: none;
  border-left: 1px solid #878c95;
  padding-left: 1rem;
}
.kb-copy-shortlink .hidden {
  display: none;
}
.kb-social-share .kb-copy-shortlink:hover svg path {
  fill: #E4002B;
}

.kb-single-story{
  padding-bottom: 1.5rem !important;
  background: #ffffff;
  border: 1px solid #e0e6ee;
  border-radius: 0.5rem;
  margin-top: 2.5rem;
}
.kb-single-story .title h3{
  font-size: 20px;
    font-weight: 700;
    line-height: 2em;
    padding: 1rem 0 1rem;
}
.kb-single-story .kb-ish-item{
  min-width: unset;
    width: 7rem;
}
.single-post .kb-single-story .kb-site-title-more {
  padding: 0.5rem 0 !important;
}
.kb-single-story .kb-ish-item img{
  border: 3px solid #fff;
}
.kb-single-story .kb-ish-item span{
  color: #1F2933;
}

@media only screen and (max-width:767px) {
  .kb-single-top{
    flex-direction: column;
    padding: 0 1rem 1rem 1rem;
    gap: 0;
  }
  .kb-s-meta .author img{
    width: 50px;
  }
  .kb-sc-data, .kb-sc-image{
    width: 100%;
  }
  .kb-sc-data{
    padding: 2rem 0;
  }
  .kb-single-content{
    width: 100%;
    padding-left: 0;
  }
  .kb-single-sidebar{
    width: 100%;
  }
  .kb-g-item{
    width: 50%;
  }


}


.single-testdrive .kb-single-top{
  flex-wrap: wrap;
}
.single-testdrive .kb-sc-data {
 padding-bottom: 1rem;
 padding-top: 1.5rem;
}
.single-testdrive .kb-single-top .kb-sc-data,
.single-testdrive .kb-single-top .kb-sc-image{
  width: 100%;
}
.single-testdrive .kb-single-top .kb-single-meta{
  margin-bottom: 0;
}
.kb-test-drive-columns{
  column-count: 3;
    column-gap: 2rem;
    -moz-column-count: 3;
    -webkit-column-count: 3;
}
@media only screen and (max-width:767px) {
  .kb-test-drive-columns{
    column-count: 1 ;
        -moz-column-count: 1;
        -webkit-column-count: 1;
  }
  .single-testdrive .kb-sc-data {
   padding-bottom: 2rem;
   padding-top: 1rem;
 }
}

/* == archive ================ */
.kb-author-page{
  margin: 45px 0;
}
.kb-author-p{
  padding-top: 0.5rem;
  color: #878c95;
}
.kb-author-profile{
  text-align: center;
  width: 100%;
  margin-bottom: 1rem;
}
.kb-author-profile img{
  width: 85px;
  height: 85px;
  border-radius: 1rem;
  background: #fff;
  padding: 3px;
}
.kb-archive-top{
  text-align: center;
  padding: 4rem 0;
  background: #161718;
  margin-bottom: 2rem;
}
.kb-top-position{
  margin-top: -20px;
}
@media only screen and (max-width:1100px) {
  .kb-top-position{
    margin-top: -30px;
  }
}
.kb-archive-top h1{
  color: white;
}

.kb-pagination{
	display: block;
	text-align: center;
	margin-top: 50px;
	margin-bottom: 50px;
}
.kb-pagination .kb-navigation{
	display: inline-block;
}
.kb-pagination .kb-navigation li a,
.kb-pagination .kb-navigation li a:hover,
.kb-pagination .kb-navigation li.active a,
.kb-pagination .kb-navigation li.disabled {
	color: #fff;
	text-decoration:none;
}
.kb-navigation ul{
  padding: 0

}
.kb-pagination .kb-navigation li {
	display: inline-block;
}

.kb-pagination .kb-navigation li a,
.kb-pagination .kb-navigation li a:hover,
.kb-pagination .kb-navigation li.active a,
.kb-pagination .kb-navigation li.disabled {
	display: block;
	float: left;
	font-size: 14px;
	font-weight: bold;
	margin-right: 5px;
	padding: 8px 16px;
	border: 1px solid #e6ecef;
	color: #161718;
	text-align: center;
	-webkit-transition: all .35s ease-in-out;
	-moz-transition: all .35s ease-in-out;
	-ms-transition: all .35s ease-in-out;
	-o-transition: all .35s ease-in-out;
	transition: all .35s ease-in-out;
  border-radius: 1rem;
}
.kb-pagination .kb-navigation li a:hover{
	background-color: #161718 !important;
  border: 1px solid #161718 !important;
	color: #fff !important;
}
.kb-pagination .kb-navigation li.active a {
	background-color: #161718 !important;
  border: 1px solid #161718 !important;
	color: #fff !important;
}

@media only screen and (max-width:767px) {
  .kb-lastnews-item .kb-lead {
    display: none;
  }
  .kb-lastnews-item .kb-data {
    display: none;
  }
  .kb-lastnews-item .kb-main-title {
    font-size: 15px;
  }
  .kb-lastnews-item .title {
    width: 60%;
  }
  .kb-lastnews-item .image {
    width: 40%;
  }
}



/* spec ===================================================== */
/*brands page*/
.kb-brands-page{
  margin: 0 auto;
}
.kb-brands-page .kb-content{
  margin-top: 2.5rem;
}
.kb-brand-top-flex h1{
  margin-bottom: 16px;
}
.kb-brands-page-search input{
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e0e6ee;
  padding-left: 20px !important;
  padding-right: 20px !important;
  color: #161718;
  font-size: 14px;
  font-weight: bold;
  height: 45px;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: .3s;
  transition-duration: .3s;
  max-width: 300px;
}

.kb-br-img img{
  max-width: 90px;
  margin: 0 auto;
  filter: grayscale(100%);
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e9ee;
  padding: 0.75rem;
}
.kb-br-img:hover img{
  filter: grayscale(0%);
}

.kb-br-info h2{
  font-size: 14px;
  font-weight: 500;
}
.kb-brands-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
}
.kb-b-item a{
  display: block;
  text-align: center;
}
.kb-b-item:hover  .kb-br-info h2 {
  color: #E4002B
}
.kb-br-info {
  font-size: 14px;
  display: block;
  font-weight: 500;
  margin-top: 0.5rem;
}
.kb-br-info-en{
  text-align: center;
  font-size: 13px;
  color: #878c95;
  font-weight: 300;
}
@media only screen and (max-width:768px) {
  .kb-brands-list {
      grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  }
  .kb-br-img img{
    max-width: 70px;
  }
}
.kb-tsg-list{
  display: flex;
  flex-wrap: wrap;
  gap:1.5rem;
}
.kb-tsg-item{
  width: calc(33.3333% - 1rem);
}

.kb-index-sell .post-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.kb-index-sell .list-item {
  width: calc( 100% / 5);
  display: flex;
  transition: 0.3s all;
}
.kb-index-sell .list-item:first-child{
  background-color: #161718;
  -webkit-box-shadow: 0 10px 15px rgba(0, 0, 0, .2);
  box-shadow: 0 10px 15px rgba(0, 0, 0, .2);
}
.kb-index-sell .list-item:first-child > .list-item-holder{
  color: white;
}
.list-item-holder {
  padding: 20px 15px;
  -o-transition: 0.3s;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: perspective(1000px) translateY(0) translateZ(0);
  transform: perspective(1000px) translateY(0) translateZ(0);
  position: relative;
}
.list-item-holder h3{
  font-size: 16px;
}
.kb-index-sell .post__date{
  border-bottom: 1px solid #314B4B;
  padding-bottom: 5px;
  margin-bottom: 10px;
  color: #878c95;
  display: flex;
  align-items: center;
}
.kb-index-sell .post__date svg{
  margin-left: 5px;
}

.kb-index-sell .post-list:hover .list-item:first-child {
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.kb-index-sell .post-list:hover .list-item:first-child > .list-item-holder{
  color: black;
}
.list-item:hover {
  background-color: #161718 !important;
  -webkit-box-shadow: 0 10px 15px rgba(0, 0, 0, .2) !important;
  box-shadow: 0 10px 15px rgba(0, 0, 0, .2) !important;
}
.list-item:hover .list-item-holder {
  color: white !important;
}
@media only screen and (max-width:767px) {
  .kb-index-sell .list-item {
    width: 100%;
  }
  .list-item-holder{
    width: 100%;
    border: 1px solid #e1e1e1;
    margin-bottom: 15px;
  }
  .kb-index-sell .post__date {
    border-bottom: 1px dashed #D7D7D7;
  }
  .kb-index-sell .list-item:first-child > .list-item-holder {
    color: black;
  }
  .list-item:hover {
    background-color: white !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
  }
  .list-item:hover .list-item-holder {
    color: none !important;
  }
  .kb-index-sell .list-item:first-child{
    background-color: white;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .list-item:hover .list-item-holder {
    color: black !important;
  }
}


.kb-bt-container{

}
.kb-brand-top{
  padding: 70px 0;
      background: #F8FAFC;
      margin-bottom: 2rem;
}
.kb-bt-logo{
  margin-bottom: 10px;
}
.kb-bt-logo img{
  max-width: 100px;
}
.kb-bt-desc h2{
  font-size: 15px;
  text-align: center;
  color: #878c95;
  font-weight: 300;
}
.kb-bt-desc h1{
  font-size: 20px;
  line-height: 25px;
}
.kb-bt-desc p{
  padding-top: 5px;
  font-size: 13px;
  color: #b3c4cc;
}
.kb-btc-right{
  text-align: center;
}

@media only screen and (max-width:998px) {
  .kb-tsg-item{
        width: calc(50% - 0.75rem);
  }
}

@media only screen and (max-width:767px) {
  .kb-ts-item{
    width: 100%;
  }
  .kb-tsg-item{
    width: 100%;
  }
  .kb-btc-right{
    width: 100%;
    margin-bottom: 20px;
  }
}
/* car spec page ------------ */
.container-spec{
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.kb-cs-top-title{
  margin-top: 0.75rem;
}
.kb-cst-brand{
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  justify-content: space-between;
}
.kb-cst-brand a{
  border-radius: 0.5rem;
    font-size: 14px;
    padding: 0.5rem 1rem;
    color: #878c95;
    border: 1px solid #e0e6ee;
    background: #FFF;
}
.kb-cst-star {
    display: flex;
    align-items: center;
    gap: 4px;
}
.kb-cst-brand .brand-logo img{
  max-width: 1.5rem;
  margin-left: 0.5rem;
}
.kb-cst-brand .brand-logo h2{
  font-size: 14px;
  line-height: 17px;
}
.kb-cst-brand .brand-logo {
  display: flex;
  align-items: center;
}


.kb-cs-top-holder{
  background: #F8FAFC;
}

/* استایل‌های گالری */
.kb-cs-gallery {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem 0;
}

.kb-csg-50 {
  flex: 0 0 calc(50% - 0.375rem);
  max-width: calc(50% - 0.375rem);
}

.kb-csg-50-img {
  position: relative;
  aspect-ratio: 16 / 9;
}

.kb-csg-50-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0.5rem;
}

.kb-csg-25 {
  flex: 0 0 calc(50% - 0.75rem);
  max-width: calc(50% - 0.75rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.kb-csg-25-img {
    position: relative;
    aspect-ratio: 16 / 9;
}

.kb-csg-25-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0.5rem;
}

.kb-csg-view-all-btn {
  position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    background: rgba(0, 0, 0, 0.19);
    backdrop-filter: blur(4px);
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    z-index: 2;
    white-space: nowrap;
}

.kb-csg-view-all-btn:hover {
    background: rgba(0, 0, 0, 0.24);
}

.kb-csg-remaining-count {
    background: #1a1a1a;
    color: #fff;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 13px;
}

.kb-spec-gallery-hidden{
  display: none;
}

/* نسخه موبایل (کمتر از 768px) */
@media (max-width: 767px) {
    .kb-cs-gallery {
        flex-direction: column;
    }

    .kb-csg-50,
    .kb-csg-25 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .kb-csg-50-img {
        aspect-ratio: 16/9; /* می‌توانید ارتفاع عکس اصلی را در موبایل محدودتر کنید */
    }

    .kb-csg-25 {
        grid-template-columns: 1fr 1fr;
    }
}



.kb-cstr-spec {
  padding-bottom: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 16px;
}
.kb-cstrs-item {
  border-radius: 0.5rem;
  font-size: 14px;
  padding: 0.5rem;
  color: #555;
  border: 1px solid #e0e6ee;
  background: #FFF;
  text-align: center;
}
.kb-cstrsi-value{
  padding-top: 8px;
  font-weight: 600;
  color: #62676c;
}
.kb-cstrsi-title{
  font-size: 12px;
      font-weight: 300;
      color: #878c95;
      margin: 4px 0;
}
.kb-spec-showall{
  display: flex;
}
.kb-spec-showall-but {
  cursor: pointer;
    font-size: 14px;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-direction: column;
    gap: 0.25rem;
}
.kb-spec-showall-but svg{
  display: flex;
    justify-content: center;
    align-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid #cacaca;
    border-radius: 50%;
}



.kb-carpage-gallery {
    margin-bottom: 32px;
}
.kb-cgh-inner {
    display: flex;
    gap: 8px;
}
.kb-cghi-item-more {
    position: relative;
}
.kb-cghi-item-more .remaining-overlay{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  top: 0;
  height: 100%;
  color: white;
  background: hsl(0deg 0% 0% / 18%);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  font-size: 20px;
  border-radius: 8px;
}
.kb-cghi-item{
    width: 100%;
}
.kb-cghi-item img{
    width: 100%;
    border-radius: 8px;
}

.kb-cghi-hide {
    display: none;
}


.kb-car-bredcrumbs{
  display: flex;
  flex-wrap: wrap;
}
.kb-car-bredcrumbs a {
  color: #b5b5b5;
}
.kb-car-bredcrumbs a:not(:last-child)::after {
  display: inline-block;
  margin: 0 5px;
  content: ">";
  color: #6b6b6b;
  padding: 0 5px;
}
.kb-car-content .postComments{
  margin: 20px auto;
  display: block;
}


.kb-pros-cons{
  display: flex;
  width: 100%;
  gap: 16px;
  margin: 2.5rem 0;
  flex-wrap: wrap;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e0e6ee;
    background: #FFF;
}
.kb-pross, .kb-conss {
  width: calc(50% - 8px);
}
.kb-conss-item-holder,
.kb-pross-item-holder{
  padding: 6px 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kb-conss-item-holder svg,
.kb-pross-item-holder svg{
  min-width: 24px;
}
.kb-pross-title,
.kb-conss-title{
  padding-bottom: 16px;
  padding-top: 8px;
  font-weight: 700;
  font-size: 20px;
}
.kb-pross-title img, .kb-conss-title img{
  margin-left: 5px;
  max-width: 25px;
}
.kb-pross-item-holder:last-child, .kb-conss-item-holder:last-child{
  border-radius: 0 0 10px 10px;
}

.spec-related-car{
  margin-top: 2.5rem;
  margin-bottom: 4rem;
}
.spec-related-car .kb-site-title{
  margin-bottom: 16px;
}

.kb-car-table tbody{
  margin-right: -8px;
  display: block;
  margin-left: -8px;
}
.kb-car-table tr{
  float: right;
  display: flex;
  width: calc(50% - 16px);
  margin: 8px;
  border-bottom: 1px solid #e5e9ee;
  padding-bottom: 8px;
}
.kb-car-table td {
  padding: 8px;
  float: right;
  width: 50%;
}
.kb-car-table .kb-t-lable{
  color: #1f1f1e;
  font-weight: 600;
}
.kb-car-table .kb-t-lable img{
  margin-left: 5px;
}
.kb-car-table .kb-t-value{
  color: #1f1f1e;
  font-weight: 400;
}
.kb-safetystandard-holder{
  text-align: center;
  margin-top: 15px;
}
.kb-safetystandard{
  text-align: center;
  display: inline-block;
  padding: 16px 24px;
  border-radius: 8px;
  border: 1px solid #e5e9ee;
}
.kb-safetystandard span{
  display: block;
  color: #1f1f1e;
  padding-bottom: 8px;
}
.kb-car-options-holder{
  background: #F8FAFC;
  padding: 30px 0px;
}
.kb-car-options-holder .kb-car-options {
  margin-top: 10px;
}
.kb-car-options {
  margin-top: 30px;
}

.kb-car-single-top{
  max-width: 1100px;
  margin: 0 auto;
}
.kb-csa-top{
  padding-top: 45px;
  padding-bottom: 35px;
  margin-bottom: 30px;
  border-radius: 0 0 20px 20px;
}
.kb-csa-top .kb-social-share a {
  border: 1px solid #eaeaea30;
  color: #aec2cb;
}
.kb-csa-top .kb-v-meta {
  color: rgb(151, 157, 169);
  border-bottom: 1px solid #F5F7F717;

}
.kb-csa-top .kb-video-title{
  margin-bottom: 20px;
}
@media only screen and (max-width:767px) {
  .kb-conss-item-holder,
  .kb-pross-item-holder{
    font-size: 13px;
  }
  .kb-car-table tr{
    width: calc(100% - 8px);
  }
  .kb-css-item {
    width: 32.6666%;
    margin-bottom: 1%;
  }
  .kb-css-item-more{
    width: 32.6666%;
    margin-bottom: 1%;
  }
  .kb-pross, .kb-conss {
    width: 100%;
  }
}

.kb-car-spec-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
}

.kb-car-spec-modal.active {
  pointer-events: auto;
  opacity: 1;
}

.kb-csm-inner {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  max-width: 480px;
  width: 100%;
  height: 60vh;
  display: flex;
  flex-direction: column;
  transform: translateY(24px);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.kb-car-spec-modal.active .kb-csm-inner {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .kb-car-spec-modal {
    align-items: flex-end;
  }

  .kb-csm-inner {
    width: 100%;
    max-width: 100%;
    height: 85dvh;
    border-radius: 1rem 1rem 0 0;
    transform: translateY(100%);
  }

  .kb-car-spec-modal.active .kb-csm-inner {
    transform: translateY(0);
  }
}

.kb-csm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.kb-csmh-r {
  font-weight: 700;
}

.kb-csmh-l button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #888;
  line-height: 1;
  padding: 0 4px;
}

.kb-csm-body {
  padding: 1rem;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
  -webkit-overflow-scrolling: touch;
}

.kb-csm-body-inner {
  font-size: 14px;
  padding-bottom: env(safe-area-inset-bottom, 1rem);
}

.kb-csm-brochure {
  border: 1px solid gray;
  padding: 16px 32px;
  width: 100%;
  display: block;
  text-align: center;
  margin-bottom: 32px;
  border-radius: 8px;
}

.kb-csm-blur {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.kb-csm-blur.active {
  opacity: 1;
  visibility: visible;
}

.kb-csmh-vbox-wrap{direction:rtl;margin:2rem 0;border:1px solid #e2e8f0;border-radius:0.5rem;overflow:hidden;background:#fff;font-family:inherit}
.kb-csmh-vbox-title{margin: 0;
padding: 16px 18px 12px;
font-weight: 700;
color: #64748b;
font-size: 16px;
display: flex;
gap: 0.5rem;
align-items: center;}
.kb-csmh-vbox-desc{margin:0;padding:0 18px 14px;font-size:13px;color:#64748b;line-height:1.6;border-bottom:1px solid #f1f5f9}
.kb-csmh-vbox-table{width:100%;border-collapse:collapse}
.kb-csmh-vbox-row{border-bottom:1px solid #f1f5f9}
.kb-csmh-vbox-row:last-child{border-bottom:none}
.kb-csmh-vbox-row:nth-child(even){background:#f8fafc}
.kb-csmh-vbox-label{padding:11px 18px;font-size:13px;color:#334155;width:65%}
.kb-csmh-vbox-value{padding: 11px 18px;
font-size: 14px;
text-align: left;
white-space: nowrap;
font-weight: 200;
color: #6B7A8D;}
.kb-csmh-vbox-value.kb-csmh-empty{color:#cbd5e1;font-weight:400}



.kb-accordion-toc {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #e0e6ee;
  background: #FFF;
  padding: 1rem;
  margin-bottom: 2rem;
}

.kb-accordion-toc-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  padding-bottom: 0;
  transition: padding 0.3s ease;
}

.kb-accordion-toc-title.is-open {
  padding-bottom: 1rem;
}

.kb-accordion-toc-title-t {
  color: #878c95;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* آیکون پلاس/مینوس دایره‌ای */
.kb-toc__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, border-color 0.2s ease;
  position: relative;
  background: white;
}

.kb-toc__icon::before,
.kb-toc__icon::after {
  content: '';
  position: absolute;
  background: #888;
  border-radius: 2px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.kb-toc__icon::before {
  width: 9px;
  height: 1.5px;
}

.kb-toc__icon::after {
  width: 1.5px;
  height: 9px;
}

.kb-accordion-toc-title.is-open .kb-toc__icon::after {
  opacity: 0;
}

.kb-accordion-toc-title.is-open .kb-toc__icon {
  border-color: #888;
  transform: rotate(180deg);
}

/* محتوا با انیمیشن روان */
.kb-accordion-toc-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.35s ease, padding 0.3s ease;
  padding-top: 0;
  border-top: 1px solid transparent;
}

.kb-accordion-toc-content.is-open {
  max-height: 2000px;
  opacity: 1;
  padding-top: 1rem;
  border-top-color: #e0e6ee;
}

.kb-accordion-toc-content ul {
  list-style: disc;
  padding-right: 16px;
}

.kb-accordion-toc-content ul > li ul {
  padding-right: 24px;
}

.kb-accordion-toc-content a {
  text-decoration: none;
  color: #007bff;
  padding: 5px 0;
  display: block;
}

.kb-accordion-toc-content a:hover {
  text-decoration: underline;
}

.kb-accordion-toc-content ul ul {
  margin-top: 5px;
  margin-left: 20px;
}

.kb-accordion-toc-content li {
  margin-bottom: 8px;
  line-height: 1 !important;
}

.kb-accordion-toc-content li::marker {
  color: #e2e6ea;
}

.kb-accordion-toc-content li a {
  font-size: 15px;
  font-weight: 500;
  color: #878c95;
  line-height: 24px;
  padding: 2px;
  text-underline-offset: 8px;
}

.kb-accordion-toc-content ul > li ul a {
  font-size: 14px;
  font-weight: 300;
}

.kb-spec-accordion-item {
  border-bottom: 1px solid #eee;
}

.kb-spec-accordion-item:last-child {
  border-bottom: none;
}




.kb-sa-q {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
}

.kb-saq-title {
  font-size: 18px;
font-weight: 600;
}
.kb-sa-table {
    padding: 16px;
    margin-top: 10px;
}
.kb-sa-table table{
    width: 100%;
}
.kb-sa-table tr{
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
}
.kb-sa-table td:first-child{
  color: #535457;
}
.kb-sa-table td:last-child{
  font-weight: 600;
  color: black;
}
.kb-sa-a ul, .kb-sa-a p{
    padding: 16px;
    line-height: 36px;
    text-align: justify;
}
.kb-sa-a li{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
}
/**
 * Car Rating System — Modern Minimal Styles
 * راست‌چین، سایت فارسی
 */

/* ─── Display Block ─────────────────────────────── */

.car-rating-display {
  margin: 32px 0;
  padding: 28px 24px;
  border-radius: 0.5rem;
  border: 1px solid #e8eaed;
  background: #fff;
  direction: rtl;
  font-family: inherit;
}

.car-rating-inner {
  display: flex;
  gap: 32px;
  align-items: center;
}

/* ─── Left Column: Score Badge ───────────────────── */

.car-rating-score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 160px;
}
.car-rating-title {
  font-weight: 700;
  font-size: 20px;
}

.car-score-badge {
  font-size: 42px;
    font-weight: bold;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.car-score-badge.below-avg svg {
  stroke: #ffd6d6;
  fill: #fff5f5;
}

.car-score-badge.avg svg {
  stroke: #ffe9a0;
  fill: #fffbec;
}

.car-score-badge.great svg {
  stroke: #b8e9c8;
  fill: #f0faf4;
}

.car-score-number {
  position: absolute;
  top: 0.75rem;
    font-size: 32px;
}

.car-score-badge.below-avg .car-score-number { color: #c0392b; }
.car-score-badge.avg .car-score-number         { color: #b7860b; }
.car-score-badge.great .car-score-number       { color: #1a7a40; }

.car-score-from {
  position: absolute;
    bottom: 1rem;
    font-size: 13px;
    color: #666666;
}

.car-rating-stars {
  display: flex;
  gap: 2px;
}

.car-rating-stars .star {
  display: inline-block;
  width: 24px;
    height: 24px;
}

.car-rating-stars .star-full {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" fill="%23f1c40f"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
}

.car-rating-stars .star-half {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" fill="%23f1c40f" fill-opacity="0.25"/><path d="M12 2v15.27l6.18 3.73-1.64-7.03L22 9.24l-7.19-.61L12 2z" fill="%23e0e0e0"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
}

.car-rating-stars .star-empty {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" fill="%23e0e0e0"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
}

.car-rating-count {
  font-size: 11px;
  color: #aaa;
  text-align: center;
  white-space: nowrap;
}

.car-rating-count strong {
  color: #555;
  font-weight: 600;
}

/* ─── Right Column: Criteria Bars ────────────────── */

.car-rating-bars-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%
}

.car-criteria-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 1rem;
}
.car-criteria-row:last-child {
  padding-bottom: 0;
}

.car-criteria-label {
  font-size: 13px;
  color: #666;
  flex: 0 0 140px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.car-criteria-bar-wrap {
  flex: 1;
  height: 5px;
  background: #f0f0f0;
  border-radius: 99px;
  overflow: hidden;
}

.car-criteria-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: #808080;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-criteria-val {
  font-size: 12px;
    font-weight: 600;
    color: #888;
    flex: 0 0 40px;
    text-align: left;
    display: flex;
    gap: 4px;
    justify-content: left;
}

/* ─── Add Rating Button ──────────────────────────── */

.car-rating-footer {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.rating-button {
  transition: all,0.3s;
    font-size: 14px;
    padding: 1rem 2.5rem;
    color: #fff;
    background-color: #161718;
    border: 0;
    font-weight: 700;
    border-radius: 8px;
    margin-right: auto;
}

.rating-button:hover {
  background: #1a1a1a;
  color: #fff;
}

/* ─── Modal Overlay ──────────────────────────────── */

.rating-modal {
  display: none;
  visibility: hidden;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  align-items: center;
  justify-content: center;
  direction: rtl;
}

.rating-modal.rating-modal-active {
  display: flex;
  visibility: visible;
}

/* ─── Modal Panel ────────────────────────────────── */

.rating-modal-content {
  background: #fff;
  width: 520px;
  max-width: calc(100vw - 32px);
  max-height: 90vh;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ─── Modal Header (sticky) ──────────────────────── */

.rating-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
  flex-shrink: 0;
}

.rating-modal-header-title {
  font-weight: 700;
}

.close-modal {
  cursor: pointer;
  color: #aaa;
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.close-modal:hover {
  color: #1a1a1a;
  background: #f5f5f5;
}

/* ─── Modal Body (scrollable) ────────────────────── */

#car-rating-form {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ─── Criteria Input Rows ────────────────────────── */

.rating-criteria-input {
  padding-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating-criteria-input > label {
  display: block;
  font-size: 13px;
  color: #555;
  font-weight: 500;
  margin-bottom: 10px;
  text-align: right;
}

.star-rating-container {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.rating-star {
  display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    position: relative;
    gap: 4px;
}

.rating-star::before {
  content: "";
    width: 32px;
    height: 32px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" fill="%23e0e0e0"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    transition: background-image 0.15s;
    position: absolute;
    z-index: 1;
}

.rating-star:hover,
.rating-star.active {
  color: #1a1a1a;
}

.rating-star:hover::before,
.rating-star.active::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" fill="%231a1a1a"/></svg>');
}

.rating-star-num {
  z-index: 2;
    color: #fff;
    font-size: 11px;
    padding-top: 0.25rem;
}


/* ─── Security Question ──────────────────────────── */

.security-question-container {
  margin: 8px 0 4px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e8eaed;
  display: flex;
  align-items: center;
  gap: 12px;
}

.security-question-label {
  font-size: 12.5px;
  color: #888;
  flex-shrink: 0;
  white-space: nowrap;
}

.security-question-eq {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

#security_question_text {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  direction: ltr;
}

#security_answer {
  width: 64px;
  height: 36px;
  border: 1px solid #d0d3d8;
  border-radius: 8px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
  -moz-appearance: textfield;
}

#security_answer::-webkit-outer-spin-button,
#security_answer::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#security_answer:focus {
  border-color: #1a1a1a;
}

/* ─── Modal Footer (sticky) ──────────────────────── */

.rating-modal-footer {
  padding: 16px 20px;
  border-top: 1px solid #f0f0f0;
  position: sticky;
  bottom: 0;
  background: #fff;
  flex-shrink: 0;
  z-index: 10;
}

.submit-rating {
  display: block;
  width: 100%;
  padding: 13px 24px;
  border-radius: 10px;
  border: none;
  background: #E4002B;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.18s;
}

.submit-rating:hover {
  opacity: 0.82;
}

/* ─── Feedback Messages ──────────────────────────── */

.rating-message {
  font-size: 13px;
  padding: 12px 14px;
  border-radius: 8px;
  display: none;
  margin-top: 4px;
}

.rating-message.error {
  background: #fff5f5;
  color: #c0392b;
  border: 1px solid #ffd6d6;
}

.rating-message.success {
  background: #f0faf4;
  color: #1a7a40;
  border: 1px solid #b8e9c8;
}

.rating-message.show {
  display: block;
  animation: crFadeSlide 0.25s ease-out forwards;
}

@keyframes crFadeSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Honeypot ───────────────────────────────────── */

input[name="website"] {
  display: none !important;
}

/* ─── Responsive (Mobile) ────────────────────────── */

@media (max-width: 600px) {

  .car-rating-display {
    padding: 20px 16px;
  }

  .car-rating-inner {
    flex-direction: column;
    gap: 20px;
  }

  .car-rating-count {
    text-align: right;
  }


  /* Full-screen modal on mobile */
  .rating-modal {
    align-items: flex-end;
    justify-content: center;
  }

  .rating-modal-content {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
  }
}



.kb-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 2rem 0;
}

.kb-faq__item {
  overflow: hidden;
    transition: border-color .2s;
    border-radius: 0.5rem;
    border: 1px solid #e8eaed;
}

.kb-faq__item.is-open {
    border-color: #bbb;
}

.kb-faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 1rem;
    background: none;
    border: none;
    text-align: right;
    font-size: 15px;
    font-weight: 500;
    color: #62676c;
    cursor: pointer;
    line-height: 1.5;
}

.kb-faq__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s, border-color .2s;
    position: relative;
    background: white;
}

.kb-faq__icon::before,
.kb-faq__icon::after {
    content: '';
    position: absolute;
    background: #888;
    border-radius: 2px;
    transition: opacity .25s, transform .25s;
}

.kb-faq__icon::before { width: 9px; height: 1px; }
.kb-faq__icon::after  { width: 1px; height: 9px; }

.kb-faq__item.is-open .kb-faq__icon::after { opacity: 0; }
.kb-faq__item.is-open .kb-faq__icon { border-color: #888; transform: rotate(180deg); }

.kb-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.4,0,.2,1);
}

.kb-faq__a p {
    padding: 0 22px 20px;
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #878c95;
    border-top: 1px dashed #e8eaed;
      padding-top: 1rem;
}




.simple-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.simple-lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.simple-lightbox-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  max-height: 25px;
  z-index: 1002;
}

.simple-lightbox-content {
  position: relative;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.simple-lightbox-image-container {
  position: relative;
  max-width: 100%;
  max-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.simple-lightbox-image-num{
  position: absolute;
  bottom: 0.5rem;
    left: 0.5rem;
      color: white;
      font-size: 14px;
      background: rgba(0, 0, 0, 0.5);
      padding: 4px 8px;
      border-radius: 4px;
}

.simple-lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.simple-lightbox-caption {
  color: #fff;
  text-align: center;
  padding: 10px;
  max-width: 100%;
  margin-top: 10px;
  font-size: 14px;
}

.kb-spinner-lighbox {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgb(255 255 255 / 65%);
    border-radius: 50%;
    border-top-color: #E4002B;
    animation: spin 0.8s linear infinite;
}

.simple-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(218 218 218 / 50%);
  border-radius: 1rem;
  z-index: 1002;
  padding-top: 4px;
}

.simple-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  width: 46px;
  height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 1rem;
  z-index: 1001;
}

.simple-lightbox-prev {
  right: 20px;
}

.simple-lightbox-next {
  left: 20px;
}
.simple-lightbox-next svg{
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .simple-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .simple-lightbox-prev {
    right: 10px;
  }

  .simple-lightbox-next {
    left: 10px;
  }

}




/**
 * khodrobank Ajax Search Box Styles
 *
 * Save this file to your theme directory: /assets/css/kb-search.css
 */

/* استایل‌های اصلی سرچ باکس */
.kb-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
}

.kb-search-overlay.active {
    display: flex;
    visibility: visible;
}

.kb-search-container {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 600px;
    max-width: 90%;
    max-height: 80vh;
    height: 100%;
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    display: none;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s ease;
}

.kb-search-overlay.active .kb-search-container {
    transform: translateY(0);
    opacity: 1;
    display: block;
}

.kb-search-main{
  max-height: calc(100% - 72px);
  overflow-y: auto;
  scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

/* هدر سرچ باکس */
.kb-search-header {
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1rem 1.25rem 0.75rem;
}

.kb-search-header-title {
    font-weight: 600;
}

.kb-search-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kb-search-close:hover {
    color: #000;
}

/* فرم جستجو */
.kb-search-form-container {
    padding: 36px 24px 0;
}

.kb-search-form {
    display: flex;
    position: relative;
}

.kb-search-input {
    flex: 1;
    border: 2px solid #eaeaea;
    border-radius: 8px;
    padding: 15px 50px 15px 20px;
    font-size: 16px;
    transition: border-color 0.2s ease;
    width: 100%;
}

.kb-search-input:focus {
    outline: none;
    border-color: #E4002B;
}

.kb-search-submit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
    display: flex;
}

/* پیشنهادات پیش‌فرض */
.kb-search-default-suggestions {
    margin-bottom: 20px;
    padding: 24px;
}

.kb-sds-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}
.kb-search-default-suggestions h4 {
    font-size: 16px;
    font-weight: 500;
    color: #666;
}

.kb-search-default-suggestions ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.kb-search-default-suggestions ul li a {
  display: inline-block;
    background: #f3f4f6;
    color: #555;
    border: none;
    border-radius: 0.5rem;
    padding: 0.65rem 0.9rem;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s;
}

.kb-search-default-suggestions ul li a:hover {
    color: #E4002B;
}

/* نتایج جستجو */
.kb-search-results {
    display: none;
    padding: 0 24px 24px;
        margin-top: 32px;
}

.kb-search-results h4 {
    margin: 20px 0 15px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
}

/* لودر */
.kb-search-loader {
    display: none;
    text-align: center;
    padding: 54px 0;
}

.kb-spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0, 123, 255, 0.2);
    border-radius: 50%;
    border-top-color: #E4002B;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.kb-spc-inner{
  display: flex;
  align-items: center;
  gap: 8px;
}

/* لیست نتایج (جدید) */
.kb-search-results-list {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.kb-result-item {
  display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    transition: background-color 0.2s ease;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}
.kb-result-item:last-child{
  border-bottom: none;
}

.kb-result-item:hover {
    background-color: #f0f0f0;
}

.kb-result-thumb {
  flex-shrink: 0;
  width: 94px;
    border-radius: 0.5rem;
      overflow: hidden;
      background-color: #e0e0e0;
}

.kb-result-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.kb-result-content {
    flex: 1;
    min-width: 0;
}

.kb-result-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin: 0 0 6px;
    line-height: 1.4;
}

.kb-result-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
}

/* لینک مشاهده بیشتر */
.kb-search-more {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.kb-more-results {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 8px;
    background: #F8FAFC;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.kb-more-results:hover {
    color: #E4002B;
    background-color: #f0f0f0;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 767px) {
    .kb-search-overlay {
        background: white;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .kb-search-container {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        box-shadow: none;
    }

}

/* انیمیشن‌های اضافی */
.kb-fade-in {
    animation: fadeIn 0.3s ease forwards;
}

.kb-fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* بارگذاری محتوا */
.kb-content-loading {
    position: relative;
}

.kb-content-loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* استایل‌های متفرقه */
.kb-no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 16px;
}

html.kb-search-opened {
    overflow: hidden;
}

/* start story index =================*/
.kb-index-story{
  padding-bottom: 2.5rem;
}
.kb-is-container{
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}
.story-viewer-container,
.story-navigation button {
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.kb-is-holder {
    display: flex;
        padding: 0 1rem;
        gap: 1rem;
    overflow-x: auto; /* Changed to x for horizontal scroll */
    overflow-y: hidden; /* Hide vertical scroll */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.kb-is-holder::-webkit-scrollbar {
  display: none;
}
.kb-ish-item {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
    width: 6.5rem;
}
.kb-ish-border{
  width: 89px;
  height: 89px;
  border-radius: 50%;
  background: linear-gradient(to right top, #ffc600 20%, #ff0040, #e600cc 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  flex-shrink: 0; /* Prevent shrinking */
  transition: background 0.3s ease; /* Smooth transition for border color change */
}

/* Style for viewed stories */
.kb-ish-item.viewed .kb-ish-border {
  background: #ccc; /* Light gray color for viewed border */
}
.kb-ish-item.viewed span {
    color: #878c95;
}


.kb-ish-item img {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  display: block;
  border: 3px solid #161718;
  object-fit: cover;
}

.kb-ish-item span {
  font-size: 13px;
  max-height: 38px;
  overflow: hidden;
  word-break: break-word;
  line-height: 20px;
  color: #F8FAFC;
  font-weight: 300;
}

/* Story Viewer Overlay Styles */
.story-viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(48px);
    -webkit-backdrop-filter: blur(48px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    direction: ltr; /* Ensure LTR for positioning, JS handles RTL navigation logic */
}

.story-viewer-overlay.visible {
    visibility: visible;
    opacity: 1;
}

.story-viewer-container {
    position: relative;
    width: 100%;
    max-width: 400px; /* Adjust as needed for desktop */
    height: 100%;
    max-height: 700px; /* Adjust as needed for desktop */
    background-color: #000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9); /* Initial scale for animation */
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.story-viewer-overlay.visible .story-viewer-container {
    transform: scale(1); /* Scale to normal size on visible */
}


@media (max-width: 768px) {
    .story-viewer-container {
        max-width: 100%;
        max-height: 100%;
    }
}

.story-viewer-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10px 10px;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, .4), transparent);
    box-sizing: border-box;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.story-progress-bar-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    padding: 12px 10px 0 10px;
    box-sizing: border-box;
    z-index: 11;
    direction: rtl; /* Set RTL direction for progress bars */
}

.story-progress-segment {
    flex-grow: 1;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    margin-left: 2px; /* Adjust margin for RTL */
    margin-right: 0;
    overflow: hidden;
    border-radius: 2px;
}


.story-progress-segment .progress {
    display: block;
    width: 0%;
    height: 100%;
    background-color: #E4002B;
    /* transition: width linear; Handled by JS animation */
     transform-origin: right; /* Make progress fill from right */
}

.story-user-info {
    display: flex;
    align-items: center;
    z-index: 1;
    padding-top: 6px;
}

.story-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-left: 10px; /* Adjust margin for RTL */
    margin-right: 0;
    object-fit: cover;
}

.story-username {
  color: #fff;
  font-weight: 500;
  margin-left: 10px;
  margin-right: 0;
  font-size: 12px;
  direction: rtl;
}

.story-time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8em;
    direction: rtl;
}

.story-close-button {
  color: #fff;
      font-size: 1.5em;
      z-index: 1;
      padding: 5px;
      background: rgba(0, 0, 0, 0.5);
      border: none;
      border-radius: 1rem;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      backdrop-filter: blur(10px);
      margin-top: 8px;
}

.story-close-button svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    display: block; /* Remove extra space below SVG */
}

.story-media-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    position: relative; /* Needed for absolute positioning of media */
    width: 100%;
}

.story-media-container video, .story-media-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: none; /* Hide by default, show when loaded */
}

.story-media-container .active {
    display: block;
}


.story-desktop-navigation {
  position: fixed;
  inset: 0;
  z-index: 1005;
  pointer-events: none;
}
.story-desktop-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 1rem;
    background: #e0e6ee;
    color: #000;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}
.story-desktop-nav svg {
    width: 24px;
    height: 24px;
}
.story-desktop-prev {
    left: calc(50% - 240px - 2rem);
}
.story-desktop-next {
    right: calc(50% - 240px - 2rem);
}
@media (min-width: 1024px) {
    .story-viewer-overlay.visible .story-desktop-nav {
        display: flex;
    }
}

.story-navigation {
    position: absolute;
    top: 0; /* Position from top */
    left: 0;
    width: 100%;
    height: 100%; /* Make clickable area large */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0; /* Remove padding */
    box-sizing: border-box;
}

.story-navigation button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0); /* Make button text invisible */
    cursor: pointer;
    height: 100%;
    width: 40%; /* Make clickable area large */
    z-index: 5;
    padding: 0;
}

.story-navigation button.story-prev-button {
    /* left: 0; */ /* Remove LTR positioning */
}

.story-navigation button.story-next-button {
    /* right: 0; */ /* Remove LTR positioning */
}

.story-navigation button svg {
    display: none; /* Hide default SVG icons */
}

/* Loading spinner (optional) */
.story-media-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    z-index: 1; /* Ensure spinner is above media */
    display: none; /* Hide by default */
}

.story-media-container.loading::before {
    display: block; /* Show spinner when loading */
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* View More Screen Styles */
.story-view-more {
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.story-view-more h3 {
    color: #fff;
    margin-bottom: 20px;
}

.story-view-more a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.story-view-more a:hover {
    background-color: #eee;
}




.kb-moto-specs-box {
  width: 100%;
  margin-bottom: 2.5rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e0e6ee;
  background: #FFF;
}
.kb-moto-sb-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ededed;
}
.kb-moto-sb-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.kb-moto-sb-item-lable {
  color: #1A2332;
}
.kb-moto-sb-item-value{
  font-weight: 200;
  color: #6B7A8D;
}


/* ================================================================== */
/*  5-Star Rating System                                                */
/* ================================================================== */

.kb-sr-container {
    margin: 2rem auto;
}

.kb-sr-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 16px;
}

/* ---- Stars ---- */

.kb-stars-container {
    display: flex;
    justify-content: center;
    gap: 2px;
    direction: ltr;
}

.kb-star {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* ستاره‌های غیرفعال — فقط cursor، کلیک را JS هندل می‌کند */
.kb-sr-container[data-can-rate="0"] .kb-star {
    cursor: pointer;
}
.kb-sr-container[data-can-rate="0"] .kb-star:hover {
    transform: none;
}



.kb-star-svg {
    display: block;
    overflow: visible;
    transition: all 0.3s ease;
}

.kb-star-outline {
    fill: #e0e0e0;
    transition: all 0.3s ease;
}

.kb-star-fill {
    fill: #f1c40f;
    transition: clip-path 0.3s ease, fill 0.3s ease;
    transform-origin: left;
}

.kb-star-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    font-size: 11px;
    color: #878c95;
    pointer-events: none;
    transition: all 0.3s ease;
    font-weight: 200;
}

.kb-star:hover .kb-star-number {
    color: #333;
}

/* ---- Info Box ---- */

.kb-sr-info {
    padding: 0.25rem 0.5rem;
    background: #ffffff;
    border: 1px solid #e0e6ee;
    border-radius: 0.5rem;
    display: inline-block;
    line-height: 1.65;
    text-align: center;
}

.kb-sr-no-rating .kb-sr-first-text {
    font-size: 13px;
    color: #878c95;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kb-sr-has-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.kb-sr-number {
    font-weight: 700;
}

.kb-sr-text {
    font-size: 13px;
    color: #878c95;
    font-weight: 300;
}

/* ---- Responsive ---- */

@media (max-width: 480px) {
    .kb-sr-container {
        padding: 15px;
    }

    .kb-star-svg {
        width: 28px;
        height: 28px;
    }
}




/* ================= ai ================= */
.kb-ai-audio-box-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 54px;
}
.kb-ai-audio-box-main canvas {
  display: block;
  margin-bottom: 10px;
  width: 180px;
  height: 180px;
}
.kb-ai-audio-box {
  position: relative;
  background-color: rgb(236, 237, 255);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  min-width: 250px;
  gap: 1rem;
  justify-content: space-between;
  overflow: hidden;
}
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.kb-ai-audio-box::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--angle),
    #f0e6ff,
    #d9c4ff,
    #6000d9,
    #f0e6ff
  );
  animation: border-spin 3s linear infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
@keyframes border-spin {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}
.kb-ai-audio-box > * {
  position: relative;
  z-index: 1;
}
.kb-ai-ab-title {
  margin: 0;
  color: #6000d9;
  font-size: 16px;
  display: block;
  font-weight: 600;
}
.kb-ai-ab-subtitle {
  margin: 0;
  padding-top: 4px;
  color: #5e6475;
  font-size: 11px;
}
.kb-ai-play-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #6000d9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.kb-ai-play-button:hover {
  background-color: #4500a0;
}
.kb-ai-play-button svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* ═══════════════════════════════════════════════
   مقایسه خودرو – استایل مینیمال
   رنگ سازمانی: #E4002B
   ═══════════════════════════════════════════════ */

/* ── صفحه مقایسه ── */
.kb-compare-page {
    padding: 1.5rem 0 3rem;
}

/* ── سلکتور تغییر روی صفحه نتیجه ── */
.kb-compare-selector {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #E8ECF0;
    background: #ffffff;
    border-radius: 0.625rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    color: #1A2332;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.kb-compare-selector:hover {
    border-color: #E4002B;
}
.kb-compare-edit-icon {
    color: #6B7A8D;
    flex-shrink: 0;
}

/* ── جدول ── */
.kb-compare-table-wrap {
    overflow-x: auto;
    border-radius: 0.75rem;
    border: 1px solid rgb(226 232 240);
    margin-top: 2.5rem;
}
.kb-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    color: #1A2332;
    background: #ffffff;
}
.kb-compare-table td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #E8ECF0;
    vertical-align: middle;
    word-break: break-word;
}
.kb-compare-table tr:last-child td {
    border-bottom: none;
}
.kb-compare-table .kb-compare-label {
    background: #F3F5F7;
    color: #6B7A8D;
    font-size: 0.813rem;
    width: 34%;
    font-weight: 500;
}
.kb-compare-table td:not(.kb-compare-label) {
    width: 33%;
    font-weight: 500;
}

/* ردیف تصویر */
.kb-compare-row-image td {
    text-align: center;
    padding: 1.25rem 1rem;
}
.kb-compare-row-image td span {
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}
.kb-compare-car-img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: contain;
    margin: 0.75rem auto;
    border-radius: 0.5rem;
}

/* برند */
.kb-compare-brand-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.kb-compare-brand-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

/* واحد کوچک */
.kb-compare-table small {
    color: #6B7A8D;
    font-weight: 400;
    font-size: 0.75rem;
}

.kb-compare-suggest .kb-index-post-slider{
  padding-bottom: 2.5rem;
}

/* ── صفحه فرود ── */
.kb-compare-landing {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
}
.kb-compare-landing-inner {
    text-align: center;
    max-width: 400px;
}
.kb-compare-landing-inner h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1A2332;
}
.kb-compare-landing-inner p {
    color: #6B7A8D;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.kb-compare-start-btn {
    background: #E4002B;
    color: #ffffff;
    border: none;
    border-radius: 0.625rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.kb-compare-start-btn:hover {
    background: #b8001f;
}

/* ══════════════════════════════════════════════
   پاپ‌آپ انتخاب خودرو
   ══════════════════════════════════════════════ */
.kb-compare-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    align-items: center;
    justify-content: center;
}
.kb-compare-popup-overlay.active {
    display: flex;
}

.kb-compare-popup-box {
    background: #ffffff;
    border-radius: 1rem;
    width: 26rem;
    max-width: 95vw;
    height: 580px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 40px rgb(0 0 0 / 18%);
    position: relative;
}

@media (max-width: 600px) {
  .kb-compare-popup-overlay {
       align-items: flex-end;
   }
   .kb-compare-popup-box {
     width: 100%;
         max-width: 100%;
         height: 100dvh;
         max-height: 100dvh;
         border-radius: 0;
         margin: 0;
   }
   .kb-compare-popup-header,
   .kb-compare-popup-footer {
       border-radius: 0;
   }
}

.kb-compare-popup-close {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    background: #F8F9FA;
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6B7A8D;
    transition: color 0.2s, background 0.2s;
    z-index: 10;
    flex-shrink: 0;
}
.kb-compare-popup-close:hover {
    color: #E4002B;
    background: #fdeef1;
}

.kb-compare-popup-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.kb-compare-popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}
.kb-compare-popup-footer {
  flex-shrink: 0;
    position: sticky;
    bottom: 0;
    background: #ffffff;
    z-index: 2;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 0.5rem;
}
.kb-compare-popup-header {
  flex-shrink: 0;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}
.kb-compare-popup-header h2,
.kb-compare-popup-header-title {
    font-weight: 700;
    color: #1A2332;
    font-size: 1rem;
    margin: 0;
}
.kb-compare-back-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    background: rgb(243, 244, 246);
    color: rgb(85, 85, 85);
    border: none;
    border-radius: 0.5rem;
    padding: 0.65rem 0.9rem;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s;
    margin-right: auto;
}
.kb-compare-back-btn:hover {
    background: rgb(229, 231, 235);
}

/* توضیح */
.kb-compare-popup-desc {
    color: #6B7A8D;
    font-size: 0.875rem;
    margin: 0 0 1.25rem;
    line-height: 1.7;
}

/* کارت‌های انتخاب */
.kb-compare-pick-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.kb-compare-pick-card {
    flex: 1;
    border: 1.5px dashed #E8ECF0;
    border-radius: 0.625rem;
    background: #F8F9FA;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    min-height: 9rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-size: 0.875rem;
    color: #1A2332;
}
.kb-compare-pick-card:hover {
    border-color: #E4002B;
    background: #fff8f9;
}
.kb-compare-pick-card.has-error {
    border-color: #E4002B;
}

.kb-compare-pick-thumb {
  width: 84px;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
}
.kb-compare-pick-icon {
    width: 48px;
    height: 36px;
    color: #bcc6d1;
}
.kb-compare-pick-label {
    font-weight: 500;
    text-align: center;
    font-size: 0.813rem;
    line-height: 1.4;
}
.kb-compare-pick-change {
    font-size: 0.75rem;
    color: #E4002B;
    font-weight: 500;
}
.kb-compare-pick-error {
    font-size: 0.75rem;
    color: #E4002B;
}

/* دکمه اصلی */
.kb-compare-btn-primary {
    display: block;
    width: 100%;
    background: #E4002B;
    color: #ffffff;
    border: none;
    border-radius: 0.625rem;
    padding: 0.75rem;
    font-size: 0.938rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.kb-compare-btn-primary:hover {
    background: #b8001f;
}

/* جستجو */
.kb-compare-search {
    width: 100%;
    border: 1.5px solid #E8ECF0;
    border-radius: 0.625rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #1A2332;
    margin-bottom: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.kb-compare-search:focus {
    border-color: #E4002B;
}

/* لیست برند / مدل */
.kb-compare-list {
    display: flex;
    flex-direction: column;
}
.kb-compare-list-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.5rem;
    border-bottom: 1px solid #E8ECF0;
    cursor: pointer;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #1A2332;
    transition: background 0.15s;
}
.kb-compare-list-item:last-child {
    border-bottom: none;
}
.kb-compare-list-item:hover {
    background: #F8F9FA;
}
.kb-compare-list-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}
.kb-compare-list-car-thumb{
  width: 96px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0.5rem;
}
.kb-compare-list-item small {
    color: #6B7A8D;
    font-size: 0.75rem;
}

/* loading / no result */
.kb-compare-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 2rem 1rem;
}
.kb-compare-no-result {
    text-align: center;
    padding: 2rem 1rem;
    color: #6B7A8D;
    font-size: 0.875rem;
}
