/* KnowBand Marketplace - identidade visual Giraai */

.kbmp-thumb {
    position: relative;
    margin-bottom: 24px;
    overflow: hidden;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e5e7ec);
    border-radius: 18px;
    box-shadow: var(--shadow-soft, 0 10px 26px rgba(22, 48, 143, .06));
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.kbmp-thumb:hover {
    border-color: rgba(22, 48, 143, .18);
    box-shadow: 0 16px 34px rgba(22, 48, 143, .12);
    transform: translateY(-3px);
}

.kbmp-thumb .image {
    display: flex;
    min-height: 240px;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden;
    background: var(--surface, #fff);
    border-radius: 18px 18px 0 0;
}

.kbmp-thumb .image a {
    display: block;
    width: 100%;
}

.kbmp-thumb .image img {
    display: block;
    width: 100%;
    height: 220px;
    margin: 0 auto;
    object-fit: contain;
    transition: transform .25s ease;
}

.kbmp-thumb:hover .image img {
    transform: scale(1.025);
}

.kbmp-thumb .caption {
    min-height: 150px;
    padding: 18px 20px 22px;
    color: var(--text, #202634);
    background: var(--surface, #fff);
}

.kbmp-thumb h4 {
    margin: 0 0 10px;
    color: var(--text, #202634);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.kbmp-thumb h4 a {
    color: var(--text, #202634);
    text-decoration: none;
}

.kbmp-thumb h4 a:hover {
    color: var(--brand-blue-dark, #16308f);
}

.kbmp-thumb .rating {
    padding-bottom: 10px;
}

.rating .fa-stack {
    font-size: 8px;
}

.seller_banner {
    position: relative;
    padding: 6px;
    overflow: hidden;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e5e7ec);
    border-radius: 22px;
    box-shadow: var(--shadow-soft, 0 10px 26px rgba(22, 48, 143, .06));
}

.seller_banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 17px;
}

.seller_logo {
    position: relative;
    z-index: 2;
    float: left;
    margin: -82px 20px 20px 24px;
}

.seller_logo img {
    display: block;
    width: 160px;
    height: 160px;
    padding: 7px;
    object-fit: contain;
    background: var(--surface, #fff);
    border: 2px solid var(--surface, #fff);
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(22, 48, 143, .16);
}

.seller_title {
    float: left;
    color: var(--text, #202634);
}

.seller_title_heading {
    margin: 20px 0 10px;
    color: var(--brand-blue-dark, #16308f);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
}

#kbmp-seller-info {
    padding: 18px 20px;
    color: var(--text, #202634);
    font-size: 15px;
    line-height: 1.6;
}

.kbmp_block {
    width: 100%;
    clear: both;
    margin-bottom: 16px;
}

.box-info-product,
#kbmp-seller-info.box-info-product {
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e5e7ec);
    border-radius: 16px;
    box-shadow: var(--shadow-soft, 0 10px 26px rgba(22, 48, 143, .06));
}

.kbmp_row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.kbmp_inner_block {
    display: inline-flex;
    align-items: center;
}

.kbmp_inner_block .title {
    color: var(--text, #202634);
    font-size: 13px;
    font-weight: 700;
}

.kbmp_inner_block a,
.vss_active_link {
    color: var(--brand-blue-medium, #24469f) !important;
    text-decoration: none !important;
    transition: color .2s ease;
}

.kbmp_inner_block a:hover,
.vss_active_link:hover {
    color: var(--brand-red, #972433) !important;
}

.vss_seller_ratings {
    position: relative;
    display: inline-block;
    width: auto;
    color: #d8dce5;
    background: transparent;
    font-family: "Arial Unicode MS", Arial, Tahoma, Verdana, sans-serif;
    font-size: 15px;
    line-height: 16px;
    white-space: nowrap;
}

.vss_rating_filled {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    overflow: hidden;
    color: var(--brand-red, #972433);
    background: transparent;
    white-space: nowrap;
}

.vss_active_link {
    margin-left: 10px;
    font-size: 12px;
    font-weight: 700;
}

.kbmp-thumb .btn-primary,
#kbmp-seller-info .btn-primary {
    color: #fff !important;
    background: var(--brand-red, #972433) !important;
    border-color: var(--brand-red, #972433) !important;
    border-radius: 999px;
}

.kbmp-thumb .btn-primary:hover,
#kbmp-seller-info .btn-primary:hover {
    background: var(--brand-red-hover, #5b111b) !important;
    border-color: var(--brand-red-hover, #5b111b) !important;
}

@media (max-width: 767px) {
    .kbmp-thumb {
        margin-bottom: 16px;
        border-radius: 16px;
    }

    .kbmp-thumb .image {
        min-height: 170px;
        padding: 12px;
    }

    .kbmp-thumb .image img {
        height: 165px;
    }

    .kbmp-thumb .caption {
        min-height: 0;
        padding: 14px;
    }

    .kbmp-thumb h4 {
        font-size: 15px;
    }

    .seller_banner {
        border-radius: 16px;
    }

    .seller_banner img {
        border-radius: 12px;
    }

    .seller_logo,
    .seller_title {
        float: none;
    }

    .seller_logo {
        width: 112px;
        margin: -48px auto 12px;
    }

    .seller_logo img {
        width: 112px;
        height: 112px;
        border-radius: 18px;
    }

    .seller_title {
        padding: 0 14px;
        text-align: center;
    }

    .seller_title_heading {
        margin-top: 8px;
        font-size: 21px;
    }

    #kbmp-seller-info {
        padding: 15px;
    }

    .kbmp_row {
        align-items: flex-start;
        flex-direction: column;
    }

    .vss_active_link {
        margin-left: 0;
    }
}
