/* Giao diện cho các box sản phẩm shortcode */
.nmn-shortcode-products-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 18px 18px 18px;
    width: 100%;
    color: #fff;
    font-family: inherit;
}

.nmn-shortcode-products-box .star-rating {
    margin: 0;
}

.nmn-shortcode-products-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #000000;
}

.nmn-shortcode-products-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    border-radius: 10px;
    background: transparent;
    padding: 0;
    transition: background 0.2s;
    padding: 4px;
    cursor: pointer;
}

/* .nmn-shortcode-products-item:hover {
    background: #f3f3f3;
} */
.nmn-shortcode-products-item:hover .nmn-shortcode-products-item-link {
	color: var(--primary-color);
}

.nmn-shortcode-products-item .product-actions .btn.btn-secondary:hover {
	color: var(--primary-color);
}

.nmn-shortcode-products-box .product-actions .btn.btn-secondary {
    color: #000000;
}
.nmn-shortcode-products-rank {
    font-size: 18px;
    font-weight: 800;
    width: 32px;
    text-align: center;
	color: #000000;
}

.nmn-shortcode-products-item  > .nmn-shortcode-products-item-link {
    display: flex;
    align-items: center;
}
.nmn-shortcode-products-box .product-actions .btn {
    padding: 5px 12px;
}
.nmn-shortcode-products-thumb {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nmn-shortcode-products-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
	transition: transform 0.3s ease;
}
.nmn-shortcode-products-item:hover .nmn-shortcode-products-img {
	 transform: scale(1.15);
}
.nmn-shortcode-products-img--empty {
    width: 100%;
    height: 100%;
    background: #eee;
}

.nmn-shortcode-products-info {
    flex: 1;
    min-width: 0;
}

.nmn-shortcode-products-name {
    font-size: 15px;
    font-weight: 700;
	color: #000000;
}
.nmn-top-sellers-products-item:hover .nmn-shortcode-products-name {
	color: var(--primary-color);
}
.nmn-top-sellers-products-item img {
	transition: transform 0.3s ease;
}
.nmn-top-sellers-products-item:hover img {
	transform: scale(1.15);
}
.nmn-shortcode-products-name a {
    color: #000000;
    text-decoration: none;
}

.nmn-shortcode-products-ai {
    font-size: 11px;
    color: #b6b6d6;
    margin: 2px 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.nmn-shortcode-products-price .amount {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 400;
    margin-top: 2px;
}

.nmn-shortcode-products-empty {
    color: #ccc;
    text-align: center;
    padding: 24px 0;
}

.product-item__btn {
    width: max-content;
}

#header .header-nav .nav-dropdown {
    padding: 0;
}

/* User Profile Card Styles */
.product-sidebar-custom {
    overflow: hidden;
    color: #fff;
    position: relative;
    margin-bottom: 25px;
    text-align: left;
    border-radius: 16px;
    box-shadow: 0 4px 12px #00000026;
    transition: transform .15s, box-shadow .25s;
}

.nmn-user-profile-banner {
    height: 120px;
    background: #181825;
    overflow: hidden;
    position: relative;
}

.nmn-user-profile-banner-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.nmn-user-profile-header {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    padding: 0 32px;
    position: relative;
    top: -50px;
    z-index: 2;
}

.nmn-user-profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 2px 8px #1a1a2e;
}

.nmn-user-profile-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.nmn-user-profile-username {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.nmn-user-profile-joined {
    font-size: 1rem;
    color: #fff;
    margin-top: 2px;
}

.nmn-user-profile-content {
    padding: 0 32px 24px 32px;
    margin-top: -32px;
}

.nmn-user-profile-name a {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.4;
    color: #fff;
}

.nmn-user-profile-role {
    font-size: 0.95rem;
    font-weight: 400;
    color: #b4b4d6;
    margin-left: 0;
}

.nmn-user-profile-intro {
    font-size: 1rem;
    color: #fff;
    margin: 10px 0 0 0;
}

.nmn-user-profile-desc {
    color: #b4b4d6;
    font-size: 0.97em;
}



.nmn-user-profile-meta .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nmn-user-profile-rating {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.nmn-user-profile-stars {
    color: #ffd700;
    font-size: 14px;
}

.nmn-user-profile-rating-count {
    color: #b4b4d6;
    font-size: 14px;
}

.nmn-user-profile-followers,
.nmn-user-profile-rank {
    color: #fff;
    font-size: 1rem;
}

.nmn-user-profile-custom-price {
    color: #b4b4d6;
    font-size: 14px;
    margin-bottom: 8px;
}

.nmn-user-profile-rating-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: linear-gradient(90deg, #ffb347 0%, #ff6a00 100%);
    color: #fff;
    border-radius: 24px;
    box-shadow: 0 2px 12px #ffb34755;
    padding: 0 15px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
    z-index: 3;
    border: 2px solid #fff;
    transition: box-shadow 0.2s;
}

.nmn-user-profile-rating-badge .nmn-user-profile-stars {
    color: #fff700;
    font-size: 12px;
    margin-left: 2px;
    margin-right: 2px;
    text-shadow: 0 1px 4px #ffb34799;
}

.nmn-user-profile-rating-badge .nmn-user-profile-rating-count {
    color: #fff;
    font-size: 12px;
    opacity: 0.92;
    margin-left: 2px;
}

.box-product-left>.col-inner>p {
    display: none;
}

.box-product-left>.col-inner {
    padding: 0 !important;
    overflow: hidden;
}

.box-product-left>.col-inner .row {
    margin: 0 !important;
}

@media (max-width: 600px) {
    .product-sidebar-custom {
        max-width: 100%;
        border-radius: 10px;
    }

    .nmn-user-profile-banner,
    .nmn-user-profile-banner-img {
        height: 120px;
    }

    .nmn-user-profile-header {
        padding: 0 10px;
        top: -32px;
    }

    .nmn-user-profile-avatar {
        width: 80px;
        height: 80px;
    }

    .nmn-user-profile-content {
        padding: 0 10px 16px 10px;
        margin-top: -18px;
    }

    .nmn-user-profile-meta {
        gap: 8px;
        font-size: 0.95rem;
    }

    .nmn-user-profile-rating-badge {
        top: 7px;
        right: 7px;
        padding: 5px 10px 5px 8px;
        font-size: 0.98rem;
    }
}