.user-profile-header-area-v2{
    position:relative;
    background-size:cover;
    background-position:center;
    padding-top:50px;
    padding-bottom:0
}
.user-profile-header-area-v2 .breadcrumb-overlay{
    background:linear-gradient(to top,rgba(14,15,20,1) 0%,rgba(14,15,20,.8) 50%,rgba(14,15,20,.5) 100%)
}
.profile-header-content{
    padding-bottom:20px
}
.profile-avatar-v2{
    width:100px;
    height:100px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid var(--imperial-gold);
    box-shadow:0 0 15px rgba(212,175,55,.5);
    margin-bottom:15px
}
.profile-name-v2{
    color:#fff;
    font-weight:700;
    text-shadow:2px 2px 4px rgba(0,0,0,.7);
    margin-bottom:5px
}
.profile-slogan-v2{
    font-size:1.1rem;
    font-style:italic;
    color:var(--imperial-offwhite);
    opacity:.85;
    margin-top:0;
    margin-bottom:10px;
    max-width:600px;
    margin-left:auto;
    margin-right:auto
}
.profile-meta-info-v2{
    color:var(--imperial-text-muted)
}
.profile-actions-v2{
    display:flex;
    gap:15px;
    align-items:center;
    justify-content:center
}
.profile-details-bar{
    background-color:rgba(0,0,0,.25);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    border:1px solid var(--imperial-border);
    border-radius:12px;
    padding:20px;
    margin-top:30px;
    position:relative;
    bottom:-40px;
    box-shadow:0 8px 32px rgba(0,0,0,.37)
}
.profile-stats-bar-v2{
    display:flex;
    justify-content:space-around;
    align-items:center;
    height:100%
}
.stat-item-v2{
    text-align:center;
    color:var(--imperial-text-muted)
}
.stat-item-v2 i{
    font-size:1.5rem;
    color:var(--imperial-gold);
    margin-bottom:5px;
    display:block
}
.stat-item-v2 span{
    font-size:1.5rem;
    font-weight:700;
    color:var(--imperial-white);
    line-height:1;
    display:block
}
.stat-item-v2 small{
    font-size:.7rem;
    text-transform:uppercase;
    letter-spacing:.5px
}
.social-icons-horizontal{
    display:flex;
    gap:10px;
    align-items:center;
    justify-content:flex-end
}
.social-icon-v2{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    border-radius:50%;
    color:#fff!important;
    background-color:var(--imperial-surface);
    border:1px solid var(--imperial-border);
    transition:all .2s ease-in-out;
    font-size:1rem
}
.social-icon-v2:hover{
    transform:scale(1.1);
    color:#fff!important
}
.social-icon-v2.whatsapp:hover{
    background-color:#25D366;
    border-color:#25D366
}
.social-icon-v2.telegram:hover{
    background-color:#0088cc;
    border-color:#0088cc
}
.social-icon-v2.facebook:hover{
    background-color:#1877F2;
    border-color:#1877F2
}
.social-icon-v2.line:hover{
    background-color:#00B900;
    border-color:#00B900
}
.social-icon-v2.weixin:hover{
    background-color:#09B83E;
    border-color:#09B83E
}
.social-icon-v2.email:hover{
    background-color:#6c757d;
    border-color:#6c757d
}
.btn-like{
    background-color:var(--imperial-gold);
    color:var(--imperial-dark-bg);
    border:none;
    padding:8px 15px;
    font-weight:600;
    border-radius:50px
}
.btn-like:hover{
    background-color:var(--imperial-gold-hover);
    color:var(--imperial-dark-bg)
}
.section-padding-condensed{
    padding:80px 0
}
@media (max-width:991px){
    .profile-details-bar{
        bottom:-30px
    }
    .profile-stats-bar-v2{
        justify-content:center;
        gap:20px
    }
    .social-icons-horizontal{
        justify-content:center
    }
}
@media (max-width:767px){
    .user-profile-header-area-v2{
        padding-top:40px
    }
    .profile-details-bar{
        bottom:-20px;
        padding:15px
    }
    .profile-stats-bar-v2{
        padding-bottom:15px;
        margin-bottom:15px;
        border-bottom:1px solid var(--imperial-border)
    }
    .stat-item-v2 span{
        font-size:1.2rem
    }
    .stat-item-v2 small{
        font-size:.6rem
    }
}

/* ==========================================================================
   DISEÑO DE TARJETA DE PRODUCTO (V4) - REPLICA DE REFERENCIA
   ========================================================================== */

.product-card-v4 {
    background-color: var(--imperial-surface);
    border: 1px solid var(--imperial-border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
}

.product-card-v4:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border-color: var(--imperial-gold-hover);
}

.product-card-v4 .product-card-header {
    background-color: #1a1a1a;
    padding: 6px 12px;
    border-bottom: 1px solid var(--imperial-border);
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between; /* Alinea a izquierda y derecha */
    align-items: center;
    gap: 10px;
    min-height: 38px;
}

.product-card-v4 .seller-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-v4 .seller-info-item.single {
    width: 100%;
    justify-content: center;
    font-weight: 600;
}

.product-card-v4 .seller-info-item i.fa-user-tag {
    color: var(--imperial-text-muted); /* Color para vendedor */
}

.product-card-v4 .seller-info-item i.fa-user-shield,
.product-card-v4 .seller-info-item i.fa-user-check {
    color: var(--imperial-gold); /* Color para intermediario o rol combinado */
}

.product-card-v4 .seller-info-item a {
    color: var(--imperial-text-muted);
    text-decoration: none;
    transition: color 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-v4 .seller-info-item a:hover {
    color: var(--imperial-white);
}

.product-card-v4 .product-card-image-container {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
}

.product-card-v4 .product-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-v4 .image-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 50%);
}

.product-card-v4 .photo-count-badge,
.product-card-v4 .featured-badge,
.product-card-v4 .view-count-badge {
    position: absolute;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(2px);
    pointer-events: all;
}

.product-card-v4 .featured-badge { top: 8px; left: 8px; background-color: rgba(212, 175, 55, 0.8); }
.product-card-v4 .photo-count-badge { top: 8px; right: 8px; }
.product-card-v4 .view-count-badge { bottom: 8px; right: 8px; }

.product-card-v4 .card-body {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-v4 .card-title {
    font-size: 1rem;
    margin-bottom: 8px;
    height: 48px; 
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-v4 .card-title a {
    color: var(--imperial-white);
}

.product-card-v4 .product-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.product-card-v4 .product-stats-preview {
    margin-top: auto; /* Empuja las estadísticas hacia abajo */
    padding-top: 10px;
    font-size: 0.8rem;
    color: var(--imperial-text-muted);
}

.product-card-v4 .excerpt-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.product-card-v4 .excerpt-item i {
    margin-top: 3px;
    color: var(--imperial-gold-hover);
}

.product-card-v4 .product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background-color: var(--imperial-dark-bg);
    border-top: 1px solid var(--imperial-border);
}

.product-card-v4 .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--imperial-success);
}

.product-card-v4 .price .commission-tag {
    font-size: 0.6em;
    font-weight: bold;
    color: var(--imperial-warning);
    margin-left: 3px;
    vertical-align: text-top; /* Alineación mejorada */
}
/* Floating Sales Support Button */
.sales-fab-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1050;
}

.sales-fab-toggle {
    width: 60px;
    height: 60px;
    background-color: var(--imperial-gold);
    color: var(--imperial-dark-bg);
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, background-color 0.2s;
}

.sales-fab-toggle:hover {
    transform: scale(1.1);
    background-color: var(--imperial-gold-hover);
}

.sales-fab-panel {
    position: absolute;
    bottom: 75px; /* Above the button */
    right: 0;
    width: 300px;
    max-height: 400px;
    background-color: var(--imperial-surface);
    border: 1px solid var(--imperial-border);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.sales-fab-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sales-fab-header {
    padding: 10px 15px;
    font-weight: bold;
    color: var(--imperial-white);
    background-color: var(--imperial-dark-bg);
    border-bottom: 1px solid var(--imperial-border);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sales-fab-close {
    background: none;
    border: none;
    color: var(--imperial-text-muted);
    font-size: 24px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    opacity: 0.8;
}
.sales-fab-close:hover {
    color: var(--imperial-white);
    opacity: 1;
}

.sales-fab-list {
    overflow-y: auto;
    padding: 10px;
    flex-grow: 1;
}

.sales-fab-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 5px;
    border-bottom: 1px solid var(--imperial-border-trans);
}

.sales-fab-item:last-child {
    border-bottom: none;
}

.sales-fab-name {
    color: var(--imperial-offwhite);
    font-size: 0.9rem;
}

.sales-fab-buttons {
    display: flex;
    gap: 10px;
}

.sales-fab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.2s;
    font-size: 16px;
}
.sales-fab-btn:hover {
    transform: scale(1.15);
    color: white;
}

.sales-fab-btn.whatsapp {
    background-color: #25D366;
}

.sales-fab-btn.telegram {
    background-color: #0088cc;
}