.card-wrapper {
    display: flex;
    gap: 124px;
}

.sidebar {
    width: 308px;
    max-width: 100%;
    height: 100%;
    padding: 8px;
    border-radius: 16px;
    background-color: #f6f6f7;
    position: sticky;
    top: 20px;
}

.categories-menu__item > p {
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    text-decoration: none;
    color: #28313d;
    cursor: pointer;
}

.categories-menu .categories-menu__item {
    position: relative;
}

.categories-menu a {
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    text-decoration: none;
    color: #28313d;
}

.categories-menu p {
    border-radius: 12px;
    padding: 12px 16px;
    width: 292px;
    background: #fff;
}

.categories-menu-active {
    border: 1px solid #d7e1ec;
    background: transparent !important;
    color: #a6aeb8 !important;
}

.categories-menu__item:not(:last-child) {
    margin-bottom: 8px;
}

.categories-menu__item p + ul {
    margin-top: 8px;
    display: none;
}

.categories-menu__item p + ul li.categories-menu__item {
    border-radius: 12px;
    padding: 12px 16px;
}

.categories-menu__item p + ul li.categories-menu__item a {
    color: #28313d;
}

.categories-menu__item p + ul li.categories-menu__item a::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.categories-menu__item p + ul li.categories-menu__item {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.categories-menu__item p + ul li.categories-menu__item:hover {
    background-color: #fff;
}

.categories-menu__item p + ul li.categories-menu__item::after {
    content: '';
    position: relative;
    width: 12px;
    height: 12px;
    top: 0;
    display: none;
    right: 0;
    background: url('/wp-content/themes/sk-karkashome/assets/images/right-arrow.svg') no-repeat center center;
    background-size: contain;
}

.categories-menu__item p + ul li.categories-menu__item:hover::after {
    display: block;
}

.categories-menu .categories-menu__item:has(ul)::after {
    position: absolute;
    right: 16px;
    top: 12px;
    content: '';
    background: url('/wp-content/themes/sk-karkashome/assets/images/sidebar-drop.svg') no-repeat center center;
    display: block;
    width: 16px;
    height: 16px;
}

.categories-menu__item.drop::after {
    transform: rotate(180deg);
}

.product-content {
    display: flex;
    gap: 108px;
    grid-area: content;
    margin-bottom: 72px;
}

.product-image {
    width: 688px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-title {
    font-weight: 400;
    font-size: 48px;
    line-height: 100%    
}

.product-order {
    width: 174px;
    padding: 15px 24px;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
}

.meta-bottom {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;

}

.meta-bottom .item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-bottom .item img {
    width: 30px;
    height: 30px;
}

.meta-bottom .item span {
    font-size: 13px;
}

.tabs-block {
    margin-bottom: 32px;
}

.tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}
.tab {
    border-radius: 6px;
    padding: 10px 24px;
    border: 1px solid #a6aeb8;
    transition: background-color .2s;
    cursor: pointer;
}

.tab:hover {
    background-color: #eac113;
    color: #fff;
    border: 1px solid transparent;
}
.tab-active {
    background: #eac113;
    border: 1px solid transparent;
    color: #fff;
}
.tab-content {
    min-height: 200px;
    max-width: 850px;
}

.tab-content h2 {
    margin-bottom: 24px;
}

.tab-content .content p {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 28px;
}

.tab-content .content li {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 28px;
}

.tab-content .content ul {
    margin: 20px;
    list-style: disc;
}

.tab-content .content li::marker {
    color: #eac113;
    font-size: 20px;
    margin-right: 16px;
}

.content {
    display: none;
}
.content-active {
    display: block;
}

.parametr-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 535px;
}

.parametr-wrapper__item {
    position: relative;
    display: flex;
    justify-content: space-between;
    /* padding: 12px; */
}

.parametr-wrapper__item > div {
    background-color: #fff;
}

.parametr-wrapper__item .param-name {
    font-size: 18px;
    padding-right: 10px;
}

.parametr-wrapper__item .param-name-head {
    color: #eac113;
}

.parametr-wrapper__item .param-value {
    font-size: 18px;
    padding-left: 10px;
}

.parametr-wrapper__item .param-value-head {
    color: #eac113;
}

.parametr-wrapper__item::after {
    content: '';    
    position: absolute;
    width: 100%;
    height: 1px;
    top: 8px;
    left: 0;
    background: url('/wp-content/themes/sk-karkashome/assets/images/dott.png') no-repeat;
    background-repeat: repeat-x;
    background-position: center;
    z-index: -1;
}


@media(max-width: 1440px) {
    .card-wrapper {
        gap: 40px;
    }

    .product-content {
        flex-direction: column;
        gap: 40px;
    }

    .product-title {
        font-size: 30px;
    }
}

@media(max-width: 1024px) {
    .sidebar {
        overflow-x: auto;
        width: unset;
        position: unset;
    }
    .sidebar::-webkit-scrollbar {
        width: 0;
    }

    .categories-menu {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .product-content {
        flex-direction: column;
    }

    .product-title {
        font-size: 30px;
    }

    .card-wrapper {
        flex-direction: column;
    }

}

@media(max-width: 600px) {
    .tabs {
        flex-direction: column;
        width: 100%;
    }

    .categories-menu p {
        width: 210px;
    }

    .meta-bottom .item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        width: 70px;
    }


}