.services-block{
    margin-top: 50px;
}

.services-block h1{
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 24px;
    line-height: 167%;
    color: #111;
    margin: 0;
    padding: 0;
}


.services-container{
    display: grid;
    grid-template-columns: 273px 1fr;
    gap: 20px;
}

.services-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.services-header .mini-nav{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px 8px;
    min-width: 0;
    flex: 1 1 auto;
}

.services-header .mini-nav__separator{
    color: #9aa3b2;
    flex: 0 0 auto;
    font-size: 10px;
    line-height: 1;
}

.services-header .mini-nav a{
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #446ee7;
    text-decoration: none;
    cursor: pointer;
    display: block;
    min-width: 0;
    flex: 0 1 auto;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.services-header .services-num-block{
    display: flex;
    align-items: center;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    letter-spacing: -0.01em;
    color: #4e5566;
    gap: 10px;
}

.services-header .services-num-block .service-num{
    font-weight: 500;
    color: #1d2026;
}

.services-filter-container{
    display: flex;
    flex-direction: column;
    align-items:flex-start;
    gap: 24px;
}

.filter-block{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}

.filter-block .reset-this-filter{
    display: none;
}

.filter-block.active .reset-this-filter{
    display: block;
}

.filter-block.one-line{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.filter-block.one-line .number-of-logos{
    width: 65px;
    height: 28px;   
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    border: 1px solid #a5a5a5;
    padding: 4px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 13px;
    color: #757575;
}

.reset-this-filter{
    text-decoration: underline;
    color: #446ee7;
    cursor: pointer;
    font-size: 14px;
    margin-top: 3px;
}

.filter-header{
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    color: #1d2026;
    text-align: left;
    width: 100%;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 12px;
    line-height: 144%;
    color: #111;
}

.filter-params{
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 3px 0;
    cursor: pointer;
}


/* Скрываем стандартный чекбокс */
.filter-param-container input[type="checkbox"] {
    display: none;
}

/* Стилизуем сам label и его псевдоэлемент */
.filter-param-container label {
    display: inline-block;
    position: relative; /* <--- Добавляем позиционирование */
    cursor: pointer;
    padding-left: 20px; /* Добавляем отступ для "квадрата" */
}

/* Стилизуем псевдоэлемент-квадрат */
.filter-param-container label::before {
    content: '';
    position: absolute; /* <--- Делаем его абсолютно позиционированным */
    left: 0;
    top: 50%;
    transform: translateY(-50%); /* Центрируем по вертикали */
    width: 12px;
    height: 12px;
    border: 1px solid #ced1d9;
    border-radius: 3px;
}

/* Стилизуем состояние "отмечено" */
.filter-param-container input[type="checkbox"]:checked + label::before {
    background-color: #3498db;
    border-color: #3498db;
}

/* Добавляем иконку (галочку) */
.filter-param-container input[type="checkbox"]:checked + label::after {
    content: '\2713'; /* Символ галочки */
    font-size: 14px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%); /* Центрируем по вертикали */
}


.filter-param-container label,
.filter-param-container span{
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 3px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 144%;
    color: #111;
}

.filter-param-container input[type='checkbox']:checked + label{
    font-weight: 600;
}

.filter-params-container label img{
    width: 16px;
    aspect-ratio: 1/1;
}

.more-filter{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: 20px;
    padding: 10px 16px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 140%;
    color: #177de5;
    background: #f4f8ff;
    border: 1px solid #cfe3ff;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.more-filter:hover,
.more-filter:focus {
    color: #0f65bd;
    background: #eaf3ff;
    border-color: #a9d0ff;
}

.more-filter:focus {
    outline: 2px solid rgba(23, 125, 229, .24);
    outline-offset: 2px;
}

.filter-param-container.selected label,
.filter-param-container.selected span{
    font-weight: 600;
}
/*Ads block*/

.similar-to-search-block{
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.service-card-block{
    width: 100%;
    display: grid;
    grid-auto-flow: column; /* Элементы размещаются в одной строке */
    grid-auto-columns: 1fr;
    grid-auto-rows: 1fr;
    margin-top: 20px;
    margin-bottom: 15px;
    position: relative;
    gap: 10px; 
}

.ad-container{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e4e5e7;
    background: #fff;
    text-decoration: none;
    max-width: 300px !important;
    border-radius: 8px;
    overflow: hidden;
}

.ad-container:hover{
    box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.15);
}

.ad-container .ad-part1{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    justify-content: space-between;
}

.ad-container .ad-banner{
    width: 100%;
    aspect-ratio: 2.6/1.73;
    overflow: hidden;
    position: relative;
}

.ad-container .ad-banner img{
    width: 100%;
    height: 100%;
    display: inline-block;
    object-fit: cover;
    position: relative;
    transition: transform .32s ease;
    will-change: transform;
}

.ad-container .ad-banner .ad-img-next{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.ad-container .ad-banner.is-slide-next .ad-img-next{
    transform: translateX(100%);
}

.ad-container .ad-banner.is-slide-prev .ad-img-next{
    transform: translateX(-100%);
}

.ad-container .ad-banner.is-slide-next.is-sliding .ad-img:not(.ad-img-next){
    transform: translateX(-100%);
}

.ad-container .ad-banner.is-slide-prev.is-sliding .ad-img:not(.ad-img-next){
    transform: translateX(100%);
}

.ad-container .ad-banner.is-sliding .ad-img-next{
    transform: translateX(0);
}

.ad-container .ad-banner.is-resetting .ad-img{
    transition: none !important;
    transform: translateX(0) !important;
}

.ad-container .ad-banner .white-like-icon{
    width: 26px;
    height: 26px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px;
    z-index: 100;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: none; 
    color: #fff;
}

.ad-container:hover .ad-banner .white-like-icon{
    display: inline-block;
}

/*.ad-container .ad-banner .white-like-icon:hover{
    background-color: red;
}*/

.ad-container .ad-banner.liked .white-like-icon{
    background-color: red;
    color: #fff;
}

.ad-container .ad-banner .kwcard-ppreview__button{
    position: absolute;
    top: 50%;
    z-index: 80;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(17, 17, 17, .62);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    transition: opacity .18s ease, background-color .18s ease;
}

.ad-container .ad-banner .kwcard-ppreview__button::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.ad-container .ad-banner .kwcard-ppreview__button.prev{
    left: 10px;
}

.ad-container .ad-banner .kwcard-ppreview__button.prev::before{
    transform: translate(-35%, -50%) rotate(-135deg);
}

.ad-container .ad-banner .kwcard-ppreview__button.next{
    right: 10px;
}

.ad-container .ad-banner .kwcard-ppreview__button.next::before{
    transform: translate(-65%, -50%) rotate(45deg);
}

.ad-container .ad-banner.has-multiple-images:hover .kwcard-ppreview__button,
.ad-container .ad-banner.has-multiple-images:focus-within .kwcard-ppreview__button{
    opacity: 1;
    pointer-events: auto;
}

.ad-container .ad-banner .kwcard-ppreview__button:hover{
    background: rgba(17, 17, 17, .78);
}

.ad-container h3{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 137%;
    color: #222325;
    text-align: left;
    margin: 0;
    padding: 5px 15px;
    max-width: 100%;
}

.ad-container .fiwork-pinned-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    min-height: 24px;
    margin: 4px 15px 0;
    padding: 4px 9px;
    border-radius: 999px;
    background: #fff7df;
    color: #9a6100;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.ad-container .fiwork-pinned-badge svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.ad-container .freelancer-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    text-decoration: none;
}

.ad-container .freelancer-container:hover,
.ad-container .freelancer-container:focus{
    text-decoration: none;
}

.ad-container img.recommended{
    display: none;
}

.ad-container.recommended img.recommended{
    display: inline-block;
}

.ad-container .freelancer-wrapper{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    width: 100%;
    padding: 5px 15px;
}


.freelancer-container .freelancer-avatar{
    width: 24px;
    height: 24px;
    position: relative;
    border-radius: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.freelancer-container .freelancer-avatar .freelancer-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: inline-block;
    position: relative;
    border-radius: 100%;
}

.freelancer-container .freelancer-avatar .freelancer-status{
    width: 14px;
    position: absolute;
    bottom: -7px;
}


.freelancer-container .freelancer-avatar .freelancer-status.hidden{
    display: none;
}

.freelancer-container .freelancer-username{
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 129%;
    color: #222325;
    padding: 0;
    margin: 0;
}

.freelancer-container img.verified-freelancer{
    width: 12.5px;
}


.freelancer-container img.verified-freelancer.hidden{
    display: none;
}

.ad-container .service-data-container{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px;
    gap: 10px; 
    border-top: 1px solid #efeff0;
}

.service-rating .rating-stars{
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.service-rating .rating-stars p{
    font-family: var(--font-family);
    font-size: 12px;
    line-height: 175%;
    color: #b5b6ba;
    text-align: left;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.service-rating .rating-stars .yellow-text{
    color: #fe7a32;
    font-weight: 700;
}

.service-rating .rating-text{
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 10px;
    line-height: 200%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fe7a32;
}


.service-price .service-price-text{
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 10px;
    line-height: 200%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: right;
    color: #74767e;
}

.service-price .service-price-num{
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 17px;
    line-height: 118%;
    text-align: right;
    color: #04b70a;
}
/*End of ads block*/


/*price filter slider*/
.price-filter-slider-block{
    position: relative;
}

.price-filter-slider-block .price-filter {
  width: 100%;
  margin: auto;
  margin-top: 5px;
}

/* Контейнер ползунков */
.price-filter-slider-block .slider-container {
  position: relative;
  width: 100%;
  height: 30px;
  margin-bottom: 15px;
  display: none;
}

/* Обе линии ползунков */
.price-filter-slider-block input[type="range"] {
  position: absolute;
  width: 100%;
  height: 6px;
  top: 5px;
  pointer-events: none;
  appearance: none;
  background: transparent;
  z-index: 2;
}

/* Круглый бегунок (ползунок) */
.price-filter-slider-block input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  pointer-events: all;
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid #007bff;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -5px; /* Центрирует по линии */
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

/* Для Firefox */
.price-filter-slider-block input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid #007bff;
  border-radius: 50%;
  cursor: pointer;
}

/* Серый фон всей линии */
.price-filter-slider-block .slider-track {
  position: absolute;
  height: 6px;
  top: 5px;
  width: 100%;
  background: #d0e2ff;
  border-radius: 5px;
  z-index: 0;
}

/* Синяя заливка между ползунками */
.price-filter-slider-block .slider-fill {
  position: absolute;
  height: 6px;
  top: 5px;
  background: #007bff;
  border-radius: 5px;
  z-index: 1;
}

/* Блоки ввода "от" и "до" */
.price-filter-slider-block .inputs {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Каждое поле */
.price-filter-slider-block .input-box {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e9eaf0;
}

/* Надпись "от" / "до" */
.price-filter-slider-block .input-box p {
    background: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    justify-content: flex-start;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #8c94a3;
    margin: 0;
    padding: 0;
}

.price-filter-slider-block .input-box .currency{
    color: #1d2026;
}

/* Сами поля ввода */
.price-filter-slider-block .input-box input {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 14px;
  line-height: 150%;
}

.price-filter-slider-block input[type='number']::-webkit-outer-spin-button,
.price-filter-slider-block input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/*end of price filter slider*/

/* Mobile filter toggle styles */
.mobile-filter-toggle {
    display: none; /* Hidden on desktop */
    width: 100%;
    background: #fff;
    border: 1px solid #e9eaf0;
    padding: 15px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    position: relative;
}

.mobile-filter-toggle .plus {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform .2s ease;
}

.mobile-filter-toggle.active .plus {
    transform: translateY(-50%) rotate(180deg);
}

.mobile-filter-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fcfcfc;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 12px 15px 14px;
}

.mobile-filter-content[hidden] {
    display: none !important;
}

/*services-subcategories-block*/
.services-subcategories-block{
    width: 100%;
    text-align: left;
    margin: 20px 0;
}

.services-subcategories-block .subcategory-elem{
    margin-right: 8px;
    width: auto;
    text-align: center;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    color: #111;
    background: #fff;
    border: 1px solid #dfe1e6;
    border-radius: 4px;
    padding: 0px 20px;
    height: 32px;
    min-width: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: none;
}

.services-subcategories-block .subcategory-elem:hover{
    text-decoration: none;
}

.services-subcategories-block .subcategory-elem .white-close-icon{
    display: none;
    width: 15px;
}

.services-subcategories-block .subcategory-elem.selected{
    background: #457edb;
    border-radius: 4px;
    padding: 1px 13px;
    height: 32px;
    min-width: 60px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    text-align: center;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.services-subcategories-block .subcategory-elem.selected .white-close-icon{
    display: inline-block;
    width: 15px;
    cursor: pointer;
}
/*end of services-subcategories-block*/



/*tooltip-container*/
.tooltip-container {
    position: relative; /* Создаем контекст для абсолютного позиционирования подсказки */
    cursor: help; /* Меняем курсор на знак вопроса */
    margin-left: 2px;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0; 
    position: absolute;
    z-index: 10;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px; 
    background-color: #fefefe;
    box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.06);
    color: #111;
    text-align: left;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: normal;
    transition: opacity 0.3s, visibility 0.3s;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip-text h4,
.tooltip-text p{
    font-size: 12px !important;
    margin: 0;
    padding: 0;
    text-transform: none !important;
}

.tooltip-text p{
    font-size: 10px;
}

#tooltipGraph {
    position: absolute;
    padding: 6px 10px;
    background: #fff;
    color: #111;
    font-size: 12px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: 0.15s;
    z-index: 9999;
    white-space: nowrap;
}

.tooltip-container img{
    width: 14px;
}
/*end of tooltip-container*/

/*rubric-block*/
.rubric-block h3{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 15px;
    line-height: 120%;
    color: #111;
    margin-bottom: 5px;
    max-width: 100%;
}

.tree{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.tree ul{
    display:none;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.tree li.open > ul{
  display: inline-block;
  margin: 0;
  padding: 0;
}

.tree li.closed{
    display: none;
}

.tree li.last-tree-child{
    padding-left: 10px; 
}

.tree li.last-tree-child.closed{
    display: inline-block;
}

/*.tree li{
    padding-left: 5px;
}*/

.tree-item{
    cursor:pointer;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 144%;
    color: #111;
}

.tree>li>.tree-item::before{
    content: "‹";
    padding-right: 3px;
    font-size: 20px;
}

li.listed:not(.last-tree-child) > .tree-item::before {
  content: "‹";
  display: inline-block;
  padding-right: 3px;
  font-size: 20px;
}


.tree li.selected>.tree-item{
    font-weight: 600;
}

/*end of rubric-block*/

/*add-project-block*/
.add-project-block{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: centers;
    gap: 15px;
    width: 100%;
    padding: 15px;
}

.add-project-block h3{
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 180%;
    text-align: center;
    color: #404145;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

.add-project-block p{
    max-width: 150px;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 13px;
    line-height: 185%;
    text-align: center;
    color: #404145;
    margin: 0;
    padding: 0;
}

.add-project-block .add-project-button{
    font-family: var(--font18);
    font-weight: 600;
    font-size: 14px;
    line-height: 143%;
    text-align: center;
    color: #fff;
    background: #2196f3;
    border-radius: 8px;
    min-width: 163px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    border: none;
    cursor: pointer;
}
/*end of end-project-block*/

/* Универсальный класс-скелетон */
.skeleton-block .skeleton {
  position: relative;
  overflow: hidden;
  background-color: #e2e8f0; /* Базовый цвет */
  color: transparent !important;
  border: none !important;
  cursor: default;
  user-select: none;
  border-radius: 20px;
  white-space: nowrap;
  text-overflow: clip;
  display: inline-block;
  max-width: 100%;
}

.skeleton-block .freelancer-username.skeleton{
    width: 100px;
    max-width: 100%;
}


.skeleton-block .verified-freelancer,
.skeleton-block .recommended,
.skeleton-block .freelancer-status,
.skeleton-block .white-like-icon{
    display: none !important;
}

.skeleton-block .rating-text.skeleton{
    max-width: 100%;
    width: 51px;
    height: 14px;
}

.skeleton-block .service-price-text.skeleton{
    width: 71px;
    max-width: 100%;
    height: 14px;
}

.skeleton-block .yellow-star{
    display: none;
}

.skeleton-block .freelancer-avatar{
    border: none !important;
    overflow: hidden;
}

.skeleton-block .rating-stars.skeleton{
    width: 75px;
    max-width: 100%;
    height: 14px;
}

.skeleton-block .rating-stars.skeleton *{
    color: transparent !important;
}

.skeleton-block .service-price-num.skeleton{
    width: 95px;
    max-width: 100%;
    height: 17px;
}

.skeleton-block h3{
    width: 226px;
    max-width: 100%;
}


.skeleton-block .service-price,
.skeleton-block .service-rating{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}


.skeleton-block .service-rating{
    align-items: flex-start;
}


.skeleton-block .skeleton-fill{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #e2e8f0; /* Базовый цвет */
    color: transparent !important;
    border: none !important;
    cursor: default;
    user-select: none;
    top: 0;
    left: 0;
}

.skeleton-block .skeleton-fill.round{
    border-radius: 50%;
}


/* Эффект блика (shimmer) через псевдоэлемент */
.skeleton-block .skeleton::after,
.skeleton-block .skeleton-fill:after{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

@media (max-width: 1370px){
    .similar-to-search-block{
        grid-template-columns: repeat(3, 1fr);
    }
    
    
    .ad-container{
        max-width: 100% !important;
    }
}

@media (max-width: 1110px){
    .similar-to-search-block{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px){
    
}

@media (max-width: 768px){
    .main-block {
        padding-left: 15px;
        padding-right: 15px;
    }

    .services-block {
        margin-top: 30px;
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .services-header .mini-nav {
        flex-wrap: wrap;
        width: 100%;
        gap: 5px 7px;
    }

    .services-header .mini-nav a {
        max-width: calc(100vw - 72px);
        font-size: 13px;
        line-height: 18px;
    }

    .services-header .mini-nav__separator {
        font-size: 9px;
    }

    .services-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-filter-toggle {
        display: block;
    }

    .services-filter-container {
        gap: 12px;
    }

    .mobile-filter-content {
        display: none !important;
        padding: 14px 12px 16px;
    }

    .services-filter-container.is-open .mobile-filter-content {
        display: flex !important;
    }

    .filter-param-container label {
        font-size: 13px;
    }

    .similar-to-search-block {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .ad-container h3 {
        font-size: 14px;
        padding: 5px 10px;
    }

    .ad-container .freelancer-container {
        padding: 5px 10px;
    }

    .service-data-container {
        padding: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .service-price .service-price-num {
        font-size: 15px;
    }
    
    
    .ad-container .ad-banner .white-like-icon{
        display: inline-block;
    }
}


@media (max-width: 480px) {
    .similar-to-search-block {
        grid-template-columns: 1fr; /* Single column on very small screens */
        gap: 10px;
    }

    .mobile-filter-toggle {
        font-size: 14px;
        padding: 12px;
    }

    .price-filter-slider-block .inputs {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .input-box {
        padding: 8px;
    }

    .input-box p {
        font-size: 13px;
    }

    .input-box input {
        font-size: 13px;
    }
}

.services-elems-container{
    min-width:0;
}

.jobFilter-wrapper-search{
    display:flex;
    width:100%;
    gap:10px;
    margin:0 0 20px;
}

.jobFilter-wrapper-search .form--control{
    flex:1 1 auto;
    min-width:0;
    height:44px;
    border:1px solid #e4e5e7;
    border-radius:8px;
    padding:0 14px;
    font-family:var(--font-family);
    font-size:14px;
    color:#111;
}

.jobFilter-wrapper-search-btn,
.fi-service-apply-price{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    border:0;
    border-radius:8px;
    background:#2196f3;
    color:#fff;
    font-family:var(--font-family);
    font-size:14px;
    font-weight:600;
    cursor:pointer;
}

.jobFilter-wrapper-search-btn{
    min-width:96px;
    padding:0 18px;
}

.project-search-result-heading{
    margin:0 0 18px;
    font-family:var(--font-family);
    font-weight:600;
    font-size:20px;
    line-height:1.35;
    color:#111;
}

.fi-service-apply-price{
    width:100%;
    margin-top:8px;
}

.ad-container h3 a{
    color:inherit;
    text-decoration:none;
}

.ad-container h3 a:hover{
    color:#446ee7;
}

.ad-container .ad-banner>a{
    display:block;
    width:100%;
    height:100%;
}

.ad-container .ad-banner .profile-wrapper-wishlist,
.ad-container .ad-banner>a[href="#/"]{
    position:absolute;
    top:10px;
    right:10px;
    z-index:100;
    display:none;
    width:26px;
    height:26px;
    border-radius:50%;
}

.ad-container:hover .ad-banner .profile-wrapper-wishlist,
.ad-container:hover .ad-banner>a[href="#/"]{
    display:block;
}

.ad-container .ad-banner .profile-wrapper-wishlist .white-like-icon,
.ad-container .ad-banner>a[href="#/"] .white-like-icon{
    display:block;
    position:static;
    width:100%;
    height:100%;
    color: #fff;
}

.fi-service-select,
.fi-service-select select,
.fi-service-select .select2,
.fi-service-select .select2-container{
    width:100% !important;
}

.fi-service-select select,
.fi-service-select .select2-container .select2-selection--single{
    min-height:38px;
    border:1px solid #e9eaf0;
    border-radius:6px;
    font-family:var(--font-family);
    font-size:13px;
}

.filter-lists{
    margin:0;
    padding:0;
    list-style:none;
}

.fi-rating-filter{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.fi-rating-filter .list{
    display:inline-flex;
    width:max-content;
    cursor:pointer;
    color:#fe7a32;
}

.fi-rating-filter .list a{
    color:inherit;
    text-decoration:none;
}

.fi-rating-filter .list.active{
    font-weight:700;
    filter:drop-shadow(0 0 0 #fe7a32);
}

.fi-pro-filter{
    width:100%;
    cursor:pointer;
}

.fi-pro-filter span{
    position:relative;
    padding-left:20px;
}

.fi-pro-filter span::before{
    content:'';
    position:absolute;
    left:0;
    top:50%;
    width:12px;
    height:12px;
    border:1px solid #ced1d9;
    border-radius:3px;
    transform:translateY(-50%);
}

.fi-pro-filter input:checked + span{
    font-weight:600;
}

.fi-pro-filter input:checked + span::before{
    border-color:#3498db;
    background:#3498db;
}

.fi-pro-filter input:checked + span::after{
    content:'\2713';
    position:absolute;
    left:1px;
    top:50%;
    color:#fff;
    font-size:12px;
    line-height:1;
    transform:translateY(-50%);
}

.tree a.tree-item{
    display:inline-flex;
    color:#111;
    text-decoration:none;
}

.tree a.tree-item:hover{
    color:#446ee7;
}

.fi-service-pagination{
    grid-column:1 / -1;
    width:100%;
}

.fi-service-pagination .pagination{
    justify-content:center;
    margin-top:10px;
}

.fi-service-pagination .portfolio-load-more-block{
    display:flex;
    justify-content:center;
    padding:20px 0 0;
}

.fi-service-pagination .kw-button{
    align-items:center;
    background:#fff;
    border:1px solid #d0d5dd;
    border-radius:8px;
    color:#344054;
    cursor:pointer;
    display:inline-flex;
    font-size:14px;
    font-weight:700;
    height:40px;
    justify-content:center;
    min-width:150px;
    padding:0 18px;
    transition:background .18s ease, border-color .18s ease, color .18s ease;
}

.fi-service-pagination .kw-button:hover,
.fi-service-pagination .kw-button:focus-visible{
    background:#f9fafb;
    border-color:#98a2b3;
    color:#1d2939;
}

.fi-service-pagination .kw-button:disabled,
.fi-service-pagination .portfolio-load-more-block.is-loading .kw-button{
    cursor:wait;
    opacity:.7;
}

.congratulation-area{
    grid-column:1 / -1;
}

/* Category listings use the same workspace rhythm as bookmarks and management pages. */
.main-block:has(> .main-container > .category-services-digest){
    min-height:calc(100vh - 260px);
    padding-right:20px;
    padding-left:20px;
    align-items:flex-start;
    overflow:visible;
    background:var(--fiwork-page-background);
    box-sizing:border-box;
}

.main-block:has(> .main-container > .category-services-digest) > .main-container{
    width:100%;
    max-width:1276px;
    margin:24px auto;
    padding:0;
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}

.category-services-digest.services-block{
    width:100%;
    margin:0;
    padding:0 0 72px;
    color:#1f2937;
    background:transparent;
    font-family:"Geologica",var(--font-family),sans-serif;
}

.category-services-digest .category-services-layout{
    display:grid;
    grid-template-columns:240px minmax(0,1fr);
    align-items:start;
    gap:20px;
}

.category-services-digest .category-services-sidebar{
    position:sticky;
    top:18px;
    display:grid;
    gap:12px;
}

.category-services-digest .services-filter-container{
    width:100%;
    padding:0;
    display:block;
    border:0;
    background:transparent;
}

.category-services-digest .category-services-sidebar__panel{
    width:100%;
    overflow:hidden;
    border:1px solid #e1e5ea;
    border-radius:12px;
    background:#fff;
    box-shadow:0 1px 2px rgba(16,24,40,.03);
}

.category-services-digest .category-services-sidebar__head{
    min-height:64px;
    padding:12px 14px;
    display:flex;
    align-items:center;
    gap:10px;
    border-bottom:1px solid #edf0f3;
}

.category-services-digest .category-services-sidebar__head > span{
    width:34px;
    height:34px;
    flex:0 0 34px;
    display:grid;
    place-items:center;
    border-radius:9px;
    color:#168e48;
    background:#edf9f2;
}

.category-services-digest .category-services-sidebar__head svg{
    width:18px;
    height:18px;
    display:block;
}

.category-services-digest .category-services-sidebar__head div{
    min-width:0;
    display:grid;
    gap:2px;
}

.category-services-digest .category-services-sidebar__head strong{
    color:#1f2937;
    font-size:13px;
    font-weight:600;
    line-height:18px;
}

.category-services-digest .category-services-sidebar__head small{
    color:#8a94a3;
    font-size:11px;
    font-weight:300;
    line-height:15px;
}

.category-services-digest .services-subcategories-block{
    width:100%;
    margin:0;
    padding:12px 14px 14px;
    border-bottom:1px solid #edf0f3;
    text-align:left;
}

.category-services-digest .services-subcategories-block__title{
    display:block;
    margin:0 0 9px;
    color:#344054;
    font-size:12px;
    font-weight:600;
    line-height:17px;
}

.category-services-digest .services-subcategories-block__list{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
}

.category-services-digest .services-subcategories-block .subcategory-elem{
    width:auto;
    min-width:0;
    min-height:30px;
    height:auto;
    margin:0;
    padding:5px 9px;
    display:inline-flex;
    align-items:center;
    justify-content:flex-start;
    gap:6px;
    border:1px solid transparent;
    border-radius:6px;
    color:#595959;
    background:#f2f2f2;
    font-size:12px;
    font-weight:400;
    line-height:18px;
    text-align:left;
    text-decoration:none;
    transition:background-color .15s ease,color .15s ease,border-color .15s ease;
}

.category-services-digest .services-subcategories-block .subcategory-elem:hover,
.category-services-digest .services-subcategories-block .subcategory-elem:focus-visible{
    color:#1f2937;
    background:#e9e9e9;
    text-decoration:none;
}

.category-services-digest .services-subcategories-block .subcategory-elem.selected{
    min-width:0;
    height:auto;
    padding:5px 9px;
    border-color:#2196f3;
    border-radius:6px;
    color:#fff;
    background:#2196f3;
    font-size:12px;
    font-weight:500;
    line-height:18px;
    text-align:left;
}

.category-services-digest .services-subcategories-block .subcategory-elem .white-close-icon{
    width:12px;
    height:12px;
    flex:0 0 12px;
}

.category-services-digest .mobile-filter-content{
    width:100%;
    padding:0 14px 14px;
    display:flex;
    flex-direction:column;
    gap:0;
    border:0;
    border-radius:0;
    background:#fff;
}

.category-services-digest .rubric-block{
    padding:0;
    border-top:1px solid #edf0f3;
}

.category-services-digest .rubric-block__toggle{
    min-height:45px;
    padding:12px 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    color:#344054;
    font-family:var(--font-family);
    font-size:12px;
    font-weight:600;
    line-height:17px;
    text-transform:none;
    letter-spacing:0;
    cursor:pointer;
    list-style:none;
}

.category-services-digest .rubric-block__toggle::-webkit-details-marker{
    display:none;
}

.category-services-digest .rubric-block__toggle svg{
    width:17px;
    height:17px;
    flex:0 0 17px;
    color:#8a94a3;
    transition:transform .2s ease,color .2s ease;
}

.category-services-digest .rubric-block__toggle:hover svg,
.category-services-digest .rubric-block__toggle:focus-visible svg{
    color:#344054;
}

.category-services-digest .rubric-block__toggle:focus-visible{
    outline:2px solid rgba(33,150,243,.22);
    outline-offset:2px;
    border-radius:6px;
}

.category-services-digest .rubric-block[open] .rubric-block__toggle svg{
    transform:rotate(180deg);
}

.category-services-digest .rubric-block__content{
    padding:3px 0 12px;
}

.category-services-digest .tree li.open > ul{
    width:auto;
    display:block;
}

.category-services-digest .tree ul{
    width:auto;
    margin:2px 0 2px 8px;
    padding-left:10px;
    box-sizing:border-box;
    border-left:0;
}

.category-services-digest .tree ul ul{
    margin-left:7px;
    padding-left:9px;
}

.category-services-digest .tree li,
.category-services-digest .tree li.last-tree-child{
    width:100%;
    padding-left:0;
}

.category-services-digest .tree a.tree-item{
    width:100%;
    min-height:34px;
    padding:7px 8px;
    display:flex;
    align-items:center;
    gap:7px;
    border-radius:8px;
    color:#475467;
    font-size:12px;
    font-weight:400;
    line-height:18px;
    text-decoration:none;
    transition:color .15s ease,background-color .15s ease;
}

.category-services-digest .tree a.tree-item:hover{
    color:#168e48;
    background:#edf9f2;
}

.category-services-digest .tree li.selected > a.tree-item{
    color:#475467;
    background:transparent;
    font-weight:400;
}

.category-services-digest .tree a.tree-item.is-current,
.category-services-digest .tree a.tree-item[aria-current="page"]{
    color:#168e48;
    background:#edf9f2;
    font-weight:600;
}

.category-services-digest .tree > li > ul{
    margin-top:4px;
}

.category-services-digest .tree > li > .tree-item{
    color:#344054;
    background:#f7f8fa;
    font-weight:600;
}

.category-services-digest .tree-item__icon{
    width:14px;
    height:14px;
    flex:0 0 14px;
    color:#98a2b3;
    transition:transform .15s ease,color .15s ease;
}

.category-services-digest .tree li.open > a .tree-item__icon{
    transform:rotate(90deg);
}

.category-services-digest .tree li.last-tree-child > a .tree-item__icon{
    width:5px;
    height:5px;
    flex-basis:5px;
    margin:0 4px;
    border-radius:50%;
    color:transparent;
    background:#b7bec8;
    transform:none;
}

.category-services-digest .tree li.last-tree-child > a:is(.is-current,[aria-current="page"]) .tree-item__icon{
    background:#23a55a;
}

.category-services-digest .tree > li > .tree-item::before,
.category-services-digest li.listed:not(.last-tree-child) > .tree-item::before{
    content:none;
}

.category-services-digest .filter-block{
    margin:0;
    padding:14px 0;
    min-width:0;
    border:0;
    border-top:1px solid #edf0f3;
}

.category-services-digest .filter-header{
    margin-bottom:10px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    color:#344054;
    font-size:12px;
    font-weight:600;
    line-height:17px;
    text-transform:none;
    letter-spacing:0;
}

.category-services-digest .filter-params{
    gap:8px;
    padding:0;
}

.category-services-digest .filter-choice-list{
    display:grid;
    gap:7px;
}

.category-services-digest .filter-choice-list--compact{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
}

.category-services-digest .filter-choice-list label{
    min-width:0;
    display:flex;
    align-items:flex-start;
    gap:8px;
    color:#596273;
    font-size:12px;
    font-weight:350;
    line-height:17px;
    cursor:pointer;
}

.category-services-digest .filter-choice-list input{
    width:16px;
    height:16px;
    flex:0 0 16px;
    margin:1px 0 0;
    accent-color:#2196f3;
    cursor:pointer;
}

.category-services-digest .filter-choice-list span{
    min-width:0;
}

.category-services-digest .filter-range-inputs{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
}

.category-services-digest .filter-range-inputs label{
    min-width:0;
    min-height:42px;
    padding:6px 8px;
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:center;
    gap:5px;
    border:1px solid #dfe4ea;
    border-radius:8px;
    background:#fff;
}

.category-services-digest .filter-range-inputs label:focus-within{
    border-color:#2196f3;
    box-shadow:0 0 0 2px rgba(33,150,243,.1);
}

.category-services-digest .filter-range-inputs span{
    color:#8a94a3;
    font-size:11px;
    font-weight:350;
    white-space:nowrap;
}

.category-services-digest .filter-range-inputs input{
    width:100%;
    min-width:0;
    height:28px;
    padding:0;
    border:0;
    outline:0;
    color:#344054;
    background:transparent;
    font:400 12px/18px "Geologica",var(--font-family),sans-serif;
    -moz-appearance:textfield;
}

.category-services-digest .filter-range-inputs input::-webkit-outer-spin-button,
.category-services-digest .filter-range-inputs input::-webkit-inner-spin-button{
    margin:0;
    -webkit-appearance:none;
}

.category-services-digest .filter-range-inputs input::placeholder{
    color:#b1b8c2;
}

.category-services-digest .reset-this-filter{
    margin:-5px 0 8px;
    color:#76808b;
    font-size:11px;
    text-decoration:none;
}

.category-services-digest .fi-service-select select,
.category-services-digest .fi-service-select .select2-container .select2-selection--single{
    min-height:38px;
    border-color:#dfe4ea;
    border-radius:8px;
    background:#fff;
}

.category-services-digest .price-filter-slider-block .input-box{
    padding:8px;
    border-color:#dfe4ea;
    border-radius:8px;
    background:#fff;
}

.category-services-digest .price-filter-slider-block .input-box p,
.category-services-digest .price-filter-slider-block .input-box input{
    background:transparent;
}

.category-services-digest .fi-rating-filter{
    width:max-content;
    max-width:100%;
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:1px;
}

.category-services-digest .fi-rating-filter .list{
    width:auto;
    display:block;
    color:#c8cdd3;
}

.category-services-digest .fi-rating-filter .list a{
    width:31px;
    height:31px;
    min-height:0;
    padding:4px;
    display:grid;
    place-items:center;
    color:inherit;
}

.category-services-digest .fi-rating-filter .list:hover,
.category-services-digest .fi-rating-filter .list:has(~ .list:hover),
.category-services-digest .fi-rating-filter .list.active,
.category-services-digest .fi-rating-filter .list:has(~ .list.active){
    color:#f3ad22;
}

.category-services-digest .fi-rating-filter .list:hover .fi-rating-star,
.category-services-digest .fi-rating-filter .list:has(~ .list:hover) .fi-rating-star,
.category-services-digest .fi-rating-filter .list.active .fi-rating-star,
.category-services-digest .fi-rating-filter .list:has(~ .list.active) .fi-rating-star{
    fill:currentColor;
}

.category-services-digest .fi-rating-star{
    width:21px;
    height:21px;
    color:inherit;
    transition:color .15s ease,fill .15s ease,transform .15s ease;
}

.category-services-digest .more-filter{
    min-height:36px;
    margin-top:0;
    border:0;
    border-radius:8px;
    color:#596579;
    background:#f2f4f7;
    font-size:12px;
    font-weight:500;
}

.category-services-digest .category-services-main{
    min-width:0;
    display:grid;
    gap:12px;
}

.category-services-digest .category-services-header{
    min-height:0;
    margin:0;
    padding:12px 16px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:8px 16px;
    overflow:visible;
    border:1px solid #e1e5ea;
    border-radius:12px;
    background:#fff;
    box-shadow:0 1px 2px rgba(16,24,40,.04);
}

.category-services-digest .category-services-header__content{
    min-width:0;
    display:flex;
    align-items:center;
    gap:12px;
}

.category-services-digest .category-services-header__icon{
    width:52px;
    height:46px;
    flex:0 0 52px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.category-services-digest .category-services-header__icon svg{
    width:52px;
    height:46px;
    display:block;
}

.category-services-digest .category-services-header__copy{
    min-width:0;
}

.category-services-digest .category-services-breadcrumbs{
    margin:0 0 2px;
    display:flex;
    align-items:center;
    gap:5px;
    overflow:hidden;
    color:#98a2b3;
    font-size:10px;
    font-weight:400;
    line-height:14px;
    white-space:nowrap;
}

.category-services-digest .category-services-breadcrumbs a,
.category-services-digest .category-services-breadcrumbs span{
    overflow:hidden;
    color:inherit;
    text-overflow:ellipsis;
    text-decoration:none;
}

.category-services-digest .category-services-breadcrumbs a:hover{
    color:#2196f3;
}

.category-services-digest.services-block .category-services-header h1{
    margin:0;
    color:#1f2937;
    font-size:15px;
    font-weight:600;
    line-height:20px;
    letter-spacing:0;
}

.category-services-digest .category-services-header__total{
    display:inline-flex;
    align-items:baseline;
    justify-content:flex-end;
    gap:4px;
    color:#667085;
    white-space:nowrap;
}

.category-services-digest .category-services-header__total span{
    font-size:13px;
    font-weight:400;
    line-height:18px;
}

.category-services-digest .category-services-header__total strong{
    color:#667085;
    font-size:13px;
    font-weight:500;
    line-height:18px;
    font-variant-numeric:tabular-nums;
}

.category-services-digest .services-elems-container.home-service-feed{
    min-width:0;
    margin:0;
}

.category-services-digest .category-services-grid.home-service-feed__grid{
    width:100%;
    margin:0;
    padding:0;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    overflow:visible;
    scroll-snap-type:none;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}

.category-services-digest .category-services-results-shell{
    width:100%;
    min-width:0;
    position:relative;
}

.category-services-digest .category-services-results-shell.is-loading > .search_category_result{
    position:absolute;
    inset:0;
    visibility:hidden;
    pointer-events:none;
}

.category-services-digest .category-services-results-shell:not(.is-loading) > .category-services-skeleton-grid,
.category-services-digest .category-services-skeleton-grid[hidden]{
    display:none;
}

.category-services-digest .category-services-skeleton-card{
    --category-skeleton-surface:#fff;
    --category-skeleton-base:#e8edf2;
    --category-skeleton-soft:#edf1f5;
    width:100%;
    min-width:0;
    min-height:282px;
    position:relative;
    overflow:hidden;
    border:1px solid #e5eaf0;
    border-radius:18px;
    background:
        linear-gradient(var(--category-skeleton-base) 0 0) 0 0 / 100% 52% no-repeat,
        linear-gradient(var(--category-skeleton-base) 0 0) 14px calc(52% + 14px) / 78% 12px no-repeat,
        linear-gradient(var(--category-skeleton-soft) 0 0) 14px calc(52% + 34px) / 58% 12px no-repeat,
        radial-gradient(circle,var(--category-skeleton-base) 0 10px,transparent 11px) 13px calc(52% + 54px) / 22px 22px no-repeat,
        linear-gradient(var(--category-skeleton-soft) 0 0) 42px calc(52% + 60px) / 34% 9px no-repeat,
        linear-gradient(var(--category-skeleton-soft) 0 0) 14px calc(100% - 22px) / 32% 10px no-repeat,
        linear-gradient(var(--category-skeleton-base) 0 0) right 14px bottom 16px / 30% 12px no-repeat,
        var(--category-skeleton-surface);
    pointer-events:none;
}

.category-services-digest .category-services-skeleton-card::after{
    content:"";
    position:absolute;
    inset:0 -70%;
    background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.78) 50%,transparent 65%);
    transform:translateX(-45%);
    animation:homeServiceSkeletonShimmer 1.25s ease-in-out infinite;
}

@media (prefers-reduced-motion:reduce){
    .category-services-digest .category-services-skeleton-card::after{
        animation:none;
    }
}

.category-services-digest .category-services-skeleton-status{
    width:1px;
    height:1px;
    position:absolute;
    overflow:hidden;
    clip:rect(0,0,0,0);
    clip-path:inset(50%);
    white-space:nowrap;
}

.category-services-digest .category-services-skeleton-status[hidden]{
    display:none;
}

.category-services-digest .category-services-grid .home-service-tile.ad-container{
    width:auto;
    min-width:0;
    max-width:none !important;
    min-height:282px;
    flex:initial;
    scroll-snap-align:none;
}

.category-services-digest .category-services-grid .home-service-tile .ad-part1{
    gap:0;
    justify-content:flex-start;
}

.category-services-digest .category-services-grid .home-service-tile .ad-banner > a:not(.profile-wrapper-wishlist){
    width:calc(100% + 24px);
    height:100%;
    margin:0 -12px;
    display:block;
}

.category-services-digest .category-services-grid .home-service-tile .ad-banner > a:not(.profile-wrapper-wishlist) .ad-img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:transform .35s cubic-bezier(.2,.72,.25,1);
}

.category-services-digest .category-services-grid .home-service-tile:hover .ad-banner > a:not(.profile-wrapper-wishlist) .ad-img{
    transform:scale(1.035);
}

.category-services-digest .category-services-grid .home-service-tile h3 a{
    color:inherit;
    text-decoration:none;
}

.category-services-digest .category-services-grid .home-service-tile .freelancer-wrapper{
    width:100%;
    margin:8px 0 0;
    padding:0 3px;
}

.category-services-digest .category-services-grid .home-service-tile .freelancer-wrapper > .recommended{
    display:none;
}

.category-services-digest .category-services-grid .home-service-tile .service-price-num{
    display:inline-flex;
    align-items:baseline;
    justify-content:flex-end;
    gap:3px;
}

.category-services-digest .category-services-grid .home-service-tile__price-prefix{
    font-size:12px;
    font-weight:600;
}

.category-services-digest .category-services-grid .home-service-tile__price-amount{
    font-variant-numeric:tabular-nums;
}

.category-services-digest .category-services-grid .home-service-tile__price-currency{
    margin-left:-1px;
    font-family:Arial,"Helvetica Neue",sans-serif;
    font-size:.98em;
    font-weight:800;
}

.category-services-digest .category-services-empty{
    grid-column:1 / -1;
    min-height:260px;
    padding:36px 20px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border:1px dashed #dce3eb;
    border-radius:14px;
    color:#667085;
    background:#fff;
    text-align:center;
}

.category-services-digest .category-services-empty__icon{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border-radius:12px;
    color:#2196f3;
    background:#edf6ff;
}

.category-services-digest .category-services-empty__icon svg{
    width:23px;
    height:23px;
}

.category-services-digest .category-services-empty h2{
    margin:14px 0 0;
    color:#1f2937;
    font-size:15px;
    font-weight:600;
    line-height:21px;
}

.category-services-digest .category-services-empty p{
    max-width:420px;
    margin:5px 0 0;
    color:#667085;
    font-size:13px;
    font-weight:300;
    line-height:19px;
}

.category-services-digest .category-services-empty a{
    min-height:38px;
    margin-top:16px;
    padding:0 14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    color:#fff;
    background:#23c366;
    font-size:12px;
    font-weight:600;
    text-decoration:none;
}

.category-services-digest .category-services-empty a:hover,
.category-services-digest .category-services-empty a:focus-visible{
    color:#fff;
    background:#1eaf5b;
}

.category-services-digest .congratulation-area,
.category-services-digest .fi-service-pagination{
    grid-column:1 / -1;
}

@media (max-width:1180px){
    .category-services-digest .category-services-grid.home-service-feed__grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media (max-width:900px){
    .category-services-digest .category-services-layout{
        display:flex;
        flex-direction:column;
        gap:12px;
    }

    .category-services-digest .category-services-sidebar,
    .category-services-digest .category-services-main{
        width:100%;
        display:contents;
    }

    .category-services-digest .category-services-header{
        order:1;
        width:100%;
    }

    .category-services-digest .services-filter-container{
        order:2;
    }

    .category-services-digest .services-elems-container{
        order:3;
        width:100%;
    }

    .category-services-digest .mobile-filter-toggle{
        min-height:44px;
        padding:0 14px;
        display:flex;
        align-items:center;
        justify-content:space-between;
        border:1px solid #e1e5ea;
        border-radius:12px;
        color:#344054;
        background:#fff;
        font-size:13px;
        font-weight:600;
    }

    .category-services-digest .mobile-filter-toggle .plus{
        width:18px;
        height:18px;
        position:static;
        display:grid;
        place-items:center;
        transform:none;
        transition:transform .2s ease;
    }

    .category-services-digest .mobile-filter-toggle .plus svg{
        width:17px;
        height:17px;
    }

    .category-services-digest .mobile-filter-toggle.active .plus{
        transform:rotate(180deg);
    }

    .category-services-digest .category-services-sidebar__panel{
        margin-top:8px;
    }

    .category-services-digest .category-services-sidebar__head{
        display:none;
    }

    .category-services-digest .services-subcategories-block{
        border-bottom:0;
    }

    .category-services-digest .services-subcategories-block + .mobile-filter-content{
        border-top:1px solid #edf0f3;
    }

    .category-services-digest .services-filter-container .mobile-filter-content{
        display:none !important;
    }

    .category-services-digest .services-filter-container.is-open .mobile-filter-content{
        display:flex !important;
    }
}

@media (max-width:768px){
    body.fiwork-page-category-services > .main-block{
        width:100% !important;
        max-width:100% !important;
        padding-right:12px;
        padding-left:12px;
        box-sizing:border-box !important;
    }

    body.fiwork-page-category-services > .main-block > .main-container.fiwork-layout-container{
        width:100% !important;
        max-width:100% !important;
        margin:14px auto;
    }

    .category-services-digest.services-block{
        padding-bottom:calc(88px + env(safe-area-inset-bottom,0px));
    }

    .category-services-digest .category-services-header{
        padding:12px 13px;
        grid-template-columns:minmax(0,1fr) auto;
    }

    .category-services-digest .category-services-header__icon{
        width:46px;
        height:40px;
        flex-basis:46px;
    }

    .category-services-digest .category-services-header__icon svg{
        width:46px;
        height:40px;
    }

    .category-services-digest .category-services-grid.home-service-feed__grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }

    .category-services-digest .category-services-grid .home-service-tile.ad-container{
        min-height:0;
    }

    .category-services-digest .category-services-grid .home-service-tile .ad-banner{
        aspect-ratio:16/10;
    }

    .category-services-digest .category-services-grid .home-service-tile h3{
        margin-top:9px;
        padding:0 2px;
        font-size:13px;
        line-height:18px !important;
    }

    .category-services-digest .category-services-grid .home-service-tile .seller-level-badge--compact{
        margin:6px 3px 7px;
    }

    .category-services-digest .category-services-grid .home-service-tile .service-data-container{
        min-height:0;
        margin-top:7px;
        padding:9px 10px;
        flex-direction:row;
        flex-wrap:wrap;
        align-items:center;
        gap:6px;
    }

    .category-services-digest .category-services-grid .home-service-tile__rating-count{
        display:none;
    }

    .category-services-digest .category-services-grid .home-service-tile .rating-stars p,
    .category-services-digest .category-services-grid .home-service-tile .service-price-num{
        white-space:nowrap;
    }

    .category-services-digest .category-services-grid .home-service-tile .service-price-num{
        font-size:12px;
    }

    .category-services-digest .category-services-skeleton-card{
        min-height:220px;
    }

    .category-services-digest .ad-container .ad-banner .profile-wrapper-wishlist,
    .category-services-digest .ad-container .ad-banner > a[href="#/"]{
        display:grid;
    }
}

@media (max-width:520px){
    .category-services-digest .category-services-header{
        grid-template-columns:minmax(0,1fr);
    }

    .category-services-digest .category-services-header__total{
        justify-content:flex-start;
    }

    .category-services-digest .category-services-grid.home-service-feed__grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}
