.user-bar {
    padding: 20px 40px;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.user-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.user-email {
    font-size: 11px;
    color: #888;
}

.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    background: #FFE600;
    padding: 3px 10px;
}

.user-logout {
    font-size: 12px;
    color: #aaa;
    text-decoration: none;
    cursor: pointer;
}

.user-logout:hover {
    color: #111;
    text-decoration: underline;
}

.cabinet-tabs {
    padding: 0 40px;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    gap: 0;
    background: #fff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cabinet-tab {
    font-size: 14px;
    font-weight: 500;
    padding: 16px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    color: #888;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
}

.cabinet-tab:hover {
    color: #111;
}

.cabinet-tab.active {
    color: #111;
    border-bottom-color: #FFE600;
    font-weight: 700;
}

.tab-count {
    font-size: 10px;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 10px;
    color: #888;
}

.cabinet-main {
    padding: 40px;
    background: #fafafa;
    min-height: 60vh;
}

.cabinet-page-title,
.page-title {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 32px;
}

.section-content {
    display: none;
}

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

.cabinet-card {
    background: #fff;
    border: 0.5px solid #e8e8e8;
    padding: 24px;
}

.card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}

.card-value {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 4px;
}

.card-sub {
    font-size: 12px;
    color: #888;
}

.content-block {
    background: #fff;
    border: 0.5px solid #e8e8e8;
    padding: 28px;
    margin-bottom: 24px;
}

.block-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.block-title-sub {
    font-size: 11px;
    color: #888;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #f8f8f8;
}

.benefit-check {
    width: 18px;
    height: 18px;
    background: #FFE600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.benefit-check.locked {
    background: #e0e0e0;
    color: #aaa;
}

.benefit-text {
    font-size: 13px;
    line-height: 1.4;
}

.benefit-text.locked {
    color: #aaa;
}

.locked-badge {
    background: #f0f0f0;
    font-size: 10px;
    padding: 1px 6px;
    margin-left: 6px;
    color: #999;
}

.pub-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 0.5px solid #e8e8e8;
}

.pub-item:last-of-type {
    border-bottom: none;
}

.pub-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #111;
    color: #fff;
    padding: 2px 8px;
    flex-shrink: 0;
}

.pub-title {
    font-size: 13px;
    font-weight: 500;
    flex: 1;
}

.pub-date {
    font-size: 11px;
    color: #888;
    flex-shrink: 0;
}

.pub-link {
    font-size: 11px;
    color: #111;
    text-decoration: underline;
    flex-shrink: 0;
}

.faq-item {
    padding: 16px 0;
    border-bottom: 0.5px solid #e8e8e8;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.faq-a {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.cabinet-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cabinet-portfolio-card {
    cursor: pointer;
}

.cabinet-portfolio-img {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    display: block;
}

.cabinet-portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    display: block;
}

.cabinet-portfolio-card:hover .cabinet-portfolio-img img {
    transform: scale(1.03);
}

.cabinet-portfolio-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: #111;
    color: #fff;
    padding: 2px 8px;
}

.cabinet-portfolio-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #111;
    text-decoration: none;
    display: block;
}

.cabinet-portfolio-title:hover {
    text-decoration: underline;
}

.cabinet-portfolio-meta {
    font-size: 11px;
    color: #888;
}

.btn-black {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 24px;
    border: none;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-block;
}

.btn-black:hover {
    background: #333;
    color: #fff;
}
.btn-black:active,
.btn-black:focus {
    color: #fff;
}
.btn-yellow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 24px;
    border: none;
    background: #FFE600;
    color: #111;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-block;
}

.btn-yellow:hover {
    background: #f5dc00;
}

.link-sm {
    font-size: 12px;
    color: #111;
    text-decoration: underline;
    cursor: pointer;
}

.pf-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
    display: block;
    margin-bottom: 6px;
    line-height: 19px !important;
}

.pf-input {
    width: 100%;
    font-size: 13px;
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
    font-family: 'Inter', sans-serif;
    outline: none;
    box-sizing: border-box;
    height: 38px;
}

.pf-input:focus {
    border-color: #111;
}

.pf-select {
    background: #fff;
    appearance: none;
}

.pf-textarea {
    width: 100%;
    font-size: 13px;
    padding: 10px 12px;
    border: none;
    font-family: 'Inter', sans-serif;
    outline: none;
    min-height: 120px;
    resize: vertical;
    display: block;
    box-sizing: border-box;
}

.pf-dropzone {
    border: 2px dashed #d0d0d0;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
}

.pf-dropzone:hover {
    border-color: #888;
    background: #f0f0f0;
}

.pf-drop-arrow {
    font-size: 20px;
    color: #ccc;
    margin-bottom: 6px;
    line-height: 1;
}

.pf-drop-text {
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.pf-drop-hint {
    font-size: 10px;
    color: #aaa;
}

.pf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.pf-gallery-cell {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #e8e2d8;
}

.pf-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pf-gallery-cover-badge {
    position: absolute;
    top: 3px;
    left: 3px;
    font-size: 9px;
    font-weight: 700;
    background: #FFE600;
    color: #111;
    padding: 1px 5px;
    pointer-events: none;
}

.pf-gallery-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    font-size: 10px;
    padding: 2px 5px;
    cursor: pointer;
    display: inline-block;
    line-height: 1.4;
    user-select: none;
}

.pf-gallery-btn:hover {
    background: #fff;
}

.pf-gallery-btn-cover {
    bottom: 3px;
    left: 3px;
}

.pf-gallery-btn-del {
    bottom: 3px;
    right: 3px;
}

.pf-gallery-add {
    aspect-ratio: 1;
    border: 1px dashed #d0d0d0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fafafa;
    font-size: 18px;
    color: #ccc;
    line-height: 1;
    transition: border-color 0.2s;
}

.pf-gallery-add:hover {
    border-color: #888;
    color: #888;
}
.user-view .bottom-anchors-block,
.user-view .footer_top {
    display: none;
}
#profile-page .breadcrumb {
    padding-left: 0;
}
.profile-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: #fff;
    border-top: 0.5px solid #e8e8e8;
    border-bottom: 0.5px solid #e8e8e8;
    margin-bottom: 24px;
    margin-top: 16px;
}

.profile-hero .profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

.profile-hero .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.profile-company {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

.profile-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-city {
    font-size: 12px;
    color: #888;
}

.profile-spec {
    font-size: 12px;
    color: #555;
    font-weight: 500;
}

.profile-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #111;
    color: #fff;
    padding: 3px 10px;
}

.profile-info {
    flex: 1;
    min-width: 0;
}
.hispro_acc_plr0 {
    padding-left: 0;
    padding-right: 0;
}
.info-section {
    background: #fff;
    border-top: 0.5px solid #e8e8e8;
    border-bottom: 0.5px solid #e8e8e8;
    padding: 20px 24px;
    margin-bottom: 16px;
}
#tab-info .info-section {
    border-top: 0;
    padding: 0 0 20px;
}
#tab-info .info-section .info-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8e8e8;
}
.info-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    color: #111;
}

.info-text {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

.service-tag {
    display: inline-block;
    background: #f0f0f0;
    color: #111;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
}

body.user-cabinet .bottom-anchors-block,
body.user-cabinet .footer_top {
    display: none;
}

.faq-item .faq-a {
    display: none;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    padding-bottom: 12px;
}

.faq-item.open .faq-a {
    display: block;
}

.faq-item .faq-q {
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-item .faq-icon {
    font-size: 18px;
    font-weight: 300;
    color: #bbb;
    flex-shrink: 0;
    transition: transform 0.2s;
    line-height: 1;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: #111;
}

@media (max-width: 768px) {
    .hispro_acc_df {
        display: flex !important;
    }

    .hispro_acc_fdc {
        display: flex !important;
        flex-direction: column !important;
    }

    .hispro_acc_fdcf {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .hispro_acc_plr0 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .hispro_acc_mw {
        min-width: 100% !important;
    }

    .hispro_acc_ptb0 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

@media (max-width: 900px) {
    .cabinet-main {
        padding: 20px 0;
    }

    .cabinet-tabs,
    .user-bar {
        padding-left: 0;
        padding-right: 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cabinet-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cabinet-portfolio-grid {
        grid-template-columns: 1fr;
    }

    .cabinet-tab {
        padding: 10px 8px;
        font-size: 11px;
    }
}